diff --git a/.fern/replay.lock b/.fern/replay.lock index 1d1666a3..7c705d13 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -1,8546 +1,48 @@ # DO NOT EDIT MANUALLY - Managed by Fern Replay version: "1.0" generations: - - commit_sha: de316f0260ef1fa7c3626cbe771b167fd119439c - tree_hash: 8a8087896ee9fee5f1d6bb4c86a8f007a0a4f12f - timestamp: 2026-04-28T17:41:46.911Z + - commit_sha: 98090cdf6841619f7a558af87f0cd7612d11fdff + tree_hash: bb68347ade20bbc98096dced88833b548fdf16dc + timestamp: 2026-10-14T09:56:56.826Z cli_version: unknown generator_versions: {} - - commit_sha: ffe61f6a098cb25a875019a37f2615045b97344e - tree_hash: d03a986a5da90661589bd53a6afdd5725588658c - timestamp: 2026-04-29T20:01:22+05:30 - cli_version: unknown - generator_versions: {} - base_branch_head: de316f0260ef1fa7c3626cbe771b167fd119439c - - commit_sha: c1c18146c845e6c7916d0490f7ef02807f9bfebf - tree_hash: 3d199802452b0a49c14a6d80c86c09387d926ea6 - timestamp: 2026-05-18T05:04:12.235Z - cli_version: unknown - generator_versions: - fernapi/fern-python-sdk: 5.12.10 - base_branch_head: 3b19ca9899d758100ca38524af2cb079832fdc56 - - commit_sha: 812b8ca16fc2740001f9839ce5c88f85fed87c6e - tree_hash: 24be5645b7a89574a130a72ceec1f410c757ae6c - timestamp: 2026-05-19T12:25:04.138Z + - commit_sha: ca6941ebe04b306e94f3315865d5fd06e3b2f233 + tree_hash: b718a95d426e320124dc2cd54ef4bdb0a0623ac8 + timestamp: 2026-10-14T10:04:24.137Z cli_version: unknown generator_versions: - fernapi/fern-python-sdk: 5.12.10 - - commit_sha: a6b05e768329fac22fd4da6fbe711006e23029f8 - tree_hash: 7d5c57084d9ebef687bb0c3446e81432b93dddf0 - timestamp: 2026-05-26T04:54:34.809Z + fernapi/fern-python-sdk: 5.26.0 + - commit_sha: a3eace9354ccf8d76cc4439d44363b0a08e6f1d7 + tree_hash: 8346a548a76aec81e3452ef7d1d86eb1df4866c9 + timestamp: 2026-11-04T03:51:04.113Z cli_version: unknown generator_versions: - fernapi/fern-python-sdk: 5.12.10 - - commit_sha: 15127abb8ab299907925c41e89122d50dbe138d5 - tree_hash: 30ecce30237e3fb542f943c41737d2126c647e77 - timestamp: 2026-05-26T15:18:29.669Z + fernapi/fern-python-sdk: 5.26.0 + - commit_sha: 136d7afa3b6f920dc2ddec157a94171495ba7e14 + tree_hash: 386fa3b83eed7b806984204dfa02adc0edc7be11 + timestamp: 2026-11-10T05:42:38.308Z cli_version: unknown generator_versions: - fernapi/fern-python-sdk: 5.14.3 - - commit_sha: bf4df4483c8f8211870c074c6e5725aabf31d339 - tree_hash: 6fed7a877e08cfbe542991d28cb3afdd90ccaefa - timestamp: 2026-06-09T04:56:00.721Z + fernapi/fern-python-sdk: 5.26.0 + - commit_sha: 89e85b537368a6c746f34041680bd4f7fa3cfb5a + tree_hash: 7548f6bb6047641d4f0aad3fa87c48d7ee5c0fa5 + timestamp: 2026-11-20T04:31:06.064Z cli_version: unknown generator_versions: - fernapi/fern-python-sdk: 5.14.3 -current_generation: bf4df4483c8f8211870c074c6e5725aabf31d339 + fernapi/fern-python-sdk: 5.26.0 +current_generation: 89e85b537368a6c746f34041680bd4f7fa3cfb5a patches: - - id: patch-4894603d - content_hash: sha256:1e1d0c5ec0a0ef9039b8ae4d3484e5468180bb5af2012392406259e0ab6a589f - original_commit: 4894603d03409962bc60a34712de8abffe919e2c - original_message: "chore: Restore custom wiring in management/__init__.py" - original_author: Kunal Dawar - base_generation: bf4df4483c8f8211870c074c6e5725aabf31d339 - files: - - src/auth0/management/__init__.py - patch_content: | - diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py - index 46d8ec2b..e96cb4b5 100644 - --- a/src/auth0/management/__init__.py - +++ b/src/auth0/management/__init__.py - @@ -2794,6 +2794,8 @@ if typing.TYPE_CHECKING: - from .environment import Auth0Environment - from .event_streams import EventStreamsCreateRequest - from .version import __version__ - + from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient - + from .token_provider import AsyncTokenProvider, TokenProvider - _dynamic_imports: typing.Dict[str, str] = { - "Action": ".types", - "ActionBase": ".types", - @@ -2854,6 +2856,8 @@ _dynamic_imports: typing.Dict[str, str] = { - "AssociateOrganizationClientGrantResponseContent": ".types", - "AsyncApprovalNotificationsChannelsEnum": ".types", - "AsyncAuth0": ".client", - + "AsyncManagementClient": ".management_client", - + "AsyncTokenProvider": ".token_provider", - "AttackProtectionCaptchaArkoseResponseContent": ".types", - "AttackProtectionCaptchaAuthChallengeRequest": ".types", - "AttackProtectionCaptchaAuthChallengeResponseContent": ".types", - @@ -3822,6 +3826,7 @@ _dynamic_imports: typing.Dict[str, str] = { - "CspReportingEndpoints": ".types", - "CspReportingInfrastructure": ".types", - "CustomDomain": ".types", - + "CustomDomainHeader": ".management_client", - "CustomDomainCustomClientIpHeader": ".types", - "CustomDomainCustomClientIpHeaderEnum": ".types", - "CustomDomainProvisioningTypeEnum": ".types", - @@ -5093,6 +5098,7 @@ _dynamic_imports: typing.Dict[str, str] = { - "LogStreamSumoEnum": ".types", - "LogStreamSumoResponseSchema": ".types", - "LogStreamSumoSink": ".types", - + "ManagementClient": ".management_client", - "MdlPresentationProperties": ".types", - "MdlPresentationRequest": ".types", - "MdlPresentationRequestProperties": ".types", - @@ -5343,6 +5349,7 @@ _dynamic_imports: typing.Dict[str, str] = { - "TokenQuota": ".types", - "TokenQuotaClientCredentials": ".types", - "TokenQuotaConfiguration": ".types", - + "TokenProvider": ".token_provider", - "TooManyRequestsError": ".errors", - "TooManyRequestsSchema": ".types", - "TooManyRequestsSchemaError": ".types", - @@ -5663,6 +5670,8 @@ __all__ = [ - "AssociateOrganizationClientGrantResponseContent", - "AsyncApprovalNotificationsChannelsEnum", - "AsyncAuth0", - + "AsyncManagementClient", - + "AsyncTokenProvider", - "AttackProtectionCaptchaArkoseResponseContent", - "AttackProtectionCaptchaAuthChallengeRequest", - "AttackProtectionCaptchaAuthChallengeResponseContent", - @@ -7902,6 +7911,7 @@ __all__ = [ - "LogStreamSumoEnum", - "LogStreamSumoResponseSchema", - "LogStreamSumoSink", - + "ManagementClient", - "MdlPresentationProperties", - "MdlPresentationRequest", - "MdlPresentationRequestProperties", - @@ -8149,6 +8159,7 @@ __all__ = [ - "TestEventDataContent", - "TokenExchangeProfileResponseContent", - "TokenExchangeProfileTypeEnum", - + "TokenProvider", - "TokenQuota", - "TokenQuotaClientCredentials", - "TokenQuotaConfiguration", - theirs_snapshot: - src/auth0/management/__init__.py: | - # This file was auto-generated by Fern from our API Definition. - - # isort: skip_file - - import typing - from importlib import import_module - - if typing.TYPE_CHECKING: - from .types import ( - Action, - ActionBase, - ActionBinding, - ActionBindingRef, - ActionBindingRefTypeEnum, - ActionBindingTypeEnum, - ActionBindingWithRef, - ActionBuildStatusEnum, - ActionDeployedVersion, - ActionError, - ActionExecutionResult, - ActionExecutionStatusEnum, - ActionModuleAction, - ActionModuleDependency, - ActionModuleDependencyRequest, - ActionModuleListItem, - ActionModuleReference, - ActionModuleSecret, - ActionModuleSecretRequest, - ActionModuleVersion, - ActionModuleVersionReference, - ActionSecretRequest, - ActionSecretResponse, - ActionTrigger, - ActionTriggerCompatibleTrigger, - ActionTriggerTypeEnum, - ActionVersion, - ActionVersionBuildStatusEnum, - ActionVersionDependency, - AculClientFilter, - AculClientFilterById, - AculClientFilterByMetadata, - AculClientMetadata, - AculConfigs, - AculConfigsItem, - AculContextConfiguration, - AculContextConfigurationItem, - AculContextEnum, - AculDomainFilter, - AculDomainFilterById, - AculDomainFilterByMetadata, - AculDomainMetadata, - AculFilters, - AculHeadTag, - AculHeadTagAttributes, - AculHeadTagContent, - AculMatchTypeEnum, - AculOrganizationFilter, - AculOrganizationFilterById, - AculOrganizationFilterByMetadata, - AculOrganizationMetadata, - AculRenderingModeEnum, - AddOrganizationConnectionResponseContent, - AnomalyIpFormat, - AppMetadata, - AssessorsTypeEnum, - AssociateOrganizationClientGrantResponseContent, - AsyncApprovalNotificationsChannelsEnum, - AttackProtectionCaptchaArkoseResponseContent, - AttackProtectionCaptchaAuthChallengeRequest, - AttackProtectionCaptchaAuthChallengeResponseContent, - AttackProtectionCaptchaFriendlyCaptchaResponseContent, - AttackProtectionCaptchaHcaptchaResponseContent, - AttackProtectionCaptchaProviderId, - AttackProtectionCaptchaRecaptchaEnterpriseResponseContent, - AttackProtectionCaptchaRecaptchaV2ResponseContent, - AttackProtectionCaptchaSimpleCaptchaResponseContent, - AttackProtectionUpdateCaptchaArkose, - AttackProtectionUpdateCaptchaFriendlyCaptcha, - AttackProtectionUpdateCaptchaHcaptcha, - AttackProtectionUpdateCaptchaRecaptchaEnterprise, - AttackProtectionUpdateCaptchaRecaptchaV2, - AuthenticationMethodTypeEnum, - AuthenticationTypeEnum, - BadRequestSchema, - BadRequestSchemaError, - BotDetectionAllowlist, - BotDetectionChallengePolicyPasswordFlowEnum, - BotDetectionChallengePolicyPasswordResetFlowEnum, - BotDetectionChallengePolicyPasswordlessFlowEnum, - BotDetectionCidrBlock, - BotDetectionIPv4, - BotDetectionIPv6, - BotDetectionIPv6CidrBlock, - BotDetectionIpAddressOrCidrBlock, - BotDetectionLevelEnum, - BotDetectionMonitoringModeEnabled, - BrandingColors, - BrandingFont, - BrandingPageBackground, - BrandingThemeBorders, - BrandingThemeBordersButtonsStyleEnum, - BrandingThemeBordersInputsStyleEnum, - BrandingThemeColors, - BrandingThemeColorsCaptchaWidgetThemeEnum, - BrandingThemeFontBodyText, - BrandingThemeFontButtonsText, - BrandingThemeFontInputLabels, - BrandingThemeFontLinks, - BrandingThemeFontLinksStyleEnum, - BrandingThemeFontSubtitle, - BrandingThemeFontTitle, - BrandingThemeFonts, - BrandingThemePageBackground, - BrandingThemePageBackgroundPageLayoutEnum, - BrandingThemeWidget, - BrandingThemeWidgetHeaderTextAlignmentEnum, - BrandingThemeWidgetLogoPositionEnum, - BrandingThemeWidgetSocialButtonsLayoutEnum, - BreachedPasswordDetectionAdminNotificationFrequencyEnum, - BreachedPasswordDetectionMethodEnum, - BreachedPasswordDetectionPreChangePasswordShieldsEnum, - BreachedPasswordDetectionPreChangePasswordStage, - BreachedPasswordDetectionPreUserRegistrationShieldsEnum, - BreachedPasswordDetectionPreUserRegistrationStage, - BreachedPasswordDetectionShieldsEnum, - BreachedPasswordDetectionStage, - BruteForceProtectionModeEnum, - BruteForceProtectionShieldsEnum, - BulkUpdateAculResponseContent, - CertificateSubjectDnCredential, - CertificateSubjectDnCredentialTypeEnum, - ChangePasswordTicketIdentity, - ChangePasswordTicketResponseContent, - CimdMappedClientAuthenticationMethods, - CimdMappedClientAuthenticationMethodsPrivateKeyJwt, - CimdMappedClientFields, - CimdMappedPrivateKeyJwtCredential, - CimdValidationResult, - Client, - ClientAddonAws, - ClientAddonAzureBlob, - ClientAddonAzureSb, - ClientAddonBox, - ClientAddonCloudBees, - ClientAddonConcur, - ClientAddonDropbox, - ClientAddonEchoSign, - ClientAddonEgnyte, - ClientAddonFirebase, - ClientAddonLayer, - ClientAddonMscrm, - ClientAddonNewRelic, - ClientAddonOag, - ClientAddonOffice365, - ClientAddonRms, - ClientAddonSalesforce, - ClientAddonSalesforceApi, - ClientAddonSalesforceSandboxApi, - ClientAddonSaml, - ClientAddonSamlMapping, - ClientAddonSapapi, - ClientAddonSentry, - ClientAddonSharePoint, - ClientAddonSharePointExternalUrl, - ClientAddonSlack, - ClientAddonSpringCm, - ClientAddonSsoIntegration, - ClientAddonWams, - ClientAddonWsFed, - ClientAddonZendesk, - ClientAddonZoom, - ClientAddons, - ClientAppTypeEnum, - ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration, - ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, - ClientAuthenticationMethod, - ClientAuthenticationMethodPrivateKeyJwt, - ClientAuthenticationMethodPrivateKeyJwtCredentials, - ClientAuthenticationMethodSelfSignedTlsClientAuth, - ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, - ClientAuthenticationMethodTlsClientAuth, - ClientAuthenticationMethodTlsClientAuthCredentials, - ClientComplianceLevelEnum, - ClientCreateAuthenticationMethod, - ClientCreateAuthenticationMethodPrivateKeyJwt, - ClientCreateAuthenticationMethodPrivateKeyJwtCredentials, - ClientCreateAuthenticationMethodTlsClientAuth, - ClientCreateAuthenticationMethodTlsClientAuthCredentials, - ClientCredential, - ClientCredentialAlgorithmEnum, - ClientCredentialTypeEnum, - ClientDefaultOrganization, - ClientDefaultOrganizationFlowsEnum, - ClientEncryptionKey, - ClientExternalMetadataCreatedByEnum, - ClientExternalMetadataTypeEnum, - ClientGrantAllowAnyOrganizationEnum, - ClientGrantDefaultForEnum, - ClientGrantOrganizationNullableUsageEnum, - ClientGrantOrganizationUsageEnum, - ClientGrantResponseContent, - ClientGrantSubjectTypeEnum, - ClientJwtConfiguration, - ClientJwtConfigurationScopes, - ClientMetadata, - ClientMobile, - ClientMobileAndroid, - ClientMobileiOs, - ClientMyOrganizationConfigurationAllowedStrategiesEnum, - ClientMyOrganizationDeletionBehaviorEnum, - ClientMyOrganizationPatchConfiguration, - ClientMyOrganizationPostConfiguration, - ClientMyOrganizationResponseConfiguration, - ClientOidcBackchannelLogoutInitiators, - ClientOidcBackchannelLogoutInitiatorsEnum, - ClientOidcBackchannelLogoutInitiatorsModeEnum, - ClientOidcBackchannelLogoutSessionMetadata, - ClientOidcBackchannelLogoutSettings, - ClientOrganizationDiscoveryEnum, - ClientOrganizationRequireBehaviorEnum, - ClientOrganizationRequireBehaviorPatchEnum, - ClientOrganizationUsageEnum, - ClientOrganizationUsagePatchEnum, - ClientRedirectionPolicyEnum, - ClientRefreshTokenConfiguration, - ClientRefreshTokenPolicy, - ClientSessionTransferAllowedAuthenticationMethodsEnum, - ClientSessionTransferConfiguration, - ClientSessionTransferDelegationConfiguration, - ClientSessionTransferDelegationDeviceBindingEnum, - ClientSessionTransferDeviceBindingEnum, - ClientSignedRequestObjectWithCredentialId, - ClientSignedRequestObjectWithPublicKey, - ClientSigningKey, - ClientSigningKeys, - ClientThirdPartySecurityModeEnum, - ClientTokenEndpointAuthMethodEnum, - ClientTokenEndpointAuthMethodOrNullEnum, - ClientTokenExchangeConfiguration, - ClientTokenExchangeConfigurationOrNull, - ClientTokenExchangeTypeEnum, - ConnectedAccount, - ConnectedAccountAccessTypeEnum, - ConnectionAccessTokenUrloAuth1, - ConnectionAcrValuesSupported, - ConnectionAdminAccessTokenExpiresInGoogleApps, - ConnectionAdminAccessTokenGoogleApps, - ConnectionAdminRefreshTokenGoogleApps, - ConnectionAgentIpad, - ConnectionAgentModeAd, - ConnectionAgentVersionAd, - ConnectionAllowedAudiencesGoogleOAuth2, - ConnectionApiBehaviorEnum, - ConnectionApiEnableGroups, - ConnectionApiEnableGroupsGoogleApps, - ConnectionApiEnableUsers, - ConnectionApiEnableUsersGoogleApps, - ConnectionAppDomainAzureAd, - ConnectionAssertionDecryptionAlgorithmProfileEnum, - ConnectionAssertionDecryptionSettings, - ConnectionAttributeIdentifier, - ConnectionAttributeMapAttributes, - ConnectionAttributeMapOidc, - ConnectionAttributeMapOkta, - ConnectionAttributeMapUserinfoScope, - ConnectionAttributes, - ConnectionAuthParamsAdditionalPropertiesOAuth2, - ConnectionAuthParamsEmail, - ConnectionAuthParamsMap, - ConnectionAuthParamsOAuth2, - ConnectionAuthenticationMethods, - ConnectionAuthenticationPurpose, - ConnectionAuthorizationEndpoint, - ConnectionBaseUrlExact, - ConnectionBruteForceProtection, - ConnectionCalculatedThumbprintSaml, - ConnectionCertsAd, - ConnectionClaimTypesSupported, - ConnectionClaimsLocalesSupported, - ConnectionClaimsParameterSupported, - ConnectionClaimsSupported, - ConnectionClientId, - ConnectionClientIdAmazon, - ConnectionClientIdAzureAd, - ConnectionClientIdBitbucket, - ConnectionClientIdExact, - ConnectionClientIdFacebook, - ConnectionClientIdGoogleApps, - ConnectionClientIdGoogleOAuth2, - ConnectionClientIdLine, - ConnectionClientIdLinkedin, - ConnectionClientIdOAuth1, - ConnectionClientIdOAuth2, - ConnectionClientIdOidc, - ConnectionClientIdPaypal, - ConnectionClientIdSalesforce, - ConnectionClientIdWindowsLive, - ConnectionClientProtocolSaml, - ConnectionClientSecret, - ConnectionClientSecretAmazon, - ConnectionClientSecretAzureAd, - ConnectionClientSecretBitbucket, - ConnectionClientSecretExact, - ConnectionClientSecretFacebook, - ConnectionClientSecretGoogleApps, - ConnectionClientSecretGoogleOAuth2, - ConnectionClientSecretLine, - ConnectionClientSecretLinkedin, - ConnectionClientSecretOAuth1, - ConnectionClientSecretOAuth2, - ConnectionClientSecretOidc, - ConnectionClientSecretPaypal, - ConnectionClientSecretSalesforce, - ConnectionClientSecretWindowsLive, - ConnectionCommon, - ConnectionCommunityBaseUrlSalesforce, - ConnectionConfiguration, - ConnectionConnectedAccountsPurpose, - ConnectionConnectedAccountsPurposeXaa, - ConnectionConnectionSettings, - ConnectionConnectionSettingsPkceEnum, - ConnectionCustomHeadersOAuth2, - ConnectionCustomScripts, - ConnectionDebugSaml, - ConnectionDecryptionKeySaml, - ConnectionDecryptionKeySamlCert, - ConnectionDestinationUrlSaml, - ConnectionDigestAlgorithmEnumSaml, - ConnectionDigestAlgorithmSaml, - ConnectionDisableSelfServiceChangePassword, - ConnectionDisableSignup, - ConnectionDisableSignupSms, - ConnectionDiscoveryUrl, - ConnectionDisplayName, - ConnectionDisplayValuesSupported, - ConnectionDomainAliases, - ConnectionDomainAliasesAd, - ConnectionDomainAliasesAzureAd, - ConnectionDomainAliasesItemsOne, - ConnectionDomainAliasesSaml, - ConnectionDomainGoogleApps, - ConnectionDomainOkta, - ConnectionDpopSigningAlgEnum, - ConnectionDpopSigningAlgValuesSupported, - ConnectionEmailBodyEmail, - ConnectionEmailEmail, - ConnectionEmailEmailSyntax, - ConnectionEmailFromEmail, - ConnectionEmailOtpAuthenticationMethod, - ConnectionEmailSubjectEmail, - ConnectionEnableScriptContext, - ConnectionEnabledClient, - ConnectionEnabledClients, - ConnectionEnabledDatabaseCustomization, - ConnectionEndSessionEndpoint, - ConnectionEntityIdSaml, - ConnectionExtAdmin, - ConnectionExtAgreedTerms, - ConnectionExtAgreedTermsGoogleApps, - ConnectionExtAssignedPlans, - ConnectionExtGroups, - ConnectionExtGroupsAzureAd, - ConnectionExtGroupsGoogleApps, - ConnectionExtIsAdminGoogleApps, - ConnectionExtIsSuspended, - ConnectionExtIsSuspendedGoogleApps, - ConnectionExtProfile, - ConnectionFederatedConnectionsAccessTokens, - ConnectionFieldsMap, - ConnectionFieldsMapSaml, - ConnectionFieldsMapSamlValue, - ConnectionForList, - ConnectionForOrganization, - ConnectionForwardReqInfoSms, - ConnectionFreeformScopesAmazon, - ConnectionFreeformScopesGoogleOAuth2, - ConnectionFreeformScopesLinkedin, - ConnectionFreeformScopesPaypal, - ConnectionFreeformScopesSalesforce, - ConnectionFreeformScopesWindowsLive, - ConnectionFromSms, - ConnectionGatewayAuthentication, - ConnectionGatewayAuthenticationAudienceSms, - ConnectionGatewayAuthenticationMethodSms, - ConnectionGatewayAuthenticationSms, - ConnectionGatewayAuthenticationSubjectSms, - ConnectionGatewayUrlSms, - ConnectionGlobalTokenRevocationJwtIssSaml, - ConnectionGlobalTokenRevocationJwtSubSaml, - ConnectionGrantTypesSupported, - ConnectionHandleLoginFromSocialGoogleApps, - ConnectionHttpsUrlWithHttpFallback, - ConnectionHttpsUrlWithHttpFallback2048, - ConnectionHttpsUrlWithHttpFallback255, - ConnectionIconUrl, - ConnectionIconUrlAdfs, - ConnectionIconUrlAzureAd, - ConnectionIconUrlGoogleApps, - ConnectionIconUrlGoogleOAuth2, - ConnectionIconUrlSaml, - ConnectionId, - ConnectionIdTokenEncryptionAlgValuesSupported, - ConnectionIdTokenEncryptionEncValuesSupported, - ConnectionIdTokenSessionExpirySupported, - ConnectionIdTokenSignedResponseAlgEnum, - ConnectionIdTokenSignedResponseAlgs, - ConnectionIdTokenSigningAlgValuesSupported, - ConnectionIdentifierPrecedence, - ConnectionIdentifierPrecedenceEnum, - ConnectionIdentityApiAzureAd, - ConnectionIdentityApiEnumAzureAd, - ConnectionIdentityProviderEnum, - ConnectionImportMode, - ConnectionIpsAd, - ConnectionIsDomainConnection, - ConnectionIssuer, - ConnectionJwksUri, - ConnectionKey, - ConnectionKeyUseEnum, - ConnectionMappingModeEnumOidc, - ConnectionMappingModeEnumOkta, - ConnectionMaxGroupsToRetrieve, - ConnectionMessagingServiceSidSms, - ConnectionMetadataUrlSaml, - ConnectionMetadataXml, - ConnectionMetadataXmlAdfs, - ConnectionMetadataXmlSaml, - ConnectionMfa, - ConnectionName, - ConnectionNamePrefixTemplate, - ConnectionNonPersistentAttrs, - ConnectionOpPolicyUri, - ConnectionOpTosUri, - ConnectionOptions, - ConnectionOptionsAd, - ConnectionOptionsAdfs, - ConnectionOptionsAmazon, - ConnectionOptionsApple, - ConnectionOptionsAuth0, - ConnectionOptionsAuth0Oidc, - ConnectionOptionsAzureAd, - ConnectionOptionsBaidu, - ConnectionOptionsBitbucket, - ConnectionOptionsBitly, - ConnectionOptionsBox, - ConnectionOptionsClientIdGithub, - ConnectionOptionsClientIdTwitter, - ConnectionOptionsClientSecretGithub, - ConnectionOptionsClientSecretTwitter, - ConnectionOptionsCommon, - ConnectionOptionsCommonOidc, - ConnectionOptionsCommonSaml, - ConnectionOptionsCustom, - ConnectionOptionsDaccount, - ConnectionOptionsDeflateSaml, - ConnectionOptionsDropbox, - ConnectionOptionsDwolla, - ConnectionOptionsEmail, - ConnectionOptionsEvernote, - ConnectionOptionsExact, - ConnectionOptionsFacebook, - ConnectionOptionsFitbit, - ConnectionOptionsFreeformScopesGithub, - ConnectionOptionsGitHub, - ConnectionOptionsGoogleApps, - ConnectionOptionsGoogleOAuth2, - ConnectionOptionsIdpInitiatedClientProtocolEnumSaml, - ConnectionOptionsIdpinitiatedSaml, - ConnectionOptionsInstagram, - ConnectionOptionsIp, - ConnectionOptionsLine, - ConnectionOptionsLinkedin, - ConnectionOptionsOAuth1, - ConnectionOptionsOAuth1Common, - ConnectionOptionsOAuth2, - ConnectionOptionsOAuth2Common, - ConnectionOptionsOffice365, - ConnectionOptionsOidc, - ConnectionOptionsOidcMetadata, - ConnectionOptionsOkta, - ConnectionOptionsPaypal, - ConnectionOptionsPingFederate, - ConnectionOptionsPlanningCenter, - ConnectionOptionsProtocolEnumTwitter, - ConnectionOptionsSalesforce, - ConnectionOptionsSalesforceCommunity, - ConnectionOptionsSaml, - ConnectionOptionsScopeGithub, - ConnectionOptionsScopeTwitter, - ConnectionOptionsSharepoint, - ConnectionOptionsShop, - ConnectionOptionsShopify, - ConnectionOptionsSms, - ConnectionOptionsSoundcloud, - ConnectionOptionsThirtySevenSignals, - ConnectionOptionsTwitter, - ConnectionOptionsUntappd, - ConnectionOptionsVkontakte, - ConnectionOptionsWeibo, - ConnectionOptionsWindowsLive, - ConnectionOptionsWordpress, - ConnectionOptionsYahoo, - ConnectionOptionsYandex, - ConnectionPasskeyAuthenticationMethod, - ConnectionPasskeyChallengeUiEnum, - ConnectionPasskeyOptions, - ConnectionPasswordAuthenticationMethod, - ConnectionPasswordComplexityOptions, - ConnectionPasswordDictionaryOptions, - ConnectionPasswordHistoryOptions, - ConnectionPasswordNoPersonalInfoOptions, - ConnectionPasswordOptions, - ConnectionPasswordOptionsComplexity, - ConnectionPasswordOptionsDictionary, - ConnectionPasswordOptionsHistory, - ConnectionPasswordOptionsProfileData, - ConnectionPasswordPolicyEnum, - ConnectionPhoneOtpAuthenticationMethod, - ConnectionPingFederateBaseUrl, - ConnectionPingFederateBaseUrlPingFederate, - ConnectionProfile, - ConnectionProfileBitbucket, - ConnectionProfileConfig, - ConnectionProfileEnabledFeatures, - ConnectionProfileId, - ConnectionProfileName, - ConnectionProfileOrganization, - ConnectionProfileOrganizationAssignMembershipOnLoginEnum, - ConnectionProfileOrganizationShowAsButtonEnum, - ConnectionProfileStrategyOverride, - ConnectionProfileStrategyOverrides, - ConnectionProfileStrategyOverridesConnectionConfig, - ConnectionProfileStrategyOverridesEnabledFeatures, - ConnectionProfileTemplate, - ConnectionProfileTemplateItem, - ConnectionPropertiesOptions, - ConnectionProtocolBindingEnumSaml, - ConnectionProtocolBindingSaml, - ConnectionProviderEnumSms, - ConnectionProviderSms, - ConnectionProvisioningTicketUrl, - ConnectionPurposes, - ConnectionRealmFallback, - ConnectionRealms, - ConnectionRecipientUrlSaml, - ConnectionRegistrationEndpoint, - ConnectionRequestObjectEncryptionAlgValuesSupported, - ConnectionRequestObjectEncryptionEncValuesSupported, - ConnectionRequestObjectSigningAlgValuesSupported, - ConnectionRequestParameterSupported, - ConnectionRequestTemplateSaml, - ConnectionRequestTokenUrloAuth1, - ConnectionRequestUriParameterSupported, - ConnectionRequireRequestUriRegistration, - ConnectionRequiresUsername, - ConnectionResponseCommon, - ConnectionResponseContentAd, - ConnectionResponseContentAdStrategy, - ConnectionResponseContentAdfs, - ConnectionResponseContentAdfsStrategy, - ConnectionResponseContentAmazon, - ConnectionResponseContentAmazonStrategy, - ConnectionResponseContentApple, - ConnectionResponseContentAppleStrategy, - ConnectionResponseContentAuth0, - ConnectionResponseContentAuth0Oidc, - ConnectionResponseContentAuth0OidcStrategy, - ConnectionResponseContentAuth0Strategy, - ConnectionResponseContentAzureAd, - ConnectionResponseContentAzureAdStrategy, - ConnectionResponseContentBaidu, - ConnectionResponseContentBaiduStrategy, - ConnectionResponseContentBitbucket, - ConnectionResponseContentBitbucketStrategy, - ConnectionResponseContentBitly, - ConnectionResponseContentBitlyStrategy, - ConnectionResponseContentBox, - ConnectionResponseContentBoxStrategy, - ConnectionResponseContentCustom, - ConnectionResponseContentCustomStrategy, - ConnectionResponseContentDaccount, - ConnectionResponseContentDaccountStrategy, - ConnectionResponseContentDropbox, - ConnectionResponseContentDropboxStrategy, - ConnectionResponseContentDwolla, - ConnectionResponseContentDwollaStrategy, - ConnectionResponseContentEmail, - ConnectionResponseContentEmailStrategy, - ConnectionResponseContentEvernote, - ConnectionResponseContentEvernoteSandbox, - ConnectionResponseContentEvernoteSandboxStrategy, - ConnectionResponseContentEvernoteStrategy, - ConnectionResponseContentExact, - ConnectionResponseContentExactStrategy, - ConnectionResponseContentFacebook, - ConnectionResponseContentFacebookStrategy, - ConnectionResponseContentFitbit, - ConnectionResponseContentFitbitStrategy, - ConnectionResponseContentGitHub, - ConnectionResponseContentGitHubStrategy, - ConnectionResponseContentGoogleApps, - ConnectionResponseContentGoogleAppsStrategy, - ConnectionResponseContentGoogleOAuth2, - ConnectionResponseContentGoogleOAuth2Strategy, - ConnectionResponseContentInstagram, - ConnectionResponseContentInstagramStrategy, - ConnectionResponseContentIp, - ConnectionResponseContentIpStrategy, - ConnectionResponseContentLine, - ConnectionResponseContentLineStrategy, - ConnectionResponseContentLinkedin, - ConnectionResponseContentLinkedinStrategy, - ConnectionResponseContentOAuth1, - ConnectionResponseContentOAuth1Strategy, - ConnectionResponseContentOAuth2, - ConnectionResponseContentOAuth2Strategy, - ConnectionResponseContentOffice365, - ConnectionResponseContentOffice365Strategy, - ConnectionResponseContentOidc, - ConnectionResponseContentOidcStrategy, - ConnectionResponseContentOkta, - ConnectionResponseContentOktaStrategy, - ConnectionResponseContentPaypal, - ConnectionResponseContentPaypalSandbox, - ConnectionResponseContentPaypalSandboxStrategy, - ConnectionResponseContentPaypalStrategy, - ConnectionResponseContentPingFederate, - ConnectionResponseContentPingFederateStrategy, - ConnectionResponseContentPlanningCenter, - ConnectionResponseContentPlanningCenterStrategy, - ConnectionResponseContentSalesforce, - ConnectionResponseContentSalesforceCommunity, - ConnectionResponseContentSalesforceCommunityStrategy, - ConnectionResponseContentSalesforceSandbox, - ConnectionResponseContentSalesforceSandboxStrategy, - ConnectionResponseContentSalesforceStrategy, - ConnectionResponseContentSaml, - ConnectionResponseContentSamlStrategy, - ConnectionResponseContentSharepoint, - ConnectionResponseContentSharepointStrategy, - ConnectionResponseContentShop, - ConnectionResponseContentShopStrategy, - ConnectionResponseContentShopify, - ConnectionResponseContentShopifyStrategy, - ConnectionResponseContentSms, - ConnectionResponseContentSmsStrategy, - ConnectionResponseContentSoundcloud, - ConnectionResponseContentSoundcloudStrategy, - ConnectionResponseContentThirtySevenSignals, - ConnectionResponseContentThirtySevenSignalsStrategy, - ConnectionResponseContentTwitter, - ConnectionResponseContentTwitterStrategy, - ConnectionResponseContentUntappd, - ConnectionResponseContentUntappdStrategy, - ConnectionResponseContentVkontakte, - ConnectionResponseContentVkontakteStrategy, - ConnectionResponseContentWeibo, - ConnectionResponseContentWeiboStrategy, - ConnectionResponseContentWindowsLive, - ConnectionResponseContentWindowsLiveStrategy, - ConnectionResponseContentWordpress, - ConnectionResponseContentWordpressStrategy, - ConnectionResponseContentYahoo, - ConnectionResponseContentYahooStrategy, - ConnectionResponseContentYandex, - ConnectionResponseContentYandexStrategy, - ConnectionResponseModesSupported, - ConnectionResponseTypesSupported, - ConnectionScopeAmazon, - ConnectionScopeArray, - ConnectionScopeArrayFacebook, - ConnectionScopeArrayWindowsLive, - ConnectionScopeAzureAd, - ConnectionScopeFacebook, - ConnectionScopeGoogleApps, - ConnectionScopeGoogleOAuth2, - ConnectionScopeItem, - ConnectionScopeItemGoogleApps, - ConnectionScopeLinkedin, - ConnectionScopeOAuth2, - ConnectionScopeOidc, - ConnectionScopePaypal, - ConnectionScopeSalesforce, - ConnectionScopesSupported, - ConnectionScriptsOAuth1, - ConnectionScriptsOAuth2, - ConnectionSendBackChannelNonce, - ConnectionServiceDocumentation, - ConnectionSetUserRootAttributesEnum, - ConnectionSha1Thumbprint, - ConnectionShouldTrustEmailVerifiedConnectionEnum, - ConnectionShowAsButton, - ConnectionSignInEndpointAd, - ConnectionSignInEndpointAdfs, - ConnectionSignInEndpointSaml, - ConnectionSignOutEndpointSaml, - ConnectionSignSamlRequestSaml, - ConnectionSignatureAlgorithmEnumSaml, - ConnectionSignatureAlgorithmSaml, - ConnectionSignatureMethodOAuth1, - ConnectionSigningCertSaml, - ConnectionSigningCertificateDerSaml, - ConnectionSigningCertificatePemPingFederate, - ConnectionSigningCertificatePemSaml, - ConnectionSigningKeySaml, - ConnectionSignupBehaviorEnum, - ConnectionStrategyEnum, - ConnectionStrategyVersionEnumLinkedin, - ConnectionStrategyVersionEnumWindowsLive, - ConnectionSubjectTypesSupported, - ConnectionTemplateSms, - ConnectionTemplateSyntaxEnumSms, - ConnectionTenantDomain, - ConnectionTenantDomainAd, - ConnectionTenantDomainAzureAdOne, - ConnectionTenantDomainGoogleApps, - ConnectionTenantDomainSaml, - ConnectionTenantIdAzureAd, - ConnectionThumbprints, - ConnectionThumbprintsAd, - ConnectionThumbprintsSaml, - ConnectionTokenEndpoint, - ConnectionTokenEndpointAuthMethodEnum, - ConnectionTokenEndpointAuthMethodsSupported, - ConnectionTokenEndpointAuthSigningAlgEnum, - ConnectionTokenEndpointAuthSigningAlgValuesSupported, - ConnectionTokenEndpointJwtcaAudFormatEnumOidc, - ConnectionTotpEmail, - ConnectionTotpLengthEmail, - ConnectionTotpLengthPasswordless, - ConnectionTotpLengthSms, - ConnectionTotpSms, - ConnectionTotpTimeStepEmail, - ConnectionTotpTimeStepPasswordless, - ConnectionTotpTimeStepSms, - ConnectionTwilioSidSms, - ConnectionTwilioTokenSms, - ConnectionTypeEnumOidc, - ConnectionTypeEnumOkta, - ConnectionUiLocalesSupported, - ConnectionUpstreamAdditionalProperties, - ConnectionUpstreamAlias, - ConnectionUpstreamAliasEnum, - ConnectionUpstreamParams, - ConnectionUpstreamParamsFacebook, - ConnectionUpstreamValue, - ConnectionUseCommonEndpointAzureAd, - ConnectionUserAuthorizationUrloAuth1, - ConnectionUserIdAttributeSaml, - ConnectionUseridAttributeAzureAd, - ConnectionUseridAttributeEnumAzureAd, - ConnectionUserinfoEncryptionAlgValuesSupported, - ConnectionUserinfoEncryptionEncValuesSupported, - ConnectionUserinfoEndpoint, - ConnectionUserinfoSigningAlgValuesSupported, - ConnectionUsernameValidationOptions, - ConnectionValidationOptions, - ConnectionWaadProtocol, - ConnectionWaadProtocolEnumAzureAd, - ConnectionsMetadata, - ContentSecurityPolicyConfig, - CreateActionModuleResponseContent, - CreateActionModuleVersionResponseContent, - CreateActionResponseContent, - CreateBrandingPhoneProviderResponseContent, - CreateBrandingThemeResponseContent, - CreateClientAuthenticationMethodSelfSignedTlsClientAuth, - CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, - CreateClientGrantResponseContent, - CreateClientResponseContent, - CreateConnectionCommon, - CreateConnectionProfileResponseContent, - CreateConnectionRequestContentAd, - CreateConnectionRequestContentAdStrategy, - CreateConnectionRequestContentAdfs, - CreateConnectionRequestContentAdfsStrategy, - CreateConnectionRequestContentAmazon, - CreateConnectionRequestContentAmazonStrategy, - CreateConnectionRequestContentApple, - CreateConnectionRequestContentAppleStrategy, - CreateConnectionRequestContentAuth0, - CreateConnectionRequestContentAuth0Oidc, - CreateConnectionRequestContentAuth0OidcStrategy, - CreateConnectionRequestContentAuth0Strategy, - CreateConnectionRequestContentAzureAd, - CreateConnectionRequestContentAzureAdStrategy, - CreateConnectionRequestContentBaidu, - CreateConnectionRequestContentBaiduStrategy, - CreateConnectionRequestContentBitbucket, - CreateConnectionRequestContentBitbucketStrategy, - CreateConnectionRequestContentBitly, - CreateConnectionRequestContentBitlyStrategy, - CreateConnectionRequestContentBox, - CreateConnectionRequestContentBoxStrategy, - CreateConnectionRequestContentCustom, - CreateConnectionRequestContentCustomStrategy, - CreateConnectionRequestContentDaccount, - CreateConnectionRequestContentDaccountStrategy, - CreateConnectionRequestContentDropbox, - CreateConnectionRequestContentDropboxStrategy, - CreateConnectionRequestContentDwolla, - CreateConnectionRequestContentDwollaStrategy, - CreateConnectionRequestContentEmail, - CreateConnectionRequestContentEmailStrategy, - CreateConnectionRequestContentEvernote, - CreateConnectionRequestContentEvernoteSandbox, - CreateConnectionRequestContentEvernoteSandboxStrategy, - CreateConnectionRequestContentEvernoteStrategy, - CreateConnectionRequestContentExact, - CreateConnectionRequestContentExactStrategy, - CreateConnectionRequestContentFacebook, - CreateConnectionRequestContentFacebookStrategy, - CreateConnectionRequestContentFitbit, - CreateConnectionRequestContentFitbitStrategy, - CreateConnectionRequestContentGitHub, - CreateConnectionRequestContentGitHubStrategy, - CreateConnectionRequestContentGoogleApps, - CreateConnectionRequestContentGoogleAppsStrategy, - CreateConnectionRequestContentGoogleOAuth2, - CreateConnectionRequestContentGoogleOAuth2Strategy, - CreateConnectionRequestContentInstagram, - CreateConnectionRequestContentInstagramStrategy, - CreateConnectionRequestContentIp, - CreateConnectionRequestContentIpStrategy, - CreateConnectionRequestContentLine, - CreateConnectionRequestContentLineStrategy, - CreateConnectionRequestContentLinkedin, - CreateConnectionRequestContentLinkedinStrategy, - CreateConnectionRequestContentOAuth1, - CreateConnectionRequestContentOAuth1Strategy, - CreateConnectionRequestContentOAuth2, - CreateConnectionRequestContentOAuth2Strategy, - CreateConnectionRequestContentOffice365, - CreateConnectionRequestContentOffice365Strategy, - CreateConnectionRequestContentOidc, - CreateConnectionRequestContentOidcStrategy, - CreateConnectionRequestContentOkta, - CreateConnectionRequestContentOktaStrategy, - CreateConnectionRequestContentPaypal, - CreateConnectionRequestContentPaypalSandbox, - CreateConnectionRequestContentPaypalSandboxStrategy, - CreateConnectionRequestContentPaypalStrategy, - CreateConnectionRequestContentPingFederate, - CreateConnectionRequestContentPingFederateStrategy, - CreateConnectionRequestContentPlanningCenter, - CreateConnectionRequestContentPlanningCenterStrategy, - CreateConnectionRequestContentSalesforce, - CreateConnectionRequestContentSalesforceCommunity, - CreateConnectionRequestContentSalesforceCommunityStrategy, - CreateConnectionRequestContentSalesforceSandbox, - CreateConnectionRequestContentSalesforceSandboxStrategy, - CreateConnectionRequestContentSalesforceStrategy, - CreateConnectionRequestContentSaml, - CreateConnectionRequestContentSamlStrategy, - CreateConnectionRequestContentSharepoint, - CreateConnectionRequestContentSharepointStrategy, - CreateConnectionRequestContentShop, - CreateConnectionRequestContentShopStrategy, - CreateConnectionRequestContentShopify, - CreateConnectionRequestContentShopifyStrategy, - CreateConnectionRequestContentSms, - CreateConnectionRequestContentSmsStrategy, - CreateConnectionRequestContentSoundcloud, - CreateConnectionRequestContentSoundcloudStrategy, - CreateConnectionRequestContentThirtySevenSignals, - CreateConnectionRequestContentThirtySevenSignalsStrategy, - CreateConnectionRequestContentTwitter, - CreateConnectionRequestContentTwitterStrategy, - CreateConnectionRequestContentUntappd, - CreateConnectionRequestContentUntappdStrategy, - CreateConnectionRequestContentVkontakte, - CreateConnectionRequestContentVkontakteStrategy, - CreateConnectionRequestContentWeibo, - CreateConnectionRequestContentWeiboStrategy, - CreateConnectionRequestContentWindowsLive, - CreateConnectionRequestContentWindowsLiveStrategy, - CreateConnectionRequestContentWordpress, - CreateConnectionRequestContentWordpressStrategy, - CreateConnectionRequestContentYahoo, - CreateConnectionRequestContentYahooStrategy, - CreateConnectionRequestContentYandex, - CreateConnectionRequestContentYandexStrategy, - CreateConnectionResponseContent, - CreateCustomDomainResponseContent, - CreateDirectoryProvisioningRequestContent, - CreateDirectoryProvisioningResponseContent, - CreateDirectorySynchronizationResponseContent, - CreateEmailProviderResponseContent, - CreateEmailTemplateResponseContent, - CreateEncryptionKeyPublicWrappingResponseContent, - CreateEncryptionKeyResponseContent, - CreateEncryptionKeyType, - CreateEventStreamActionRequestContent, - CreateEventStreamEventBridgeRequestContent, - CreateEventStreamRedeliveryResponseContent, - CreateEventStreamResponseContent, - CreateEventStreamTestEventResponseContent, - CreateEventStreamWebHookRequestContent, - CreateExportUsersFields, - CreateExportUsersResponseContent, - CreateFlowResponseContent, - CreateFlowsVaultConnectionActivecampaign, - CreateFlowsVaultConnectionActivecampaignApiKey, - CreateFlowsVaultConnectionActivecampaignUninitialized, - CreateFlowsVaultConnectionAirtable, - CreateFlowsVaultConnectionAirtableApiKey, - CreateFlowsVaultConnectionAirtableUninitialized, - CreateFlowsVaultConnectionAuth0, - CreateFlowsVaultConnectionAuth0OauthApp, - CreateFlowsVaultConnectionAuth0Uninitialized, - CreateFlowsVaultConnectionBigquery, - CreateFlowsVaultConnectionBigqueryJwt, - CreateFlowsVaultConnectionBigqueryUninitialized, - CreateFlowsVaultConnectionClearbit, - CreateFlowsVaultConnectionClearbitApiKey, - CreateFlowsVaultConnectionClearbitUninitialized, - CreateFlowsVaultConnectionDocusign, - CreateFlowsVaultConnectionDocusignOauthCode, - CreateFlowsVaultConnectionDocusignUninitialized, - CreateFlowsVaultConnectionGoogleSheets, - CreateFlowsVaultConnectionGoogleSheetsOauthCode, - CreateFlowsVaultConnectionGoogleSheetsUninitialized, - CreateFlowsVaultConnectionHttp, - CreateFlowsVaultConnectionHttpApiKey, - CreateFlowsVaultConnectionHttpBasicAuth, - CreateFlowsVaultConnectionHttpBearer, - CreateFlowsVaultConnectionHttpOauthClientCredentials, - CreateFlowsVaultConnectionHttpUninitialized, - CreateFlowsVaultConnectionHubspot, - CreateFlowsVaultConnectionHubspotApiKey, - CreateFlowsVaultConnectionHubspotOauthCode, - CreateFlowsVaultConnectionHubspotUninitialized, - CreateFlowsVaultConnectionJwt, - CreateFlowsVaultConnectionJwtJwt, - CreateFlowsVaultConnectionJwtUninitialized, - CreateFlowsVaultConnectionMailchimp, - CreateFlowsVaultConnectionMailchimpApiKey, - CreateFlowsVaultConnectionMailchimpOauthCode, - CreateFlowsVaultConnectionMailchimpUninitialized, - CreateFlowsVaultConnectionMailjet, - CreateFlowsVaultConnectionMailjetApiKey, - CreateFlowsVaultConnectionMailjetUninitialized, - CreateFlowsVaultConnectionPipedrive, - CreateFlowsVaultConnectionPipedriveOauthCode, - CreateFlowsVaultConnectionPipedriveToken, - CreateFlowsVaultConnectionPipedriveUninitialized, - CreateFlowsVaultConnectionRequestContent, - CreateFlowsVaultConnectionResponseContent, - CreateFlowsVaultConnectionSalesforce, - CreateFlowsVaultConnectionSalesforceOauthCode, - CreateFlowsVaultConnectionSalesforceUninitialized, - CreateFlowsVaultConnectionSendgrid, - CreateFlowsVaultConnectionSendgridApiKey, - CreateFlowsVaultConnectionSendgridUninitialized, - CreateFlowsVaultConnectionSlack, - CreateFlowsVaultConnectionSlackOauthCode, - CreateFlowsVaultConnectionSlackUninitialized, - CreateFlowsVaultConnectionSlackWebhook, - CreateFlowsVaultConnectionStripe, - CreateFlowsVaultConnectionStripeKeyPair, - CreateFlowsVaultConnectionStripeOauthCode, - CreateFlowsVaultConnectionStripeUninitialized, - CreateFlowsVaultConnectionTelegram, - CreateFlowsVaultConnectionTelegramToken, - CreateFlowsVaultConnectionTelegramUninitialized, - CreateFlowsVaultConnectionTwilio, - CreateFlowsVaultConnectionTwilioApiKey, - CreateFlowsVaultConnectionTwilioUninitialized, - CreateFlowsVaultConnectionWhatsapp, - CreateFlowsVaultConnectionWhatsappToken, - CreateFlowsVaultConnectionWhatsappUninitialized, - CreateFlowsVaultConnectionZapier, - CreateFlowsVaultConnectionZapierUninitialized, - CreateFlowsVaultConnectionZapierWebhook, - CreateFormResponseContent, - CreateGuardianEnrollmentTicketResponseContent, - CreateHookResponseContent, - CreateHookSecretRequestContent, - CreateImportUsersResponseContent, - CreateLogStreamDatadogRequestBody, - CreateLogStreamEventBridgeRequestBody, - CreateLogStreamEventGridRequestBody, - CreateLogStreamHttpRequestBody, - CreateLogStreamMixpanelRequestBody, - CreateLogStreamRequestContent, - CreateLogStreamResponseContent, - CreateLogStreamSegmentRequestBody, - CreateLogStreamSplunkRequestBody, - CreateLogStreamSumoRequestBody, - CreateOrganizationAllConnectionResponseContent, - CreateOrganizationDiscoveryDomainResponseContent, - CreateOrganizationInvitationResponseContent, - CreateOrganizationResponseContent, - CreatePhoneProviderSendTestResponseContent, - CreatePhoneTemplateResponseContent, - CreatePhoneTemplateTestNotificationResponseContent, - CreatePublicKeyDeviceCredentialResponseContent, - CreateRateLimitPolicyResponseContent, - CreateResourceServerResponseContent, - CreateRoleResponseContent, - CreateRuleResponseContent, - CreateScimConfigurationRequestContent, - CreateScimConfigurationResponseContent, - CreateScimTokenResponseContent, - CreateSelfServiceProfileResponseContent, - CreateSelfServiceProfileSsoTicketResponseContent, - CreateTokenExchangeProfileResponseContent, - CreateTokenQuota, - CreateUserAttributeProfileResponseContent, - CreateUserAuthenticationMethodResponseContent, - CreateUserResponseContent, - CreateVerifiableCredentialTemplateResponseContent, - CreateVerificationEmailResponseContent, - CreatedAuthenticationMethodTypeEnum, - CreatedUserAuthenticationMethodTypeEnum, - CredentialDeviceTypeEnum, - CredentialId, - CspDirectives, - CspFlag, - CspFlags, - CspPolicies, - CspPolicy, - CspPolicyMode, - CspPolicyReporting, - CspReportTo, - CspReportToEndpoint, - CspReportToEndpoints, - CspReportingEndpoints, - CspReportingInfrastructure, - CustomDomain, - CustomDomainCustomClientIpHeader, - CustomDomainCustomClientIpHeaderEnum, - CustomDomainProvisioningTypeEnum, - CustomDomainStatusFilterEnum, - CustomDomainTlsPolicyEnum, - CustomDomainTypeEnum, - CustomDomainVerificationMethodEnum, - CustomProviderConfiguration, - CustomProviderCredentials, - CustomProviderDeliveryMethodEnum, - CustomSigningKeyAlgorithmEnum, - CustomSigningKeyCurveEnum, - CustomSigningKeyJwk, - CustomSigningKeyOperationEnum, - CustomSigningKeyTypeEnum, - CustomSigningKeyUseEnum, - DailyStats, - DefaultMethodEmailIdentifierEnum, - DefaultTokenQuota, - DeleteHookSecretRequestContent, - DeleteUserIdentityResponseContent, - DeleteUserIdentityResponseContentItem, - DeployActionResponseContent, - DeployActionVersionRequestContent, - DeployActionVersionResponseContent, - DeviceCredential, - DeviceCredentialPublicKeyTypeEnum, - DeviceCredentialTypeEnum, - DirectoryProvisioning, - DirectoryProvisioningMappingItem, - DomainCertificate, - DomainCertificateAuthorityEnum, - DomainCertificateStatusEnum, - DomainMetadata, - DomainVerification, - DomainVerificationMethod, - DomainVerificationMethodNameEnum, - DomainVerificationStatusEnum, - EmailAttribute, - EmailMailgunRegionEnum, - EmailProviderCredentials, - EmailProviderCredentialsSchema, - EmailProviderCredentialsSchemaAccessKeyId, - EmailProviderCredentialsSchemaApiKey, - EmailProviderCredentialsSchemaClientId, - EmailProviderCredentialsSchemaConnectionString, - EmailProviderCredentialsSchemaSmtpHost, - EmailProviderCredentialsSchemaThree, - EmailProviderCredentialsSchemaZero, - EmailProviderNameEnum, - EmailProviderSettings, - EmailSmtpHost, - EmailSparkPostRegionEnum, - EmailSpecificProviderSettingsWithAdditionalProperties, - EmailTemplateNameEnum, - EnabledFeaturesEnum, - EncryptionKey, - EncryptionKeyPublicWrappingAlgorithm, - EncryptionKeyState, - EncryptionKeyType, - EventStreamActionConfiguration, - EventStreamActionDestination, - EventStreamActionDestinationTypeEnum, - EventStreamActionResponseContent, - EventStreamCloudEvent, - EventStreamCloudEventA0PurposeEnum, - EventStreamCloudEventContext, - EventStreamCloudEventContextClient, - EventStreamCloudEventContextClientMetadata, - EventStreamCloudEventContextConnection, - EventStreamCloudEventContextRequest, - EventStreamCloudEventContextRequestGeo, - EventStreamCloudEventContextTenant, - EventStreamCloudEventErrorCodeEnum, - EventStreamCloudEventErrorDetail, - EventStreamCloudEventErrorMessage, - EventStreamCloudEventErrorMessageTypeEnum, - EventStreamCloudEventGroupCreated, - EventStreamCloudEventGroupCreatedCloudEvent, - EventStreamCloudEventGroupCreatedCloudEventTypeEnum, - EventStreamCloudEventGroupCreatedData, - EventStreamCloudEventGroupCreatedObject, - EventStreamCloudEventGroupCreatedObject0, - EventStreamCloudEventGroupCreatedObject0TypeEnum, - EventStreamCloudEventGroupCreatedObject1, - EventStreamCloudEventGroupCreatedObject1TypeEnum, - EventStreamCloudEventGroupCreatedObject2, - EventStreamCloudEventGroupCreatedObject2TypeEnum, - EventStreamCloudEventGroupCreatedTypeEnum, - EventStreamCloudEventGroupDeleted, - EventStreamCloudEventGroupDeletedCloudEvent, - EventStreamCloudEventGroupDeletedCloudEventTypeEnum, - EventStreamCloudEventGroupDeletedData, - EventStreamCloudEventGroupDeletedObject, - EventStreamCloudEventGroupDeletedObject0, - EventStreamCloudEventGroupDeletedObject0TypeEnum, - EventStreamCloudEventGroupDeletedObject1, - EventStreamCloudEventGroupDeletedObject1TypeEnum, - EventStreamCloudEventGroupDeletedObject2, - EventStreamCloudEventGroupDeletedObject2TypeEnum, - EventStreamCloudEventGroupDeletedTypeEnum, - EventStreamCloudEventGroupMemberAdded, - EventStreamCloudEventGroupMemberAddedCloudEvent, - EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum, - EventStreamCloudEventGroupMemberAddedData, - EventStreamCloudEventGroupMemberAddedObject, - EventStreamCloudEventGroupMemberAddedObjectGroup, - EventStreamCloudEventGroupMemberAddedObjectGroup0, - EventStreamCloudEventGroupMemberAddedObjectGroup0TypeEnum, - EventStreamCloudEventGroupMemberAddedObjectGroup1, - EventStreamCloudEventGroupMemberAddedObjectGroup1TypeEnum, - EventStreamCloudEventGroupMemberAddedObjectGroup2, - EventStreamCloudEventGroupMemberAddedObjectGroup2TypeEnum, - EventStreamCloudEventGroupMemberAddedObjectMember, - EventStreamCloudEventGroupMemberAddedObjectMember0, - EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum, - EventStreamCloudEventGroupMemberAddedObjectMember1, - EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum, - EventStreamCloudEventGroupMemberAddedTypeEnum, - EventStreamCloudEventGroupMemberDeleted, - EventStreamCloudEventGroupMemberDeletedCloudEvent, - EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum, - EventStreamCloudEventGroupMemberDeletedData, - EventStreamCloudEventGroupMemberDeletedObject, - EventStreamCloudEventGroupMemberDeletedObjectGroup, - EventStreamCloudEventGroupMemberDeletedObjectGroup0, - EventStreamCloudEventGroupMemberDeletedObjectGroup0TypeEnum, - EventStreamCloudEventGroupMemberDeletedObjectGroup1, - EventStreamCloudEventGroupMemberDeletedObjectGroup1TypeEnum, - EventStreamCloudEventGroupMemberDeletedObjectGroup2, - EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum, - EventStreamCloudEventGroupMemberDeletedObjectMember, - EventStreamCloudEventGroupMemberDeletedObjectMember0, - EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum, - EventStreamCloudEventGroupMemberDeletedObjectMember1, - EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum, - EventStreamCloudEventGroupMemberDeletedTypeEnum, - EventStreamCloudEventGroupRoleAssigned, - EventStreamCloudEventGroupRoleAssignedCloudEvent, - EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum, - EventStreamCloudEventGroupRoleAssignedData, - EventStreamCloudEventGroupRoleAssignedObject, - EventStreamCloudEventGroupRoleAssignedObjectGroup, - EventStreamCloudEventGroupRoleAssignedObjectGroup0, - EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum, - EventStreamCloudEventGroupRoleAssignedObjectGroup1, - EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum, - EventStreamCloudEventGroupRoleAssignedObjectGroup2, - EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum, - EventStreamCloudEventGroupRoleAssignedObjectRole, - EventStreamCloudEventGroupRoleAssignedTypeEnum, - EventStreamCloudEventGroupRoleDeleted, - EventStreamCloudEventGroupRoleDeletedCloudEvent, - EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum, - EventStreamCloudEventGroupRoleDeletedData, - EventStreamCloudEventGroupRoleDeletedObject, - EventStreamCloudEventGroupRoleDeletedObjectGroup, - EventStreamCloudEventGroupRoleDeletedObjectGroup0, - EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum, - EventStreamCloudEventGroupRoleDeletedObjectGroup1, - EventStreamCloudEventGroupRoleDeletedObjectGroup1TypeEnum, - EventStreamCloudEventGroupRoleDeletedObjectGroup2, - EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum, - EventStreamCloudEventGroupRoleDeletedObjectRole, - EventStreamCloudEventGroupRoleDeletedTypeEnum, - EventStreamCloudEventGroupUpdated, - EventStreamCloudEventGroupUpdatedCloudEvent, - EventStreamCloudEventGroupUpdatedCloudEventTypeEnum, - EventStreamCloudEventGroupUpdatedData, - EventStreamCloudEventGroupUpdatedObject, - EventStreamCloudEventGroupUpdatedObject0, - EventStreamCloudEventGroupUpdatedObject0TypeEnum, - EventStreamCloudEventGroupUpdatedObject1, - EventStreamCloudEventGroupUpdatedObject1TypeEnum, - EventStreamCloudEventGroupUpdatedObject2, - EventStreamCloudEventGroupUpdatedObject2TypeEnum, - EventStreamCloudEventGroupUpdatedTypeEnum, - EventStreamCloudEventOffsetOnlyMessage, - EventStreamCloudEventOffsetOnlyMessageTypeEnum, - EventStreamCloudEventOrgConnectionAdded, - EventStreamCloudEventOrgConnectionAddedCloudEvent, - EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum, - EventStreamCloudEventOrgConnectionAddedData, - EventStreamCloudEventOrgConnectionAddedObject, - EventStreamCloudEventOrgConnectionAddedObjectConnection, - EventStreamCloudEventOrgConnectionAddedObjectOrganization, - EventStreamCloudEventOrgConnectionAddedTypeEnum, - EventStreamCloudEventOrgConnectionRemoved, - EventStreamCloudEventOrgConnectionRemovedCloudEvent, - EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum, - EventStreamCloudEventOrgConnectionRemovedData, - EventStreamCloudEventOrgConnectionRemovedObject, - EventStreamCloudEventOrgConnectionRemovedObjectConnection, - EventStreamCloudEventOrgConnectionRemovedObjectOrganization, - EventStreamCloudEventOrgConnectionRemovedTypeEnum, - EventStreamCloudEventOrgConnectionUpdated, - EventStreamCloudEventOrgConnectionUpdatedCloudEvent, - EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum, - EventStreamCloudEventOrgConnectionUpdatedData, - EventStreamCloudEventOrgConnectionUpdatedObject, - EventStreamCloudEventOrgConnectionUpdatedObjectConnection, - EventStreamCloudEventOrgConnectionUpdatedObjectOrganization, - EventStreamCloudEventOrgConnectionUpdatedTypeEnum, - EventStreamCloudEventOrgCreated, - EventStreamCloudEventOrgCreatedCloudEvent, - EventStreamCloudEventOrgCreatedCloudEventTypeEnum, - EventStreamCloudEventOrgCreatedData, - EventStreamCloudEventOrgCreatedObject, - EventStreamCloudEventOrgCreatedObjectBranding, - EventStreamCloudEventOrgCreatedObjectBrandingColors, - EventStreamCloudEventOrgCreatedObjectMetadata, - EventStreamCloudEventOrgCreatedTypeEnum, - EventStreamCloudEventOrgDeleted, - EventStreamCloudEventOrgDeletedCloudEvent, - EventStreamCloudEventOrgDeletedCloudEventTypeEnum, - EventStreamCloudEventOrgDeletedData, - EventStreamCloudEventOrgDeletedObject, - EventStreamCloudEventOrgDeletedObjectMetadata, - EventStreamCloudEventOrgDeletedTypeEnum, - EventStreamCloudEventOrgGroupRoleAssigned, - EventStreamCloudEventOrgGroupRoleAssignedCloudEvent, - EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum, - EventStreamCloudEventOrgGroupRoleAssignedData, - EventStreamCloudEventOrgGroupRoleAssignedObject, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0TypeEnum, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1TypeEnum, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2, - EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum, - EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization, - EventStreamCloudEventOrgGroupRoleAssignedObjectRole, - EventStreamCloudEventOrgGroupRoleAssignedTypeEnum, - EventStreamCloudEventOrgGroupRoleDeleted, - EventStreamCloudEventOrgGroupRoleDeletedCloudEvent, - EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum, - EventStreamCloudEventOrgGroupRoleDeletedData, - EventStreamCloudEventOrgGroupRoleDeletedObject, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0TypeEnum, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2, - EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum, - EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization, - EventStreamCloudEventOrgGroupRoleDeletedObjectRole, - EventStreamCloudEventOrgGroupRoleDeletedTypeEnum, - EventStreamCloudEventOrgMemberAdded, - EventStreamCloudEventOrgMemberAddedCloudEvent, - EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum, - EventStreamCloudEventOrgMemberAddedData, - EventStreamCloudEventOrgMemberAddedObject, - EventStreamCloudEventOrgMemberAddedObjectOrganization, - EventStreamCloudEventOrgMemberAddedObjectUser, - EventStreamCloudEventOrgMemberAddedTypeEnum, - EventStreamCloudEventOrgMemberDeleted, - EventStreamCloudEventOrgMemberDeletedCloudEvent, - EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum, - EventStreamCloudEventOrgMemberDeletedData, - EventStreamCloudEventOrgMemberDeletedObject, - EventStreamCloudEventOrgMemberDeletedObjectOrganization, - EventStreamCloudEventOrgMemberDeletedObjectUser, - EventStreamCloudEventOrgMemberDeletedTypeEnum, - EventStreamCloudEventOrgMemberRoleAssigned, - EventStreamCloudEventOrgMemberRoleAssignedCloudEvent, - EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum, - EventStreamCloudEventOrgMemberRoleAssignedData, - EventStreamCloudEventOrgMemberRoleAssignedObject, - EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization, - EventStreamCloudEventOrgMemberRoleAssignedObjectRole, - EventStreamCloudEventOrgMemberRoleAssignedObjectUser, - EventStreamCloudEventOrgMemberRoleAssignedTypeEnum, - EventStreamCloudEventOrgMemberRoleDeleted, - EventStreamCloudEventOrgMemberRoleDeletedCloudEvent, - EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum, - EventStreamCloudEventOrgMemberRoleDeletedData, - EventStreamCloudEventOrgMemberRoleDeletedObject, - EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization, - EventStreamCloudEventOrgMemberRoleDeletedObjectRole, - EventStreamCloudEventOrgMemberRoleDeletedObjectUser, - EventStreamCloudEventOrgMemberRoleDeletedTypeEnum, - EventStreamCloudEventOrgUpdated, - EventStreamCloudEventOrgUpdatedCloudEvent, - EventStreamCloudEventOrgUpdatedCloudEventTypeEnum, - EventStreamCloudEventOrgUpdatedData, - EventStreamCloudEventOrgUpdatedObject, - EventStreamCloudEventOrgUpdatedObjectBranding, - EventStreamCloudEventOrgUpdatedObjectBrandingColors, - EventStreamCloudEventOrgUpdatedObjectMetadata, - EventStreamCloudEventOrgUpdatedTypeEnum, - EventStreamCloudEventUserCreated, - EventStreamCloudEventUserCreatedCloudEvent, - EventStreamCloudEventUserCreatedCloudEventTypeEnum, - EventStreamCloudEventUserCreatedData, - EventStreamCloudEventUserCreatedObject, - EventStreamCloudEventUserCreatedObjectAppMetadata, - EventStreamCloudEventUserCreatedObjectIdentitiesItem, - EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom, - EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomIsSocialEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProfileData, - EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProviderEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomUserId, - EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase, - EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData, - EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserId, - EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise, - EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseIsSocialEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProfileData, - EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProviderEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseUserId, - EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless, - EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessIsSocialEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProfileData, - EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessUserId, - EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial, - EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData, - EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum, - EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId, - EventStreamCloudEventUserCreatedObjectUserMetadata, - EventStreamCloudEventUserCreatedTypeEnum, - EventStreamCloudEventUserDeleted, - EventStreamCloudEventUserDeletedCloudEvent, - EventStreamCloudEventUserDeletedCloudEventTypeEnum, - EventStreamCloudEventUserDeletedData, - EventStreamCloudEventUserDeletedObject, - EventStreamCloudEventUserDeletedObjectAppMetadata, - EventStreamCloudEventUserDeletedObjectIdentitiesItem, - EventStreamCloudEventUserDeletedObjectIdentitiesItemCustom, - EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomIsSocialEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProfileData, - EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProviderEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomUserId, - EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabase, - EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseIsSocialEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProfileData, - EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProviderEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseUserId, - EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterprise, - EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseIsSocialEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData, - EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProviderEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseUserId, - EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordless, - EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessIsSocialEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProfileData, - EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProviderEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessUserId, - EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial, - EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData, - EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum, - EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId, - EventStreamCloudEventUserDeletedObjectUserMetadata, - EventStreamCloudEventUserDeletedTypeEnum, - EventStreamCloudEventUserUpdated, - EventStreamCloudEventUserUpdatedCloudEvent, - EventStreamCloudEventUserUpdatedCloudEventTypeEnum, - EventStreamCloudEventUserUpdatedData, - EventStreamCloudEventUserUpdatedObject, - EventStreamCloudEventUserUpdatedObjectAppMetadata, - EventStreamCloudEventUserUpdatedObjectIdentitiesItem, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserId, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProfileData, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProviderEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseUserId, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseIsSocialEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProfileData, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserId, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessIsSocialEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProfileData, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProviderEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessUserId, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialIsSocialEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProfileData, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum, - EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId, - EventStreamCloudEventUserUpdatedObjectUserMetadata, - EventStreamCloudEventUserUpdatedTypeEnum, - EventStreamDelivery, - EventStreamDeliveryAttempt, - EventStreamDeliveryEventTypeEnum, - EventStreamDeliveryStatusEnum, - EventStreamDestinationPatch, - EventStreamEventBridgeAwsRegionEnum, - EventStreamEventBridgeConfiguration, - EventStreamEventBridgeDestination, - EventStreamEventBridgeDestinationTypeEnum, - EventStreamEventBridgeResponseContent, - EventStreamEventTypeEnum, - EventStreamResponseContent, - EventStreamStatusEnum, - EventStreamSubscribeEventsEventTypeEnum, - EventStreamSubscribeEventsEventTypeParam, - EventStreamSubscribeEventsResponseContent, - EventStreamSubscribeEventsResponseContent_Error, - EventStreamSubscribeEventsResponseContent_GroupCreated, - EventStreamSubscribeEventsResponseContent_GroupDeleted, - EventStreamSubscribeEventsResponseContent_GroupMemberAdded, - EventStreamSubscribeEventsResponseContent_GroupMemberDeleted, - EventStreamSubscribeEventsResponseContent_GroupRoleAssigned, - EventStreamSubscribeEventsResponseContent_GroupRoleDeleted, - EventStreamSubscribeEventsResponseContent_GroupUpdated, - EventStreamSubscribeEventsResponseContent_OffsetOnly, - EventStreamSubscribeEventsResponseContent_OrganizationConnectionAdded, - EventStreamSubscribeEventsResponseContent_OrganizationConnectionRemoved, - EventStreamSubscribeEventsResponseContent_OrganizationConnectionUpdated, - EventStreamSubscribeEventsResponseContent_OrganizationCreated, - EventStreamSubscribeEventsResponseContent_OrganizationDeleted, - EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleAssigned, - EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleDeleted, - EventStreamSubscribeEventsResponseContent_OrganizationMemberAdded, - EventStreamSubscribeEventsResponseContent_OrganizationMemberDeleted, - EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleAssigned, - EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleDeleted, - EventStreamSubscribeEventsResponseContent_OrganizationUpdated, - EventStreamSubscribeEventsResponseContent_UserCreated, - EventStreamSubscribeEventsResponseContent_UserDeleted, - EventStreamSubscribeEventsResponseContent_UserUpdated, - EventStreamSubscription, - EventStreamTestEventTypeEnum, - EventStreamWebhookAuthorizationResponse, - EventStreamWebhookBasicAuth, - EventStreamWebhookBasicAuthMethodEnum, - EventStreamWebhookBearerAuth, - EventStreamWebhookBearerAuthMethodEnum, - EventStreamWebhookConfiguration, - EventStreamWebhookCustomHeaderAuth, - EventStreamWebhookCustomHeaderAuthMethodEnum, - EventStreamWebhookDestination, - EventStreamWebhookDestinationTypeEnum, - EventStreamWebhookResponseContent, - ExpressConfiguration, - ExpressConfigurationOrNull, - ExtensibilityEmailProviderCredentials, - FedCmLogin, - FedCmLoginGoogle, - FederatedConnectionTokenSet, - FlowAction, - FlowActionActivecampaign, - FlowActionActivecampaignListContacts, - FlowActionActivecampaignListContactsAction, - FlowActionActivecampaignListContactsParams, - FlowActionActivecampaignListContactsType, - FlowActionActivecampaignUpsertContact, - FlowActionActivecampaignUpsertContactAction, - FlowActionActivecampaignUpsertContactParams, - FlowActionActivecampaignUpsertContactParamsCustomFields, - FlowActionActivecampaignUpsertContactType, - FlowActionAirtable, - FlowActionAirtableCreateRecord, - FlowActionAirtableCreateRecordAction, - FlowActionAirtableCreateRecordParams, - FlowActionAirtableCreateRecordParamsFields, - FlowActionAirtableCreateRecordType, - FlowActionAirtableListRecords, - FlowActionAirtableListRecordsAction, - FlowActionAirtableListRecordsParams, - FlowActionAirtableListRecordsType, - FlowActionAirtableUpdateRecord, - FlowActionAirtableUpdateRecordAction, - FlowActionAirtableUpdateRecordParams, - FlowActionAirtableUpdateRecordParamsFields, - FlowActionAirtableUpdateRecordType, - FlowActionAuth0, - FlowActionAuth0CreateUser, - FlowActionAuth0CreateUserAction, - FlowActionAuth0CreateUserParams, - FlowActionAuth0CreateUserParamsPayload, - FlowActionAuth0CreateUserType, - FlowActionAuth0GetUser, - FlowActionAuth0GetUserAction, - FlowActionAuth0GetUserParams, - FlowActionAuth0GetUserType, - FlowActionAuth0MakeCall, - FlowActionAuth0MakeCallAction, - FlowActionAuth0MakeCallParams, - FlowActionAuth0MakeCallParamsCustomVars, - FlowActionAuth0MakeCallType, - FlowActionAuth0SendEmail, - FlowActionAuth0SendEmailAction, - FlowActionAuth0SendEmailParams, - FlowActionAuth0SendEmailParamsFrom, - FlowActionAuth0SendEmailParamsFromEmail, - FlowActionAuth0SendEmailParamsTo, - FlowActionAuth0SendEmailType, - FlowActionAuth0SendRequest, - FlowActionAuth0SendRequestAction, - FlowActionAuth0SendRequestParams, - FlowActionAuth0SendRequestParamsCustomVars, - FlowActionAuth0SendRequestParamsHeaders, - FlowActionAuth0SendRequestParamsMethod, - FlowActionAuth0SendRequestParamsPayload, - FlowActionAuth0SendRequestParamsPayloadObject, - FlowActionAuth0SendRequestParamsQueryParams, - FlowActionAuth0SendRequestParamsQueryParamsValue, - FlowActionAuth0SendRequestType, - FlowActionAuth0SendSms, - FlowActionAuth0SendSmsAction, - FlowActionAuth0SendSmsParams, - FlowActionAuth0SendSmsParamsCustomVars, - FlowActionAuth0SendSmsType, - FlowActionAuth0UpdateUser, - FlowActionAuth0UpdateUserAction, - FlowActionAuth0UpdateUserParams, - FlowActionAuth0UpdateUserParamsChanges, - FlowActionAuth0UpdateUserType, - FlowActionBigquery, - FlowActionBigqueryInsertRows, - FlowActionBigqueryInsertRowsAction, - FlowActionBigqueryInsertRowsParams, - FlowActionBigqueryInsertRowsParamsData, - FlowActionBigqueryInsertRowsType, - FlowActionClearbit, - FlowActionClearbitFindCompany, - FlowActionClearbitFindCompanyAction, - FlowActionClearbitFindCompanyParams, - FlowActionClearbitFindCompanyType, - FlowActionClearbitFindPerson, - FlowActionClearbitFindPersonAction, - FlowActionClearbitFindPersonParams, - FlowActionClearbitFindPersonType, - FlowActionEmail, - FlowActionEmailVerifyEmail, - FlowActionEmailVerifyEmailAction, - FlowActionEmailVerifyEmailParams, - FlowActionEmailVerifyEmailParamsRules, - FlowActionEmailVerifyEmailType, - FlowActionFlow, - FlowActionFlowBooleanCondition, - FlowActionFlowBooleanConditionAction, - FlowActionFlowBooleanConditionParams, - FlowActionFlowBooleanConditionType, - FlowActionFlowDelayFlow, - FlowActionFlowDelayFlowAction, - FlowActionFlowDelayFlowParams, - FlowActionFlowDelayFlowParamsNumber, - FlowActionFlowDelayFlowParamsUnits, - FlowActionFlowDelayFlowType, - FlowActionFlowDoNothing, - FlowActionFlowDoNothingAction, - FlowActionFlowDoNothingParams, - FlowActionFlowDoNothingType, - FlowActionFlowErrorMessage, - FlowActionFlowErrorMessageAction, - FlowActionFlowErrorMessageParams, - FlowActionFlowErrorMessageType, - FlowActionFlowMapValue, - FlowActionFlowMapValueAction, - FlowActionFlowMapValueParams, - FlowActionFlowMapValueParamsCases, - FlowActionFlowMapValueParamsFallback, - FlowActionFlowMapValueParamsFallbackObject, - FlowActionFlowMapValueParamsInput, - FlowActionFlowMapValueType, - FlowActionFlowReturnJson, - FlowActionFlowReturnJsonAction, - FlowActionFlowReturnJsonParams, - FlowActionFlowReturnJsonParamsPayload, - FlowActionFlowReturnJsonParamsPayloadObject, - FlowActionFlowReturnJsonType, - FlowActionFlowStoreVars, - FlowActionFlowStoreVarsAction, - FlowActionFlowStoreVarsParams, - FlowActionFlowStoreVarsParamsVars, - FlowActionFlowStoreVarsType, - FlowActionGoogleSheets, - FlowActionGoogleSheetsAddRow, - FlowActionGoogleSheetsAddRowAction, - FlowActionGoogleSheetsAddRowParams, - FlowActionGoogleSheetsAddRowParamsSheetId, - FlowActionGoogleSheetsAddRowParamsValues, - FlowActionGoogleSheetsAddRowType, - FlowActionHttp, - FlowActionHttpSendRequest, - FlowActionHttpSendRequestAction, - FlowActionHttpSendRequestParams, - FlowActionHttpSendRequestParamsBasicAuth, - FlowActionHttpSendRequestParamsContentType, - FlowActionHttpSendRequestParamsHeaders, - FlowActionHttpSendRequestParamsMethod, - FlowActionHttpSendRequestParamsPayload, - FlowActionHttpSendRequestParamsPayloadObject, - FlowActionHttpSendRequestParamsQueryParams, - FlowActionHttpSendRequestParamsQueryParamsValue, - FlowActionHttpSendRequestType, - FlowActionHubspot, - FlowActionHubspotEnrollContact, - FlowActionHubspotEnrollContactAction, - FlowActionHubspotEnrollContactParams, - FlowActionHubspotEnrollContactParamsWorkflowId, - FlowActionHubspotEnrollContactType, - FlowActionHubspotGetContact, - FlowActionHubspotGetContactAction, - FlowActionHubspotGetContactParams, - FlowActionHubspotGetContactType, - FlowActionHubspotUpsertContact, - FlowActionHubspotUpsertContactAction, - FlowActionHubspotUpsertContactParams, - FlowActionHubspotUpsertContactParamsProperty, - FlowActionHubspotUpsertContactType, - FlowActionJson, - FlowActionJsonCreateJson, - FlowActionJsonCreateJsonAction, - FlowActionJsonCreateJsonParams, - FlowActionJsonCreateJsonParamsObject, - FlowActionJsonCreateJsonType, - FlowActionJsonParseJson, - FlowActionJsonParseJsonAction, - FlowActionJsonParseJsonParams, - FlowActionJsonParseJsonType, - FlowActionJsonSerializeJson, - FlowActionJsonSerializeJsonAction, - FlowActionJsonSerializeJsonParams, - FlowActionJsonSerializeJsonParamsObject, - FlowActionJsonSerializeJsonParamsObjectObject, - FlowActionJsonSerializeJsonType, - FlowActionJwt, - FlowActionJwtDecodeJwt, - FlowActionJwtDecodeJwtAction, - FlowActionJwtDecodeJwtParams, - FlowActionJwtDecodeJwtType, - FlowActionJwtSignJwt, - FlowActionJwtSignJwtAction, - FlowActionJwtSignJwtParams, - FlowActionJwtSignJwtParamsPayload, - FlowActionJwtSignJwtType, - FlowActionJwtVerifyJwt, - FlowActionJwtVerifyJwtAction, - FlowActionJwtVerifyJwtParams, - FlowActionJwtVerifyJwtType, - FlowActionMailchimp, - FlowActionMailchimpUpsertMember, - FlowActionMailchimpUpsertMemberAction, - FlowActionMailchimpUpsertMemberParams, - FlowActionMailchimpUpsertMemberParamsMember, - FlowActionMailchimpUpsertMemberParamsMemberMergeFields, - FlowActionMailchimpUpsertMemberType, - FlowActionMailjet, - FlowActionMailjetSendEmail, - FlowActionMailjetSendEmailAction, - FlowActionMailjetSendEmailParams, - FlowActionMailjetSendEmailParamsContent, - FlowActionMailjetSendEmailParamsTemplateId, - FlowActionMailjetSendEmailType, - FlowActionOtp, - FlowActionOtpGenerateCode, - FlowActionOtpGenerateCodeAction, - FlowActionOtpGenerateCodeParams, - FlowActionOtpGenerateCodeType, - FlowActionOtpVerifyCode, - FlowActionOtpVerifyCodeAction, - FlowActionOtpVerifyCodeParams, - FlowActionOtpVerifyCodeParamsCode, - FlowActionOtpVerifyCodeType, - FlowActionPipedrive, - FlowActionPipedriveAddDeal, - FlowActionPipedriveAddDealAction, - FlowActionPipedriveAddDealParams, - FlowActionPipedriveAddDealParamsFields, - FlowActionPipedriveAddDealParamsOrganizationId, - FlowActionPipedriveAddDealParamsPersonId, - FlowActionPipedriveAddDealParamsStageId, - FlowActionPipedriveAddDealParamsUserId, - FlowActionPipedriveAddDealType, - FlowActionPipedriveAddOrganization, - FlowActionPipedriveAddOrganizationAction, - FlowActionPipedriveAddOrganizationParams, - FlowActionPipedriveAddOrganizationParamsFields, - FlowActionPipedriveAddOrganizationParamsOwnerId, - FlowActionPipedriveAddOrganizationType, - FlowActionPipedriveAddPerson, - FlowActionPipedriveAddPersonAction, - FlowActionPipedriveAddPersonParams, - FlowActionPipedriveAddPersonParamsFields, - FlowActionPipedriveAddPersonParamsOrganizationId, - FlowActionPipedriveAddPersonParamsOwnerId, - FlowActionPipedriveAddPersonType, - FlowActionSalesforce, - FlowActionSalesforceCreateLead, - FlowActionSalesforceCreateLeadAction, - FlowActionSalesforceCreateLeadParams, - FlowActionSalesforceCreateLeadParamsPayload, - FlowActionSalesforceCreateLeadType, - FlowActionSalesforceGetLead, - FlowActionSalesforceGetLeadAction, - FlowActionSalesforceGetLeadParams, - FlowActionSalesforceGetLeadType, - FlowActionSalesforceSearchLeads, - FlowActionSalesforceSearchLeadsAction, - FlowActionSalesforceSearchLeadsParams, - FlowActionSalesforceSearchLeadsParamsSearchField, - FlowActionSalesforceSearchLeadsType, - FlowActionSalesforceUpdateLead, - FlowActionSalesforceUpdateLeadAction, - FlowActionSalesforceUpdateLeadParams, - FlowActionSalesforceUpdateLeadParamsPayload, - FlowActionSalesforceUpdateLeadType, - FlowActionSendgrid, - FlowActionSendgridSendEmail, - FlowActionSendgridSendEmailAction, - FlowActionSendgridSendEmailParams, - FlowActionSendgridSendEmailParamsPerson, - FlowActionSendgridSendEmailType, - FlowActionSlack, - FlowActionSlackPostMessage, - FlowActionSlackPostMessageAction, - FlowActionSlackPostMessageParams, - FlowActionSlackPostMessageParamsAttachment, - FlowActionSlackPostMessageParamsAttachmentColor, - FlowActionSlackPostMessageParamsAttachmentField, - FlowActionSlackPostMessageType, - FlowActionStripe, - FlowActionStripeAddTaxId, - FlowActionStripeAddTaxIdAction, - FlowActionStripeAddTaxIdParams, - FlowActionStripeAddTaxIdType, - FlowActionStripeAddress, - FlowActionStripeCreateCustomer, - FlowActionStripeCreateCustomerAction, - FlowActionStripeCreateCustomerParams, - FlowActionStripeCreateCustomerType, - FlowActionStripeCreatePortalSession, - FlowActionStripeCreatePortalSessionAction, - FlowActionStripeCreatePortalSessionParams, - FlowActionStripeCreatePortalSessionType, - FlowActionStripeDeleteTaxId, - FlowActionStripeDeleteTaxIdAction, - FlowActionStripeDeleteTaxIdParams, - FlowActionStripeDeleteTaxIdType, - FlowActionStripeFindCustomers, - FlowActionStripeFindCustomersAction, - FlowActionStripeFindCustomersParams, - FlowActionStripeFindCustomersType, - FlowActionStripeGetCustomer, - FlowActionStripeGetCustomerAction, - FlowActionStripeGetCustomerParams, - FlowActionStripeGetCustomerType, - FlowActionStripeMetadata, - FlowActionStripeTaxId, - FlowActionStripeUpdateCustomer, - FlowActionStripeUpdateCustomerAction, - FlowActionStripeUpdateCustomerParams, - FlowActionStripeUpdateCustomerType, - FlowActionTelegram, - FlowActionTelegramSendMessage, - FlowActionTelegramSendMessageAction, - FlowActionTelegramSendMessageParams, - FlowActionTelegramSendMessageType, - FlowActionTwilio, - FlowActionTwilioMakeCall, - FlowActionTwilioMakeCallAction, - FlowActionTwilioMakeCallParams, - FlowActionTwilioMakeCallType, - FlowActionTwilioSendSms, - FlowActionTwilioSendSmsAction, - FlowActionTwilioSendSmsParams, - FlowActionTwilioSendSmsType, - FlowActionWhatsapp, - FlowActionWhatsappSendMessage, - FlowActionWhatsappSendMessageAction, - FlowActionWhatsappSendMessageParams, - FlowActionWhatsappSendMessageParamsPayload, - FlowActionWhatsappSendMessageParamsPayloadObject, - FlowActionWhatsappSendMessageParamsType, - FlowActionWhatsappSendMessageType, - FlowActionXml, - FlowActionXmlParseXml, - FlowActionXmlParseXmlAction, - FlowActionXmlParseXmlParams, - FlowActionXmlParseXmlType, - FlowActionXmlSerializeXml, - FlowActionXmlSerializeXmlAction, - FlowActionXmlSerializeXmlParams, - FlowActionXmlSerializeXmlParamsObject, - FlowActionXmlSerializeXmlParamsObjectObject, - FlowActionXmlSerializeXmlType, - FlowActionZapier, - FlowActionZapierTriggerWebhook, - FlowActionZapierTriggerWebhookAction, - FlowActionZapierTriggerWebhookParams, - FlowActionZapierTriggerWebhookParamsMethod, - FlowActionZapierTriggerWebhookType, - FlowExecutionDebug, - FlowExecutionSummary, - FlowSummary, - FlowsVaultConnectioSetupApiKey, - FlowsVaultConnectioSetupApiKeyWithBaseUrl, - FlowsVaultConnectioSetupBigqueryOauthJwt, - FlowsVaultConnectioSetupHttpBearer, - FlowsVaultConnectioSetupJwt, - FlowsVaultConnectioSetupJwtAlgorithmEnum, - FlowsVaultConnectioSetupMailjetApiKey, - FlowsVaultConnectioSetupOauthApp, - FlowsVaultConnectioSetupOauthCode, - FlowsVaultConnectioSetupSecretApiKey, - FlowsVaultConnectioSetupStripeKeyPair, - FlowsVaultConnectioSetupToken, - FlowsVaultConnectioSetupTwilioApiKey, - FlowsVaultConnectioSetupTypeApiKeyEnum, - FlowsVaultConnectioSetupTypeBearerEnum, - FlowsVaultConnectioSetupTypeJwtEnum, - FlowsVaultConnectioSetupTypeKeyPairEnum, - FlowsVaultConnectioSetupTypeOauthAppEnum, - FlowsVaultConnectioSetupTypeOauthCodeEnum, - FlowsVaultConnectioSetupTypeOauthJwtEnum, - FlowsVaultConnectioSetupTypeTokenEnum, - FlowsVaultConnectioSetupTypeWebhookEnum, - FlowsVaultConnectioSetupWebhook, - FlowsVaultConnectionAppIdActivecampaignEnum, - FlowsVaultConnectionAppIdAirtableEnum, - FlowsVaultConnectionAppIdAuth0Enum, - FlowsVaultConnectionAppIdBigqueryEnum, - FlowsVaultConnectionAppIdClearbitEnum, - FlowsVaultConnectionAppIdDocusignEnum, - FlowsVaultConnectionAppIdGoogleSheetsEnum, - FlowsVaultConnectionAppIdHttpEnum, - FlowsVaultConnectionAppIdHubspotEnum, - FlowsVaultConnectionAppIdJwtEnum, - FlowsVaultConnectionAppIdMailchimpEnum, - FlowsVaultConnectionAppIdMailjetEnum, - FlowsVaultConnectionAppIdPipedriveEnum, - FlowsVaultConnectionAppIdSalesforceEnum, - FlowsVaultConnectionAppIdSendgridEnum, - FlowsVaultConnectionAppIdSlackEnum, - FlowsVaultConnectionAppIdStripeEnum, - FlowsVaultConnectionAppIdTelegramEnum, - FlowsVaultConnectionAppIdTwilioEnum, - FlowsVaultConnectionAppIdWhatsappEnum, - FlowsVaultConnectionAppIdZapierEnum, - FlowsVaultConnectionHttpApiKeySetup, - FlowsVaultConnectionHttpApiKeySetupInEnum, - FlowsVaultConnectionHttpBasicAuthSetup, - FlowsVaultConnectionHttpOauthClientCredentialsSetup, - FlowsVaultConnectionSetupTypeApiKeyEnum, - FlowsVaultConnectionSetupTypeBasicAuthEnum, - FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum, - FlowsVaultConnectionSummary, - ForbiddenSchema, - ForbiddenSchemaError, - FormBlock, - FormBlockDivider, - FormBlockDividerConfig, - FormBlockHtml, - FormBlockHtmlConfig, - FormBlockImage, - FormBlockImageConfig, - FormBlockImageConfigPositionEnum, - FormBlockJumpButton, - FormBlockJumpButtonConfig, - FormBlockJumpButtonConfigStyle, - FormBlockNextButton, - FormBlockNextButtonConfig, - FormBlockPreviousButton, - FormBlockPreviousButtonConfig, - FormBlockResendButton, - FormBlockResendButtonConfig, - FormBlockResendButtonConfigTextAlignmentEnum, - FormBlockRichText, - FormBlockRichTextConfig, - FormBlockTypeDividerConst, - FormBlockTypeHtmlConst, - FormBlockTypeImageConst, - FormBlockTypeJumpButtonConst, - FormBlockTypeNextButtonConst, - FormBlockTypePreviousButtonConst, - FormBlockTypeResendButtonConst, - FormBlockTypeRichTextConst, - FormComponent, - FormComponentCategoryBlockConst, - FormComponentCategoryFieldConst, - FormComponentCategoryWidgetConst, - FormEndingNode, - FormEndingNodeAfterSubmit, - FormEndingNodeId, - FormEndingNodeNullable, - FormEndingNodeRedirection, - FormEndingNodeResumeFlowTrueConst, - FormField, - FormFieldBoolean, - FormFieldBooleanConfig, - FormFieldBooleanConfigOptions, - FormFieldCards, - FormFieldCardsConfig, - FormFieldCardsConfigOption, - FormFieldChoice, - FormFieldChoiceConfig, - FormFieldChoiceConfigAllowOther, - FormFieldChoiceConfigAllowOtherEnabledTrueEnum, - FormFieldChoiceConfigOption, - FormFieldCustom, - FormFieldCustomConfig, - FormFieldCustomConfigParams, - FormFieldCustomConfigSchema, - FormFieldDate, - FormFieldDateConfig, - FormFieldDateConfigFormatEnum, - FormFieldDropdown, - FormFieldDropdownConfig, - FormFieldDropdownConfigOption, - FormFieldEmail, - FormFieldEmailConfig, - FormFieldFile, - FormFieldFileConfig, - FormFieldFileConfigCategoryEnum, - FormFieldFileConfigStorage, - FormFieldFileConfigStorageTypeEnum, - FormFieldLegal, - FormFieldLegalConfig, - FormFieldNumber, - FormFieldNumberConfig, - FormFieldPassword, - FormFieldPasswordConfig, - FormFieldPasswordConfigHashEnum, - FormFieldPayment, - FormFieldPaymentConfig, - FormFieldPaymentConfigCharge, - FormFieldPaymentConfigChargeOneOff, - FormFieldPaymentConfigChargeOneOffCurrencyEnum, - FormFieldPaymentConfigChargeOneOffOneOff, - FormFieldPaymentConfigChargeOneOffOneOffAmount, - FormFieldPaymentConfigChargeSubscription, - FormFieldPaymentConfigChargeTypeOneOffConst, - FormFieldPaymentConfigChargeTypeSubscriptionConst, - FormFieldPaymentConfigCredentials, - FormFieldPaymentConfigCustomer, - FormFieldPaymentConfigFieldProperties, - FormFieldPaymentConfigFields, - FormFieldPaymentConfigProviderEnum, - FormFieldPaymentConfigSubscription, - FormFieldSocial, - FormFieldSocialConfig, - FormFieldTel, - FormFieldTelConfig, - FormFieldTelConfigStrings, - FormFieldText, - FormFieldTextConfig, - FormFieldTypeBooleanConst, - FormFieldTypeCardsConst, - FormFieldTypeChoiceConst, - FormFieldTypeCustomConst, - FormFieldTypeDateConst, - FormFieldTypeDropdownConst, - FormFieldTypeEmailConst, - FormFieldTypeFileConst, - FormFieldTypeLegalConst, - FormFieldTypeNumberConst, - FormFieldTypePasswordConst, - FormFieldTypePaymentConst, - FormFieldTypeSocialConst, - FormFieldTypeTelConst, - FormFieldTypeTextConst, - FormFieldTypeUrlConst, - FormFieldUrl, - FormFieldUrlConfig, - FormFlow, - FormFlowConfig, - FormHiddenField, - FormLanguages, - FormLanguagesNullable, - FormMessages, - FormMessagesCustom, - FormMessagesError, - FormMessagesNullable, - FormNode, - FormNodeCoordinates, - FormNodeList, - FormNodeListNullable, - FormNodePointer, - FormNodeTypeFlowConst, - FormNodeTypeRouterConst, - FormNodeTypeStepConst, - FormRouter, - FormRouterConfig, - FormRouterRule, - FormStartNode, - FormStartNodeNullable, - FormStep, - FormStepComponentList, - FormStepConfig, - FormStyle, - FormStyleNullable, - FormSummary, - FormTranslations, - FormTranslationsNullable, - FormWidget, - FormWidgetAuth0VerifiableCredentials, - FormWidgetAuth0VerifiableCredentialsConfig, - FormWidgetGMapsAddress, - FormWidgetGMapsAddressConfig, - FormWidgetRecaptcha, - FormWidgetRecaptchaConfig, - FormWidgetTypeAuth0VerifiableCredentialsConst, - FormWidgetTypeGMapsAddressConst, - FormWidgetTypeRecaptchaConst, - FormsRequestParametersHydrateEnum, - GetActionExecutionResponseContent, - GetActionModuleActionsResponseContent, - GetActionModuleResponseContent, - GetActionModuleVersionResponseContent, - GetActionModuleVersionsResponseContent, - GetActionModulesResponseContent, - GetActionResponseContent, - GetActionVersionResponseContent, - GetActiveUsersCountStatsResponseContent, - GetAculResponseContent, - GetAttackProtectionCaptchaResponseContent, - GetBotDetectionSettingsResponseContent, - GetBrandingDefaultThemeResponseContent, - GetBrandingPhoneProviderResponseContent, - GetBrandingResponseContent, - GetBrandingThemeResponseContent, - GetBreachedPasswordDetectionSettingsResponseContent, - GetBruteForceSettingsResponseContent, - GetClientCredentialResponseContent, - GetClientGrantResponseContent, - GetClientResponseContent, - GetConnectionEnabledClientsResponseContent, - GetConnectionProfileResponseContent, - GetConnectionProfileTemplateResponseContent, - GetConnectionResponseContent, - GetCustomDomainResponseContent, - GetCustomSigningKeysResponseContent, - GetCustomTextsByLanguageResponseContent, - GetDefaultCanonicalDomainResponseContent, - GetDefaultCustomDomainResponseContent, - GetDefaultDomainResponseContent, - GetDirectoryProvisioningDefaultMappingResponseContent, - GetDirectoryProvisioningResponseContent, - GetEmailProviderResponseContent, - GetEmailTemplateResponseContent, - GetEncryptionKeyResponseContent, - GetEventStreamDeliveryHistoryResponseContent, - GetEventStreamResponseContent, - GetFlowExecutionRequestParametersHydrateEnum, - GetFlowExecutionResponseContent, - GetFlowRequestParametersHydrateEnum, - GetFlowResponseContent, - GetFlowsVaultConnectionResponseContent, - GetFormResponseContent, - GetGroupMembersResponseContent, - GetGroupResponseContent, - GetGuardianEnrollmentResponseContent, - GetGuardianFactorDuoSettingsResponseContent, - GetGuardianFactorPhoneMessageTypesResponseContent, - GetGuardianFactorPhoneTemplatesResponseContent, - GetGuardianFactorSmsTemplatesResponseContent, - GetGuardianFactorsProviderApnsResponseContent, - GetGuardianFactorsProviderPhoneResponseContent, - GetGuardianFactorsProviderPhoneTwilioResponseContent, - GetGuardianFactorsProviderPushNotificationResponseContent, - GetGuardianFactorsProviderSmsResponseContent, - GetGuardianFactorsProviderSmsTwilioResponseContent, - GetGuardianFactorsProviderSnsResponseContent, - GetHookResponseContent, - GetHookSecretResponseContent, - GetJobErrorResponseContent, - GetJobGenericErrorResponseContent, - GetJobImportUserError, - GetJobResponseContent, - GetJobSummary, - GetJobUserError, - GetLogResponseContent, - GetLogStreamResponseContent, - GetNetworkAclsResponseContent, - GetOrganizationAllConnectionResponseContent, - GetOrganizationByNameResponseContent, - GetOrganizationConnectionResponseContent, - GetOrganizationDiscoveryDomainByNameResponseContent, - GetOrganizationDiscoveryDomainResponseContent, - GetOrganizationInvitationResponseContent, - GetOrganizationResponseContent, - GetPartialsResponseContent, - GetPhoneTemplateResponseContent, - GetRateLimitPolicyResponseContent, - GetRefreshTokenResponseContent, - GetRefreshTokensPaginatedResponseContent, - GetResourceServerResponseContent, - GetRiskAssessmentsSettingsNewDeviceResponseContent, - GetRiskAssessmentsSettingsResponseContent, - GetRoleResponseContent, - GetRuleResponseContent, - GetScimConfigurationDefaultMappingResponseContent, - GetScimConfigurationResponseContent, - GetScimTokensResponseContent, - GetSelfServiceProfileResponseContent, - GetSessionResponseContent, - GetSettingsResponseContent, - GetSigningKeysResponseContent, - GetSupplementalSignalsResponseContent, - GetSuspiciousIpThrottlingSettingsResponseContent, - GetTenantSettingsResponseContent, - GetTokenExchangeProfileResponseContent, - GetUniversalLoginTemplate, - GetUniversalLoginTemplateResponseContent, - GetUserAttributeProfileResponseContent, - GetUserAttributeProfileTemplateResponseContent, - GetUserAuthenticationMethodResponseContent, - GetUserGroupsPaginatedResponseContent, - GetUserResponseContent, - GetVerifiableCredentialTemplateResponseContent, - Group, - GroupMember, - GroupMemberTypeEnum, - GroupTypeEnum, - GuardianEnrollmentDate, - GuardianEnrollmentFactorEnum, - GuardianEnrollmentStatus, - GuardianFactor, - GuardianFactorNameEnum, - GuardianFactorPhoneFactorMessageTypeEnum, - GuardianFactorsProviderPushNotificationProviderDataEnum, - GuardianFactorsProviderSmsProviderEnum, - Hook, - HookDependencies, - HookTriggerIdEnum, - HttpCustomHeader, - Identity, - IdentityProviderEnum, - IdentityProviderOnlyAuth0Enum, - ImportEncryptionKeyResponseContent, - Integration, - IntegrationFeatureTypeEnum, - IntegrationRelease, - IntegrationRequiredParam, - IntegrationRequiredParamOption, - IntegrationRequiredParamTypeEnum, - IntegrationSemVer, - JobFileFormatEnum, - LinkedClientConfiguration, - ListActionBindingsPaginatedResponseContent, - ListActionTriggersResponseContent, - ListActionVersionsPaginatedResponseContent, - ListActionsPaginatedResponseContent, - ListAculsOffsetPaginatedResponseContent, - ListAculsResponseContentItem, - ListBrandingPhoneProvidersResponseContent, - ListClientConnectionsResponseContent, - ListClientGrantOrganizationsPaginatedResponseContent, - ListClientGrantPaginatedResponseContent, - ListClientsOffsetPaginatedResponseContent, - ListConnectionProfileTemplateResponseContent, - ListConnectionProfilesPaginatedResponseContent, - ListConnectionsCheckpointPaginatedResponseContent, - ListCustomDomainsResponseContent, - ListDeviceCredentialsOffsetPaginatedResponseContent, - ListDirectoryProvisioningsResponseContent, - ListEncryptionKeyOffsetPaginatedResponseContent, - ListEventStreamsResponseContent, - ListFlowExecutionsPaginatedResponseContent, - ListFlowsOffsetPaginatedResponseContent, - ListFlowsRequestParametersHydrateEnum, - ListFlowsVaultConnectionsOffsetPaginatedResponseContent, - ListFormsOffsetPaginatedResponseContent, - ListGroupRolesResponseContent, - ListGroupsPaginatedResponseContent, - ListGuardianPoliciesResponseContent, - ListHooksOffsetPaginatedResponseContent, - ListLogOffsetPaginatedResponseContent, - ListNetworkAclsOffsetPaginatedResponseContent, - ListOrganizationAllConnectionsOffsetPaginatedResponseContent, - ListOrganizationClientGrantsOffsetPaginatedResponseContent, - ListOrganizationConnectionsOffsetPaginatedResponseContent, - ListOrganizationDiscoveryDomainsResponseContent, - ListOrganizationGroupRolesResponseContent, - ListOrganizationGroupsResponseContent, - ListOrganizationInvitationsOffsetPaginatedResponseContent, - ListOrganizationMemberEffectiveRolesResponseContent, - ListOrganizationMemberRoleSourceGroupsResponseContent, - ListOrganizationMemberRolesOffsetPaginatedResponseContent, - ListOrganizationMembersPaginatedResponseContent, - ListOrganizationsPaginatedResponseContent, - ListPhoneTemplatesResponseContent, - ListRateLimitPoliciesPaginatedResponseContent, - ListRefreshTokensPaginatedResponseContent, - ListResourceServerOffsetPaginatedResponseContent, - ListRoleGroupsResponseContent, - ListRolePermissionsOffsetPaginatedResponseContent, - ListRoleUsersPaginatedResponseContent, - ListRolesOffsetPaginatedResponseContent, - ListRulesOffsetPaginatedResponseContent, - ListScimConfigurationsResponseContent, - ListSelfServiceProfileCustomTextResponseContent, - ListSelfServiceProfilesPaginatedResponseContent, - ListSynchronizedGroupsResponseContent, - ListTokenExchangeProfileResponseContent, - ListUserAttributeProfileTemplateResponseContent, - ListUserAttributeProfilesPaginatedResponseContent, - ListUserAuthenticationMethodsOffsetPaginatedResponseContent, - ListUserBlocksByIdentifierResponseContent, - ListUserBlocksResponseContent, - ListUserConnectedAccountsResponseContent, - ListUserEffectivePermissionRoleSourcesResponseContent, - ListUserEffectivePermissionsResponseContent, - ListUserEffectiveRolesResponseContent, - ListUserGrantsOffsetPaginatedResponseContent, - ListUserOrganizationsOffsetPaginatedResponseContent, - ListUserPermissionsOffsetPaginatedResponseContent, - ListUserRoleSourceGroupsResponseContent, - ListUserRolesOffsetPaginatedResponseContent, - ListUserSessionsPaginatedResponseContent, - ListUsersOffsetPaginatedResponseContent, - ListVerifiableCredentialTemplatesPaginatedResponseContent, - Log, - LogDate, - LogDateObject, - LogDetails, - LogLocationInfo, - LogSecurityContext, - LogStreamDatadogEnum, - LogStreamDatadogRegionEnum, - LogStreamDatadogResponseSchema, - LogStreamDatadogSink, - LogStreamEventBridgeEnum, - LogStreamEventBridgeResponseSchema, - LogStreamEventBridgeSink, - LogStreamEventBridgeSinkRegionEnum, - LogStreamEventGridEnum, - LogStreamEventGridRegionEnum, - LogStreamEventGridResponseSchema, - LogStreamEventGridSink, - LogStreamFilter, - LogStreamFilterGroupNameEnum, - LogStreamFilterTypeEnum, - LogStreamHttpContentFormatEnum, - LogStreamHttpEnum, - LogStreamHttpResponseSchema, - LogStreamHttpSink, - LogStreamMixpanelEnum, - LogStreamMixpanelRegionEnum, - LogStreamMixpanelResponseSchema, - LogStreamMixpanelSink, - LogStreamMixpanelSinkPatch, - LogStreamPiiAlgorithmEnum, - LogStreamPiiConfig, - LogStreamPiiLogFieldsEnum, - LogStreamPiiMethodEnum, - LogStreamResponseSchema, - LogStreamSegmentEnum, - LogStreamSegmentResponseSchema, - LogStreamSegmentSink, - LogStreamSegmentSinkWriteKey, - LogStreamSinkPatch, - LogStreamSplunkEnum, - LogStreamSplunkResponseSchema, - LogStreamSplunkSink, - LogStreamStatusEnum, - LogStreamSumoEnum, - LogStreamSumoResponseSchema, - LogStreamSumoSink, - MdlPresentationProperties, - MdlPresentationRequest, - MdlPresentationRequestProperties, - MfaPolicyEnum, - NativeSocialLogin, - NativeSocialLoginApple, - NativeSocialLoginFacebook, - NativeSocialLoginGoogle, - NetworkAclAction, - NetworkAclActionAllowEnum, - NetworkAclActionBlockEnum, - NetworkAclActionLogEnum, - NetworkAclActionRedirectEnum, - NetworkAclMatch, - NetworkAclMatchConnectingIpv4Cidr, - NetworkAclMatchConnectingIpv6Cidr, - NetworkAclMatchIpv4Cidr, - NetworkAclMatchIpv6Cidr, - NetworkAclRule, - NetworkAclRuleScopeEnum, - NetworkAclsResponseContent, - OauthScope, - Organization, - OrganizationAccessLevelEnum, - OrganizationAccessLevelEnumWithNull, - OrganizationAllConnectionPost, - OrganizationBranding, - OrganizationBrandingColors, - OrganizationClientGrant, - OrganizationConnection, - OrganizationConnectionInformation, - OrganizationDiscoveryDomain, - OrganizationDiscoveryDomainStatus, - OrganizationEnabledConnection, - OrganizationInvitation, - OrganizationInvitationInvitee, - OrganizationInvitationInviter, - OrganizationMember, - OrganizationMemberEffectiveRole, - OrganizationMemberEffectiveRoleSource, - OrganizationMemberRole, - OrganizationMetadata, - OrganizationUsageEnum, - PartialGroupsEnum, - PartialPhoneTemplateContent, - PasswordCharacterTypeEnum, - PasswordCharacterTypeRulePolicyEnum, - PasswordDefaultDictionariesEnum, - PasswordIdenticalCharactersPolicyEnum, - PasswordMaxLengthExceededPolicyEnum, - PasswordSequentialCharactersPolicyEnum, - PatchClientCredentialResponseContent, - PatchRateLimitPolicyConfigurationRequestContent, - PatchRateLimitPolicyConfigurationRequestContentAction, - PatchRateLimitPolicyConfigurationRequestContentActionAction, - PatchRateLimitPolicyConfigurationRequestContentOne, - PatchRateLimitPolicyConfigurationRequestContentOneAction, - PatchRateLimitPolicyConfigurationRequestContentZero, - PatchRateLimitPolicyConfigurationRequestContentZeroAction, - PatchSupplementalSignalsResponseContent, - PermissionRequestPayload, - PermissionsResponsePayload, - PhoneAttribute, - PhoneProviderChannelEnum, - PhoneProviderConfiguration, - PhoneProviderCredentials, - PhoneProviderDeliveryMethodEnum, - PhoneProviderNameEnum, - PhoneProviderSchemaMasked, - PhoneTemplate, - PhoneTemplateBody, - PhoneTemplateContent, - PhoneTemplateNotificationTypeEnum, - PostClientCredentialResponseContent, - PostConnectionKeysAlgEnum, - PostConnectionKeysRequestContent, - PostConnectionsKeysResponseContent, - PostConnectionsKeysResponseContentItem, - PreferredAuthenticationMethodEnum, - PreviewCimdMetadataResponseContent, - PromptGroupNameEnum, - PromptLanguageEnum, - PublicKeyCredential, - PublicKeyCredentialAlgorithmEnum, - PublicKeyCredentialTypeEnum, - RateLimitPolicy, - RateLimitPolicyConfiguration, - RateLimitPolicyConfigurationAction, - RateLimitPolicyConfigurationActionAction, - RateLimitPolicyConfigurationOne, - RateLimitPolicyConfigurationOneAction, - RateLimitPolicyConfigurationZero, - RateLimitPolicyConfigurationZeroAction, - RateLimitPolicyConsumerEnum, - RateLimitPolicyResourceEnum, - RefreshTokenDate, - RefreshTokenDateObject, - RefreshTokenDevice, - RefreshTokenExpirationTypeEnum, - RefreshTokenMetadata, - RefreshTokenResourceServer, - RefreshTokenResponseContent, - RefreshTokenRotationTypeEnum, - RefreshTokenSessionId, - RegenerateUsersRecoveryCodeResponseContent, - RegisterCimdClientResponseContent, - ResetPhoneTemplateRequestContent, - ResetPhoneTemplateResponseContent, - ResourceServer, - ResourceServerAuthorizationPolicy, - ResourceServerConsentPolicyEnum, - ResourceServerProofOfPossession, - ResourceServerProofOfPossessionMechanismEnum, - ResourceServerProofOfPossessionRequiredForEnum, - ResourceServerScope, - ResourceServerSubjectTypeAuthorization, - ResourceServerSubjectTypeAuthorizationClient, - ResourceServerSubjectTypeAuthorizationClientPolicyEnum, - ResourceServerSubjectTypeAuthorizationUser, - ResourceServerSubjectTypeAuthorizationUserPolicyEnum, - ResourceServerTokenDialectResponseEnum, - ResourceServerTokenDialectSchemaEnum, - ResourceServerTokenEncryption, - ResourceServerTokenEncryptionAlgorithmEnum, - ResourceServerTokenEncryptionFormatEnum, - ResourceServerTokenEncryptionKey, - ResourceServerVerificationKeyPemCertificate, - RevokedSigningKeysResponseContent, - Role, - RoleUser, - RollbackActionModuleResponseContent, - RotateClientSecretResponseContent, - RotateConnectionKeysRequestContent, - RotateConnectionKeysSigningAlgEnum, - RotateConnectionsKeysResponseContent, - RotateSigningKeysResponseContent, - Rule, - RulesConfig, - ScimConfiguration, - ScimMappingItem, - ScimTokenItem, - ScreenGroupNameEnum, - SearchEngineVersionsEnum, - SelfServiceProfile, - SelfServiceProfileAllowedStrategyEnum, - SelfServiceProfileBranding, - SelfServiceProfileBrandingColors, - SelfServiceProfileBrandingProperties, - SelfServiceProfileCustomTextLanguageEnum, - SelfServiceProfileCustomTextPageEnum, - SelfServiceProfileDescription, - SelfServiceProfileSsoTicketConnectionConfig, - SelfServiceProfileSsoTicketConnectionOptions, - SelfServiceProfileSsoTicketDomainAliasesConfig, - SelfServiceProfileSsoTicketDomainVerificationEnum, - SelfServiceProfileSsoTicketEnabledFeatures, - SelfServiceProfileSsoTicketEnabledOrganization, - SelfServiceProfileSsoTicketGoogleWorkspaceConfig, - SelfServiceProfileSsoTicketIdpInitiatedClientProtocolEnum, - SelfServiceProfileSsoTicketIdpInitiatedOptions, - SelfServiceProfileSsoTicketProvisioningConfig, - SelfServiceProfileSsoTicketProvisioningScopeEnum, - SelfServiceProfileUserAttribute, - SelfServiceProfileUserAttributes, - SessionAuthenticationSignal, - SessionAuthenticationSignals, - SessionClientMetadata, - SessionCookieMetadata, - SessionCookieMetadataModeEnum, - SessionCookieModeEnum, - SessionCookieSchema, - SessionDate, - SessionDeviceMetadata, - SessionIp, - SessionMetadata, - SessionResponseContent, - SetCustomSigningKeysResponseContent, - SetEmailTemplateResponseContent, - SetGuardianFactorDuoSettingsResponseContent, - SetGuardianFactorPhoneMessageTypesResponseContent, - SetGuardianFactorPhoneTemplatesResponseContent, - SetGuardianFactorResponseContent, - SetGuardianFactorSmsTemplatesResponseContent, - SetGuardianFactorsProviderPhoneResponseContent, - SetGuardianFactorsProviderPhoneTwilioResponseContent, - SetGuardianFactorsProviderPushNotificationApnsResponseContent, - SetGuardianFactorsProviderPushNotificationFcmResponseContent, - SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent, - SetGuardianFactorsProviderPushNotificationResponseContent, - SetGuardianFactorsProviderPushNotificationSnsResponseContent, - SetGuardianFactorsProviderSmsResponseContent, - SetGuardianFactorsProviderSmsTwilioResponseContent, - SetGuardianPoliciesRequestContent, - SetGuardianPoliciesResponseContent, - SetNetworkAclsResponseContent, - SetPartialsRequestContent, - SetRulesConfigResponseContent, - SetSelfServiceProfileCustomTextRequestContent, - SetSelfServiceProfileCustomTextResponseContent, - SetUserAuthenticationMethodResponseContent, - SetUserAuthenticationMethods, - SetUserAuthenticationMethodsRequestContent, - SetsCustomTextsByLanguageRequestContent, - SigningAlgorithmEnum, - SigningKeys, - SigningKeysDate, - SignupSchema, - SignupStatusEnum, - SignupVerification, - SignupVerified, - SupportedLocales, - SuspiciousIpThrottlingAllowlist, - SuspiciousIpThrottlingAllowlistItem, - SuspiciousIpThrottlingPreLoginStage, - SuspiciousIpThrottlingPreUserRegistrationStage, - SuspiciousIpThrottlingShieldsEnum, - SuspiciousIpThrottlingStage, - SynchronizeGroupsEnum, - SynchronizedGroupPayload, - TenantOidcLogoutSettings, - TenantSettingsCountryCodes, - TenantSettingsCountryCodesMode, - TenantSettingsCountryCodesModeResponse, - TenantSettingsCountryCodesResponse, - TenantSettingsDeviceFlow, - TenantSettingsDeviceFlowCharset, - TenantSettingsDynamicClientRegistrationSecurityMode, - TenantSettingsErrorPage, - TenantSettingsFlags, - TenantSettingsGuardianPage, - TenantSettingsMtls, - TenantSettingsNullableSecurityHeaders, - TenantSettingsPasswordPage, - TenantSettingsResourceParameterProfile, - TenantSettingsSessions, - TenantSettingsSupportedLocalesEnum, - TestActionPayload, - TestActionResponseContent, - TestActionResultPayload, - TestCustomDomainResponseContent, - TestEventDataContent, - TokenExchangeProfileResponseContent, - TokenExchangeProfileTypeEnum, - TokenQuota, - TokenQuotaClientCredentials, - TokenQuotaConfiguration, - TooManyRequestsSchema, - TooManyRequestsSchemaError, - TwilioProviderConfiguration, - TwilioProviderCredentials, - TwilioProviderDeliveryMethodEnum, - UnauthorizedSchema, - UnauthorizedSchemaError, - UniversalLoginExperienceEnum, - UpdateActionBindingsResponseContent, - UpdateActionModuleResponseContent, - UpdateActionResponseContent, - UpdateAculResponseContent, - UpdateAttackProtectionCaptchaResponseContent, - UpdateBotDetectionSettingsResponseContent, - UpdateBrandingColors, - UpdateBrandingFont, - UpdateBrandingPageBackground, - UpdateBrandingPhoneProviderResponseContent, - UpdateBrandingResponseContent, - UpdateBrandingThemeResponseContent, - UpdateBreachedPasswordDetectionSettingsResponseContent, - UpdateBruteForceSettingsResponseContent, - UpdateClientGrantResponseContent, - UpdateClientResponseContent, - UpdateConnectionOptions, - UpdateConnectionProfileResponseContent, - UpdateConnectionRequestContentAd, - UpdateConnectionRequestContentAdfs, - UpdateConnectionRequestContentAmazon, - UpdateConnectionRequestContentApple, - UpdateConnectionRequestContentAuth0, - UpdateConnectionRequestContentAuth0Oidc, - UpdateConnectionRequestContentAzureAd, - UpdateConnectionRequestContentBaidu, - UpdateConnectionRequestContentBitbucket, - UpdateConnectionRequestContentBitly, - UpdateConnectionRequestContentBox, - UpdateConnectionRequestContentCustom, - UpdateConnectionRequestContentDaccount, - UpdateConnectionRequestContentDropbox, - UpdateConnectionRequestContentDwolla, - UpdateConnectionRequestContentEmail, - UpdateConnectionRequestContentEvernote, - UpdateConnectionRequestContentEvernoteSandbox, - UpdateConnectionRequestContentExact, - UpdateConnectionRequestContentFacebook, - UpdateConnectionRequestContentFitbit, - UpdateConnectionRequestContentGitHub, - UpdateConnectionRequestContentGoogleApps, - UpdateConnectionRequestContentGoogleOAuth2, - UpdateConnectionRequestContentInstagram, - UpdateConnectionRequestContentIp, - UpdateConnectionRequestContentLine, - UpdateConnectionRequestContentLinkedin, - UpdateConnectionRequestContentOAuth1, - UpdateConnectionRequestContentOAuth2, - UpdateConnectionRequestContentOffice365, - UpdateConnectionRequestContentOidc, - UpdateConnectionRequestContentOkta, - UpdateConnectionRequestContentPaypal, - UpdateConnectionRequestContentPaypalSandbox, - UpdateConnectionRequestContentPingFederate, - UpdateConnectionRequestContentPlanningCenter, - UpdateConnectionRequestContentSalesforce, - UpdateConnectionRequestContentSalesforceCommunity, - UpdateConnectionRequestContentSalesforceSandbox, - UpdateConnectionRequestContentSaml, - UpdateConnectionRequestContentSharepoint, - UpdateConnectionRequestContentShop, - UpdateConnectionRequestContentShopify, - UpdateConnectionRequestContentSms, - UpdateConnectionRequestContentSoundcloud, - UpdateConnectionRequestContentThirtySevenSignals, - UpdateConnectionRequestContentTwitter, - UpdateConnectionRequestContentUntappd, - UpdateConnectionRequestContentVkontakte, - UpdateConnectionRequestContentWeibo, - UpdateConnectionRequestContentWindowsLive, - UpdateConnectionRequestContentWordpress, - UpdateConnectionRequestContentYahoo, - UpdateConnectionRequestContentYandex, - UpdateConnectionResponseContent, - UpdateCustomDomainResponseContent, - UpdateDefaultCanonicalDomainResponseContent, - UpdateDefaultCustomDomainResponseContent, - UpdateDefaultDomainResponseContent, - UpdateDirectoryProvisioningRequestContent, - UpdateDirectoryProvisioningResponseContent, - UpdateEmailProviderResponseContent, - UpdateEmailTemplateResponseContent, - UpdateEnabledClientConnectionsRequestContent, - UpdateEnabledClientConnectionsRequestContentItem, - UpdateEventStreamResponseContent, - UpdateFlowResponseContent, - UpdateFlowsVaultConnectionResponseContent, - UpdateFlowsVaultConnectionSetup, - UpdateFormResponseContent, - UpdateGuardianFactorDuoSettingsResponseContent, - UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, - UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, - UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, - UpdateGuardianFactorsProviderPushNotificationSnsResponseContent, - UpdateHookResponseContent, - UpdateHookSecretRequestContent, - UpdateLogStreamResponseContent, - UpdateNetworkAclResponseContent, - UpdateOrganizationAllConnectionResponseContent, - UpdateOrganizationConnectionResponseContent, - UpdateOrganizationDiscoveryDomainResponseContent, - UpdateOrganizationResponseContent, - UpdatePhoneTemplateResponseContent, - UpdateRateLimitPolicyResponseContent, - UpdateRefreshTokenResponseContent, - UpdateResourceServerResponseContent, - UpdateRiskAssessmentsSettingsNewDeviceResponseContent, - UpdateRiskAssessmentsSettingsResponseContent, - UpdateRoleResponseContent, - UpdateRuleResponseContent, - UpdateScimConfigurationResponseContent, - UpdateSelfServiceProfileResponseContent, - UpdateSessionResponseContent, - UpdateSettingsResponseContent, - UpdateSuspiciousIpThrottlingSettingsResponseContent, - UpdateTenantSettingsResponseContent, - UpdateTokenQuota, - UpdateUniversalLoginTemplateRequestContent, - UpdateUniversalLoginTemplateRequestContentTemplate, - UpdateUserAttributeProfileResponseContent, - UpdateUserAuthenticationMethodResponseContent, - UpdateUserResponseContent, - UpdateVerifiableCredentialTemplateResponseContent, - UserAppMetadataSchema, - UserAttributeProfile, - UserAttributeProfileId, - UserAttributeProfileName, - UserAttributeProfileOidcMapping, - UserAttributeProfilePatchUserId, - UserAttributeProfileSamlMapping, - UserAttributeProfileStrategyOverrides, - UserAttributeProfileStrategyOverridesMapping, - UserAttributeProfileStrategyOverridesUserId, - UserAttributeProfileStrategyOverridesUserIdMapping, - UserAttributeProfileTemplate, - UserAttributeProfileTemplateItem, - UserAttributeProfileUserAttributeAdditionalProperties, - UserAttributeProfileUserAttributes, - UserAttributeProfileUserId, - UserAttributeProfileUserIdOidcMappingEnum, - UserAttributeProfileUserIdOidcStrategyOverrideMapping, - UserAttributeProfileUserIdSamlMapping, - UserAuthenticationMethod, - UserAuthenticationMethodProperties, - UserAuthenticationMethodPropertiesEnum, - UserBlockIdentifier, - UserDateSchema, - UserEffectivePermissionResponseContent, - UserEffectivePermissionRoleSourceEnum, - UserEffectivePermissionRoleSourceResponseContent, - UserEffectivePermissionSourceEnum, - UserEffectiveRole, - UserEffectiveRoleSource, - UserEnrollmentAuthMethodEnum, - UserEnrollmentStatusEnum, - UserGrant, - UserGroupsResponseSchema, - UserId, - UserIdentity, - UserIdentityProviderEnum, - UserIdentitySchema, - UserListLogOffsetPaginatedResponseContent, - UserMetadata, - UserMetadataSchema, - UserMultifactorProviderEnum, - UserPermissionSchema, - UserProfileData, - UserResponseSchema, - UsernameAllowedTypes, - UsernameAttribute, - UsernameValidation, - UsersEnrollment, - VerifiableCredentialTemplateResponse, - VerificationMethodEnum, - VerifyCustomDomainResponseContent, - VerifyEmailTicketResponseContent, - X509CertificateCredential, - X509CertificateCredentialTypeEnum, - XssProtectionConfig, - XssProtectionMode, - ) - from .errors import ( - BadRequestError, - ConflictError, - ContentTooLargeError, - ForbiddenError, - GoneError, - InternalServerError, - NotFoundError, - PaymentRequiredError, - PreconditionFailedError, - ServiceUnavailableError, - TooManyRequestsError, - UnauthorizedError, - ) - from . import ( - actions, - anomaly, - attack_protection, - branding, - client_grants, - clients, - connection_profiles, - connections, - custom_domains, - device_credentials, - email_templates, - emails, - event_streams, - events, - flows, - forms, - groups, - guardian, - hooks, - jobs, - keys, - log_streams, - logs, - network_acls, - organizations, - prompts, - rate_limit_policies, - refresh_tokens, - resource_servers, - risk_assessments, - roles, - rules, - rules_configs, - self_service_profiles, - sessions, - stats, - supplemental_signals, - tenants, - tickets, - token_exchange_profiles, - user_attribute_profiles, - user_blocks, - user_grants, - users, - verifiable_credentials, - ) - from ._default_clients import DefaultAioHttpClient, DefaultAsyncHttpxClient - from .client import AsyncAuth0, Auth0 - from .environment import Auth0Environment - from .event_streams import EventStreamsCreateRequest - from .version import __version__ - from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient - from .token_provider import AsyncTokenProvider, TokenProvider - _dynamic_imports: typing.Dict[str, str] = { - "Action": ".types", - "ActionBase": ".types", - "ActionBinding": ".types", - "ActionBindingRef": ".types", - "ActionBindingRefTypeEnum": ".types", - "ActionBindingTypeEnum": ".types", - "ActionBindingWithRef": ".types", - "ActionBuildStatusEnum": ".types", - "ActionDeployedVersion": ".types", - "ActionError": ".types", - "ActionExecutionResult": ".types", - "ActionExecutionStatusEnum": ".types", - "ActionModuleAction": ".types", - "ActionModuleDependency": ".types", - "ActionModuleDependencyRequest": ".types", - "ActionModuleListItem": ".types", - "ActionModuleReference": ".types", - "ActionModuleSecret": ".types", - "ActionModuleSecretRequest": ".types", - "ActionModuleVersion": ".types", - "ActionModuleVersionReference": ".types", - "ActionSecretRequest": ".types", - "ActionSecretResponse": ".types", - "ActionTrigger": ".types", - "ActionTriggerCompatibleTrigger": ".types", - "ActionTriggerTypeEnum": ".types", - "ActionVersion": ".types", - "ActionVersionBuildStatusEnum": ".types", - "ActionVersionDependency": ".types", - "AculClientFilter": ".types", - "AculClientFilterById": ".types", - "AculClientFilterByMetadata": ".types", - "AculClientMetadata": ".types", - "AculConfigs": ".types", - "AculConfigsItem": ".types", - "AculContextConfiguration": ".types", - "AculContextConfigurationItem": ".types", - "AculContextEnum": ".types", - "AculDomainFilter": ".types", - "AculDomainFilterById": ".types", - "AculDomainFilterByMetadata": ".types", - "AculDomainMetadata": ".types", - "AculFilters": ".types", - "AculHeadTag": ".types", - "AculHeadTagAttributes": ".types", - "AculHeadTagContent": ".types", - "AculMatchTypeEnum": ".types", - "AculOrganizationFilter": ".types", - "AculOrganizationFilterById": ".types", - "AculOrganizationFilterByMetadata": ".types", - "AculOrganizationMetadata": ".types", - "AculRenderingModeEnum": ".types", - "AddOrganizationConnectionResponseContent": ".types", - "AnomalyIpFormat": ".types", - "AppMetadata": ".types", - "AssessorsTypeEnum": ".types", - "AssociateOrganizationClientGrantResponseContent": ".types", - "AsyncApprovalNotificationsChannelsEnum": ".types", - "AsyncAuth0": ".client", - "AsyncManagementClient": ".management_client", - "AsyncTokenProvider": ".token_provider", - "AttackProtectionCaptchaArkoseResponseContent": ".types", - "AttackProtectionCaptchaAuthChallengeRequest": ".types", - "AttackProtectionCaptchaAuthChallengeResponseContent": ".types", - "AttackProtectionCaptchaFriendlyCaptchaResponseContent": ".types", - "AttackProtectionCaptchaHcaptchaResponseContent": ".types", - "AttackProtectionCaptchaProviderId": ".types", - "AttackProtectionCaptchaRecaptchaEnterpriseResponseContent": ".types", - "AttackProtectionCaptchaRecaptchaV2ResponseContent": ".types", - "AttackProtectionCaptchaSimpleCaptchaResponseContent": ".types", - "AttackProtectionUpdateCaptchaArkose": ".types", - "AttackProtectionUpdateCaptchaFriendlyCaptcha": ".types", - "AttackProtectionUpdateCaptchaHcaptcha": ".types", - "AttackProtectionUpdateCaptchaRecaptchaEnterprise": ".types", - "AttackProtectionUpdateCaptchaRecaptchaV2": ".types", - "Auth0": ".client", - "Auth0Environment": ".environment", - "AuthenticationMethodTypeEnum": ".types", - "AuthenticationTypeEnum": ".types", - "BadRequestError": ".errors", - "BadRequestSchema": ".types", - "BadRequestSchemaError": ".types", - "BotDetectionAllowlist": ".types", - "BotDetectionChallengePolicyPasswordFlowEnum": ".types", - "BotDetectionChallengePolicyPasswordResetFlowEnum": ".types", - "BotDetectionChallengePolicyPasswordlessFlowEnum": ".types", - "BotDetectionCidrBlock": ".types", - "BotDetectionIPv4": ".types", - "BotDetectionIPv6": ".types", - "BotDetectionIPv6CidrBlock": ".types", - "BotDetectionIpAddressOrCidrBlock": ".types", - "BotDetectionLevelEnum": ".types", - "BotDetectionMonitoringModeEnabled": ".types", - "BrandingColors": ".types", - "BrandingFont": ".types", - "BrandingPageBackground": ".types", - "BrandingThemeBorders": ".types", - "BrandingThemeBordersButtonsStyleEnum": ".types", - "BrandingThemeBordersInputsStyleEnum": ".types", - "BrandingThemeColors": ".types", - "BrandingThemeColorsCaptchaWidgetThemeEnum": ".types", - "BrandingThemeFontBodyText": ".types", - "BrandingThemeFontButtonsText": ".types", - "BrandingThemeFontInputLabels": ".types", - "BrandingThemeFontLinks": ".types", - "BrandingThemeFontLinksStyleEnum": ".types", - "BrandingThemeFontSubtitle": ".types", - "BrandingThemeFontTitle": ".types", - "BrandingThemeFonts": ".types", - "BrandingThemePageBackground": ".types", - "BrandingThemePageBackgroundPageLayoutEnum": ".types", - "BrandingThemeWidget": ".types", - "BrandingThemeWidgetHeaderTextAlignmentEnum": ".types", - "BrandingThemeWidgetLogoPositionEnum": ".types", - "BrandingThemeWidgetSocialButtonsLayoutEnum": ".types", - "BreachedPasswordDetectionAdminNotificationFrequencyEnum": ".types", - "BreachedPasswordDetectionMethodEnum": ".types", - "BreachedPasswordDetectionPreChangePasswordShieldsEnum": ".types", - "BreachedPasswordDetectionPreChangePasswordStage": ".types", - "BreachedPasswordDetectionPreUserRegistrationShieldsEnum": ".types", - "BreachedPasswordDetectionPreUserRegistrationStage": ".types", - "BreachedPasswordDetectionShieldsEnum": ".types", - "BreachedPasswordDetectionStage": ".types", - "BruteForceProtectionModeEnum": ".types", - "BruteForceProtectionShieldsEnum": ".types", - "BulkUpdateAculResponseContent": ".types", - "CertificateSubjectDnCredential": ".types", - "CertificateSubjectDnCredentialTypeEnum": ".types", - "ChangePasswordTicketIdentity": ".types", - "ChangePasswordTicketResponseContent": ".types", - "CimdMappedClientAuthenticationMethods": ".types", - "CimdMappedClientAuthenticationMethodsPrivateKeyJwt": ".types", - "CimdMappedClientFields": ".types", - "CimdMappedPrivateKeyJwtCredential": ".types", - "CimdValidationResult": ".types", - "Client": ".types", - "ClientAddonAws": ".types", - "ClientAddonAzureBlob": ".types", - "ClientAddonAzureSb": ".types", - "ClientAddonBox": ".types", - "ClientAddonCloudBees": ".types", - "ClientAddonConcur": ".types", - "ClientAddonDropbox": ".types", - "ClientAddonEchoSign": ".types", - "ClientAddonEgnyte": ".types", - "ClientAddonFirebase": ".types", - "ClientAddonLayer": ".types", - "ClientAddonMscrm": ".types", - "ClientAddonNewRelic": ".types", - "ClientAddonOag": ".types", - "ClientAddonOffice365": ".types", - "ClientAddonRms": ".types", - "ClientAddonSalesforce": ".types", - "ClientAddonSalesforceApi": ".types", - "ClientAddonSalesforceSandboxApi": ".types", - "ClientAddonSaml": ".types", - "ClientAddonSamlMapping": ".types", - "ClientAddonSapapi": ".types", - "ClientAddonSentry": ".types", - "ClientAddonSharePoint": ".types", - "ClientAddonSharePointExternalUrl": ".types", - "ClientAddonSlack": ".types", - "ClientAddonSpringCm": ".types", - "ClientAddonSsoIntegration": ".types", - "ClientAddonWams": ".types", - "ClientAddonWsFed": ".types", - "ClientAddonZendesk": ".types", - "ClientAddonZoom": ".types", - "ClientAddons": ".types", - "ClientAppTypeEnum": ".types", - "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration": ".types", - "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration": ".types", - "ClientAuthenticationMethod": ".types", - "ClientAuthenticationMethodPrivateKeyJwt": ".types", - "ClientAuthenticationMethodPrivateKeyJwtCredentials": ".types", - "ClientAuthenticationMethodSelfSignedTlsClientAuth": ".types", - "ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials": ".types", - "ClientAuthenticationMethodTlsClientAuth": ".types", - "ClientAuthenticationMethodTlsClientAuthCredentials": ".types", - "ClientComplianceLevelEnum": ".types", - "ClientCreateAuthenticationMethod": ".types", - "ClientCreateAuthenticationMethodPrivateKeyJwt": ".types", - "ClientCreateAuthenticationMethodPrivateKeyJwtCredentials": ".types", - "ClientCreateAuthenticationMethodTlsClientAuth": ".types", - "ClientCreateAuthenticationMethodTlsClientAuthCredentials": ".types", - "ClientCredential": ".types", - "ClientCredentialAlgorithmEnum": ".types", - "ClientCredentialTypeEnum": ".types", - "ClientDefaultOrganization": ".types", - "ClientDefaultOrganizationFlowsEnum": ".types", - "ClientEncryptionKey": ".types", - "ClientExternalMetadataCreatedByEnum": ".types", - "ClientExternalMetadataTypeEnum": ".types", - "ClientGrantAllowAnyOrganizationEnum": ".types", - "ClientGrantDefaultForEnum": ".types", - "ClientGrantOrganizationNullableUsageEnum": ".types", - "ClientGrantOrganizationUsageEnum": ".types", - "ClientGrantResponseContent": ".types", - "ClientGrantSubjectTypeEnum": ".types", - "ClientJwtConfiguration": ".types", - "ClientJwtConfigurationScopes": ".types", - "ClientMetadata": ".types", - "ClientMobile": ".types", - "ClientMobileAndroid": ".types", - "ClientMobileiOs": ".types", - "ClientMyOrganizationConfigurationAllowedStrategiesEnum": ".types", - "ClientMyOrganizationDeletionBehaviorEnum": ".types", - "ClientMyOrganizationPatchConfiguration": ".types", - "ClientMyOrganizationPostConfiguration": ".types", - "ClientMyOrganizationResponseConfiguration": ".types", - "ClientOidcBackchannelLogoutInitiators": ".types", - "ClientOidcBackchannelLogoutInitiatorsEnum": ".types", - "ClientOidcBackchannelLogoutInitiatorsModeEnum": ".types", - "ClientOidcBackchannelLogoutSessionMetadata": ".types", - "ClientOidcBackchannelLogoutSettings": ".types", - "ClientOrganizationDiscoveryEnum": ".types", - "ClientOrganizationRequireBehaviorEnum": ".types", - "ClientOrganizationRequireBehaviorPatchEnum": ".types", - "ClientOrganizationUsageEnum": ".types", - "ClientOrganizationUsagePatchEnum": ".types", - "ClientRedirectionPolicyEnum": ".types", - "ClientRefreshTokenConfiguration": ".types", - "ClientRefreshTokenPolicy": ".types", - "ClientSessionTransferAllowedAuthenticationMethodsEnum": ".types", - "ClientSessionTransferConfiguration": ".types", - "ClientSessionTransferDelegationConfiguration": ".types", - "ClientSessionTransferDelegationDeviceBindingEnum": ".types", - "ClientSessionTransferDeviceBindingEnum": ".types", - "ClientSignedRequestObjectWithCredentialId": ".types", - "ClientSignedRequestObjectWithPublicKey": ".types", - "ClientSigningKey": ".types", - "ClientSigningKeys": ".types", - "ClientThirdPartySecurityModeEnum": ".types", - "ClientTokenEndpointAuthMethodEnum": ".types", - "ClientTokenEndpointAuthMethodOrNullEnum": ".types", - "ClientTokenExchangeConfiguration": ".types", - "ClientTokenExchangeConfigurationOrNull": ".types", - "ClientTokenExchangeTypeEnum": ".types", - "ConflictError": ".errors", - "ConnectedAccount": ".types", - "ConnectedAccountAccessTypeEnum": ".types", - "ConnectionAccessTokenUrloAuth1": ".types", - "ConnectionAcrValuesSupported": ".types", - "ConnectionAdminAccessTokenExpiresInGoogleApps": ".types", - "ConnectionAdminAccessTokenGoogleApps": ".types", - "ConnectionAdminRefreshTokenGoogleApps": ".types", - "ConnectionAgentIpad": ".types", - "ConnectionAgentModeAd": ".types", - "ConnectionAgentVersionAd": ".types", - "ConnectionAllowedAudiencesGoogleOAuth2": ".types", - "ConnectionApiBehaviorEnum": ".types", - "ConnectionApiEnableGroups": ".types", - "ConnectionApiEnableGroupsGoogleApps": ".types", - "ConnectionApiEnableUsers": ".types", - "ConnectionApiEnableUsersGoogleApps": ".types", - "ConnectionAppDomainAzureAd": ".types", - "ConnectionAssertionDecryptionAlgorithmProfileEnum": ".types", - "ConnectionAssertionDecryptionSettings": ".types", - "ConnectionAttributeIdentifier": ".types", - "ConnectionAttributeMapAttributes": ".types", - "ConnectionAttributeMapOidc": ".types", - "ConnectionAttributeMapOkta": ".types", - "ConnectionAttributeMapUserinfoScope": ".types", - "ConnectionAttributes": ".types", - "ConnectionAuthParamsAdditionalPropertiesOAuth2": ".types", - "ConnectionAuthParamsEmail": ".types", - "ConnectionAuthParamsMap": ".types", - "ConnectionAuthParamsOAuth2": ".types", - "ConnectionAuthenticationMethods": ".types", - "ConnectionAuthenticationPurpose": ".types", - "ConnectionAuthorizationEndpoint": ".types", - "ConnectionBaseUrlExact": ".types", - "ConnectionBruteForceProtection": ".types", - "ConnectionCalculatedThumbprintSaml": ".types", - "ConnectionCertsAd": ".types", - "ConnectionClaimTypesSupported": ".types", - "ConnectionClaimsLocalesSupported": ".types", - "ConnectionClaimsParameterSupported": ".types", - "ConnectionClaimsSupported": ".types", - "ConnectionClientId": ".types", - "ConnectionClientIdAmazon": ".types", - "ConnectionClientIdAzureAd": ".types", - "ConnectionClientIdBitbucket": ".types", - "ConnectionClientIdExact": ".types", - "ConnectionClientIdFacebook": ".types", - "ConnectionClientIdGoogleApps": ".types", - "ConnectionClientIdGoogleOAuth2": ".types", - "ConnectionClientIdLine": ".types", - "ConnectionClientIdLinkedin": ".types", - "ConnectionClientIdOAuth1": ".types", - "ConnectionClientIdOAuth2": ".types", - "ConnectionClientIdOidc": ".types", - "ConnectionClientIdPaypal": ".types", - "ConnectionClientIdSalesforce": ".types", - "ConnectionClientIdWindowsLive": ".types", - "ConnectionClientProtocolSaml": ".types", - "ConnectionClientSecret": ".types", - "ConnectionClientSecretAmazon": ".types", - "ConnectionClientSecretAzureAd": ".types", - "ConnectionClientSecretBitbucket": ".types", - "ConnectionClientSecretExact": ".types", - "ConnectionClientSecretFacebook": ".types", - "ConnectionClientSecretGoogleApps": ".types", - "ConnectionClientSecretGoogleOAuth2": ".types", - "ConnectionClientSecretLine": ".types", - "ConnectionClientSecretLinkedin": ".types", - "ConnectionClientSecretOAuth1": ".types", - "ConnectionClientSecretOAuth2": ".types", - "ConnectionClientSecretOidc": ".types", - "ConnectionClientSecretPaypal": ".types", - "ConnectionClientSecretSalesforce": ".types", - "ConnectionClientSecretWindowsLive": ".types", - "ConnectionCommon": ".types", - "ConnectionCommunityBaseUrlSalesforce": ".types", - "ConnectionConfiguration": ".types", - "ConnectionConnectedAccountsPurpose": ".types", - "ConnectionConnectedAccountsPurposeXaa": ".types", - "ConnectionConnectionSettings": ".types", - "ConnectionConnectionSettingsPkceEnum": ".types", - "ConnectionCustomHeadersOAuth2": ".types", - "ConnectionCustomScripts": ".types", - "ConnectionDebugSaml": ".types", - "ConnectionDecryptionKeySaml": ".types", - "ConnectionDecryptionKeySamlCert": ".types", - "ConnectionDestinationUrlSaml": ".types", - "ConnectionDigestAlgorithmEnumSaml": ".types", - "ConnectionDigestAlgorithmSaml": ".types", - "ConnectionDisableSelfServiceChangePassword": ".types", - "ConnectionDisableSignup": ".types", - "ConnectionDisableSignupSms": ".types", - "ConnectionDiscoveryUrl": ".types", - "ConnectionDisplayName": ".types", - "ConnectionDisplayValuesSupported": ".types", - "ConnectionDomainAliases": ".types", - "ConnectionDomainAliasesAd": ".types", - "ConnectionDomainAliasesAzureAd": ".types", - "ConnectionDomainAliasesItemsOne": ".types", - "ConnectionDomainAliasesSaml": ".types", - "ConnectionDomainGoogleApps": ".types", - "ConnectionDomainOkta": ".types", - "ConnectionDpopSigningAlgEnum": ".types", - "ConnectionDpopSigningAlgValuesSupported": ".types", - "ConnectionEmailBodyEmail": ".types", - "ConnectionEmailEmail": ".types", - "ConnectionEmailEmailSyntax": ".types", - "ConnectionEmailFromEmail": ".types", - "ConnectionEmailOtpAuthenticationMethod": ".types", - "ConnectionEmailSubjectEmail": ".types", - "ConnectionEnableScriptContext": ".types", - "ConnectionEnabledClient": ".types", - "ConnectionEnabledClients": ".types", - "ConnectionEnabledDatabaseCustomization": ".types", - "ConnectionEndSessionEndpoint": ".types", - "ConnectionEntityIdSaml": ".types", - "ConnectionExtAdmin": ".types", - "ConnectionExtAgreedTerms": ".types", - "ConnectionExtAgreedTermsGoogleApps": ".types", - "ConnectionExtAssignedPlans": ".types", - "ConnectionExtGroups": ".types", - "ConnectionExtGroupsAzureAd": ".types", - "ConnectionExtGroupsGoogleApps": ".types", - "ConnectionExtIsAdminGoogleApps": ".types", - "ConnectionExtIsSuspended": ".types", - "ConnectionExtIsSuspendedGoogleApps": ".types", - "ConnectionExtProfile": ".types", - "ConnectionFederatedConnectionsAccessTokens": ".types", - "ConnectionFieldsMap": ".types", - "ConnectionFieldsMapSaml": ".types", - "ConnectionFieldsMapSamlValue": ".types", - "ConnectionForList": ".types", - "ConnectionForOrganization": ".types", - "ConnectionForwardReqInfoSms": ".types", - "ConnectionFreeformScopesAmazon": ".types", - "ConnectionFreeformScopesGoogleOAuth2": ".types", - "ConnectionFreeformScopesLinkedin": ".types", - "ConnectionFreeformScopesPaypal": ".types", - "ConnectionFreeformScopesSalesforce": ".types", - "ConnectionFreeformScopesWindowsLive": ".types", - "ConnectionFromSms": ".types", - "ConnectionGatewayAuthentication": ".types", - "ConnectionGatewayAuthenticationAudienceSms": ".types", - "ConnectionGatewayAuthenticationMethodSms": ".types", - "ConnectionGatewayAuthenticationSms": ".types", - "ConnectionGatewayAuthenticationSubjectSms": ".types", - "ConnectionGatewayUrlSms": ".types", - "ConnectionGlobalTokenRevocationJwtIssSaml": ".types", - "ConnectionGlobalTokenRevocationJwtSubSaml": ".types", - "ConnectionGrantTypesSupported": ".types", - "ConnectionHandleLoginFromSocialGoogleApps": ".types", - "ConnectionHttpsUrlWithHttpFallback": ".types", - "ConnectionHttpsUrlWithHttpFallback2048": ".types", - "ConnectionHttpsUrlWithHttpFallback255": ".types", - "ConnectionIconUrl": ".types", - "ConnectionIconUrlAdfs": ".types", - "ConnectionIconUrlAzureAd": ".types", - "ConnectionIconUrlGoogleApps": ".types", - "ConnectionIconUrlGoogleOAuth2": ".types", - "ConnectionIconUrlSaml": ".types", - "ConnectionId": ".types", - "ConnectionIdTokenEncryptionAlgValuesSupported": ".types", - "ConnectionIdTokenEncryptionEncValuesSupported": ".types", - "ConnectionIdTokenSessionExpirySupported": ".types", - "ConnectionIdTokenSignedResponseAlgEnum": ".types", - "ConnectionIdTokenSignedResponseAlgs": ".types", - "ConnectionIdTokenSigningAlgValuesSupported": ".types", - "ConnectionIdentifierPrecedence": ".types", - "ConnectionIdentifierPrecedenceEnum": ".types", - "ConnectionIdentityApiAzureAd": ".types", - "ConnectionIdentityApiEnumAzureAd": ".types", - "ConnectionIdentityProviderEnum": ".types", - "ConnectionImportMode": ".types", - "ConnectionIpsAd": ".types", - "ConnectionIsDomainConnection": ".types", - "ConnectionIssuer": ".types", - "ConnectionJwksUri": ".types", - "ConnectionKey": ".types", - "ConnectionKeyUseEnum": ".types", - "ConnectionMappingModeEnumOidc": ".types", - "ConnectionMappingModeEnumOkta": ".types", - "ConnectionMaxGroupsToRetrieve": ".types", - "ConnectionMessagingServiceSidSms": ".types", - "ConnectionMetadataUrlSaml": ".types", - "ConnectionMetadataXml": ".types", - "ConnectionMetadataXmlAdfs": ".types", - "ConnectionMetadataXmlSaml": ".types", - "ConnectionMfa": ".types", - "ConnectionName": ".types", - "ConnectionNamePrefixTemplate": ".types", - "ConnectionNonPersistentAttrs": ".types", - "ConnectionOpPolicyUri": ".types", - "ConnectionOpTosUri": ".types", - "ConnectionOptions": ".types", - "ConnectionOptionsAd": ".types", - "ConnectionOptionsAdfs": ".types", - "ConnectionOptionsAmazon": ".types", - "ConnectionOptionsApple": ".types", - "ConnectionOptionsAuth0": ".types", - "ConnectionOptionsAuth0Oidc": ".types", - "ConnectionOptionsAzureAd": ".types", - "ConnectionOptionsBaidu": ".types", - "ConnectionOptionsBitbucket": ".types", - "ConnectionOptionsBitly": ".types", - "ConnectionOptionsBox": ".types", - "ConnectionOptionsClientIdGithub": ".types", - "ConnectionOptionsClientIdTwitter": ".types", - "ConnectionOptionsClientSecretGithub": ".types", - "ConnectionOptionsClientSecretTwitter": ".types", - "ConnectionOptionsCommon": ".types", - "ConnectionOptionsCommonOidc": ".types", - "ConnectionOptionsCommonSaml": ".types", - "ConnectionOptionsCustom": ".types", - "ConnectionOptionsDaccount": ".types", - "ConnectionOptionsDeflateSaml": ".types", - "ConnectionOptionsDropbox": ".types", - "ConnectionOptionsDwolla": ".types", - "ConnectionOptionsEmail": ".types", - "ConnectionOptionsEvernote": ".types", - "ConnectionOptionsExact": ".types", - "ConnectionOptionsFacebook": ".types", - "ConnectionOptionsFitbit": ".types", - "ConnectionOptionsFreeformScopesGithub": ".types", - "ConnectionOptionsGitHub": ".types", - "ConnectionOptionsGoogleApps": ".types", - "ConnectionOptionsGoogleOAuth2": ".types", - "ConnectionOptionsIdpInitiatedClientProtocolEnumSaml": ".types", - "ConnectionOptionsIdpinitiatedSaml": ".types", - "ConnectionOptionsInstagram": ".types", - "ConnectionOptionsIp": ".types", - "ConnectionOptionsLine": ".types", - "ConnectionOptionsLinkedin": ".types", - "ConnectionOptionsOAuth1": ".types", - "ConnectionOptionsOAuth1Common": ".types", - "ConnectionOptionsOAuth2": ".types", - "ConnectionOptionsOAuth2Common": ".types", - "ConnectionOptionsOffice365": ".types", - "ConnectionOptionsOidc": ".types", - "ConnectionOptionsOidcMetadata": ".types", - "ConnectionOptionsOkta": ".types", - "ConnectionOptionsPaypal": ".types", - "ConnectionOptionsPingFederate": ".types", - "ConnectionOptionsPlanningCenter": ".types", - "ConnectionOptionsProtocolEnumTwitter": ".types", - "ConnectionOptionsSalesforce": ".types", - "ConnectionOptionsSalesforceCommunity": ".types", - "ConnectionOptionsSaml": ".types", - "ConnectionOptionsScopeGithub": ".types", - "ConnectionOptionsScopeTwitter": ".types", - "ConnectionOptionsSharepoint": ".types", - "ConnectionOptionsShop": ".types", - "ConnectionOptionsShopify": ".types", - "ConnectionOptionsSms": ".types", - "ConnectionOptionsSoundcloud": ".types", - "ConnectionOptionsThirtySevenSignals": ".types", - "ConnectionOptionsTwitter": ".types", - "ConnectionOptionsUntappd": ".types", - "ConnectionOptionsVkontakte": ".types", - "ConnectionOptionsWeibo": ".types", - "ConnectionOptionsWindowsLive": ".types", - "ConnectionOptionsWordpress": ".types", - "ConnectionOptionsYahoo": ".types", - "ConnectionOptionsYandex": ".types", - "ConnectionPasskeyAuthenticationMethod": ".types", - "ConnectionPasskeyChallengeUiEnum": ".types", - "ConnectionPasskeyOptions": ".types", - "ConnectionPasswordAuthenticationMethod": ".types", - "ConnectionPasswordComplexityOptions": ".types", - "ConnectionPasswordDictionaryOptions": ".types", - "ConnectionPasswordHistoryOptions": ".types", - "ConnectionPasswordNoPersonalInfoOptions": ".types", - "ConnectionPasswordOptions": ".types", - "ConnectionPasswordOptionsComplexity": ".types", - "ConnectionPasswordOptionsDictionary": ".types", - "ConnectionPasswordOptionsHistory": ".types", - "ConnectionPasswordOptionsProfileData": ".types", - "ConnectionPasswordPolicyEnum": ".types", - "ConnectionPhoneOtpAuthenticationMethod": ".types", - "ConnectionPingFederateBaseUrl": ".types", - "ConnectionPingFederateBaseUrlPingFederate": ".types", - "ConnectionProfile": ".types", - "ConnectionProfileBitbucket": ".types", - "ConnectionProfileConfig": ".types", - "ConnectionProfileEnabledFeatures": ".types", - "ConnectionProfileId": ".types", - "ConnectionProfileName": ".types", - "ConnectionProfileOrganization": ".types", - "ConnectionProfileOrganizationAssignMembershipOnLoginEnum": ".types", - "ConnectionProfileOrganizationShowAsButtonEnum": ".types", - "ConnectionProfileStrategyOverride": ".types", - "ConnectionProfileStrategyOverrides": ".types", - "ConnectionProfileStrategyOverridesConnectionConfig": ".types", - "ConnectionProfileStrategyOverridesEnabledFeatures": ".types", - "ConnectionProfileTemplate": ".types", - "ConnectionProfileTemplateItem": ".types", - "ConnectionPropertiesOptions": ".types", - "ConnectionProtocolBindingEnumSaml": ".types", - "ConnectionProtocolBindingSaml": ".types", - "ConnectionProviderEnumSms": ".types", - "ConnectionProviderSms": ".types", - "ConnectionProvisioningTicketUrl": ".types", - "ConnectionPurposes": ".types", - "ConnectionRealmFallback": ".types", - "ConnectionRealms": ".types", - "ConnectionRecipientUrlSaml": ".types", - "ConnectionRegistrationEndpoint": ".types", - "ConnectionRequestObjectEncryptionAlgValuesSupported": ".types", - "ConnectionRequestObjectEncryptionEncValuesSupported": ".types", - "ConnectionRequestObjectSigningAlgValuesSupported": ".types", - "ConnectionRequestParameterSupported": ".types", - "ConnectionRequestTemplateSaml": ".types", - "ConnectionRequestTokenUrloAuth1": ".types", - "ConnectionRequestUriParameterSupported": ".types", - "ConnectionRequireRequestUriRegistration": ".types", - "ConnectionRequiresUsername": ".types", - "ConnectionResponseCommon": ".types", - "ConnectionResponseContentAd": ".types", - "ConnectionResponseContentAdStrategy": ".types", - "ConnectionResponseContentAdfs": ".types", - "ConnectionResponseContentAdfsStrategy": ".types", - "ConnectionResponseContentAmazon": ".types", - "ConnectionResponseContentAmazonStrategy": ".types", - "ConnectionResponseContentApple": ".types", - "ConnectionResponseContentAppleStrategy": ".types", - "ConnectionResponseContentAuth0": ".types", - "ConnectionResponseContentAuth0Oidc": ".types", - "ConnectionResponseContentAuth0OidcStrategy": ".types", - "ConnectionResponseContentAuth0Strategy": ".types", - "ConnectionResponseContentAzureAd": ".types", - "ConnectionResponseContentAzureAdStrategy": ".types", - "ConnectionResponseContentBaidu": ".types", - "ConnectionResponseContentBaiduStrategy": ".types", - "ConnectionResponseContentBitbucket": ".types", - "ConnectionResponseContentBitbucketStrategy": ".types", - "ConnectionResponseContentBitly": ".types", - "ConnectionResponseContentBitlyStrategy": ".types", - "ConnectionResponseContentBox": ".types", - "ConnectionResponseContentBoxStrategy": ".types", - "ConnectionResponseContentCustom": ".types", - "ConnectionResponseContentCustomStrategy": ".types", - "ConnectionResponseContentDaccount": ".types", - "ConnectionResponseContentDaccountStrategy": ".types", - "ConnectionResponseContentDropbox": ".types", - "ConnectionResponseContentDropboxStrategy": ".types", - "ConnectionResponseContentDwolla": ".types", - "ConnectionResponseContentDwollaStrategy": ".types", - "ConnectionResponseContentEmail": ".types", - "ConnectionResponseContentEmailStrategy": ".types", - "ConnectionResponseContentEvernote": ".types", - "ConnectionResponseContentEvernoteSandbox": ".types", - "ConnectionResponseContentEvernoteSandboxStrategy": ".types", - "ConnectionResponseContentEvernoteStrategy": ".types", - "ConnectionResponseContentExact": ".types", - "ConnectionResponseContentExactStrategy": ".types", - "ConnectionResponseContentFacebook": ".types", - "ConnectionResponseContentFacebookStrategy": ".types", - "ConnectionResponseContentFitbit": ".types", - "ConnectionResponseContentFitbitStrategy": ".types", - "ConnectionResponseContentGitHub": ".types", - "ConnectionResponseContentGitHubStrategy": ".types", - "ConnectionResponseContentGoogleApps": ".types", - "ConnectionResponseContentGoogleAppsStrategy": ".types", - "ConnectionResponseContentGoogleOAuth2": ".types", - "ConnectionResponseContentGoogleOAuth2Strategy": ".types", - "ConnectionResponseContentInstagram": ".types", - "ConnectionResponseContentInstagramStrategy": ".types", - "ConnectionResponseContentIp": ".types", - "ConnectionResponseContentIpStrategy": ".types", - "ConnectionResponseContentLine": ".types", - "ConnectionResponseContentLineStrategy": ".types", - "ConnectionResponseContentLinkedin": ".types", - "ConnectionResponseContentLinkedinStrategy": ".types", - "ConnectionResponseContentOAuth1": ".types", - "ConnectionResponseContentOAuth1Strategy": ".types", - "ConnectionResponseContentOAuth2": ".types", - "ConnectionResponseContentOAuth2Strategy": ".types", - "ConnectionResponseContentOffice365": ".types", - "ConnectionResponseContentOffice365Strategy": ".types", - "ConnectionResponseContentOidc": ".types", - "ConnectionResponseContentOidcStrategy": ".types", - "ConnectionResponseContentOkta": ".types", - "ConnectionResponseContentOktaStrategy": ".types", - "ConnectionResponseContentPaypal": ".types", - "ConnectionResponseContentPaypalSandbox": ".types", - "ConnectionResponseContentPaypalSandboxStrategy": ".types", - "ConnectionResponseContentPaypalStrategy": ".types", - "ConnectionResponseContentPingFederate": ".types", - "ConnectionResponseContentPingFederateStrategy": ".types", - "ConnectionResponseContentPlanningCenter": ".types", - "ConnectionResponseContentPlanningCenterStrategy": ".types", - "ConnectionResponseContentSalesforce": ".types", - "ConnectionResponseContentSalesforceCommunity": ".types", - "ConnectionResponseContentSalesforceCommunityStrategy": ".types", - "ConnectionResponseContentSalesforceSandbox": ".types", - "ConnectionResponseContentSalesforceSandboxStrategy": ".types", - "ConnectionResponseContentSalesforceStrategy": ".types", - "ConnectionResponseContentSaml": ".types", - "ConnectionResponseContentSamlStrategy": ".types", - "ConnectionResponseContentSharepoint": ".types", - "ConnectionResponseContentSharepointStrategy": ".types", - "ConnectionResponseContentShop": ".types", - "ConnectionResponseContentShopStrategy": ".types", - "ConnectionResponseContentShopify": ".types", - "ConnectionResponseContentShopifyStrategy": ".types", - "ConnectionResponseContentSms": ".types", - "ConnectionResponseContentSmsStrategy": ".types", - "ConnectionResponseContentSoundcloud": ".types", - "ConnectionResponseContentSoundcloudStrategy": ".types", - "ConnectionResponseContentThirtySevenSignals": ".types", - "ConnectionResponseContentThirtySevenSignalsStrategy": ".types", - "ConnectionResponseContentTwitter": ".types", - "ConnectionResponseContentTwitterStrategy": ".types", - "ConnectionResponseContentUntappd": ".types", - "ConnectionResponseContentUntappdStrategy": ".types", - "ConnectionResponseContentVkontakte": ".types", - "ConnectionResponseContentVkontakteStrategy": ".types", - "ConnectionResponseContentWeibo": ".types", - "ConnectionResponseContentWeiboStrategy": ".types", - "ConnectionResponseContentWindowsLive": ".types", - "ConnectionResponseContentWindowsLiveStrategy": ".types", - "ConnectionResponseContentWordpress": ".types", - "ConnectionResponseContentWordpressStrategy": ".types", - "ConnectionResponseContentYahoo": ".types", - "ConnectionResponseContentYahooStrategy": ".types", - "ConnectionResponseContentYandex": ".types", - "ConnectionResponseContentYandexStrategy": ".types", - "ConnectionResponseModesSupported": ".types", - "ConnectionResponseTypesSupported": ".types", - "ConnectionScopeAmazon": ".types", - "ConnectionScopeArray": ".types", - "ConnectionScopeArrayFacebook": ".types", - "ConnectionScopeArrayWindowsLive": ".types", - "ConnectionScopeAzureAd": ".types", - "ConnectionScopeFacebook": ".types", - "ConnectionScopeGoogleApps": ".types", - "ConnectionScopeGoogleOAuth2": ".types", - "ConnectionScopeItem": ".types", - "ConnectionScopeItemGoogleApps": ".types", - "ConnectionScopeLinkedin": ".types", - "ConnectionScopeOAuth2": ".types", - "ConnectionScopeOidc": ".types", - "ConnectionScopePaypal": ".types", - "ConnectionScopeSalesforce": ".types", - "ConnectionScopesSupported": ".types", - "ConnectionScriptsOAuth1": ".types", - "ConnectionScriptsOAuth2": ".types", - "ConnectionSendBackChannelNonce": ".types", - "ConnectionServiceDocumentation": ".types", - "ConnectionSetUserRootAttributesEnum": ".types", - "ConnectionSha1Thumbprint": ".types", - "ConnectionShouldTrustEmailVerifiedConnectionEnum": ".types", - "ConnectionShowAsButton": ".types", - "ConnectionSignInEndpointAd": ".types", - "ConnectionSignInEndpointAdfs": ".types", - "ConnectionSignInEndpointSaml": ".types", - "ConnectionSignOutEndpointSaml": ".types", - "ConnectionSignSamlRequestSaml": ".types", - "ConnectionSignatureAlgorithmEnumSaml": ".types", - "ConnectionSignatureAlgorithmSaml": ".types", - "ConnectionSignatureMethodOAuth1": ".types", - "ConnectionSigningCertSaml": ".types", - "ConnectionSigningCertificateDerSaml": ".types", - "ConnectionSigningCertificatePemPingFederate": ".types", - "ConnectionSigningCertificatePemSaml": ".types", - "ConnectionSigningKeySaml": ".types", - "ConnectionSignupBehaviorEnum": ".types", - "ConnectionStrategyEnum": ".types", - "ConnectionStrategyVersionEnumLinkedin": ".types", - "ConnectionStrategyVersionEnumWindowsLive": ".types", - "ConnectionSubjectTypesSupported": ".types", - "ConnectionTemplateSms": ".types", - "ConnectionTemplateSyntaxEnumSms": ".types", - "ConnectionTenantDomain": ".types", - "ConnectionTenantDomainAd": ".types", - "ConnectionTenantDomainAzureAdOne": ".types", - "ConnectionTenantDomainGoogleApps": ".types", - "ConnectionTenantDomainSaml": ".types", - "ConnectionTenantIdAzureAd": ".types", - "ConnectionThumbprints": ".types", - "ConnectionThumbprintsAd": ".types", - "ConnectionThumbprintsSaml": ".types", - "ConnectionTokenEndpoint": ".types", - "ConnectionTokenEndpointAuthMethodEnum": ".types", - "ConnectionTokenEndpointAuthMethodsSupported": ".types", - "ConnectionTokenEndpointAuthSigningAlgEnum": ".types", - "ConnectionTokenEndpointAuthSigningAlgValuesSupported": ".types", - "ConnectionTokenEndpointJwtcaAudFormatEnumOidc": ".types", - "ConnectionTotpEmail": ".types", - "ConnectionTotpLengthEmail": ".types", - "ConnectionTotpLengthPasswordless": ".types", - "ConnectionTotpLengthSms": ".types", - "ConnectionTotpSms": ".types", - "ConnectionTotpTimeStepEmail": ".types", - "ConnectionTotpTimeStepPasswordless": ".types", - "ConnectionTotpTimeStepSms": ".types", - "ConnectionTwilioSidSms": ".types", - "ConnectionTwilioTokenSms": ".types", - "ConnectionTypeEnumOidc": ".types", - "ConnectionTypeEnumOkta": ".types", - "ConnectionUiLocalesSupported": ".types", - "ConnectionUpstreamAdditionalProperties": ".types", - "ConnectionUpstreamAlias": ".types", - "ConnectionUpstreamAliasEnum": ".types", - "ConnectionUpstreamParams": ".types", - "ConnectionUpstreamParamsFacebook": ".types", - "ConnectionUpstreamValue": ".types", - "ConnectionUseCommonEndpointAzureAd": ".types", - "ConnectionUserAuthorizationUrloAuth1": ".types", - "ConnectionUserIdAttributeSaml": ".types", - "ConnectionUseridAttributeAzureAd": ".types", - "ConnectionUseridAttributeEnumAzureAd": ".types", - "ConnectionUserinfoEncryptionAlgValuesSupported": ".types", - "ConnectionUserinfoEncryptionEncValuesSupported": ".types", - "ConnectionUserinfoEndpoint": ".types", - "ConnectionUserinfoSigningAlgValuesSupported": ".types", - "ConnectionUsernameValidationOptions": ".types", - "ConnectionValidationOptions": ".types", - "ConnectionWaadProtocol": ".types", - "ConnectionWaadProtocolEnumAzureAd": ".types", - "ConnectionsMetadata": ".types", - "ContentSecurityPolicyConfig": ".types", - "ContentTooLargeError": ".errors", - "CreateActionModuleResponseContent": ".types", - "CreateActionModuleVersionResponseContent": ".types", - "CreateActionResponseContent": ".types", - "CreateBrandingPhoneProviderResponseContent": ".types", - "CreateBrandingThemeResponseContent": ".types", - "CreateClientAuthenticationMethodSelfSignedTlsClientAuth": ".types", - "CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials": ".types", - "CreateClientGrantResponseContent": ".types", - "CreateClientResponseContent": ".types", - "CreateConnectionCommon": ".types", - "CreateConnectionProfileResponseContent": ".types", - "CreateConnectionRequestContentAd": ".types", - "CreateConnectionRequestContentAdStrategy": ".types", - "CreateConnectionRequestContentAdfs": ".types", - "CreateConnectionRequestContentAdfsStrategy": ".types", - "CreateConnectionRequestContentAmazon": ".types", - "CreateConnectionRequestContentAmazonStrategy": ".types", - "CreateConnectionRequestContentApple": ".types", - "CreateConnectionRequestContentAppleStrategy": ".types", - "CreateConnectionRequestContentAuth0": ".types", - "CreateConnectionRequestContentAuth0Oidc": ".types", - "CreateConnectionRequestContentAuth0OidcStrategy": ".types", - "CreateConnectionRequestContentAuth0Strategy": ".types", - "CreateConnectionRequestContentAzureAd": ".types", - "CreateConnectionRequestContentAzureAdStrategy": ".types", - "CreateConnectionRequestContentBaidu": ".types", - "CreateConnectionRequestContentBaiduStrategy": ".types", - "CreateConnectionRequestContentBitbucket": ".types", - "CreateConnectionRequestContentBitbucketStrategy": ".types", - "CreateConnectionRequestContentBitly": ".types", - "CreateConnectionRequestContentBitlyStrategy": ".types", - "CreateConnectionRequestContentBox": ".types", - "CreateConnectionRequestContentBoxStrategy": ".types", - "CreateConnectionRequestContentCustom": ".types", - "CreateConnectionRequestContentCustomStrategy": ".types", - "CreateConnectionRequestContentDaccount": ".types", - "CreateConnectionRequestContentDaccountStrategy": ".types", - "CreateConnectionRequestContentDropbox": ".types", - "CreateConnectionRequestContentDropboxStrategy": ".types", - "CreateConnectionRequestContentDwolla": ".types", - "CreateConnectionRequestContentDwollaStrategy": ".types", - "CreateConnectionRequestContentEmail": ".types", - "CreateConnectionRequestContentEmailStrategy": ".types", - "CreateConnectionRequestContentEvernote": ".types", - "CreateConnectionRequestContentEvernoteSandbox": ".types", - "CreateConnectionRequestContentEvernoteSandboxStrategy": ".types", - "CreateConnectionRequestContentEvernoteStrategy": ".types", - "CreateConnectionRequestContentExact": ".types", - "CreateConnectionRequestContentExactStrategy": ".types", - "CreateConnectionRequestContentFacebook": ".types", - "CreateConnectionRequestContentFacebookStrategy": ".types", - "CreateConnectionRequestContentFitbit": ".types", - "CreateConnectionRequestContentFitbitStrategy": ".types", - "CreateConnectionRequestContentGitHub": ".types", - "CreateConnectionRequestContentGitHubStrategy": ".types", - "CreateConnectionRequestContentGoogleApps": ".types", - "CreateConnectionRequestContentGoogleAppsStrategy": ".types", - "CreateConnectionRequestContentGoogleOAuth2": ".types", - "CreateConnectionRequestContentGoogleOAuth2Strategy": ".types", - "CreateConnectionRequestContentInstagram": ".types", - "CreateConnectionRequestContentInstagramStrategy": ".types", - "CreateConnectionRequestContentIp": ".types", - "CreateConnectionRequestContentIpStrategy": ".types", - "CreateConnectionRequestContentLine": ".types", - "CreateConnectionRequestContentLineStrategy": ".types", - "CreateConnectionRequestContentLinkedin": ".types", - "CreateConnectionRequestContentLinkedinStrategy": ".types", - "CreateConnectionRequestContentOAuth1": ".types", - "CreateConnectionRequestContentOAuth1Strategy": ".types", - "CreateConnectionRequestContentOAuth2": ".types", - "CreateConnectionRequestContentOAuth2Strategy": ".types", - "CreateConnectionRequestContentOffice365": ".types", - "CreateConnectionRequestContentOffice365Strategy": ".types", - "CreateConnectionRequestContentOidc": ".types", - "CreateConnectionRequestContentOidcStrategy": ".types", - "CreateConnectionRequestContentOkta": ".types", - "CreateConnectionRequestContentOktaStrategy": ".types", - "CreateConnectionRequestContentPaypal": ".types", - "CreateConnectionRequestContentPaypalSandbox": ".types", - "CreateConnectionRequestContentPaypalSandboxStrategy": ".types", - "CreateConnectionRequestContentPaypalStrategy": ".types", - "CreateConnectionRequestContentPingFederate": ".types", - "CreateConnectionRequestContentPingFederateStrategy": ".types", - "CreateConnectionRequestContentPlanningCenter": ".types", - "CreateConnectionRequestContentPlanningCenterStrategy": ".types", - "CreateConnectionRequestContentSalesforce": ".types", - "CreateConnectionRequestContentSalesforceCommunity": ".types", - "CreateConnectionRequestContentSalesforceCommunityStrategy": ".types", - "CreateConnectionRequestContentSalesforceSandbox": ".types", - "CreateConnectionRequestContentSalesforceSandboxStrategy": ".types", - "CreateConnectionRequestContentSalesforceStrategy": ".types", - "CreateConnectionRequestContentSaml": ".types", - "CreateConnectionRequestContentSamlStrategy": ".types", - "CreateConnectionRequestContentSharepoint": ".types", - "CreateConnectionRequestContentSharepointStrategy": ".types", - "CreateConnectionRequestContentShop": ".types", - "CreateConnectionRequestContentShopStrategy": ".types", - "CreateConnectionRequestContentShopify": ".types", - "CreateConnectionRequestContentShopifyStrategy": ".types", - "CreateConnectionRequestContentSms": ".types", - "CreateConnectionRequestContentSmsStrategy": ".types", - "CreateConnectionRequestContentSoundcloud": ".types", - "CreateConnectionRequestContentSoundcloudStrategy": ".types", - "CreateConnectionRequestContentThirtySevenSignals": ".types", - "CreateConnectionRequestContentThirtySevenSignalsStrategy": ".types", - "CreateConnectionRequestContentTwitter": ".types", - "CreateConnectionRequestContentTwitterStrategy": ".types", - "CreateConnectionRequestContentUntappd": ".types", - "CreateConnectionRequestContentUntappdStrategy": ".types", - "CreateConnectionRequestContentVkontakte": ".types", - "CreateConnectionRequestContentVkontakteStrategy": ".types", - "CreateConnectionRequestContentWeibo": ".types", - "CreateConnectionRequestContentWeiboStrategy": ".types", - "CreateConnectionRequestContentWindowsLive": ".types", - "CreateConnectionRequestContentWindowsLiveStrategy": ".types", - "CreateConnectionRequestContentWordpress": ".types", - "CreateConnectionRequestContentWordpressStrategy": ".types", - "CreateConnectionRequestContentYahoo": ".types", - "CreateConnectionRequestContentYahooStrategy": ".types", - "CreateConnectionRequestContentYandex": ".types", - "CreateConnectionRequestContentYandexStrategy": ".types", - "CreateConnectionResponseContent": ".types", - "CreateCustomDomainResponseContent": ".types", - "CreateDirectoryProvisioningRequestContent": ".types", - "CreateDirectoryProvisioningResponseContent": ".types", - "CreateDirectorySynchronizationResponseContent": ".types", - "CreateEmailProviderResponseContent": ".types", - "CreateEmailTemplateResponseContent": ".types", - "CreateEncryptionKeyPublicWrappingResponseContent": ".types", - "CreateEncryptionKeyResponseContent": ".types", - "CreateEncryptionKeyType": ".types", - "CreateEventStreamActionRequestContent": ".types", - "CreateEventStreamEventBridgeRequestContent": ".types", - "CreateEventStreamRedeliveryResponseContent": ".types", - "CreateEventStreamResponseContent": ".types", - "CreateEventStreamTestEventResponseContent": ".types", - "CreateEventStreamWebHookRequestContent": ".types", - "CreateExportUsersFields": ".types", - "CreateExportUsersResponseContent": ".types", - "CreateFlowResponseContent": ".types", - "CreateFlowsVaultConnectionActivecampaign": ".types", - "CreateFlowsVaultConnectionActivecampaignApiKey": ".types", - "CreateFlowsVaultConnectionActivecampaignUninitialized": ".types", - "CreateFlowsVaultConnectionAirtable": ".types", - "CreateFlowsVaultConnectionAirtableApiKey": ".types", - "CreateFlowsVaultConnectionAirtableUninitialized": ".types", - "CreateFlowsVaultConnectionAuth0": ".types", - "CreateFlowsVaultConnectionAuth0OauthApp": ".types", - "CreateFlowsVaultConnectionAuth0Uninitialized": ".types", - "CreateFlowsVaultConnectionBigquery": ".types", - "CreateFlowsVaultConnectionBigqueryJwt": ".types", - "CreateFlowsVaultConnectionBigqueryUninitialized": ".types", - "CreateFlowsVaultConnectionClearbit": ".types", - "CreateFlowsVaultConnectionClearbitApiKey": ".types", - "CreateFlowsVaultConnectionClearbitUninitialized": ".types", - "CreateFlowsVaultConnectionDocusign": ".types", - "CreateFlowsVaultConnectionDocusignOauthCode": ".types", - "CreateFlowsVaultConnectionDocusignUninitialized": ".types", - "CreateFlowsVaultConnectionGoogleSheets": ".types", - "CreateFlowsVaultConnectionGoogleSheetsOauthCode": ".types", - "CreateFlowsVaultConnectionGoogleSheetsUninitialized": ".types", - "CreateFlowsVaultConnectionHttp": ".types", - "CreateFlowsVaultConnectionHttpApiKey": ".types", - "CreateFlowsVaultConnectionHttpBasicAuth": ".types", - "CreateFlowsVaultConnectionHttpBearer": ".types", - "CreateFlowsVaultConnectionHttpOauthClientCredentials": ".types", - "CreateFlowsVaultConnectionHttpUninitialized": ".types", - "CreateFlowsVaultConnectionHubspot": ".types", - "CreateFlowsVaultConnectionHubspotApiKey": ".types", - "CreateFlowsVaultConnectionHubspotOauthCode": ".types", - "CreateFlowsVaultConnectionHubspotUninitialized": ".types", - "CreateFlowsVaultConnectionJwt": ".types", - "CreateFlowsVaultConnectionJwtJwt": ".types", - "CreateFlowsVaultConnectionJwtUninitialized": ".types", - "CreateFlowsVaultConnectionMailchimp": ".types", - "CreateFlowsVaultConnectionMailchimpApiKey": ".types", - "CreateFlowsVaultConnectionMailchimpOauthCode": ".types", - "CreateFlowsVaultConnectionMailchimpUninitialized": ".types", - "CreateFlowsVaultConnectionMailjet": ".types", - "CreateFlowsVaultConnectionMailjetApiKey": ".types", - "CreateFlowsVaultConnectionMailjetUninitialized": ".types", - "CreateFlowsVaultConnectionPipedrive": ".types", - "CreateFlowsVaultConnectionPipedriveOauthCode": ".types", - "CreateFlowsVaultConnectionPipedriveToken": ".types", - "CreateFlowsVaultConnectionPipedriveUninitialized": ".types", - "CreateFlowsVaultConnectionRequestContent": ".types", - "CreateFlowsVaultConnectionResponseContent": ".types", - "CreateFlowsVaultConnectionSalesforce": ".types", - "CreateFlowsVaultConnectionSalesforceOauthCode": ".types", - "CreateFlowsVaultConnectionSalesforceUninitialized": ".types", - "CreateFlowsVaultConnectionSendgrid": ".types", - "CreateFlowsVaultConnectionSendgridApiKey": ".types", - "CreateFlowsVaultConnectionSendgridUninitialized": ".types", - "CreateFlowsVaultConnectionSlack": ".types", - "CreateFlowsVaultConnectionSlackOauthCode": ".types", - "CreateFlowsVaultConnectionSlackUninitialized": ".types", - "CreateFlowsVaultConnectionSlackWebhook": ".types", - "CreateFlowsVaultConnectionStripe": ".types", - "CreateFlowsVaultConnectionStripeKeyPair": ".types", - "CreateFlowsVaultConnectionStripeOauthCode": ".types", - "CreateFlowsVaultConnectionStripeUninitialized": ".types", - "CreateFlowsVaultConnectionTelegram": ".types", - "CreateFlowsVaultConnectionTelegramToken": ".types", - "CreateFlowsVaultConnectionTelegramUninitialized": ".types", - "CreateFlowsVaultConnectionTwilio": ".types", - "CreateFlowsVaultConnectionTwilioApiKey": ".types", - "CreateFlowsVaultConnectionTwilioUninitialized": ".types", - "CreateFlowsVaultConnectionWhatsapp": ".types", - "CreateFlowsVaultConnectionWhatsappToken": ".types", - "CreateFlowsVaultConnectionWhatsappUninitialized": ".types", - "CreateFlowsVaultConnectionZapier": ".types", - "CreateFlowsVaultConnectionZapierUninitialized": ".types", - "CreateFlowsVaultConnectionZapierWebhook": ".types", - "CreateFormResponseContent": ".types", - "CreateGuardianEnrollmentTicketResponseContent": ".types", - "CreateHookResponseContent": ".types", - "CreateHookSecretRequestContent": ".types", - "CreateImportUsersResponseContent": ".types", - "CreateLogStreamDatadogRequestBody": ".types", - "CreateLogStreamEventBridgeRequestBody": ".types", - "CreateLogStreamEventGridRequestBody": ".types", - "CreateLogStreamHttpRequestBody": ".types", - "CreateLogStreamMixpanelRequestBody": ".types", - "CreateLogStreamRequestContent": ".types", - "CreateLogStreamResponseContent": ".types", - "CreateLogStreamSegmentRequestBody": ".types", - "CreateLogStreamSplunkRequestBody": ".types", - "CreateLogStreamSumoRequestBody": ".types", - "CreateOrganizationAllConnectionResponseContent": ".types", - "CreateOrganizationDiscoveryDomainResponseContent": ".types", - "CreateOrganizationInvitationResponseContent": ".types", - "CreateOrganizationResponseContent": ".types", - "CreatePhoneProviderSendTestResponseContent": ".types", - "CreatePhoneTemplateResponseContent": ".types", - "CreatePhoneTemplateTestNotificationResponseContent": ".types", - "CreatePublicKeyDeviceCredentialResponseContent": ".types", - "CreateRateLimitPolicyResponseContent": ".types", - "CreateResourceServerResponseContent": ".types", - "CreateRoleResponseContent": ".types", - "CreateRuleResponseContent": ".types", - "CreateScimConfigurationRequestContent": ".types", - "CreateScimConfigurationResponseContent": ".types", - "CreateScimTokenResponseContent": ".types", - "CreateSelfServiceProfileResponseContent": ".types", - "CreateSelfServiceProfileSsoTicketResponseContent": ".types", - "CreateTokenExchangeProfileResponseContent": ".types", - "CreateTokenQuota": ".types", - "CreateUserAttributeProfileResponseContent": ".types", - "CreateUserAuthenticationMethodResponseContent": ".types", - "CreateUserResponseContent": ".types", - "CreateVerifiableCredentialTemplateResponseContent": ".types", - "CreateVerificationEmailResponseContent": ".types", - "CreatedAuthenticationMethodTypeEnum": ".types", - "CreatedUserAuthenticationMethodTypeEnum": ".types", - "CredentialDeviceTypeEnum": ".types", - "CredentialId": ".types", - "CspDirectives": ".types", - "CspFlag": ".types", - "CspFlags": ".types", - "CspPolicies": ".types", - "CspPolicy": ".types", - "CspPolicyMode": ".types", - "CspPolicyReporting": ".types", - "CspReportTo": ".types", - "CspReportToEndpoint": ".types", - "CspReportToEndpoints": ".types", - "CspReportingEndpoints": ".types", - "CspReportingInfrastructure": ".types", - "CustomDomain": ".types", - "CustomDomainHeader": ".management_client", - "CustomDomainCustomClientIpHeader": ".types", - "CustomDomainCustomClientIpHeaderEnum": ".types", - "CustomDomainProvisioningTypeEnum": ".types", - "CustomDomainStatusFilterEnum": ".types", - "CustomDomainTlsPolicyEnum": ".types", - "CustomDomainTypeEnum": ".types", - "CustomDomainVerificationMethodEnum": ".types", - "CustomProviderConfiguration": ".types", - "CustomProviderCredentials": ".types", - "CustomProviderDeliveryMethodEnum": ".types", - "CustomSigningKeyAlgorithmEnum": ".types", - "CustomSigningKeyCurveEnum": ".types", - "CustomSigningKeyJwk": ".types", - "CustomSigningKeyOperationEnum": ".types", - "CustomSigningKeyTypeEnum": ".types", - "CustomSigningKeyUseEnum": ".types", - "DailyStats": ".types", - "DefaultAioHttpClient": "._default_clients", - "DefaultAsyncHttpxClient": "._default_clients", - "DefaultMethodEmailIdentifierEnum": ".types", - "DefaultTokenQuota": ".types", - "DeleteHookSecretRequestContent": ".types", - "DeleteUserIdentityResponseContent": ".types", - "DeleteUserIdentityResponseContentItem": ".types", - "DeployActionResponseContent": ".types", - "DeployActionVersionRequestContent": ".types", - "DeployActionVersionResponseContent": ".types", - "DeviceCredential": ".types", - "DeviceCredentialPublicKeyTypeEnum": ".types", - "DeviceCredentialTypeEnum": ".types", - "DirectoryProvisioning": ".types", - "DirectoryProvisioningMappingItem": ".types", - "DomainCertificate": ".types", - "DomainCertificateAuthorityEnum": ".types", - "DomainCertificateStatusEnum": ".types", - "DomainMetadata": ".types", - "DomainVerification": ".types", - "DomainVerificationMethod": ".types", - "DomainVerificationMethodNameEnum": ".types", - "DomainVerificationStatusEnum": ".types", - "EmailAttribute": ".types", - "EmailMailgunRegionEnum": ".types", - "EmailProviderCredentials": ".types", - "EmailProviderCredentialsSchema": ".types", - "EmailProviderCredentialsSchemaAccessKeyId": ".types", - "EmailProviderCredentialsSchemaApiKey": ".types", - "EmailProviderCredentialsSchemaClientId": ".types", - "EmailProviderCredentialsSchemaConnectionString": ".types", - "EmailProviderCredentialsSchemaSmtpHost": ".types", - "EmailProviderCredentialsSchemaThree": ".types", - "EmailProviderCredentialsSchemaZero": ".types", - "EmailProviderNameEnum": ".types", - "EmailProviderSettings": ".types", - "EmailSmtpHost": ".types", - "EmailSparkPostRegionEnum": ".types", - "EmailSpecificProviderSettingsWithAdditionalProperties": ".types", - "EmailTemplateNameEnum": ".types", - "EnabledFeaturesEnum": ".types", - "EncryptionKey": ".types", - "EncryptionKeyPublicWrappingAlgorithm": ".types", - "EncryptionKeyState": ".types", - "EncryptionKeyType": ".types", - "EventStreamActionConfiguration": ".types", - "EventStreamActionDestination": ".types", - "EventStreamActionDestinationTypeEnum": ".types", - "EventStreamActionResponseContent": ".types", - "EventStreamCloudEvent": ".types", - "EventStreamCloudEventA0PurposeEnum": ".types", - "EventStreamCloudEventContext": ".types", - "EventStreamCloudEventContextClient": ".types", - "EventStreamCloudEventContextClientMetadata": ".types", - "EventStreamCloudEventContextConnection": ".types", - "EventStreamCloudEventContextRequest": ".types", - "EventStreamCloudEventContextRequestGeo": ".types", - "EventStreamCloudEventContextTenant": ".types", - "EventStreamCloudEventErrorCodeEnum": ".types", - "EventStreamCloudEventErrorDetail": ".types", - "EventStreamCloudEventErrorMessage": ".types", - "EventStreamCloudEventErrorMessageTypeEnum": ".types", - "EventStreamCloudEventGroupCreated": ".types", - "EventStreamCloudEventGroupCreatedCloudEvent": ".types", - "EventStreamCloudEventGroupCreatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupCreatedData": ".types", - "EventStreamCloudEventGroupCreatedObject": ".types", - "EventStreamCloudEventGroupCreatedObject0": ".types", - "EventStreamCloudEventGroupCreatedObject0TypeEnum": ".types", - "EventStreamCloudEventGroupCreatedObject1": ".types", - "EventStreamCloudEventGroupCreatedObject1TypeEnum": ".types", - "EventStreamCloudEventGroupCreatedObject2": ".types", - "EventStreamCloudEventGroupCreatedObject2TypeEnum": ".types", - "EventStreamCloudEventGroupCreatedTypeEnum": ".types", - "EventStreamCloudEventGroupDeleted": ".types", - "EventStreamCloudEventGroupDeletedCloudEvent": ".types", - "EventStreamCloudEventGroupDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupDeletedData": ".types", - "EventStreamCloudEventGroupDeletedObject": ".types", - "EventStreamCloudEventGroupDeletedObject0": ".types", - "EventStreamCloudEventGroupDeletedObject0TypeEnum": ".types", - "EventStreamCloudEventGroupDeletedObject1": ".types", - "EventStreamCloudEventGroupDeletedObject1TypeEnum": ".types", - "EventStreamCloudEventGroupDeletedObject2": ".types", - "EventStreamCloudEventGroupDeletedObject2TypeEnum": ".types", - "EventStreamCloudEventGroupDeletedTypeEnum": ".types", - "EventStreamCloudEventGroupMemberAdded": ".types", - "EventStreamCloudEventGroupMemberAddedCloudEvent": ".types", - "EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedData": ".types", - "EventStreamCloudEventGroupMemberAddedObject": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup0": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup1": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup2": ".types", - "EventStreamCloudEventGroupMemberAddedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedObjectMember": ".types", - "EventStreamCloudEventGroupMemberAddedObjectMember0": ".types", - "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedObjectMember1": ".types", - "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum": ".types", - "EventStreamCloudEventGroupMemberAddedTypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeleted": ".types", - "EventStreamCloudEventGroupMemberDeletedCloudEvent": ".types", - "EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedData": ".types", - "EventStreamCloudEventGroupMemberDeletedObject": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup0": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup1": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup2": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectMember": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectMember0": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectMember1": ".types", - "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum": ".types", - "EventStreamCloudEventGroupMemberDeletedTypeEnum": ".types", - "EventStreamCloudEventGroupRoleAssigned": ".types", - "EventStreamCloudEventGroupRoleAssignedCloudEvent": ".types", - "EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupRoleAssignedData": ".types", - "EventStreamCloudEventGroupRoleAssignedObject": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup0": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup1": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup2": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventGroupRoleAssignedObjectRole": ".types", - "EventStreamCloudEventGroupRoleAssignedTypeEnum": ".types", - "EventStreamCloudEventGroupRoleDeleted": ".types", - "EventStreamCloudEventGroupRoleDeletedCloudEvent": ".types", - "EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupRoleDeletedData": ".types", - "EventStreamCloudEventGroupRoleDeletedObject": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup0": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup1": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup2": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventGroupRoleDeletedObjectRole": ".types", - "EventStreamCloudEventGroupRoleDeletedTypeEnum": ".types", - "EventStreamCloudEventGroupUpdated": ".types", - "EventStreamCloudEventGroupUpdatedCloudEvent": ".types", - "EventStreamCloudEventGroupUpdatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventGroupUpdatedData": ".types", - "EventStreamCloudEventGroupUpdatedObject": ".types", - "EventStreamCloudEventGroupUpdatedObject0": ".types", - "EventStreamCloudEventGroupUpdatedObject0TypeEnum": ".types", - "EventStreamCloudEventGroupUpdatedObject1": ".types", - "EventStreamCloudEventGroupUpdatedObject1TypeEnum": ".types", - "EventStreamCloudEventGroupUpdatedObject2": ".types", - "EventStreamCloudEventGroupUpdatedObject2TypeEnum": ".types", - "EventStreamCloudEventGroupUpdatedTypeEnum": ".types", - "EventStreamCloudEventOffsetOnlyMessage": ".types", - "EventStreamCloudEventOffsetOnlyMessageTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionAdded": ".types", - "EventStreamCloudEventOrgConnectionAddedCloudEvent": ".types", - "EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionAddedData": ".types", - "EventStreamCloudEventOrgConnectionAddedObject": ".types", - "EventStreamCloudEventOrgConnectionAddedObjectConnection": ".types", - "EventStreamCloudEventOrgConnectionAddedObjectOrganization": ".types", - "EventStreamCloudEventOrgConnectionAddedTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionRemoved": ".types", - "EventStreamCloudEventOrgConnectionRemovedCloudEvent": ".types", - "EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionRemovedData": ".types", - "EventStreamCloudEventOrgConnectionRemovedObject": ".types", - "EventStreamCloudEventOrgConnectionRemovedObjectConnection": ".types", - "EventStreamCloudEventOrgConnectionRemovedObjectOrganization": ".types", - "EventStreamCloudEventOrgConnectionRemovedTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionUpdated": ".types", - "EventStreamCloudEventOrgConnectionUpdatedCloudEvent": ".types", - "EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgConnectionUpdatedData": ".types", - "EventStreamCloudEventOrgConnectionUpdatedObject": ".types", - "EventStreamCloudEventOrgConnectionUpdatedObjectConnection": ".types", - "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization": ".types", - "EventStreamCloudEventOrgConnectionUpdatedTypeEnum": ".types", - "EventStreamCloudEventOrgCreated": ".types", - "EventStreamCloudEventOrgCreatedCloudEvent": ".types", - "EventStreamCloudEventOrgCreatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgCreatedData": ".types", - "EventStreamCloudEventOrgCreatedObject": ".types", - "EventStreamCloudEventOrgCreatedObjectBranding": ".types", - "EventStreamCloudEventOrgCreatedObjectBrandingColors": ".types", - "EventStreamCloudEventOrgCreatedObjectMetadata": ".types", - "EventStreamCloudEventOrgCreatedTypeEnum": ".types", - "EventStreamCloudEventOrgDeleted": ".types", - "EventStreamCloudEventOrgDeletedCloudEvent": ".types", - "EventStreamCloudEventOrgDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgDeletedData": ".types", - "EventStreamCloudEventOrgDeletedObject": ".types", - "EventStreamCloudEventOrgDeletedObjectMetadata": ".types", - "EventStreamCloudEventOrgDeletedTypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleAssigned": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedData": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObject": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedObjectRole": ".types", - "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleDeleted": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedData": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObject": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedObjectRole": ".types", - "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum": ".types", - "EventStreamCloudEventOrgMemberAdded": ".types", - "EventStreamCloudEventOrgMemberAddedCloudEvent": ".types", - "EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgMemberAddedData": ".types", - "EventStreamCloudEventOrgMemberAddedObject": ".types", - "EventStreamCloudEventOrgMemberAddedObjectOrganization": ".types", - "EventStreamCloudEventOrgMemberAddedObjectUser": ".types", - "EventStreamCloudEventOrgMemberAddedTypeEnum": ".types", - "EventStreamCloudEventOrgMemberDeleted": ".types", - "EventStreamCloudEventOrgMemberDeletedCloudEvent": ".types", - "EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgMemberDeletedData": ".types", - "EventStreamCloudEventOrgMemberDeletedObject": ".types", - "EventStreamCloudEventOrgMemberDeletedObjectOrganization": ".types", - "EventStreamCloudEventOrgMemberDeletedObjectUser": ".types", - "EventStreamCloudEventOrgMemberDeletedTypeEnum": ".types", - "EventStreamCloudEventOrgMemberRoleAssigned": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedData": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedObject": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedObjectRole": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedObjectUser": ".types", - "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum": ".types", - "EventStreamCloudEventOrgMemberRoleDeleted": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedData": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedObject": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedObjectRole": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedObjectUser": ".types", - "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum": ".types", - "EventStreamCloudEventOrgUpdated": ".types", - "EventStreamCloudEventOrgUpdatedCloudEvent": ".types", - "EventStreamCloudEventOrgUpdatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventOrgUpdatedData": ".types", - "EventStreamCloudEventOrgUpdatedObject": ".types", - "EventStreamCloudEventOrgUpdatedObjectBranding": ".types", - "EventStreamCloudEventOrgUpdatedObjectBrandingColors": ".types", - "EventStreamCloudEventOrgUpdatedObjectMetadata": ".types", - "EventStreamCloudEventOrgUpdatedTypeEnum": ".types", - "EventStreamCloudEventUserCreated": ".types", - "EventStreamCloudEventUserCreatedCloudEvent": ".types", - "EventStreamCloudEventUserCreatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventUserCreatedData": ".types", - "EventStreamCloudEventUserCreatedObject": ".types", - "EventStreamCloudEventUserCreatedObjectAppMetadata": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItem": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomIsSocialEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProfileData": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProviderEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomUserId": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserId": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProfileData": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProviderEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseUserId": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProfileData": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessUserId": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum": ".types", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId": ".types", - "EventStreamCloudEventUserCreatedObjectUserMetadata": ".types", - "EventStreamCloudEventUserCreatedTypeEnum": ".types", - "EventStreamCloudEventUserDeleted": ".types", - "EventStreamCloudEventUserDeletedCloudEvent": ".types", - "EventStreamCloudEventUserDeletedCloudEventTypeEnum": ".types", - "EventStreamCloudEventUserDeletedData": ".types", - "EventStreamCloudEventUserDeletedObject": ".types", - "EventStreamCloudEventUserDeletedObjectAppMetadata": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItem": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustom": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomIsSocialEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProfileData": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProviderEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomUserId": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabase": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseIsSocialEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProfileData": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProviderEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseUserId": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterprise": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProviderEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseUserId": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordless": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProfileData": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProviderEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessUserId": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum": ".types", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId": ".types", - "EventStreamCloudEventUserDeletedObjectUserMetadata": ".types", - "EventStreamCloudEventUserDeletedTypeEnum": ".types", - "EventStreamCloudEventUserUpdated": ".types", - "EventStreamCloudEventUserUpdatedCloudEvent": ".types", - "EventStreamCloudEventUserUpdatedCloudEventTypeEnum": ".types", - "EventStreamCloudEventUserUpdatedData": ".types", - "EventStreamCloudEventUserUpdatedObject": ".types", - "EventStreamCloudEventUserUpdatedObjectAppMetadata": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItem": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserId": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProfileData": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProviderEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseUserId": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProfileData": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserId": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProfileData": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProviderEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessUserId": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialIsSocialEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProfileData": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum": ".types", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId": ".types", - "EventStreamCloudEventUserUpdatedObjectUserMetadata": ".types", - "EventStreamCloudEventUserUpdatedTypeEnum": ".types", - "EventStreamDelivery": ".types", - "EventStreamDeliveryAttempt": ".types", - "EventStreamDeliveryEventTypeEnum": ".types", - "EventStreamDeliveryStatusEnum": ".types", - "EventStreamDestinationPatch": ".types", - "EventStreamEventBridgeAwsRegionEnum": ".types", - "EventStreamEventBridgeConfiguration": ".types", - "EventStreamEventBridgeDestination": ".types", - "EventStreamEventBridgeDestinationTypeEnum": ".types", - "EventStreamEventBridgeResponseContent": ".types", - "EventStreamEventTypeEnum": ".types", - "EventStreamResponseContent": ".types", - "EventStreamStatusEnum": ".types", - "EventStreamSubscribeEventsEventTypeEnum": ".types", - "EventStreamSubscribeEventsEventTypeParam": ".types", - "EventStreamSubscribeEventsResponseContent": ".types", - "EventStreamSubscribeEventsResponseContent_Error": ".types", - "EventStreamSubscribeEventsResponseContent_GroupCreated": ".types", - "EventStreamSubscribeEventsResponseContent_GroupDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_GroupMemberAdded": ".types", - "EventStreamSubscribeEventsResponseContent_GroupMemberDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_GroupRoleAssigned": ".types", - "EventStreamSubscribeEventsResponseContent_GroupRoleDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_GroupUpdated": ".types", - "EventStreamSubscribeEventsResponseContent_OffsetOnly": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionAdded": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionRemoved": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionUpdated": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationCreated": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleAssigned": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberAdded": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleAssigned": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_OrganizationUpdated": ".types", - "EventStreamSubscribeEventsResponseContent_UserCreated": ".types", - "EventStreamSubscribeEventsResponseContent_UserDeleted": ".types", - "EventStreamSubscribeEventsResponseContent_UserUpdated": ".types", - "EventStreamSubscription": ".types", - "EventStreamTestEventTypeEnum": ".types", - "EventStreamWebhookAuthorizationResponse": ".types", - "EventStreamWebhookBasicAuth": ".types", - "EventStreamWebhookBasicAuthMethodEnum": ".types", - "EventStreamWebhookBearerAuth": ".types", - "EventStreamWebhookBearerAuthMethodEnum": ".types", - "EventStreamWebhookConfiguration": ".types", - "EventStreamWebhookCustomHeaderAuth": ".types", - "EventStreamWebhookCustomHeaderAuthMethodEnum": ".types", - "EventStreamWebhookDestination": ".types", - "EventStreamWebhookDestinationTypeEnum": ".types", - "EventStreamWebhookResponseContent": ".types", - "EventStreamsCreateRequest": ".event_streams", - "ExpressConfiguration": ".types", - "ExpressConfigurationOrNull": ".types", - "ExtensibilityEmailProviderCredentials": ".types", - "FedCmLogin": ".types", - "FedCmLoginGoogle": ".types", - "FederatedConnectionTokenSet": ".types", - "FlowAction": ".types", - "FlowActionActivecampaign": ".types", - "FlowActionActivecampaignListContacts": ".types", - "FlowActionActivecampaignListContactsAction": ".types", - "FlowActionActivecampaignListContactsParams": ".types", - "FlowActionActivecampaignListContactsType": ".types", - "FlowActionActivecampaignUpsertContact": ".types", - "FlowActionActivecampaignUpsertContactAction": ".types", - "FlowActionActivecampaignUpsertContactParams": ".types", - "FlowActionActivecampaignUpsertContactParamsCustomFields": ".types", - "FlowActionActivecampaignUpsertContactType": ".types", - "FlowActionAirtable": ".types", - "FlowActionAirtableCreateRecord": ".types", - "FlowActionAirtableCreateRecordAction": ".types", - "FlowActionAirtableCreateRecordParams": ".types", - "FlowActionAirtableCreateRecordParamsFields": ".types", - "FlowActionAirtableCreateRecordType": ".types", - "FlowActionAirtableListRecords": ".types", - "FlowActionAirtableListRecordsAction": ".types", - "FlowActionAirtableListRecordsParams": ".types", - "FlowActionAirtableListRecordsType": ".types", - "FlowActionAirtableUpdateRecord": ".types", - "FlowActionAirtableUpdateRecordAction": ".types", - "FlowActionAirtableUpdateRecordParams": ".types", - "FlowActionAirtableUpdateRecordParamsFields": ".types", - "FlowActionAirtableUpdateRecordType": ".types", - "FlowActionAuth0": ".types", - "FlowActionAuth0CreateUser": ".types", - "FlowActionAuth0CreateUserAction": ".types", - "FlowActionAuth0CreateUserParams": ".types", - "FlowActionAuth0CreateUserParamsPayload": ".types", - "FlowActionAuth0CreateUserType": ".types", - "FlowActionAuth0GetUser": ".types", - "FlowActionAuth0GetUserAction": ".types", - "FlowActionAuth0GetUserParams": ".types", - "FlowActionAuth0GetUserType": ".types", - "FlowActionAuth0MakeCall": ".types", - "FlowActionAuth0MakeCallAction": ".types", - "FlowActionAuth0MakeCallParams": ".types", - "FlowActionAuth0MakeCallParamsCustomVars": ".types", - "FlowActionAuth0MakeCallType": ".types", - "FlowActionAuth0SendEmail": ".types", - "FlowActionAuth0SendEmailAction": ".types", - "FlowActionAuth0SendEmailParams": ".types", - "FlowActionAuth0SendEmailParamsFrom": ".types", - "FlowActionAuth0SendEmailParamsFromEmail": ".types", - "FlowActionAuth0SendEmailParamsTo": ".types", - "FlowActionAuth0SendEmailType": ".types", - "FlowActionAuth0SendRequest": ".types", - "FlowActionAuth0SendRequestAction": ".types", - "FlowActionAuth0SendRequestParams": ".types", - "FlowActionAuth0SendRequestParamsCustomVars": ".types", - "FlowActionAuth0SendRequestParamsHeaders": ".types", - "FlowActionAuth0SendRequestParamsMethod": ".types", - "FlowActionAuth0SendRequestParamsPayload": ".types", - "FlowActionAuth0SendRequestParamsPayloadObject": ".types", - "FlowActionAuth0SendRequestParamsQueryParams": ".types", - "FlowActionAuth0SendRequestParamsQueryParamsValue": ".types", - "FlowActionAuth0SendRequestType": ".types", - "FlowActionAuth0SendSms": ".types", - "FlowActionAuth0SendSmsAction": ".types", - "FlowActionAuth0SendSmsParams": ".types", - "FlowActionAuth0SendSmsParamsCustomVars": ".types", - "FlowActionAuth0SendSmsType": ".types", - "FlowActionAuth0UpdateUser": ".types", - "FlowActionAuth0UpdateUserAction": ".types", - "FlowActionAuth0UpdateUserParams": ".types", - "FlowActionAuth0UpdateUserParamsChanges": ".types", - "FlowActionAuth0UpdateUserType": ".types", - "FlowActionBigquery": ".types", - "FlowActionBigqueryInsertRows": ".types", - "FlowActionBigqueryInsertRowsAction": ".types", - "FlowActionBigqueryInsertRowsParams": ".types", - "FlowActionBigqueryInsertRowsParamsData": ".types", - "FlowActionBigqueryInsertRowsType": ".types", - "FlowActionClearbit": ".types", - "FlowActionClearbitFindCompany": ".types", - "FlowActionClearbitFindCompanyAction": ".types", - "FlowActionClearbitFindCompanyParams": ".types", - "FlowActionClearbitFindCompanyType": ".types", - "FlowActionClearbitFindPerson": ".types", - "FlowActionClearbitFindPersonAction": ".types", - "FlowActionClearbitFindPersonParams": ".types", - "FlowActionClearbitFindPersonType": ".types", - "FlowActionEmail": ".types", - "FlowActionEmailVerifyEmail": ".types", - "FlowActionEmailVerifyEmailAction": ".types", - "FlowActionEmailVerifyEmailParams": ".types", - "FlowActionEmailVerifyEmailParamsRules": ".types", - "FlowActionEmailVerifyEmailType": ".types", - "FlowActionFlow": ".types", - "FlowActionFlowBooleanCondition": ".types", - "FlowActionFlowBooleanConditionAction": ".types", - "FlowActionFlowBooleanConditionParams": ".types", - "FlowActionFlowBooleanConditionType": ".types", - "FlowActionFlowDelayFlow": ".types", - "FlowActionFlowDelayFlowAction": ".types", - "FlowActionFlowDelayFlowParams": ".types", - "FlowActionFlowDelayFlowParamsNumber": ".types", - "FlowActionFlowDelayFlowParamsUnits": ".types", - "FlowActionFlowDelayFlowType": ".types", - "FlowActionFlowDoNothing": ".types", - "FlowActionFlowDoNothingAction": ".types", - "FlowActionFlowDoNothingParams": ".types", - "FlowActionFlowDoNothingType": ".types", - "FlowActionFlowErrorMessage": ".types", - "FlowActionFlowErrorMessageAction": ".types", - "FlowActionFlowErrorMessageParams": ".types", - "FlowActionFlowErrorMessageType": ".types", - "FlowActionFlowMapValue": ".types", - "FlowActionFlowMapValueAction": ".types", - "FlowActionFlowMapValueParams": ".types", - "FlowActionFlowMapValueParamsCases": ".types", - "FlowActionFlowMapValueParamsFallback": ".types", - "FlowActionFlowMapValueParamsFallbackObject": ".types", - "FlowActionFlowMapValueParamsInput": ".types", - "FlowActionFlowMapValueType": ".types", - "FlowActionFlowReturnJson": ".types", - "FlowActionFlowReturnJsonAction": ".types", - "FlowActionFlowReturnJsonParams": ".types", - "FlowActionFlowReturnJsonParamsPayload": ".types", - "FlowActionFlowReturnJsonParamsPayloadObject": ".types", - "FlowActionFlowReturnJsonType": ".types", - "FlowActionFlowStoreVars": ".types", - "FlowActionFlowStoreVarsAction": ".types", - "FlowActionFlowStoreVarsParams": ".types", - "FlowActionFlowStoreVarsParamsVars": ".types", - "FlowActionFlowStoreVarsType": ".types", - "FlowActionGoogleSheets": ".types", - "FlowActionGoogleSheetsAddRow": ".types", - "FlowActionGoogleSheetsAddRowAction": ".types", - "FlowActionGoogleSheetsAddRowParams": ".types", - "FlowActionGoogleSheetsAddRowParamsSheetId": ".types", - "FlowActionGoogleSheetsAddRowParamsValues": ".types", - "FlowActionGoogleSheetsAddRowType": ".types", - "FlowActionHttp": ".types", - "FlowActionHttpSendRequest": ".types", - "FlowActionHttpSendRequestAction": ".types", - "FlowActionHttpSendRequestParams": ".types", - "FlowActionHttpSendRequestParamsBasicAuth": ".types", - "FlowActionHttpSendRequestParamsContentType": ".types", - "FlowActionHttpSendRequestParamsHeaders": ".types", - "FlowActionHttpSendRequestParamsMethod": ".types", - "FlowActionHttpSendRequestParamsPayload": ".types", - "FlowActionHttpSendRequestParamsPayloadObject": ".types", - "FlowActionHttpSendRequestParamsQueryParams": ".types", - "FlowActionHttpSendRequestParamsQueryParamsValue": ".types", - "FlowActionHttpSendRequestType": ".types", - "FlowActionHubspot": ".types", - "FlowActionHubspotEnrollContact": ".types", - "FlowActionHubspotEnrollContactAction": ".types", - "FlowActionHubspotEnrollContactParams": ".types", - "FlowActionHubspotEnrollContactParamsWorkflowId": ".types", - "FlowActionHubspotEnrollContactType": ".types", - "FlowActionHubspotGetContact": ".types", - "FlowActionHubspotGetContactAction": ".types", - "FlowActionHubspotGetContactParams": ".types", - "FlowActionHubspotGetContactType": ".types", - "FlowActionHubspotUpsertContact": ".types", - "FlowActionHubspotUpsertContactAction": ".types", - "FlowActionHubspotUpsertContactParams": ".types", - "FlowActionHubspotUpsertContactParamsProperty": ".types", - "FlowActionHubspotUpsertContactType": ".types", - "FlowActionJson": ".types", - "FlowActionJsonCreateJson": ".types", - "FlowActionJsonCreateJsonAction": ".types", - "FlowActionJsonCreateJsonParams": ".types", - "FlowActionJsonCreateJsonParamsObject": ".types", - "FlowActionJsonCreateJsonType": ".types", - "FlowActionJsonParseJson": ".types", - "FlowActionJsonParseJsonAction": ".types", - "FlowActionJsonParseJsonParams": ".types", - "FlowActionJsonParseJsonType": ".types", - "FlowActionJsonSerializeJson": ".types", - "FlowActionJsonSerializeJsonAction": ".types", - "FlowActionJsonSerializeJsonParams": ".types", - "FlowActionJsonSerializeJsonParamsObject": ".types", - "FlowActionJsonSerializeJsonParamsObjectObject": ".types", - "FlowActionJsonSerializeJsonType": ".types", - "FlowActionJwt": ".types", - "FlowActionJwtDecodeJwt": ".types", - "FlowActionJwtDecodeJwtAction": ".types", - "FlowActionJwtDecodeJwtParams": ".types", - "FlowActionJwtDecodeJwtType": ".types", - "FlowActionJwtSignJwt": ".types", - "FlowActionJwtSignJwtAction": ".types", - "FlowActionJwtSignJwtParams": ".types", - "FlowActionJwtSignJwtParamsPayload": ".types", - "FlowActionJwtSignJwtType": ".types", - "FlowActionJwtVerifyJwt": ".types", - "FlowActionJwtVerifyJwtAction": ".types", - "FlowActionJwtVerifyJwtParams": ".types", - "FlowActionJwtVerifyJwtType": ".types", - "FlowActionMailchimp": ".types", - "FlowActionMailchimpUpsertMember": ".types", - "FlowActionMailchimpUpsertMemberAction": ".types", - "FlowActionMailchimpUpsertMemberParams": ".types", - "FlowActionMailchimpUpsertMemberParamsMember": ".types", - "FlowActionMailchimpUpsertMemberParamsMemberMergeFields": ".types", - "FlowActionMailchimpUpsertMemberType": ".types", - "FlowActionMailjet": ".types", - "FlowActionMailjetSendEmail": ".types", - "FlowActionMailjetSendEmailAction": ".types", - "FlowActionMailjetSendEmailParams": ".types", - "FlowActionMailjetSendEmailParamsContent": ".types", - "FlowActionMailjetSendEmailParamsTemplateId": ".types", - "FlowActionMailjetSendEmailType": ".types", - "FlowActionOtp": ".types", - "FlowActionOtpGenerateCode": ".types", - "FlowActionOtpGenerateCodeAction": ".types", - "FlowActionOtpGenerateCodeParams": ".types", - "FlowActionOtpGenerateCodeType": ".types", - "FlowActionOtpVerifyCode": ".types", - "FlowActionOtpVerifyCodeAction": ".types", - "FlowActionOtpVerifyCodeParams": ".types", - "FlowActionOtpVerifyCodeParamsCode": ".types", - "FlowActionOtpVerifyCodeType": ".types", - "FlowActionPipedrive": ".types", - "FlowActionPipedriveAddDeal": ".types", - "FlowActionPipedriveAddDealAction": ".types", - "FlowActionPipedriveAddDealParams": ".types", - "FlowActionPipedriveAddDealParamsFields": ".types", - "FlowActionPipedriveAddDealParamsOrganizationId": ".types", - "FlowActionPipedriveAddDealParamsPersonId": ".types", - "FlowActionPipedriveAddDealParamsStageId": ".types", - "FlowActionPipedriveAddDealParamsUserId": ".types", - "FlowActionPipedriveAddDealType": ".types", - "FlowActionPipedriveAddOrganization": ".types", - "FlowActionPipedriveAddOrganizationAction": ".types", - "FlowActionPipedriveAddOrganizationParams": ".types", - "FlowActionPipedriveAddOrganizationParamsFields": ".types", - "FlowActionPipedriveAddOrganizationParamsOwnerId": ".types", - "FlowActionPipedriveAddOrganizationType": ".types", - "FlowActionPipedriveAddPerson": ".types", - "FlowActionPipedriveAddPersonAction": ".types", - "FlowActionPipedriveAddPersonParams": ".types", - "FlowActionPipedriveAddPersonParamsFields": ".types", - "FlowActionPipedriveAddPersonParamsOrganizationId": ".types", - "FlowActionPipedriveAddPersonParamsOwnerId": ".types", - "FlowActionPipedriveAddPersonType": ".types", - "FlowActionSalesforce": ".types", - "FlowActionSalesforceCreateLead": ".types", - "FlowActionSalesforceCreateLeadAction": ".types", - "FlowActionSalesforceCreateLeadParams": ".types", - "FlowActionSalesforceCreateLeadParamsPayload": ".types", - "FlowActionSalesforceCreateLeadType": ".types", - "FlowActionSalesforceGetLead": ".types", - "FlowActionSalesforceGetLeadAction": ".types", - "FlowActionSalesforceGetLeadParams": ".types", - "FlowActionSalesforceGetLeadType": ".types", - "FlowActionSalesforceSearchLeads": ".types", - "FlowActionSalesforceSearchLeadsAction": ".types", - "FlowActionSalesforceSearchLeadsParams": ".types", - "FlowActionSalesforceSearchLeadsParamsSearchField": ".types", - "FlowActionSalesforceSearchLeadsType": ".types", - "FlowActionSalesforceUpdateLead": ".types", - "FlowActionSalesforceUpdateLeadAction": ".types", - "FlowActionSalesforceUpdateLeadParams": ".types", - "FlowActionSalesforceUpdateLeadParamsPayload": ".types", - "FlowActionSalesforceUpdateLeadType": ".types", - "FlowActionSendgrid": ".types", - "FlowActionSendgridSendEmail": ".types", - "FlowActionSendgridSendEmailAction": ".types", - "FlowActionSendgridSendEmailParams": ".types", - "FlowActionSendgridSendEmailParamsPerson": ".types", - "FlowActionSendgridSendEmailType": ".types", - "FlowActionSlack": ".types", - "FlowActionSlackPostMessage": ".types", - "FlowActionSlackPostMessageAction": ".types", - "FlowActionSlackPostMessageParams": ".types", - "FlowActionSlackPostMessageParamsAttachment": ".types", - "FlowActionSlackPostMessageParamsAttachmentColor": ".types", - "FlowActionSlackPostMessageParamsAttachmentField": ".types", - "FlowActionSlackPostMessageType": ".types", - "FlowActionStripe": ".types", - "FlowActionStripeAddTaxId": ".types", - "FlowActionStripeAddTaxIdAction": ".types", - "FlowActionStripeAddTaxIdParams": ".types", - "FlowActionStripeAddTaxIdType": ".types", - "FlowActionStripeAddress": ".types", - "FlowActionStripeCreateCustomer": ".types", - "FlowActionStripeCreateCustomerAction": ".types", - "FlowActionStripeCreateCustomerParams": ".types", - "FlowActionStripeCreateCustomerType": ".types", - "FlowActionStripeCreatePortalSession": ".types", - "FlowActionStripeCreatePortalSessionAction": ".types", - "FlowActionStripeCreatePortalSessionParams": ".types", - "FlowActionStripeCreatePortalSessionType": ".types", - "FlowActionStripeDeleteTaxId": ".types", - "FlowActionStripeDeleteTaxIdAction": ".types", - "FlowActionStripeDeleteTaxIdParams": ".types", - "FlowActionStripeDeleteTaxIdType": ".types", - "FlowActionStripeFindCustomers": ".types", - "FlowActionStripeFindCustomersAction": ".types", - "FlowActionStripeFindCustomersParams": ".types", - "FlowActionStripeFindCustomersType": ".types", - "FlowActionStripeGetCustomer": ".types", - "FlowActionStripeGetCustomerAction": ".types", - "FlowActionStripeGetCustomerParams": ".types", - "FlowActionStripeGetCustomerType": ".types", - "FlowActionStripeMetadata": ".types", - "FlowActionStripeTaxId": ".types", - "FlowActionStripeUpdateCustomer": ".types", - "FlowActionStripeUpdateCustomerAction": ".types", - "FlowActionStripeUpdateCustomerParams": ".types", - "FlowActionStripeUpdateCustomerType": ".types", - "FlowActionTelegram": ".types", - "FlowActionTelegramSendMessage": ".types", - "FlowActionTelegramSendMessageAction": ".types", - "FlowActionTelegramSendMessageParams": ".types", - "FlowActionTelegramSendMessageType": ".types", - "FlowActionTwilio": ".types", - "FlowActionTwilioMakeCall": ".types", - "FlowActionTwilioMakeCallAction": ".types", - "FlowActionTwilioMakeCallParams": ".types", - "FlowActionTwilioMakeCallType": ".types", - "FlowActionTwilioSendSms": ".types", - "FlowActionTwilioSendSmsAction": ".types", - "FlowActionTwilioSendSmsParams": ".types", - "FlowActionTwilioSendSmsType": ".types", - "FlowActionWhatsapp": ".types", - "FlowActionWhatsappSendMessage": ".types", - "FlowActionWhatsappSendMessageAction": ".types", - "FlowActionWhatsappSendMessageParams": ".types", - "FlowActionWhatsappSendMessageParamsPayload": ".types", - "FlowActionWhatsappSendMessageParamsPayloadObject": ".types", - "FlowActionWhatsappSendMessageParamsType": ".types", - "FlowActionWhatsappSendMessageType": ".types", - "FlowActionXml": ".types", - "FlowActionXmlParseXml": ".types", - "FlowActionXmlParseXmlAction": ".types", - "FlowActionXmlParseXmlParams": ".types", - "FlowActionXmlParseXmlType": ".types", - "FlowActionXmlSerializeXml": ".types", - "FlowActionXmlSerializeXmlAction": ".types", - "FlowActionXmlSerializeXmlParams": ".types", - "FlowActionXmlSerializeXmlParamsObject": ".types", - "FlowActionXmlSerializeXmlParamsObjectObject": ".types", - "FlowActionXmlSerializeXmlType": ".types", - "FlowActionZapier": ".types", - "FlowActionZapierTriggerWebhook": ".types", - "FlowActionZapierTriggerWebhookAction": ".types", - "FlowActionZapierTriggerWebhookParams": ".types", - "FlowActionZapierTriggerWebhookParamsMethod": ".types", - "FlowActionZapierTriggerWebhookType": ".types", - "FlowExecutionDebug": ".types", - "FlowExecutionSummary": ".types", - "FlowSummary": ".types", - "FlowsVaultConnectioSetupApiKey": ".types", - "FlowsVaultConnectioSetupApiKeyWithBaseUrl": ".types", - "FlowsVaultConnectioSetupBigqueryOauthJwt": ".types", - "FlowsVaultConnectioSetupHttpBearer": ".types", - "FlowsVaultConnectioSetupJwt": ".types", - "FlowsVaultConnectioSetupJwtAlgorithmEnum": ".types", - "FlowsVaultConnectioSetupMailjetApiKey": ".types", - "FlowsVaultConnectioSetupOauthApp": ".types", - "FlowsVaultConnectioSetupOauthCode": ".types", - "FlowsVaultConnectioSetupSecretApiKey": ".types", - "FlowsVaultConnectioSetupStripeKeyPair": ".types", - "FlowsVaultConnectioSetupToken": ".types", - "FlowsVaultConnectioSetupTwilioApiKey": ".types", - "FlowsVaultConnectioSetupTypeApiKeyEnum": ".types", - "FlowsVaultConnectioSetupTypeBearerEnum": ".types", - "FlowsVaultConnectioSetupTypeJwtEnum": ".types", - "FlowsVaultConnectioSetupTypeKeyPairEnum": ".types", - "FlowsVaultConnectioSetupTypeOauthAppEnum": ".types", - "FlowsVaultConnectioSetupTypeOauthCodeEnum": ".types", - "FlowsVaultConnectioSetupTypeOauthJwtEnum": ".types", - "FlowsVaultConnectioSetupTypeTokenEnum": ".types", - "FlowsVaultConnectioSetupTypeWebhookEnum": ".types", - "FlowsVaultConnectioSetupWebhook": ".types", - "FlowsVaultConnectionAppIdActivecampaignEnum": ".types", - "FlowsVaultConnectionAppIdAirtableEnum": ".types", - "FlowsVaultConnectionAppIdAuth0Enum": ".types", - "FlowsVaultConnectionAppIdBigqueryEnum": ".types", - "FlowsVaultConnectionAppIdClearbitEnum": ".types", - "FlowsVaultConnectionAppIdDocusignEnum": ".types", - "FlowsVaultConnectionAppIdGoogleSheetsEnum": ".types", - "FlowsVaultConnectionAppIdHttpEnum": ".types", - "FlowsVaultConnectionAppIdHubspotEnum": ".types", - "FlowsVaultConnectionAppIdJwtEnum": ".types", - "FlowsVaultConnectionAppIdMailchimpEnum": ".types", - "FlowsVaultConnectionAppIdMailjetEnum": ".types", - "FlowsVaultConnectionAppIdPipedriveEnum": ".types", - "FlowsVaultConnectionAppIdSalesforceEnum": ".types", - "FlowsVaultConnectionAppIdSendgridEnum": ".types", - "FlowsVaultConnectionAppIdSlackEnum": ".types", - "FlowsVaultConnectionAppIdStripeEnum": ".types", - "FlowsVaultConnectionAppIdTelegramEnum": ".types", - "FlowsVaultConnectionAppIdTwilioEnum": ".types", - "FlowsVaultConnectionAppIdWhatsappEnum": ".types", - "FlowsVaultConnectionAppIdZapierEnum": ".types", - "FlowsVaultConnectionHttpApiKeySetup": ".types", - "FlowsVaultConnectionHttpApiKeySetupInEnum": ".types", - "FlowsVaultConnectionHttpBasicAuthSetup": ".types", - "FlowsVaultConnectionHttpOauthClientCredentialsSetup": ".types", - "FlowsVaultConnectionSetupTypeApiKeyEnum": ".types", - "FlowsVaultConnectionSetupTypeBasicAuthEnum": ".types", - "FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum": ".types", - "FlowsVaultConnectionSummary": ".types", - "ForbiddenError": ".errors", - "ForbiddenSchema": ".types", - "ForbiddenSchemaError": ".types", - "FormBlock": ".types", - "FormBlockDivider": ".types", - "FormBlockDividerConfig": ".types", - "FormBlockHtml": ".types", - "FormBlockHtmlConfig": ".types", - "FormBlockImage": ".types", - "FormBlockImageConfig": ".types", - "FormBlockImageConfigPositionEnum": ".types", - "FormBlockJumpButton": ".types", - "FormBlockJumpButtonConfig": ".types", - "FormBlockJumpButtonConfigStyle": ".types", - "FormBlockNextButton": ".types", - "FormBlockNextButtonConfig": ".types", - "FormBlockPreviousButton": ".types", - "FormBlockPreviousButtonConfig": ".types", - "FormBlockResendButton": ".types", - "FormBlockResendButtonConfig": ".types", - "FormBlockResendButtonConfigTextAlignmentEnum": ".types", - "FormBlockRichText": ".types", - "FormBlockRichTextConfig": ".types", - "FormBlockTypeDividerConst": ".types", - "FormBlockTypeHtmlConst": ".types", - "FormBlockTypeImageConst": ".types", - "FormBlockTypeJumpButtonConst": ".types", - "FormBlockTypeNextButtonConst": ".types", - "FormBlockTypePreviousButtonConst": ".types", - "FormBlockTypeResendButtonConst": ".types", - "FormBlockTypeRichTextConst": ".types", - "FormComponent": ".types", - "FormComponentCategoryBlockConst": ".types", - "FormComponentCategoryFieldConst": ".types", - "FormComponentCategoryWidgetConst": ".types", - "FormEndingNode": ".types", - "FormEndingNodeAfterSubmit": ".types", - "FormEndingNodeId": ".types", - "FormEndingNodeNullable": ".types", - "FormEndingNodeRedirection": ".types", - "FormEndingNodeResumeFlowTrueConst": ".types", - "FormField": ".types", - "FormFieldBoolean": ".types", - "FormFieldBooleanConfig": ".types", - "FormFieldBooleanConfigOptions": ".types", - "FormFieldCards": ".types", - "FormFieldCardsConfig": ".types", - "FormFieldCardsConfigOption": ".types", - "FormFieldChoice": ".types", - "FormFieldChoiceConfig": ".types", - "FormFieldChoiceConfigAllowOther": ".types", - "FormFieldChoiceConfigAllowOtherEnabledTrueEnum": ".types", - "FormFieldChoiceConfigOption": ".types", - "FormFieldCustom": ".types", - "FormFieldCustomConfig": ".types", - "FormFieldCustomConfigParams": ".types", - "FormFieldCustomConfigSchema": ".types", - "FormFieldDate": ".types", - "FormFieldDateConfig": ".types", - "FormFieldDateConfigFormatEnum": ".types", - "FormFieldDropdown": ".types", - "FormFieldDropdownConfig": ".types", - "FormFieldDropdownConfigOption": ".types", - "FormFieldEmail": ".types", - "FormFieldEmailConfig": ".types", - "FormFieldFile": ".types", - "FormFieldFileConfig": ".types", - "FormFieldFileConfigCategoryEnum": ".types", - "FormFieldFileConfigStorage": ".types", - "FormFieldFileConfigStorageTypeEnum": ".types", - "FormFieldLegal": ".types", - "FormFieldLegalConfig": ".types", - "FormFieldNumber": ".types", - "FormFieldNumberConfig": ".types", - "FormFieldPassword": ".types", - "FormFieldPasswordConfig": ".types", - "FormFieldPasswordConfigHashEnum": ".types", - "FormFieldPayment": ".types", - "FormFieldPaymentConfig": ".types", - "FormFieldPaymentConfigCharge": ".types", - "FormFieldPaymentConfigChargeOneOff": ".types", - "FormFieldPaymentConfigChargeOneOffCurrencyEnum": ".types", - "FormFieldPaymentConfigChargeOneOffOneOff": ".types", - "FormFieldPaymentConfigChargeOneOffOneOffAmount": ".types", - "FormFieldPaymentConfigChargeSubscription": ".types", - "FormFieldPaymentConfigChargeTypeOneOffConst": ".types", - "FormFieldPaymentConfigChargeTypeSubscriptionConst": ".types", - "FormFieldPaymentConfigCredentials": ".types", - "FormFieldPaymentConfigCustomer": ".types", - "FormFieldPaymentConfigFieldProperties": ".types", - "FormFieldPaymentConfigFields": ".types", - "FormFieldPaymentConfigProviderEnum": ".types", - "FormFieldPaymentConfigSubscription": ".types", - "FormFieldSocial": ".types", - "FormFieldSocialConfig": ".types", - "FormFieldTel": ".types", - "FormFieldTelConfig": ".types", - "FormFieldTelConfigStrings": ".types", - "FormFieldText": ".types", - "FormFieldTextConfig": ".types", - "FormFieldTypeBooleanConst": ".types", - "FormFieldTypeCardsConst": ".types", - "FormFieldTypeChoiceConst": ".types", - "FormFieldTypeCustomConst": ".types", - "FormFieldTypeDateConst": ".types", - "FormFieldTypeDropdownConst": ".types", - "FormFieldTypeEmailConst": ".types", - "FormFieldTypeFileConst": ".types", - "FormFieldTypeLegalConst": ".types", - "FormFieldTypeNumberConst": ".types", - "FormFieldTypePasswordConst": ".types", - "FormFieldTypePaymentConst": ".types", - "FormFieldTypeSocialConst": ".types", - "FormFieldTypeTelConst": ".types", - "FormFieldTypeTextConst": ".types", - "FormFieldTypeUrlConst": ".types", - "FormFieldUrl": ".types", - "FormFieldUrlConfig": ".types", - "FormFlow": ".types", - "FormFlowConfig": ".types", - "FormHiddenField": ".types", - "FormLanguages": ".types", - "FormLanguagesNullable": ".types", - "FormMessages": ".types", - "FormMessagesCustom": ".types", - "FormMessagesError": ".types", - "FormMessagesNullable": ".types", - "FormNode": ".types", - "FormNodeCoordinates": ".types", - "FormNodeList": ".types", - "FormNodeListNullable": ".types", - "FormNodePointer": ".types", - "FormNodeTypeFlowConst": ".types", - "FormNodeTypeRouterConst": ".types", - "FormNodeTypeStepConst": ".types", - "FormRouter": ".types", - "FormRouterConfig": ".types", - "FormRouterRule": ".types", - "FormStartNode": ".types", - "FormStartNodeNullable": ".types", - "FormStep": ".types", - "FormStepComponentList": ".types", - "FormStepConfig": ".types", - "FormStyle": ".types", - "FormStyleNullable": ".types", - "FormSummary": ".types", - "FormTranslations": ".types", - "FormTranslationsNullable": ".types", - "FormWidget": ".types", - "FormWidgetAuth0VerifiableCredentials": ".types", - "FormWidgetAuth0VerifiableCredentialsConfig": ".types", - "FormWidgetGMapsAddress": ".types", - "FormWidgetGMapsAddressConfig": ".types", - "FormWidgetRecaptcha": ".types", - "FormWidgetRecaptchaConfig": ".types", - "FormWidgetTypeAuth0VerifiableCredentialsConst": ".types", - "FormWidgetTypeGMapsAddressConst": ".types", - "FormWidgetTypeRecaptchaConst": ".types", - "FormsRequestParametersHydrateEnum": ".types", - "GetActionExecutionResponseContent": ".types", - "GetActionModuleActionsResponseContent": ".types", - "GetActionModuleResponseContent": ".types", - "GetActionModuleVersionResponseContent": ".types", - "GetActionModuleVersionsResponseContent": ".types", - "GetActionModulesResponseContent": ".types", - "GetActionResponseContent": ".types", - "GetActionVersionResponseContent": ".types", - "GetActiveUsersCountStatsResponseContent": ".types", - "GetAculResponseContent": ".types", - "GetAttackProtectionCaptchaResponseContent": ".types", - "GetBotDetectionSettingsResponseContent": ".types", - "GetBrandingDefaultThemeResponseContent": ".types", - "GetBrandingPhoneProviderResponseContent": ".types", - "GetBrandingResponseContent": ".types", - "GetBrandingThemeResponseContent": ".types", - "GetBreachedPasswordDetectionSettingsResponseContent": ".types", - "GetBruteForceSettingsResponseContent": ".types", - "GetClientCredentialResponseContent": ".types", - "GetClientGrantResponseContent": ".types", - "GetClientResponseContent": ".types", - "GetConnectionEnabledClientsResponseContent": ".types", - "GetConnectionProfileResponseContent": ".types", - "GetConnectionProfileTemplateResponseContent": ".types", - "GetConnectionResponseContent": ".types", - "GetCustomDomainResponseContent": ".types", - "GetCustomSigningKeysResponseContent": ".types", - "GetCustomTextsByLanguageResponseContent": ".types", - "GetDefaultCanonicalDomainResponseContent": ".types", - "GetDefaultCustomDomainResponseContent": ".types", - "GetDefaultDomainResponseContent": ".types", - "GetDirectoryProvisioningDefaultMappingResponseContent": ".types", - "GetDirectoryProvisioningResponseContent": ".types", - "GetEmailProviderResponseContent": ".types", - "GetEmailTemplateResponseContent": ".types", - "GetEncryptionKeyResponseContent": ".types", - "GetEventStreamDeliveryHistoryResponseContent": ".types", - "GetEventStreamResponseContent": ".types", - "GetFlowExecutionRequestParametersHydrateEnum": ".types", - "GetFlowExecutionResponseContent": ".types", - "GetFlowRequestParametersHydrateEnum": ".types", - "GetFlowResponseContent": ".types", - "GetFlowsVaultConnectionResponseContent": ".types", - "GetFormResponseContent": ".types", - "GetGroupMembersResponseContent": ".types", - "GetGroupResponseContent": ".types", - "GetGuardianEnrollmentResponseContent": ".types", - "GetGuardianFactorDuoSettingsResponseContent": ".types", - "GetGuardianFactorPhoneMessageTypesResponseContent": ".types", - "GetGuardianFactorPhoneTemplatesResponseContent": ".types", - "GetGuardianFactorSmsTemplatesResponseContent": ".types", - "GetGuardianFactorsProviderApnsResponseContent": ".types", - "GetGuardianFactorsProviderPhoneResponseContent": ".types", - "GetGuardianFactorsProviderPhoneTwilioResponseContent": ".types", - "GetGuardianFactorsProviderPushNotificationResponseContent": ".types", - "GetGuardianFactorsProviderSmsResponseContent": ".types", - "GetGuardianFactorsProviderSmsTwilioResponseContent": ".types", - "GetGuardianFactorsProviderSnsResponseContent": ".types", - "GetHookResponseContent": ".types", - "GetHookSecretResponseContent": ".types", - "GetJobErrorResponseContent": ".types", - "GetJobGenericErrorResponseContent": ".types", - "GetJobImportUserError": ".types", - "GetJobResponseContent": ".types", - "GetJobSummary": ".types", - "GetJobUserError": ".types", - "GetLogResponseContent": ".types", - "GetLogStreamResponseContent": ".types", - "GetNetworkAclsResponseContent": ".types", - "GetOrganizationAllConnectionResponseContent": ".types", - "GetOrganizationByNameResponseContent": ".types", - "GetOrganizationConnectionResponseContent": ".types", - "GetOrganizationDiscoveryDomainByNameResponseContent": ".types", - "GetOrganizationDiscoveryDomainResponseContent": ".types", - "GetOrganizationInvitationResponseContent": ".types", - "GetOrganizationResponseContent": ".types", - "GetPartialsResponseContent": ".types", - "GetPhoneTemplateResponseContent": ".types", - "GetRateLimitPolicyResponseContent": ".types", - "GetRefreshTokenResponseContent": ".types", - "GetRefreshTokensPaginatedResponseContent": ".types", - "GetResourceServerResponseContent": ".types", - "GetRiskAssessmentsSettingsNewDeviceResponseContent": ".types", - "GetRiskAssessmentsSettingsResponseContent": ".types", - "GetRoleResponseContent": ".types", - "GetRuleResponseContent": ".types", - "GetScimConfigurationDefaultMappingResponseContent": ".types", - "GetScimConfigurationResponseContent": ".types", - "GetScimTokensResponseContent": ".types", - "GetSelfServiceProfileResponseContent": ".types", - "GetSessionResponseContent": ".types", - "GetSettingsResponseContent": ".types", - "GetSigningKeysResponseContent": ".types", - "GetSupplementalSignalsResponseContent": ".types", - "GetSuspiciousIpThrottlingSettingsResponseContent": ".types", - "GetTenantSettingsResponseContent": ".types", - "GetTokenExchangeProfileResponseContent": ".types", - "GetUniversalLoginTemplate": ".types", - "GetUniversalLoginTemplateResponseContent": ".types", - "GetUserAttributeProfileResponseContent": ".types", - "GetUserAttributeProfileTemplateResponseContent": ".types", - "GetUserAuthenticationMethodResponseContent": ".types", - "GetUserGroupsPaginatedResponseContent": ".types", - "GetUserResponseContent": ".types", - "GetVerifiableCredentialTemplateResponseContent": ".types", - "GoneError": ".errors", - "Group": ".types", - "GroupMember": ".types", - "GroupMemberTypeEnum": ".types", - "GroupTypeEnum": ".types", - "GuardianEnrollmentDate": ".types", - "GuardianEnrollmentFactorEnum": ".types", - "GuardianEnrollmentStatus": ".types", - "GuardianFactor": ".types", - "GuardianFactorNameEnum": ".types", - "GuardianFactorPhoneFactorMessageTypeEnum": ".types", - "GuardianFactorsProviderPushNotificationProviderDataEnum": ".types", - "GuardianFactorsProviderSmsProviderEnum": ".types", - "Hook": ".types", - "HookDependencies": ".types", - "HookTriggerIdEnum": ".types", - "HttpCustomHeader": ".types", - "Identity": ".types", - "IdentityProviderEnum": ".types", - "IdentityProviderOnlyAuth0Enum": ".types", - "ImportEncryptionKeyResponseContent": ".types", - "Integration": ".types", - "IntegrationFeatureTypeEnum": ".types", - "IntegrationRelease": ".types", - "IntegrationRequiredParam": ".types", - "IntegrationRequiredParamOption": ".types", - "IntegrationRequiredParamTypeEnum": ".types", - "IntegrationSemVer": ".types", - "InternalServerError": ".errors", - "JobFileFormatEnum": ".types", - "LinkedClientConfiguration": ".types", - "ListActionBindingsPaginatedResponseContent": ".types", - "ListActionTriggersResponseContent": ".types", - "ListActionVersionsPaginatedResponseContent": ".types", - "ListActionsPaginatedResponseContent": ".types", - "ListAculsOffsetPaginatedResponseContent": ".types", - "ListAculsResponseContentItem": ".types", - "ListBrandingPhoneProvidersResponseContent": ".types", - "ListClientConnectionsResponseContent": ".types", - "ListClientGrantOrganizationsPaginatedResponseContent": ".types", - "ListClientGrantPaginatedResponseContent": ".types", - "ListClientsOffsetPaginatedResponseContent": ".types", - "ListConnectionProfileTemplateResponseContent": ".types", - "ListConnectionProfilesPaginatedResponseContent": ".types", - "ListConnectionsCheckpointPaginatedResponseContent": ".types", - "ListCustomDomainsResponseContent": ".types", - "ListDeviceCredentialsOffsetPaginatedResponseContent": ".types", - "ListDirectoryProvisioningsResponseContent": ".types", - "ListEncryptionKeyOffsetPaginatedResponseContent": ".types", - "ListEventStreamsResponseContent": ".types", - "ListFlowExecutionsPaginatedResponseContent": ".types", - "ListFlowsOffsetPaginatedResponseContent": ".types", - "ListFlowsRequestParametersHydrateEnum": ".types", - "ListFlowsVaultConnectionsOffsetPaginatedResponseContent": ".types", - "ListFormsOffsetPaginatedResponseContent": ".types", - "ListGroupRolesResponseContent": ".types", - "ListGroupsPaginatedResponseContent": ".types", - "ListGuardianPoliciesResponseContent": ".types", - "ListHooksOffsetPaginatedResponseContent": ".types", - "ListLogOffsetPaginatedResponseContent": ".types", - "ListNetworkAclsOffsetPaginatedResponseContent": ".types", - "ListOrganizationAllConnectionsOffsetPaginatedResponseContent": ".types", - "ListOrganizationClientGrantsOffsetPaginatedResponseContent": ".types", - "ListOrganizationConnectionsOffsetPaginatedResponseContent": ".types", - "ListOrganizationDiscoveryDomainsResponseContent": ".types", - "ListOrganizationGroupRolesResponseContent": ".types", - "ListOrganizationGroupsResponseContent": ".types", - "ListOrganizationInvitationsOffsetPaginatedResponseContent": ".types", - "ListOrganizationMemberEffectiveRolesResponseContent": ".types", - "ListOrganizationMemberRoleSourceGroupsResponseContent": ".types", - "ListOrganizationMemberRolesOffsetPaginatedResponseContent": ".types", - "ListOrganizationMembersPaginatedResponseContent": ".types", - "ListOrganizationsPaginatedResponseContent": ".types", - "ListPhoneTemplatesResponseContent": ".types", - "ListRateLimitPoliciesPaginatedResponseContent": ".types", - "ListRefreshTokensPaginatedResponseContent": ".types", - "ListResourceServerOffsetPaginatedResponseContent": ".types", - "ListRoleGroupsResponseContent": ".types", - "ListRolePermissionsOffsetPaginatedResponseContent": ".types", - "ListRoleUsersPaginatedResponseContent": ".types", - "ListRolesOffsetPaginatedResponseContent": ".types", - "ListRulesOffsetPaginatedResponseContent": ".types", - "ListScimConfigurationsResponseContent": ".types", - "ListSelfServiceProfileCustomTextResponseContent": ".types", - "ListSelfServiceProfilesPaginatedResponseContent": ".types", - "ListSynchronizedGroupsResponseContent": ".types", - "ListTokenExchangeProfileResponseContent": ".types", - "ListUserAttributeProfileTemplateResponseContent": ".types", - "ListUserAttributeProfilesPaginatedResponseContent": ".types", - "ListUserAuthenticationMethodsOffsetPaginatedResponseContent": ".types", - "ListUserBlocksByIdentifierResponseContent": ".types", - "ListUserBlocksResponseContent": ".types", - "ListUserConnectedAccountsResponseContent": ".types", - "ListUserEffectivePermissionRoleSourcesResponseContent": ".types", - "ListUserEffectivePermissionsResponseContent": ".types", - "ListUserEffectiveRolesResponseContent": ".types", - "ListUserGrantsOffsetPaginatedResponseContent": ".types", - "ListUserOrganizationsOffsetPaginatedResponseContent": ".types", - "ListUserPermissionsOffsetPaginatedResponseContent": ".types", - "ListUserRoleSourceGroupsResponseContent": ".types", - "ListUserRolesOffsetPaginatedResponseContent": ".types", - "ListUserSessionsPaginatedResponseContent": ".types", - "ListUsersOffsetPaginatedResponseContent": ".types", - "ListVerifiableCredentialTemplatesPaginatedResponseContent": ".types", - "Log": ".types", - "LogDate": ".types", - "LogDateObject": ".types", - "LogDetails": ".types", - "LogLocationInfo": ".types", - "LogSecurityContext": ".types", - "LogStreamDatadogEnum": ".types", - "LogStreamDatadogRegionEnum": ".types", - "LogStreamDatadogResponseSchema": ".types", - "LogStreamDatadogSink": ".types", - "LogStreamEventBridgeEnum": ".types", - "LogStreamEventBridgeResponseSchema": ".types", - "LogStreamEventBridgeSink": ".types", - "LogStreamEventBridgeSinkRegionEnum": ".types", - "LogStreamEventGridEnum": ".types", - "LogStreamEventGridRegionEnum": ".types", - "LogStreamEventGridResponseSchema": ".types", - "LogStreamEventGridSink": ".types", - "LogStreamFilter": ".types", - "LogStreamFilterGroupNameEnum": ".types", - "LogStreamFilterTypeEnum": ".types", - "LogStreamHttpContentFormatEnum": ".types", - "LogStreamHttpEnum": ".types", - "LogStreamHttpResponseSchema": ".types", - "LogStreamHttpSink": ".types", - "LogStreamMixpanelEnum": ".types", - "LogStreamMixpanelRegionEnum": ".types", - "LogStreamMixpanelResponseSchema": ".types", - "LogStreamMixpanelSink": ".types", - "LogStreamMixpanelSinkPatch": ".types", - "LogStreamPiiAlgorithmEnum": ".types", - "LogStreamPiiConfig": ".types", - "LogStreamPiiLogFieldsEnum": ".types", - "LogStreamPiiMethodEnum": ".types", - "LogStreamResponseSchema": ".types", - "LogStreamSegmentEnum": ".types", - "LogStreamSegmentResponseSchema": ".types", - "LogStreamSegmentSink": ".types", - "LogStreamSegmentSinkWriteKey": ".types", - "LogStreamSinkPatch": ".types", - "LogStreamSplunkEnum": ".types", - "LogStreamSplunkResponseSchema": ".types", - "LogStreamSplunkSink": ".types", - "LogStreamStatusEnum": ".types", - "LogStreamSumoEnum": ".types", - "LogStreamSumoResponseSchema": ".types", - "LogStreamSumoSink": ".types", - "ManagementClient": ".management_client", - "MdlPresentationProperties": ".types", - "MdlPresentationRequest": ".types", - "MdlPresentationRequestProperties": ".types", - "MfaPolicyEnum": ".types", - "NativeSocialLogin": ".types", - "NativeSocialLoginApple": ".types", - "NativeSocialLoginFacebook": ".types", - "NativeSocialLoginGoogle": ".types", - "NetworkAclAction": ".types", - "NetworkAclActionAllowEnum": ".types", - "NetworkAclActionBlockEnum": ".types", - "NetworkAclActionLogEnum": ".types", - "NetworkAclActionRedirectEnum": ".types", - "NetworkAclMatch": ".types", - "NetworkAclMatchConnectingIpv4Cidr": ".types", - "NetworkAclMatchConnectingIpv6Cidr": ".types", - "NetworkAclMatchIpv4Cidr": ".types", - "NetworkAclMatchIpv6Cidr": ".types", - "NetworkAclRule": ".types", - "NetworkAclRuleScopeEnum": ".types", - "NetworkAclsResponseContent": ".types", - "NotFoundError": ".errors", - "OauthScope": ".types", - "Organization": ".types", - "OrganizationAccessLevelEnum": ".types", - "OrganizationAccessLevelEnumWithNull": ".types", - "OrganizationAllConnectionPost": ".types", - "OrganizationBranding": ".types", - "OrganizationBrandingColors": ".types", - "OrganizationClientGrant": ".types", - "OrganizationConnection": ".types", - "OrganizationConnectionInformation": ".types", - "OrganizationDiscoveryDomain": ".types", - "OrganizationDiscoveryDomainStatus": ".types", - "OrganizationEnabledConnection": ".types", - "OrganizationInvitation": ".types", - "OrganizationInvitationInvitee": ".types", - "OrganizationInvitationInviter": ".types", - "OrganizationMember": ".types", - "OrganizationMemberEffectiveRole": ".types", - "OrganizationMemberEffectiveRoleSource": ".types", - "OrganizationMemberRole": ".types", - "OrganizationMetadata": ".types", - "OrganizationUsageEnum": ".types", - "PartialGroupsEnum": ".types", - "PartialPhoneTemplateContent": ".types", - "PasswordCharacterTypeEnum": ".types", - "PasswordCharacterTypeRulePolicyEnum": ".types", - "PasswordDefaultDictionariesEnum": ".types", - "PasswordIdenticalCharactersPolicyEnum": ".types", - "PasswordMaxLengthExceededPolicyEnum": ".types", - "PasswordSequentialCharactersPolicyEnum": ".types", - "PatchClientCredentialResponseContent": ".types", - "PatchRateLimitPolicyConfigurationRequestContent": ".types", - "PatchRateLimitPolicyConfigurationRequestContentAction": ".types", - "PatchRateLimitPolicyConfigurationRequestContentActionAction": ".types", - "PatchRateLimitPolicyConfigurationRequestContentOne": ".types", - "PatchRateLimitPolicyConfigurationRequestContentOneAction": ".types", - "PatchRateLimitPolicyConfigurationRequestContentZero": ".types", - "PatchRateLimitPolicyConfigurationRequestContentZeroAction": ".types", - "PatchSupplementalSignalsResponseContent": ".types", - "PaymentRequiredError": ".errors", - "PermissionRequestPayload": ".types", - "PermissionsResponsePayload": ".types", - "PhoneAttribute": ".types", - "PhoneProviderChannelEnum": ".types", - "PhoneProviderConfiguration": ".types", - "PhoneProviderCredentials": ".types", - "PhoneProviderDeliveryMethodEnum": ".types", - "PhoneProviderNameEnum": ".types", - "PhoneProviderSchemaMasked": ".types", - "PhoneTemplate": ".types", - "PhoneTemplateBody": ".types", - "PhoneTemplateContent": ".types", - "PhoneTemplateNotificationTypeEnum": ".types", - "PostClientCredentialResponseContent": ".types", - "PostConnectionKeysAlgEnum": ".types", - "PostConnectionKeysRequestContent": ".types", - "PostConnectionsKeysResponseContent": ".types", - "PostConnectionsKeysResponseContentItem": ".types", - "PreconditionFailedError": ".errors", - "PreferredAuthenticationMethodEnum": ".types", - "PreviewCimdMetadataResponseContent": ".types", - "PromptGroupNameEnum": ".types", - "PromptLanguageEnum": ".types", - "PublicKeyCredential": ".types", - "PublicKeyCredentialAlgorithmEnum": ".types", - "PublicKeyCredentialTypeEnum": ".types", - "RateLimitPolicy": ".types", - "RateLimitPolicyConfiguration": ".types", - "RateLimitPolicyConfigurationAction": ".types", - "RateLimitPolicyConfigurationActionAction": ".types", - "RateLimitPolicyConfigurationOne": ".types", - "RateLimitPolicyConfigurationOneAction": ".types", - "RateLimitPolicyConfigurationZero": ".types", - "RateLimitPolicyConfigurationZeroAction": ".types", - "RateLimitPolicyConsumerEnum": ".types", - "RateLimitPolicyResourceEnum": ".types", - "RefreshTokenDate": ".types", - "RefreshTokenDateObject": ".types", - "RefreshTokenDevice": ".types", - "RefreshTokenExpirationTypeEnum": ".types", - "RefreshTokenMetadata": ".types", - "RefreshTokenResourceServer": ".types", - "RefreshTokenResponseContent": ".types", - "RefreshTokenRotationTypeEnum": ".types", - "RefreshTokenSessionId": ".types", - "RegenerateUsersRecoveryCodeResponseContent": ".types", - "RegisterCimdClientResponseContent": ".types", - "ResetPhoneTemplateRequestContent": ".types", - "ResetPhoneTemplateResponseContent": ".types", - "ResourceServer": ".types", - "ResourceServerAuthorizationPolicy": ".types", - "ResourceServerConsentPolicyEnum": ".types", - "ResourceServerProofOfPossession": ".types", - "ResourceServerProofOfPossessionMechanismEnum": ".types", - "ResourceServerProofOfPossessionRequiredForEnum": ".types", - "ResourceServerScope": ".types", - "ResourceServerSubjectTypeAuthorization": ".types", - "ResourceServerSubjectTypeAuthorizationClient": ".types", - "ResourceServerSubjectTypeAuthorizationClientPolicyEnum": ".types", - "ResourceServerSubjectTypeAuthorizationUser": ".types", - "ResourceServerSubjectTypeAuthorizationUserPolicyEnum": ".types", - "ResourceServerTokenDialectResponseEnum": ".types", - "ResourceServerTokenDialectSchemaEnum": ".types", - "ResourceServerTokenEncryption": ".types", - "ResourceServerTokenEncryptionAlgorithmEnum": ".types", - "ResourceServerTokenEncryptionFormatEnum": ".types", - "ResourceServerTokenEncryptionKey": ".types", - "ResourceServerVerificationKeyPemCertificate": ".types", - "RevokedSigningKeysResponseContent": ".types", - "Role": ".types", - "RoleUser": ".types", - "RollbackActionModuleResponseContent": ".types", - "RotateClientSecretResponseContent": ".types", - "RotateConnectionKeysRequestContent": ".types", - "RotateConnectionKeysSigningAlgEnum": ".types", - "RotateConnectionsKeysResponseContent": ".types", - "RotateSigningKeysResponseContent": ".types", - "Rule": ".types", - "RulesConfig": ".types", - "ScimConfiguration": ".types", - "ScimMappingItem": ".types", - "ScimTokenItem": ".types", - "ScreenGroupNameEnum": ".types", - "SearchEngineVersionsEnum": ".types", - "SelfServiceProfile": ".types", - "SelfServiceProfileAllowedStrategyEnum": ".types", - "SelfServiceProfileBranding": ".types", - "SelfServiceProfileBrandingColors": ".types", - "SelfServiceProfileBrandingProperties": ".types", - "SelfServiceProfileCustomTextLanguageEnum": ".types", - "SelfServiceProfileCustomTextPageEnum": ".types", - "SelfServiceProfileDescription": ".types", - "SelfServiceProfileSsoTicketConnectionConfig": ".types", - "SelfServiceProfileSsoTicketConnectionOptions": ".types", - "SelfServiceProfileSsoTicketDomainAliasesConfig": ".types", - "SelfServiceProfileSsoTicketDomainVerificationEnum": ".types", - "SelfServiceProfileSsoTicketEnabledFeatures": ".types", - "SelfServiceProfileSsoTicketEnabledOrganization": ".types", - "SelfServiceProfileSsoTicketGoogleWorkspaceConfig": ".types", - "SelfServiceProfileSsoTicketIdpInitiatedClientProtocolEnum": ".types", - "SelfServiceProfileSsoTicketIdpInitiatedOptions": ".types", - "SelfServiceProfileSsoTicketProvisioningConfig": ".types", - "SelfServiceProfileSsoTicketProvisioningScopeEnum": ".types", - "SelfServiceProfileUserAttribute": ".types", - "SelfServiceProfileUserAttributes": ".types", - "ServiceUnavailableError": ".errors", - "SessionAuthenticationSignal": ".types", - "SessionAuthenticationSignals": ".types", - "SessionClientMetadata": ".types", - "SessionCookieMetadata": ".types", - "SessionCookieMetadataModeEnum": ".types", - "SessionCookieModeEnum": ".types", - "SessionCookieSchema": ".types", - "SessionDate": ".types", - "SessionDeviceMetadata": ".types", - "SessionIp": ".types", - "SessionMetadata": ".types", - "SessionResponseContent": ".types", - "SetCustomSigningKeysResponseContent": ".types", - "SetEmailTemplateResponseContent": ".types", - "SetGuardianFactorDuoSettingsResponseContent": ".types", - "SetGuardianFactorPhoneMessageTypesResponseContent": ".types", - "SetGuardianFactorPhoneTemplatesResponseContent": ".types", - "SetGuardianFactorResponseContent": ".types", - "SetGuardianFactorSmsTemplatesResponseContent": ".types", - "SetGuardianFactorsProviderPhoneResponseContent": ".types", - "SetGuardianFactorsProviderPhoneTwilioResponseContent": ".types", - "SetGuardianFactorsProviderPushNotificationApnsResponseContent": ".types", - "SetGuardianFactorsProviderPushNotificationFcmResponseContent": ".types", - "SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent": ".types", - "SetGuardianFactorsProviderPushNotificationResponseContent": ".types", - "SetGuardianFactorsProviderPushNotificationSnsResponseContent": ".types", - "SetGuardianFactorsProviderSmsResponseContent": ".types", - "SetGuardianFactorsProviderSmsTwilioResponseContent": ".types", - "SetGuardianPoliciesRequestContent": ".types", - "SetGuardianPoliciesResponseContent": ".types", - "SetNetworkAclsResponseContent": ".types", - "SetPartialsRequestContent": ".types", - "SetRulesConfigResponseContent": ".types", - "SetSelfServiceProfileCustomTextRequestContent": ".types", - "SetSelfServiceProfileCustomTextResponseContent": ".types", - "SetUserAuthenticationMethodResponseContent": ".types", - "SetUserAuthenticationMethods": ".types", - "SetUserAuthenticationMethodsRequestContent": ".types", - "SetsCustomTextsByLanguageRequestContent": ".types", - "SigningAlgorithmEnum": ".types", - "SigningKeys": ".types", - "SigningKeysDate": ".types", - "SignupSchema": ".types", - "SignupStatusEnum": ".types", - "SignupVerification": ".types", - "SignupVerified": ".types", - "SupportedLocales": ".types", - "SuspiciousIpThrottlingAllowlist": ".types", - "SuspiciousIpThrottlingAllowlistItem": ".types", - "SuspiciousIpThrottlingPreLoginStage": ".types", - "SuspiciousIpThrottlingPreUserRegistrationStage": ".types", - "SuspiciousIpThrottlingShieldsEnum": ".types", - "SuspiciousIpThrottlingStage": ".types", - "SynchronizeGroupsEnum": ".types", - "SynchronizedGroupPayload": ".types", - "TenantOidcLogoutSettings": ".types", - "TenantSettingsCountryCodes": ".types", - "TenantSettingsCountryCodesMode": ".types", - "TenantSettingsCountryCodesModeResponse": ".types", - "TenantSettingsCountryCodesResponse": ".types", - "TenantSettingsDeviceFlow": ".types", - "TenantSettingsDeviceFlowCharset": ".types", - "TenantSettingsDynamicClientRegistrationSecurityMode": ".types", - "TenantSettingsErrorPage": ".types", - "TenantSettingsFlags": ".types", - "TenantSettingsGuardianPage": ".types", - "TenantSettingsMtls": ".types", - "TenantSettingsNullableSecurityHeaders": ".types", - "TenantSettingsPasswordPage": ".types", - "TenantSettingsResourceParameterProfile": ".types", - "TenantSettingsSessions": ".types", - "TenantSettingsSupportedLocalesEnum": ".types", - "TestActionPayload": ".types", - "TestActionResponseContent": ".types", - "TestActionResultPayload": ".types", - "TestCustomDomainResponseContent": ".types", - "TestEventDataContent": ".types", - "TokenExchangeProfileResponseContent": ".types", - "TokenExchangeProfileTypeEnum": ".types", - "TokenQuota": ".types", - "TokenQuotaClientCredentials": ".types", - "TokenQuotaConfiguration": ".types", - "TokenProvider": ".token_provider", - "TooManyRequestsError": ".errors", - "TooManyRequestsSchema": ".types", - "TooManyRequestsSchemaError": ".types", - "TwilioProviderConfiguration": ".types", - "TwilioProviderCredentials": ".types", - "TwilioProviderDeliveryMethodEnum": ".types", - "UnauthorizedError": ".errors", - "UnauthorizedSchema": ".types", - "UnauthorizedSchemaError": ".types", - "UniversalLoginExperienceEnum": ".types", - "UpdateActionBindingsResponseContent": ".types", - "UpdateActionModuleResponseContent": ".types", - "UpdateActionResponseContent": ".types", - "UpdateAculResponseContent": ".types", - "UpdateAttackProtectionCaptchaResponseContent": ".types", - "UpdateBotDetectionSettingsResponseContent": ".types", - "UpdateBrandingColors": ".types", - "UpdateBrandingFont": ".types", - "UpdateBrandingPageBackground": ".types", - "UpdateBrandingPhoneProviderResponseContent": ".types", - "UpdateBrandingResponseContent": ".types", - "UpdateBrandingThemeResponseContent": ".types", - "UpdateBreachedPasswordDetectionSettingsResponseContent": ".types", - "UpdateBruteForceSettingsResponseContent": ".types", - "UpdateClientGrantResponseContent": ".types", - "UpdateClientResponseContent": ".types", - "UpdateConnectionOptions": ".types", - "UpdateConnectionProfileResponseContent": ".types", - "UpdateConnectionRequestContentAd": ".types", - "UpdateConnectionRequestContentAdfs": ".types", - "UpdateConnectionRequestContentAmazon": ".types", - "UpdateConnectionRequestContentApple": ".types", - "UpdateConnectionRequestContentAuth0": ".types", - "UpdateConnectionRequestContentAuth0Oidc": ".types", - "UpdateConnectionRequestContentAzureAd": ".types", - "UpdateConnectionRequestContentBaidu": ".types", - "UpdateConnectionRequestContentBitbucket": ".types", - "UpdateConnectionRequestContentBitly": ".types", - "UpdateConnectionRequestContentBox": ".types", - "UpdateConnectionRequestContentCustom": ".types", - "UpdateConnectionRequestContentDaccount": ".types", - "UpdateConnectionRequestContentDropbox": ".types", - "UpdateConnectionRequestContentDwolla": ".types", - "UpdateConnectionRequestContentEmail": ".types", - "UpdateConnectionRequestContentEvernote": ".types", - "UpdateConnectionRequestContentEvernoteSandbox": ".types", - "UpdateConnectionRequestContentExact": ".types", - "UpdateConnectionRequestContentFacebook": ".types", - "UpdateConnectionRequestContentFitbit": ".types", - "UpdateConnectionRequestContentGitHub": ".types", - "UpdateConnectionRequestContentGoogleApps": ".types", - "UpdateConnectionRequestContentGoogleOAuth2": ".types", - "UpdateConnectionRequestContentInstagram": ".types", - "UpdateConnectionRequestContentIp": ".types", - "UpdateConnectionRequestContentLine": ".types", - "UpdateConnectionRequestContentLinkedin": ".types", - "UpdateConnectionRequestContentOAuth1": ".types", - "UpdateConnectionRequestContentOAuth2": ".types", - "UpdateConnectionRequestContentOffice365": ".types", - "UpdateConnectionRequestContentOidc": ".types", - "UpdateConnectionRequestContentOkta": ".types", - "UpdateConnectionRequestContentPaypal": ".types", - "UpdateConnectionRequestContentPaypalSandbox": ".types", - "UpdateConnectionRequestContentPingFederate": ".types", - "UpdateConnectionRequestContentPlanningCenter": ".types", - "UpdateConnectionRequestContentSalesforce": ".types", - "UpdateConnectionRequestContentSalesforceCommunity": ".types", - "UpdateConnectionRequestContentSalesforceSandbox": ".types", - "UpdateConnectionRequestContentSaml": ".types", - "UpdateConnectionRequestContentSharepoint": ".types", - "UpdateConnectionRequestContentShop": ".types", - "UpdateConnectionRequestContentShopify": ".types", - "UpdateConnectionRequestContentSms": ".types", - "UpdateConnectionRequestContentSoundcloud": ".types", - "UpdateConnectionRequestContentThirtySevenSignals": ".types", - "UpdateConnectionRequestContentTwitter": ".types", - "UpdateConnectionRequestContentUntappd": ".types", - "UpdateConnectionRequestContentVkontakte": ".types", - "UpdateConnectionRequestContentWeibo": ".types", - "UpdateConnectionRequestContentWindowsLive": ".types", - "UpdateConnectionRequestContentWordpress": ".types", - "UpdateConnectionRequestContentYahoo": ".types", - "UpdateConnectionRequestContentYandex": ".types", - "UpdateConnectionResponseContent": ".types", - "UpdateCustomDomainResponseContent": ".types", - "UpdateDefaultCanonicalDomainResponseContent": ".types", - "UpdateDefaultCustomDomainResponseContent": ".types", - "UpdateDefaultDomainResponseContent": ".types", - "UpdateDirectoryProvisioningRequestContent": ".types", - "UpdateDirectoryProvisioningResponseContent": ".types", - "UpdateEmailProviderResponseContent": ".types", - "UpdateEmailTemplateResponseContent": ".types", - "UpdateEnabledClientConnectionsRequestContent": ".types", - "UpdateEnabledClientConnectionsRequestContentItem": ".types", - "UpdateEventStreamResponseContent": ".types", - "UpdateFlowResponseContent": ".types", - "UpdateFlowsVaultConnectionResponseContent": ".types", - "UpdateFlowsVaultConnectionSetup": ".types", - "UpdateFormResponseContent": ".types", - "UpdateGuardianFactorDuoSettingsResponseContent": ".types", - "UpdateGuardianFactorsProviderPushNotificationApnsResponseContent": ".types", - "UpdateGuardianFactorsProviderPushNotificationFcmResponseContent": ".types", - "UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent": ".types", - "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent": ".types", - "UpdateHookResponseContent": ".types", - "UpdateHookSecretRequestContent": ".types", - "UpdateLogStreamResponseContent": ".types", - "UpdateNetworkAclResponseContent": ".types", - "UpdateOrganizationAllConnectionResponseContent": ".types", - "UpdateOrganizationConnectionResponseContent": ".types", - "UpdateOrganizationDiscoveryDomainResponseContent": ".types", - "UpdateOrganizationResponseContent": ".types", - "UpdatePhoneTemplateResponseContent": ".types", - "UpdateRateLimitPolicyResponseContent": ".types", - "UpdateRefreshTokenResponseContent": ".types", - "UpdateResourceServerResponseContent": ".types", - "UpdateRiskAssessmentsSettingsNewDeviceResponseContent": ".types", - "UpdateRiskAssessmentsSettingsResponseContent": ".types", - "UpdateRoleResponseContent": ".types", - "UpdateRuleResponseContent": ".types", - "UpdateScimConfigurationResponseContent": ".types", - "UpdateSelfServiceProfileResponseContent": ".types", - "UpdateSessionResponseContent": ".types", - "UpdateSettingsResponseContent": ".types", - "UpdateSuspiciousIpThrottlingSettingsResponseContent": ".types", - "UpdateTenantSettingsResponseContent": ".types", - "UpdateTokenQuota": ".types", - "UpdateUniversalLoginTemplateRequestContent": ".types", - "UpdateUniversalLoginTemplateRequestContentTemplate": ".types", - "UpdateUserAttributeProfileResponseContent": ".types", - "UpdateUserAuthenticationMethodResponseContent": ".types", - "UpdateUserResponseContent": ".types", - "UpdateVerifiableCredentialTemplateResponseContent": ".types", - "UserAppMetadataSchema": ".types", - "UserAttributeProfile": ".types", - "UserAttributeProfileId": ".types", - "UserAttributeProfileName": ".types", - "UserAttributeProfileOidcMapping": ".types", - "UserAttributeProfilePatchUserId": ".types", - "UserAttributeProfileSamlMapping": ".types", - "UserAttributeProfileStrategyOverrides": ".types", - "UserAttributeProfileStrategyOverridesMapping": ".types", - "UserAttributeProfileStrategyOverridesUserId": ".types", - "UserAttributeProfileStrategyOverridesUserIdMapping": ".types", - "UserAttributeProfileTemplate": ".types", - "UserAttributeProfileTemplateItem": ".types", - "UserAttributeProfileUserAttributeAdditionalProperties": ".types", - "UserAttributeProfileUserAttributes": ".types", - "UserAttributeProfileUserId": ".types", - "UserAttributeProfileUserIdOidcMappingEnum": ".types", - "UserAttributeProfileUserIdOidcStrategyOverrideMapping": ".types", - "UserAttributeProfileUserIdSamlMapping": ".types", - "UserAuthenticationMethod": ".types", - "UserAuthenticationMethodProperties": ".types", - "UserAuthenticationMethodPropertiesEnum": ".types", - "UserBlockIdentifier": ".types", - "UserDateSchema": ".types", - "UserEffectivePermissionResponseContent": ".types", - "UserEffectivePermissionRoleSourceEnum": ".types", - "UserEffectivePermissionRoleSourceResponseContent": ".types", - "UserEffectivePermissionSourceEnum": ".types", - "UserEffectiveRole": ".types", - "UserEffectiveRoleSource": ".types", - "UserEnrollmentAuthMethodEnum": ".types", - "UserEnrollmentStatusEnum": ".types", - "UserGrant": ".types", - "UserGroupsResponseSchema": ".types", - "UserId": ".types", - "UserIdentity": ".types", - "UserIdentityProviderEnum": ".types", - "UserIdentitySchema": ".types", - "UserListLogOffsetPaginatedResponseContent": ".types", - "UserMetadata": ".types", - "UserMetadataSchema": ".types", - "UserMultifactorProviderEnum": ".types", - "UserPermissionSchema": ".types", - "UserProfileData": ".types", - "UserResponseSchema": ".types", - "UsernameAllowedTypes": ".types", - "UsernameAttribute": ".types", - "UsernameValidation": ".types", - "UsersEnrollment": ".types", - "VerifiableCredentialTemplateResponse": ".types", - "VerificationMethodEnum": ".types", - "VerifyCustomDomainResponseContent": ".types", - "VerifyEmailTicketResponseContent": ".types", - "X509CertificateCredential": ".types", - "X509CertificateCredentialTypeEnum": ".types", - "XssProtectionConfig": ".types", - "XssProtectionMode": ".types", - "__version__": ".version", - "actions": ".actions", - "anomaly": ".anomaly", - "attack_protection": ".attack_protection", - "branding": ".branding", - "client_grants": ".client_grants", - "clients": ".clients", - "connection_profiles": ".connection_profiles", - "connections": ".connections", - "custom_domains": ".custom_domains", - "device_credentials": ".device_credentials", - "email_templates": ".email_templates", - "emails": ".emails", - "event_streams": ".event_streams", - "events": ".events", - "flows": ".flows", - "forms": ".forms", - "groups": ".groups", - "guardian": ".guardian", - "hooks": ".hooks", - "jobs": ".jobs", - "keys": ".keys", - "log_streams": ".log_streams", - "logs": ".logs", - "network_acls": ".network_acls", - "organizations": ".organizations", - "prompts": ".prompts", - "rate_limit_policies": ".rate_limit_policies", - "refresh_tokens": ".refresh_tokens", - "resource_servers": ".resource_servers", - "risk_assessments": ".risk_assessments", - "roles": ".roles", - "rules": ".rules", - "rules_configs": ".rules_configs", - "self_service_profiles": ".self_service_profiles", - "sessions": ".sessions", - "stats": ".stats", - "supplemental_signals": ".supplemental_signals", - "tenants": ".tenants", - "tickets": ".tickets", - "token_exchange_profiles": ".token_exchange_profiles", - "user_attribute_profiles": ".user_attribute_profiles", - "user_blocks": ".user_blocks", - "user_grants": ".user_grants", - "users": ".users", - "verifiable_credentials": ".verifiable_credentials", - } - - - def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - if module_name == f".{attr_name}": - return module - else: - return getattr(module, attr_name) - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - - def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - - __all__ = [ - "Action", - "ActionBase", - "ActionBinding", - "ActionBindingRef", - "ActionBindingRefTypeEnum", - "ActionBindingTypeEnum", - "ActionBindingWithRef", - "ActionBuildStatusEnum", - "ActionDeployedVersion", - "ActionError", - "ActionExecutionResult", - "ActionExecutionStatusEnum", - "ActionModuleAction", - "ActionModuleDependency", - "ActionModuleDependencyRequest", - "ActionModuleListItem", - "ActionModuleReference", - "ActionModuleSecret", - "ActionModuleSecretRequest", - "ActionModuleVersion", - "ActionModuleVersionReference", - "ActionSecretRequest", - "ActionSecretResponse", - "ActionTrigger", - "ActionTriggerCompatibleTrigger", - "ActionTriggerTypeEnum", - "ActionVersion", - "ActionVersionBuildStatusEnum", - "ActionVersionDependency", - "AculClientFilter", - "AculClientFilterById", - "AculClientFilterByMetadata", - "AculClientMetadata", - "AculConfigs", - "AculConfigsItem", - "AculContextConfiguration", - "AculContextConfigurationItem", - "AculContextEnum", - "AculDomainFilter", - "AculDomainFilterById", - "AculDomainFilterByMetadata", - "AculDomainMetadata", - "AculFilters", - "AculHeadTag", - "AculHeadTagAttributes", - "AculHeadTagContent", - "AculMatchTypeEnum", - "AculOrganizationFilter", - "AculOrganizationFilterById", - "AculOrganizationFilterByMetadata", - "AculOrganizationMetadata", - "AculRenderingModeEnum", - "AddOrganizationConnectionResponseContent", - "AnomalyIpFormat", - "AppMetadata", - "AssessorsTypeEnum", - "AssociateOrganizationClientGrantResponseContent", - "AsyncApprovalNotificationsChannelsEnum", - "AsyncAuth0", - "AsyncManagementClient", - "AsyncTokenProvider", - "AttackProtectionCaptchaArkoseResponseContent", - "AttackProtectionCaptchaAuthChallengeRequest", - "AttackProtectionCaptchaAuthChallengeResponseContent", - "AttackProtectionCaptchaFriendlyCaptchaResponseContent", - "AttackProtectionCaptchaHcaptchaResponseContent", - "AttackProtectionCaptchaProviderId", - "AttackProtectionCaptchaRecaptchaEnterpriseResponseContent", - "AttackProtectionCaptchaRecaptchaV2ResponseContent", - "AttackProtectionCaptchaSimpleCaptchaResponseContent", - "AttackProtectionUpdateCaptchaArkose", - "AttackProtectionUpdateCaptchaFriendlyCaptcha", - "AttackProtectionUpdateCaptchaHcaptcha", - "AttackProtectionUpdateCaptchaRecaptchaEnterprise", - "AttackProtectionUpdateCaptchaRecaptchaV2", - "Auth0", - "Auth0Environment", - "AuthenticationMethodTypeEnum", - "AuthenticationTypeEnum", - "BadRequestError", - "BadRequestSchema", - "BadRequestSchemaError", - "BotDetectionAllowlist", - "BotDetectionChallengePolicyPasswordFlowEnum", - "BotDetectionChallengePolicyPasswordResetFlowEnum", - "BotDetectionChallengePolicyPasswordlessFlowEnum", - "BotDetectionCidrBlock", - "BotDetectionIPv4", - "BotDetectionIPv6", - "BotDetectionIPv6CidrBlock", - "BotDetectionIpAddressOrCidrBlock", - "BotDetectionLevelEnum", - "BotDetectionMonitoringModeEnabled", - "BrandingColors", - "BrandingFont", - "BrandingPageBackground", - "BrandingThemeBorders", - "BrandingThemeBordersButtonsStyleEnum", - "BrandingThemeBordersInputsStyleEnum", - "BrandingThemeColors", - "BrandingThemeColorsCaptchaWidgetThemeEnum", - "BrandingThemeFontBodyText", - "BrandingThemeFontButtonsText", - "BrandingThemeFontInputLabels", - "BrandingThemeFontLinks", - "BrandingThemeFontLinksStyleEnum", - "BrandingThemeFontSubtitle", - "BrandingThemeFontTitle", - "BrandingThemeFonts", - "BrandingThemePageBackground", - "BrandingThemePageBackgroundPageLayoutEnum", - "BrandingThemeWidget", - "BrandingThemeWidgetHeaderTextAlignmentEnum", - "BrandingThemeWidgetLogoPositionEnum", - "BrandingThemeWidgetSocialButtonsLayoutEnum", - "BreachedPasswordDetectionAdminNotificationFrequencyEnum", - "BreachedPasswordDetectionMethodEnum", - "BreachedPasswordDetectionPreChangePasswordShieldsEnum", - "BreachedPasswordDetectionPreChangePasswordStage", - "BreachedPasswordDetectionPreUserRegistrationShieldsEnum", - "BreachedPasswordDetectionPreUserRegistrationStage", - "BreachedPasswordDetectionShieldsEnum", - "BreachedPasswordDetectionStage", - "BruteForceProtectionModeEnum", - "BruteForceProtectionShieldsEnum", - "BulkUpdateAculResponseContent", - "CertificateSubjectDnCredential", - "CertificateSubjectDnCredentialTypeEnum", - "ChangePasswordTicketIdentity", - "ChangePasswordTicketResponseContent", - "CimdMappedClientAuthenticationMethods", - "CimdMappedClientAuthenticationMethodsPrivateKeyJwt", - "CimdMappedClientFields", - "CimdMappedPrivateKeyJwtCredential", - "CimdValidationResult", - "Client", - "ClientAddonAws", - "ClientAddonAzureBlob", - "ClientAddonAzureSb", - "ClientAddonBox", - "ClientAddonCloudBees", - "ClientAddonConcur", - "ClientAddonDropbox", - "ClientAddonEchoSign", - "ClientAddonEgnyte", - "ClientAddonFirebase", - "ClientAddonLayer", - "ClientAddonMscrm", - "ClientAddonNewRelic", - "ClientAddonOag", - "ClientAddonOffice365", - "ClientAddonRms", - "ClientAddonSalesforce", - "ClientAddonSalesforceApi", - "ClientAddonSalesforceSandboxApi", - "ClientAddonSaml", - "ClientAddonSamlMapping", - "ClientAddonSapapi", - "ClientAddonSentry", - "ClientAddonSharePoint", - "ClientAddonSharePointExternalUrl", - "ClientAddonSlack", - "ClientAddonSpringCm", - "ClientAddonSsoIntegration", - "ClientAddonWams", - "ClientAddonWsFed", - "ClientAddonZendesk", - "ClientAddonZoom", - "ClientAddons", - "ClientAppTypeEnum", - "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration", - "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration", - "ClientAuthenticationMethod", - "ClientAuthenticationMethodPrivateKeyJwt", - "ClientAuthenticationMethodPrivateKeyJwtCredentials", - "ClientAuthenticationMethodSelfSignedTlsClientAuth", - "ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials", - "ClientAuthenticationMethodTlsClientAuth", - "ClientAuthenticationMethodTlsClientAuthCredentials", - "ClientComplianceLevelEnum", - "ClientCreateAuthenticationMethod", - "ClientCreateAuthenticationMethodPrivateKeyJwt", - "ClientCreateAuthenticationMethodPrivateKeyJwtCredentials", - "ClientCreateAuthenticationMethodTlsClientAuth", - "ClientCreateAuthenticationMethodTlsClientAuthCredentials", - "ClientCredential", - "ClientCredentialAlgorithmEnum", - "ClientCredentialTypeEnum", - "ClientDefaultOrganization", - "ClientDefaultOrganizationFlowsEnum", - "ClientEncryptionKey", - "ClientExternalMetadataCreatedByEnum", - "ClientExternalMetadataTypeEnum", - "ClientGrantAllowAnyOrganizationEnum", - "ClientGrantDefaultForEnum", - "ClientGrantOrganizationNullableUsageEnum", - "ClientGrantOrganizationUsageEnum", - "ClientGrantResponseContent", - "ClientGrantSubjectTypeEnum", - "ClientJwtConfiguration", - "ClientJwtConfigurationScopes", - "ClientMetadata", - "ClientMobile", - "ClientMobileAndroid", - "ClientMobileiOs", - "ClientMyOrganizationConfigurationAllowedStrategiesEnum", - "ClientMyOrganizationDeletionBehaviorEnum", - "ClientMyOrganizationPatchConfiguration", - "ClientMyOrganizationPostConfiguration", - "ClientMyOrganizationResponseConfiguration", - "ClientOidcBackchannelLogoutInitiators", - "ClientOidcBackchannelLogoutInitiatorsEnum", - "ClientOidcBackchannelLogoutInitiatorsModeEnum", - "ClientOidcBackchannelLogoutSessionMetadata", - "ClientOidcBackchannelLogoutSettings", - "ClientOrganizationDiscoveryEnum", - "ClientOrganizationRequireBehaviorEnum", - "ClientOrganizationRequireBehaviorPatchEnum", - "ClientOrganizationUsageEnum", - "ClientOrganizationUsagePatchEnum", - "ClientRedirectionPolicyEnum", - "ClientRefreshTokenConfiguration", - "ClientRefreshTokenPolicy", - "ClientSessionTransferAllowedAuthenticationMethodsEnum", - "ClientSessionTransferConfiguration", - "ClientSessionTransferDelegationConfiguration", - "ClientSessionTransferDelegationDeviceBindingEnum", - "ClientSessionTransferDeviceBindingEnum", - "ClientSignedRequestObjectWithCredentialId", - "ClientSignedRequestObjectWithPublicKey", - "ClientSigningKey", - "ClientSigningKeys", - "ClientThirdPartySecurityModeEnum", - "ClientTokenEndpointAuthMethodEnum", - "ClientTokenEndpointAuthMethodOrNullEnum", - "ClientTokenExchangeConfiguration", - "ClientTokenExchangeConfigurationOrNull", - "ClientTokenExchangeTypeEnum", - "ConflictError", - "ConnectedAccount", - "ConnectedAccountAccessTypeEnum", - "ConnectionAccessTokenUrloAuth1", - "ConnectionAcrValuesSupported", - "ConnectionAdminAccessTokenExpiresInGoogleApps", - "ConnectionAdminAccessTokenGoogleApps", - "ConnectionAdminRefreshTokenGoogleApps", - "ConnectionAgentIpad", - "ConnectionAgentModeAd", - "ConnectionAgentVersionAd", - "ConnectionAllowedAudiencesGoogleOAuth2", - "ConnectionApiBehaviorEnum", - "ConnectionApiEnableGroups", - "ConnectionApiEnableGroupsGoogleApps", - "ConnectionApiEnableUsers", - "ConnectionApiEnableUsersGoogleApps", - "ConnectionAppDomainAzureAd", - "ConnectionAssertionDecryptionAlgorithmProfileEnum", - "ConnectionAssertionDecryptionSettings", - "ConnectionAttributeIdentifier", - "ConnectionAttributeMapAttributes", - "ConnectionAttributeMapOidc", - "ConnectionAttributeMapOkta", - "ConnectionAttributeMapUserinfoScope", - "ConnectionAttributes", - "ConnectionAuthParamsAdditionalPropertiesOAuth2", - "ConnectionAuthParamsEmail", - "ConnectionAuthParamsMap", - "ConnectionAuthParamsOAuth2", - "ConnectionAuthenticationMethods", - "ConnectionAuthenticationPurpose", - "ConnectionAuthorizationEndpoint", - "ConnectionBaseUrlExact", - "ConnectionBruteForceProtection", - "ConnectionCalculatedThumbprintSaml", - "ConnectionCertsAd", - "ConnectionClaimTypesSupported", - "ConnectionClaimsLocalesSupported", - "ConnectionClaimsParameterSupported", - "ConnectionClaimsSupported", - "ConnectionClientId", - "ConnectionClientIdAmazon", - "ConnectionClientIdAzureAd", - "ConnectionClientIdBitbucket", - "ConnectionClientIdExact", - "ConnectionClientIdFacebook", - "ConnectionClientIdGoogleApps", - "ConnectionClientIdGoogleOAuth2", - "ConnectionClientIdLine", - "ConnectionClientIdLinkedin", - "ConnectionClientIdOAuth1", - "ConnectionClientIdOAuth2", - "ConnectionClientIdOidc", - "ConnectionClientIdPaypal", - "ConnectionClientIdSalesforce", - "ConnectionClientIdWindowsLive", - "ConnectionClientProtocolSaml", - "ConnectionClientSecret", - "ConnectionClientSecretAmazon", - "ConnectionClientSecretAzureAd", - "ConnectionClientSecretBitbucket", - "ConnectionClientSecretExact", - "ConnectionClientSecretFacebook", - "ConnectionClientSecretGoogleApps", - "ConnectionClientSecretGoogleOAuth2", - "ConnectionClientSecretLine", - "ConnectionClientSecretLinkedin", - "ConnectionClientSecretOAuth1", - "ConnectionClientSecretOAuth2", - "ConnectionClientSecretOidc", - "ConnectionClientSecretPaypal", - "ConnectionClientSecretSalesforce", - "ConnectionClientSecretWindowsLive", - "ConnectionCommon", - "ConnectionCommunityBaseUrlSalesforce", - "ConnectionConfiguration", - "ConnectionConnectedAccountsPurpose", - "ConnectionConnectedAccountsPurposeXaa", - "ConnectionConnectionSettings", - "ConnectionConnectionSettingsPkceEnum", - "ConnectionCustomHeadersOAuth2", - "ConnectionCustomScripts", - "ConnectionDebugSaml", - "ConnectionDecryptionKeySaml", - "ConnectionDecryptionKeySamlCert", - "ConnectionDestinationUrlSaml", - "ConnectionDigestAlgorithmEnumSaml", - "ConnectionDigestAlgorithmSaml", - "ConnectionDisableSelfServiceChangePassword", - "ConnectionDisableSignup", - "ConnectionDisableSignupSms", - "ConnectionDiscoveryUrl", - "ConnectionDisplayName", - "ConnectionDisplayValuesSupported", - "ConnectionDomainAliases", - "ConnectionDomainAliasesAd", - "ConnectionDomainAliasesAzureAd", - "ConnectionDomainAliasesItemsOne", - "ConnectionDomainAliasesSaml", - "ConnectionDomainGoogleApps", - "ConnectionDomainOkta", - "ConnectionDpopSigningAlgEnum", - "ConnectionDpopSigningAlgValuesSupported", - "ConnectionEmailBodyEmail", - "ConnectionEmailEmail", - "ConnectionEmailEmailSyntax", - "ConnectionEmailFromEmail", - "ConnectionEmailOtpAuthenticationMethod", - "ConnectionEmailSubjectEmail", - "ConnectionEnableScriptContext", - "ConnectionEnabledClient", - "ConnectionEnabledClients", - "ConnectionEnabledDatabaseCustomization", - "ConnectionEndSessionEndpoint", - "ConnectionEntityIdSaml", - "ConnectionExtAdmin", - "ConnectionExtAgreedTerms", - "ConnectionExtAgreedTermsGoogleApps", - "ConnectionExtAssignedPlans", - "ConnectionExtGroups", - "ConnectionExtGroupsAzureAd", - "ConnectionExtGroupsGoogleApps", - "ConnectionExtIsAdminGoogleApps", - "ConnectionExtIsSuspended", - "ConnectionExtIsSuspendedGoogleApps", - "ConnectionExtProfile", - "ConnectionFederatedConnectionsAccessTokens", - "ConnectionFieldsMap", - "ConnectionFieldsMapSaml", - "ConnectionFieldsMapSamlValue", - "ConnectionForList", - "ConnectionForOrganization", - "ConnectionForwardReqInfoSms", - "ConnectionFreeformScopesAmazon", - "ConnectionFreeformScopesGoogleOAuth2", - "ConnectionFreeformScopesLinkedin", - "ConnectionFreeformScopesPaypal", - "ConnectionFreeformScopesSalesforce", - "ConnectionFreeformScopesWindowsLive", - "ConnectionFromSms", - "ConnectionGatewayAuthentication", - "ConnectionGatewayAuthenticationAudienceSms", - "ConnectionGatewayAuthenticationMethodSms", - "ConnectionGatewayAuthenticationSms", - "ConnectionGatewayAuthenticationSubjectSms", - "ConnectionGatewayUrlSms", - "ConnectionGlobalTokenRevocationJwtIssSaml", - "ConnectionGlobalTokenRevocationJwtSubSaml", - "ConnectionGrantTypesSupported", - "ConnectionHandleLoginFromSocialGoogleApps", - "ConnectionHttpsUrlWithHttpFallback", - "ConnectionHttpsUrlWithHttpFallback2048", - "ConnectionHttpsUrlWithHttpFallback255", - "ConnectionIconUrl", - "ConnectionIconUrlAdfs", - "ConnectionIconUrlAzureAd", - "ConnectionIconUrlGoogleApps", - "ConnectionIconUrlGoogleOAuth2", - "ConnectionIconUrlSaml", - "ConnectionId", - "ConnectionIdTokenEncryptionAlgValuesSupported", - "ConnectionIdTokenEncryptionEncValuesSupported", - "ConnectionIdTokenSessionExpirySupported", - "ConnectionIdTokenSignedResponseAlgEnum", - "ConnectionIdTokenSignedResponseAlgs", - "ConnectionIdTokenSigningAlgValuesSupported", - "ConnectionIdentifierPrecedence", - "ConnectionIdentifierPrecedenceEnum", - "ConnectionIdentityApiAzureAd", - "ConnectionIdentityApiEnumAzureAd", - "ConnectionIdentityProviderEnum", - "ConnectionImportMode", - "ConnectionIpsAd", - "ConnectionIsDomainConnection", - "ConnectionIssuer", - "ConnectionJwksUri", - "ConnectionKey", - "ConnectionKeyUseEnum", - "ConnectionMappingModeEnumOidc", - "ConnectionMappingModeEnumOkta", - "ConnectionMaxGroupsToRetrieve", - "ConnectionMessagingServiceSidSms", - "ConnectionMetadataUrlSaml", - "ConnectionMetadataXml", - "ConnectionMetadataXmlAdfs", - "ConnectionMetadataXmlSaml", - "ConnectionMfa", - "ConnectionName", - "ConnectionNamePrefixTemplate", - "ConnectionNonPersistentAttrs", - "ConnectionOpPolicyUri", - "ConnectionOpTosUri", - "ConnectionOptions", - "ConnectionOptionsAd", - "ConnectionOptionsAdfs", - "ConnectionOptionsAmazon", - "ConnectionOptionsApple", - "ConnectionOptionsAuth0", - "ConnectionOptionsAuth0Oidc", - "ConnectionOptionsAzureAd", - "ConnectionOptionsBaidu", - "ConnectionOptionsBitbucket", - "ConnectionOptionsBitly", - "ConnectionOptionsBox", - "ConnectionOptionsClientIdGithub", - "ConnectionOptionsClientIdTwitter", - "ConnectionOptionsClientSecretGithub", - "ConnectionOptionsClientSecretTwitter", - "ConnectionOptionsCommon", - "ConnectionOptionsCommonOidc", - "ConnectionOptionsCommonSaml", - "ConnectionOptionsCustom", - "ConnectionOptionsDaccount", - "ConnectionOptionsDeflateSaml", - "ConnectionOptionsDropbox", - "ConnectionOptionsDwolla", - "ConnectionOptionsEmail", - "ConnectionOptionsEvernote", - "ConnectionOptionsExact", - "ConnectionOptionsFacebook", - "ConnectionOptionsFitbit", - "ConnectionOptionsFreeformScopesGithub", - "ConnectionOptionsGitHub", - "ConnectionOptionsGoogleApps", - "ConnectionOptionsGoogleOAuth2", - "ConnectionOptionsIdpInitiatedClientProtocolEnumSaml", - "ConnectionOptionsIdpinitiatedSaml", - "ConnectionOptionsInstagram", - "ConnectionOptionsIp", - "ConnectionOptionsLine", - "ConnectionOptionsLinkedin", - "ConnectionOptionsOAuth1", - "ConnectionOptionsOAuth1Common", - "ConnectionOptionsOAuth2", - "ConnectionOptionsOAuth2Common", - "ConnectionOptionsOffice365", - "ConnectionOptionsOidc", - "ConnectionOptionsOidcMetadata", - "ConnectionOptionsOkta", - "ConnectionOptionsPaypal", - "ConnectionOptionsPingFederate", - "ConnectionOptionsPlanningCenter", - "ConnectionOptionsProtocolEnumTwitter", - "ConnectionOptionsSalesforce", - "ConnectionOptionsSalesforceCommunity", - "ConnectionOptionsSaml", - "ConnectionOptionsScopeGithub", - "ConnectionOptionsScopeTwitter", - "ConnectionOptionsSharepoint", - "ConnectionOptionsShop", - "ConnectionOptionsShopify", - "ConnectionOptionsSms", - "ConnectionOptionsSoundcloud", - "ConnectionOptionsThirtySevenSignals", - "ConnectionOptionsTwitter", - "ConnectionOptionsUntappd", - "ConnectionOptionsVkontakte", - "ConnectionOptionsWeibo", - "ConnectionOptionsWindowsLive", - "ConnectionOptionsWordpress", - "ConnectionOptionsYahoo", - "ConnectionOptionsYandex", - "ConnectionPasskeyAuthenticationMethod", - "ConnectionPasskeyChallengeUiEnum", - "ConnectionPasskeyOptions", - "ConnectionPasswordAuthenticationMethod", - "ConnectionPasswordComplexityOptions", - "ConnectionPasswordDictionaryOptions", - "ConnectionPasswordHistoryOptions", - "ConnectionPasswordNoPersonalInfoOptions", - "ConnectionPasswordOptions", - "ConnectionPasswordOptionsComplexity", - "ConnectionPasswordOptionsDictionary", - "ConnectionPasswordOptionsHistory", - "ConnectionPasswordOptionsProfileData", - "ConnectionPasswordPolicyEnum", - "ConnectionPhoneOtpAuthenticationMethod", - "ConnectionPingFederateBaseUrl", - "ConnectionPingFederateBaseUrlPingFederate", - "ConnectionProfile", - "ConnectionProfileBitbucket", - "ConnectionProfileConfig", - "ConnectionProfileEnabledFeatures", - "ConnectionProfileId", - "ConnectionProfileName", - "ConnectionProfileOrganization", - "ConnectionProfileOrganizationAssignMembershipOnLoginEnum", - "ConnectionProfileOrganizationShowAsButtonEnum", - "ConnectionProfileStrategyOverride", - "ConnectionProfileStrategyOverrides", - "ConnectionProfileStrategyOverridesConnectionConfig", - "ConnectionProfileStrategyOverridesEnabledFeatures", - "ConnectionProfileTemplate", - "ConnectionProfileTemplateItem", - "ConnectionPropertiesOptions", - "ConnectionProtocolBindingEnumSaml", - "ConnectionProtocolBindingSaml", - "ConnectionProviderEnumSms", - "ConnectionProviderSms", - "ConnectionProvisioningTicketUrl", - "ConnectionPurposes", - "ConnectionRealmFallback", - "ConnectionRealms", - "ConnectionRecipientUrlSaml", - "ConnectionRegistrationEndpoint", - "ConnectionRequestObjectEncryptionAlgValuesSupported", - "ConnectionRequestObjectEncryptionEncValuesSupported", - "ConnectionRequestObjectSigningAlgValuesSupported", - "ConnectionRequestParameterSupported", - "ConnectionRequestTemplateSaml", - "ConnectionRequestTokenUrloAuth1", - "ConnectionRequestUriParameterSupported", - "ConnectionRequireRequestUriRegistration", - "ConnectionRequiresUsername", - "ConnectionResponseCommon", - "ConnectionResponseContentAd", - "ConnectionResponseContentAdStrategy", - "ConnectionResponseContentAdfs", - "ConnectionResponseContentAdfsStrategy", - "ConnectionResponseContentAmazon", - "ConnectionResponseContentAmazonStrategy", - "ConnectionResponseContentApple", - "ConnectionResponseContentAppleStrategy", - "ConnectionResponseContentAuth0", - "ConnectionResponseContentAuth0Oidc", - "ConnectionResponseContentAuth0OidcStrategy", - "ConnectionResponseContentAuth0Strategy", - "ConnectionResponseContentAzureAd", - "ConnectionResponseContentAzureAdStrategy", - "ConnectionResponseContentBaidu", - "ConnectionResponseContentBaiduStrategy", - "ConnectionResponseContentBitbucket", - "ConnectionResponseContentBitbucketStrategy", - "ConnectionResponseContentBitly", - "ConnectionResponseContentBitlyStrategy", - "ConnectionResponseContentBox", - "ConnectionResponseContentBoxStrategy", - "ConnectionResponseContentCustom", - "ConnectionResponseContentCustomStrategy", - "ConnectionResponseContentDaccount", - "ConnectionResponseContentDaccountStrategy", - "ConnectionResponseContentDropbox", - "ConnectionResponseContentDropboxStrategy", - "ConnectionResponseContentDwolla", - "ConnectionResponseContentDwollaStrategy", - "ConnectionResponseContentEmail", - "ConnectionResponseContentEmailStrategy", - "ConnectionResponseContentEvernote", - "ConnectionResponseContentEvernoteSandbox", - "ConnectionResponseContentEvernoteSandboxStrategy", - "ConnectionResponseContentEvernoteStrategy", - "ConnectionResponseContentExact", - "ConnectionResponseContentExactStrategy", - "ConnectionResponseContentFacebook", - "ConnectionResponseContentFacebookStrategy", - "ConnectionResponseContentFitbit", - "ConnectionResponseContentFitbitStrategy", - "ConnectionResponseContentGitHub", - "ConnectionResponseContentGitHubStrategy", - "ConnectionResponseContentGoogleApps", - "ConnectionResponseContentGoogleAppsStrategy", - "ConnectionResponseContentGoogleOAuth2", - "ConnectionResponseContentGoogleOAuth2Strategy", - "ConnectionResponseContentInstagram", - "ConnectionResponseContentInstagramStrategy", - "ConnectionResponseContentIp", - "ConnectionResponseContentIpStrategy", - "ConnectionResponseContentLine", - "ConnectionResponseContentLineStrategy", - "ConnectionResponseContentLinkedin", - "ConnectionResponseContentLinkedinStrategy", - "ConnectionResponseContentOAuth1", - "ConnectionResponseContentOAuth1Strategy", - "ConnectionResponseContentOAuth2", - "ConnectionResponseContentOAuth2Strategy", - "ConnectionResponseContentOffice365", - "ConnectionResponseContentOffice365Strategy", - "ConnectionResponseContentOidc", - "ConnectionResponseContentOidcStrategy", - "ConnectionResponseContentOkta", - "ConnectionResponseContentOktaStrategy", - "ConnectionResponseContentPaypal", - "ConnectionResponseContentPaypalSandbox", - "ConnectionResponseContentPaypalSandboxStrategy", - "ConnectionResponseContentPaypalStrategy", - "ConnectionResponseContentPingFederate", - "ConnectionResponseContentPingFederateStrategy", - "ConnectionResponseContentPlanningCenter", - "ConnectionResponseContentPlanningCenterStrategy", - "ConnectionResponseContentSalesforce", - "ConnectionResponseContentSalesforceCommunity", - "ConnectionResponseContentSalesforceCommunityStrategy", - "ConnectionResponseContentSalesforceSandbox", - "ConnectionResponseContentSalesforceSandboxStrategy", - "ConnectionResponseContentSalesforceStrategy", - "ConnectionResponseContentSaml", - "ConnectionResponseContentSamlStrategy", - "ConnectionResponseContentSharepoint", - "ConnectionResponseContentSharepointStrategy", - "ConnectionResponseContentShop", - "ConnectionResponseContentShopStrategy", - "ConnectionResponseContentShopify", - "ConnectionResponseContentShopifyStrategy", - "ConnectionResponseContentSms", - "ConnectionResponseContentSmsStrategy", - "ConnectionResponseContentSoundcloud", - "ConnectionResponseContentSoundcloudStrategy", - "ConnectionResponseContentThirtySevenSignals", - "ConnectionResponseContentThirtySevenSignalsStrategy", - "ConnectionResponseContentTwitter", - "ConnectionResponseContentTwitterStrategy", - "ConnectionResponseContentUntappd", - "ConnectionResponseContentUntappdStrategy", - "ConnectionResponseContentVkontakte", - "ConnectionResponseContentVkontakteStrategy", - "ConnectionResponseContentWeibo", - "ConnectionResponseContentWeiboStrategy", - "ConnectionResponseContentWindowsLive", - "ConnectionResponseContentWindowsLiveStrategy", - "ConnectionResponseContentWordpress", - "ConnectionResponseContentWordpressStrategy", - "ConnectionResponseContentYahoo", - "ConnectionResponseContentYahooStrategy", - "ConnectionResponseContentYandex", - "ConnectionResponseContentYandexStrategy", - "ConnectionResponseModesSupported", - "ConnectionResponseTypesSupported", - "ConnectionScopeAmazon", - "ConnectionScopeArray", - "ConnectionScopeArrayFacebook", - "ConnectionScopeArrayWindowsLive", - "ConnectionScopeAzureAd", - "ConnectionScopeFacebook", - "ConnectionScopeGoogleApps", - "ConnectionScopeGoogleOAuth2", - "ConnectionScopeItem", - "ConnectionScopeItemGoogleApps", - "ConnectionScopeLinkedin", - "ConnectionScopeOAuth2", - "ConnectionScopeOidc", - "ConnectionScopePaypal", - "ConnectionScopeSalesforce", - "ConnectionScopesSupported", - "ConnectionScriptsOAuth1", - "ConnectionScriptsOAuth2", - "ConnectionSendBackChannelNonce", - "ConnectionServiceDocumentation", - "ConnectionSetUserRootAttributesEnum", - "ConnectionSha1Thumbprint", - "ConnectionShouldTrustEmailVerifiedConnectionEnum", - "ConnectionShowAsButton", - "ConnectionSignInEndpointAd", - "ConnectionSignInEndpointAdfs", - "ConnectionSignInEndpointSaml", - "ConnectionSignOutEndpointSaml", - "ConnectionSignSamlRequestSaml", - "ConnectionSignatureAlgorithmEnumSaml", - "ConnectionSignatureAlgorithmSaml", - "ConnectionSignatureMethodOAuth1", - "ConnectionSigningCertSaml", - "ConnectionSigningCertificateDerSaml", - "ConnectionSigningCertificatePemPingFederate", - "ConnectionSigningCertificatePemSaml", - "ConnectionSigningKeySaml", - "ConnectionSignupBehaviorEnum", - "ConnectionStrategyEnum", - "ConnectionStrategyVersionEnumLinkedin", - "ConnectionStrategyVersionEnumWindowsLive", - "ConnectionSubjectTypesSupported", - "ConnectionTemplateSms", - "ConnectionTemplateSyntaxEnumSms", - "ConnectionTenantDomain", - "ConnectionTenantDomainAd", - "ConnectionTenantDomainAzureAdOne", - "ConnectionTenantDomainGoogleApps", - "ConnectionTenantDomainSaml", - "ConnectionTenantIdAzureAd", - "ConnectionThumbprints", - "ConnectionThumbprintsAd", - "ConnectionThumbprintsSaml", - "ConnectionTokenEndpoint", - "ConnectionTokenEndpointAuthMethodEnum", - "ConnectionTokenEndpointAuthMethodsSupported", - "ConnectionTokenEndpointAuthSigningAlgEnum", - "ConnectionTokenEndpointAuthSigningAlgValuesSupported", - "ConnectionTokenEndpointJwtcaAudFormatEnumOidc", - "ConnectionTotpEmail", - "ConnectionTotpLengthEmail", - "ConnectionTotpLengthPasswordless", - "ConnectionTotpLengthSms", - "ConnectionTotpSms", - "ConnectionTotpTimeStepEmail", - "ConnectionTotpTimeStepPasswordless", - "ConnectionTotpTimeStepSms", - "ConnectionTwilioSidSms", - "ConnectionTwilioTokenSms", - "ConnectionTypeEnumOidc", - "ConnectionTypeEnumOkta", - "ConnectionUiLocalesSupported", - "ConnectionUpstreamAdditionalProperties", - "ConnectionUpstreamAlias", - "ConnectionUpstreamAliasEnum", - "ConnectionUpstreamParams", - "ConnectionUpstreamParamsFacebook", - "ConnectionUpstreamValue", - "ConnectionUseCommonEndpointAzureAd", - "ConnectionUserAuthorizationUrloAuth1", - "ConnectionUserIdAttributeSaml", - "ConnectionUseridAttributeAzureAd", - "ConnectionUseridAttributeEnumAzureAd", - "ConnectionUserinfoEncryptionAlgValuesSupported", - "ConnectionUserinfoEncryptionEncValuesSupported", - "ConnectionUserinfoEndpoint", - "ConnectionUserinfoSigningAlgValuesSupported", - "ConnectionUsernameValidationOptions", - "ConnectionValidationOptions", - "ConnectionWaadProtocol", - "ConnectionWaadProtocolEnumAzureAd", - "ConnectionsMetadata", - "ContentSecurityPolicyConfig", - "ContentTooLargeError", - "CreateActionModuleResponseContent", - "CreateActionModuleVersionResponseContent", - "CreateActionResponseContent", - "CreateBrandingPhoneProviderResponseContent", - "CreateBrandingThemeResponseContent", - "CreateClientAuthenticationMethodSelfSignedTlsClientAuth", - "CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials", - "CreateClientGrantResponseContent", - "CreateClientResponseContent", - "CreateConnectionCommon", - "CreateConnectionProfileResponseContent", - "CreateConnectionRequestContentAd", - "CreateConnectionRequestContentAdStrategy", - "CreateConnectionRequestContentAdfs", - "CreateConnectionRequestContentAdfsStrategy", - "CreateConnectionRequestContentAmazon", - "CreateConnectionRequestContentAmazonStrategy", - "CreateConnectionRequestContentApple", - "CreateConnectionRequestContentAppleStrategy", - "CreateConnectionRequestContentAuth0", - "CreateConnectionRequestContentAuth0Oidc", - "CreateConnectionRequestContentAuth0OidcStrategy", - "CreateConnectionRequestContentAuth0Strategy", - "CreateConnectionRequestContentAzureAd", - "CreateConnectionRequestContentAzureAdStrategy", - "CreateConnectionRequestContentBaidu", - "CreateConnectionRequestContentBaiduStrategy", - "CreateConnectionRequestContentBitbucket", - "CreateConnectionRequestContentBitbucketStrategy", - "CreateConnectionRequestContentBitly", - "CreateConnectionRequestContentBitlyStrategy", - "CreateConnectionRequestContentBox", - "CreateConnectionRequestContentBoxStrategy", - "CreateConnectionRequestContentCustom", - "CreateConnectionRequestContentCustomStrategy", - "CreateConnectionRequestContentDaccount", - "CreateConnectionRequestContentDaccountStrategy", - "CreateConnectionRequestContentDropbox", - "CreateConnectionRequestContentDropboxStrategy", - "CreateConnectionRequestContentDwolla", - "CreateConnectionRequestContentDwollaStrategy", - "CreateConnectionRequestContentEmail", - "CreateConnectionRequestContentEmailStrategy", - "CreateConnectionRequestContentEvernote", - "CreateConnectionRequestContentEvernoteSandbox", - "CreateConnectionRequestContentEvernoteSandboxStrategy", - "CreateConnectionRequestContentEvernoteStrategy", - "CreateConnectionRequestContentExact", - "CreateConnectionRequestContentExactStrategy", - "CreateConnectionRequestContentFacebook", - "CreateConnectionRequestContentFacebookStrategy", - "CreateConnectionRequestContentFitbit", - "CreateConnectionRequestContentFitbitStrategy", - "CreateConnectionRequestContentGitHub", - "CreateConnectionRequestContentGitHubStrategy", - "CreateConnectionRequestContentGoogleApps", - "CreateConnectionRequestContentGoogleAppsStrategy", - "CreateConnectionRequestContentGoogleOAuth2", - "CreateConnectionRequestContentGoogleOAuth2Strategy", - "CreateConnectionRequestContentInstagram", - "CreateConnectionRequestContentInstagramStrategy", - "CreateConnectionRequestContentIp", - "CreateConnectionRequestContentIpStrategy", - "CreateConnectionRequestContentLine", - "CreateConnectionRequestContentLineStrategy", - "CreateConnectionRequestContentLinkedin", - "CreateConnectionRequestContentLinkedinStrategy", - "CreateConnectionRequestContentOAuth1", - "CreateConnectionRequestContentOAuth1Strategy", - "CreateConnectionRequestContentOAuth2", - "CreateConnectionRequestContentOAuth2Strategy", - "CreateConnectionRequestContentOffice365", - "CreateConnectionRequestContentOffice365Strategy", - "CreateConnectionRequestContentOidc", - "CreateConnectionRequestContentOidcStrategy", - "CreateConnectionRequestContentOkta", - "CreateConnectionRequestContentOktaStrategy", - "CreateConnectionRequestContentPaypal", - "CreateConnectionRequestContentPaypalSandbox", - "CreateConnectionRequestContentPaypalSandboxStrategy", - "CreateConnectionRequestContentPaypalStrategy", - "CreateConnectionRequestContentPingFederate", - "CreateConnectionRequestContentPingFederateStrategy", - "CreateConnectionRequestContentPlanningCenter", - "CreateConnectionRequestContentPlanningCenterStrategy", - "CreateConnectionRequestContentSalesforce", - "CreateConnectionRequestContentSalesforceCommunity", - "CreateConnectionRequestContentSalesforceCommunityStrategy", - "CreateConnectionRequestContentSalesforceSandbox", - "CreateConnectionRequestContentSalesforceSandboxStrategy", - "CreateConnectionRequestContentSalesforceStrategy", - "CreateConnectionRequestContentSaml", - "CreateConnectionRequestContentSamlStrategy", - "CreateConnectionRequestContentSharepoint", - "CreateConnectionRequestContentSharepointStrategy", - "CreateConnectionRequestContentShop", - "CreateConnectionRequestContentShopStrategy", - "CreateConnectionRequestContentShopify", - "CreateConnectionRequestContentShopifyStrategy", - "CreateConnectionRequestContentSms", - "CreateConnectionRequestContentSmsStrategy", - "CreateConnectionRequestContentSoundcloud", - "CreateConnectionRequestContentSoundcloudStrategy", - "CreateConnectionRequestContentThirtySevenSignals", - "CreateConnectionRequestContentThirtySevenSignalsStrategy", - "CreateConnectionRequestContentTwitter", - "CreateConnectionRequestContentTwitterStrategy", - "CreateConnectionRequestContentUntappd", - "CreateConnectionRequestContentUntappdStrategy", - "CreateConnectionRequestContentVkontakte", - "CreateConnectionRequestContentVkontakteStrategy", - "CreateConnectionRequestContentWeibo", - "CreateConnectionRequestContentWeiboStrategy", - "CreateConnectionRequestContentWindowsLive", - "CreateConnectionRequestContentWindowsLiveStrategy", - "CreateConnectionRequestContentWordpress", - "CreateConnectionRequestContentWordpressStrategy", - "CreateConnectionRequestContentYahoo", - "CreateConnectionRequestContentYahooStrategy", - "CreateConnectionRequestContentYandex", - "CreateConnectionRequestContentYandexStrategy", - "CreateConnectionResponseContent", - "CreateCustomDomainResponseContent", - "CreateDirectoryProvisioningRequestContent", - "CreateDirectoryProvisioningResponseContent", - "CreateDirectorySynchronizationResponseContent", - "CreateEmailProviderResponseContent", - "CreateEmailTemplateResponseContent", - "CreateEncryptionKeyPublicWrappingResponseContent", - "CreateEncryptionKeyResponseContent", - "CreateEncryptionKeyType", - "CreateEventStreamActionRequestContent", - "CreateEventStreamEventBridgeRequestContent", - "CreateEventStreamRedeliveryResponseContent", - "CreateEventStreamResponseContent", - "CreateEventStreamTestEventResponseContent", - "CreateEventStreamWebHookRequestContent", - "CreateExportUsersFields", - "CreateExportUsersResponseContent", - "CreateFlowResponseContent", - "CreateFlowsVaultConnectionActivecampaign", - "CreateFlowsVaultConnectionActivecampaignApiKey", - "CreateFlowsVaultConnectionActivecampaignUninitialized", - "CreateFlowsVaultConnectionAirtable", - "CreateFlowsVaultConnectionAirtableApiKey", - "CreateFlowsVaultConnectionAirtableUninitialized", - "CreateFlowsVaultConnectionAuth0", - "CreateFlowsVaultConnectionAuth0OauthApp", - "CreateFlowsVaultConnectionAuth0Uninitialized", - "CreateFlowsVaultConnectionBigquery", - "CreateFlowsVaultConnectionBigqueryJwt", - "CreateFlowsVaultConnectionBigqueryUninitialized", - "CreateFlowsVaultConnectionClearbit", - "CreateFlowsVaultConnectionClearbitApiKey", - "CreateFlowsVaultConnectionClearbitUninitialized", - "CreateFlowsVaultConnectionDocusign", - "CreateFlowsVaultConnectionDocusignOauthCode", - "CreateFlowsVaultConnectionDocusignUninitialized", - "CreateFlowsVaultConnectionGoogleSheets", - "CreateFlowsVaultConnectionGoogleSheetsOauthCode", - "CreateFlowsVaultConnectionGoogleSheetsUninitialized", - "CreateFlowsVaultConnectionHttp", - "CreateFlowsVaultConnectionHttpApiKey", - "CreateFlowsVaultConnectionHttpBasicAuth", - "CreateFlowsVaultConnectionHttpBearer", - "CreateFlowsVaultConnectionHttpOauthClientCredentials", - "CreateFlowsVaultConnectionHttpUninitialized", - "CreateFlowsVaultConnectionHubspot", - "CreateFlowsVaultConnectionHubspotApiKey", - "CreateFlowsVaultConnectionHubspotOauthCode", - "CreateFlowsVaultConnectionHubspotUninitialized", - "CreateFlowsVaultConnectionJwt", - "CreateFlowsVaultConnectionJwtJwt", - "CreateFlowsVaultConnectionJwtUninitialized", - "CreateFlowsVaultConnectionMailchimp", - "CreateFlowsVaultConnectionMailchimpApiKey", - "CreateFlowsVaultConnectionMailchimpOauthCode", - "CreateFlowsVaultConnectionMailchimpUninitialized", - "CreateFlowsVaultConnectionMailjet", - "CreateFlowsVaultConnectionMailjetApiKey", - "CreateFlowsVaultConnectionMailjetUninitialized", - "CreateFlowsVaultConnectionPipedrive", - "CreateFlowsVaultConnectionPipedriveOauthCode", - "CreateFlowsVaultConnectionPipedriveToken", - "CreateFlowsVaultConnectionPipedriveUninitialized", - "CreateFlowsVaultConnectionRequestContent", - "CreateFlowsVaultConnectionResponseContent", - "CreateFlowsVaultConnectionSalesforce", - "CreateFlowsVaultConnectionSalesforceOauthCode", - "CreateFlowsVaultConnectionSalesforceUninitialized", - "CreateFlowsVaultConnectionSendgrid", - "CreateFlowsVaultConnectionSendgridApiKey", - "CreateFlowsVaultConnectionSendgridUninitialized", - "CreateFlowsVaultConnectionSlack", - "CreateFlowsVaultConnectionSlackOauthCode", - "CreateFlowsVaultConnectionSlackUninitialized", - "CreateFlowsVaultConnectionSlackWebhook", - "CreateFlowsVaultConnectionStripe", - "CreateFlowsVaultConnectionStripeKeyPair", - "CreateFlowsVaultConnectionStripeOauthCode", - "CreateFlowsVaultConnectionStripeUninitialized", - "CreateFlowsVaultConnectionTelegram", - "CreateFlowsVaultConnectionTelegramToken", - "CreateFlowsVaultConnectionTelegramUninitialized", - "CreateFlowsVaultConnectionTwilio", - "CreateFlowsVaultConnectionTwilioApiKey", - "CreateFlowsVaultConnectionTwilioUninitialized", - "CreateFlowsVaultConnectionWhatsapp", - "CreateFlowsVaultConnectionWhatsappToken", - "CreateFlowsVaultConnectionWhatsappUninitialized", - "CreateFlowsVaultConnectionZapier", - "CreateFlowsVaultConnectionZapierUninitialized", - "CreateFlowsVaultConnectionZapierWebhook", - "CreateFormResponseContent", - "CreateGuardianEnrollmentTicketResponseContent", - "CreateHookResponseContent", - "CreateHookSecretRequestContent", - "CreateImportUsersResponseContent", - "CreateLogStreamDatadogRequestBody", - "CreateLogStreamEventBridgeRequestBody", - "CreateLogStreamEventGridRequestBody", - "CreateLogStreamHttpRequestBody", - "CreateLogStreamMixpanelRequestBody", - "CreateLogStreamRequestContent", - "CreateLogStreamResponseContent", - "CreateLogStreamSegmentRequestBody", - "CreateLogStreamSplunkRequestBody", - "CreateLogStreamSumoRequestBody", - "CreateOrganizationAllConnectionResponseContent", - "CreateOrganizationDiscoveryDomainResponseContent", - "CreateOrganizationInvitationResponseContent", - "CreateOrganizationResponseContent", - "CreatePhoneProviderSendTestResponseContent", - "CreatePhoneTemplateResponseContent", - "CreatePhoneTemplateTestNotificationResponseContent", - "CreatePublicKeyDeviceCredentialResponseContent", - "CreateRateLimitPolicyResponseContent", - "CreateResourceServerResponseContent", - "CreateRoleResponseContent", - "CreateRuleResponseContent", - "CreateScimConfigurationRequestContent", - "CreateScimConfigurationResponseContent", - "CreateScimTokenResponseContent", - "CreateSelfServiceProfileResponseContent", - "CreateSelfServiceProfileSsoTicketResponseContent", - "CreateTokenExchangeProfileResponseContent", - "CreateTokenQuota", - "CreateUserAttributeProfileResponseContent", - "CreateUserAuthenticationMethodResponseContent", - "CreateUserResponseContent", - "CreateVerifiableCredentialTemplateResponseContent", - "CreateVerificationEmailResponseContent", - "CreatedAuthenticationMethodTypeEnum", - "CreatedUserAuthenticationMethodTypeEnum", - "CredentialDeviceTypeEnum", - "CredentialId", - "CspDirectives", - "CspFlag", - "CspFlags", - "CspPolicies", - "CspPolicy", - "CspPolicyMode", - "CspPolicyReporting", - "CspReportTo", - "CspReportToEndpoint", - "CspReportToEndpoints", - "CspReportingEndpoints", - "CspReportingInfrastructure", - "CustomDomain", - "CustomDomainCustomClientIpHeader", - "CustomDomainCustomClientIpHeaderEnum", - "CustomDomainProvisioningTypeEnum", - "CustomDomainStatusFilterEnum", - "CustomDomainTlsPolicyEnum", - "CustomDomainTypeEnum", - "CustomDomainVerificationMethodEnum", - "CustomProviderConfiguration", - "CustomProviderCredentials", - "CustomProviderDeliveryMethodEnum", - "CustomSigningKeyAlgorithmEnum", - "CustomSigningKeyCurveEnum", - "CustomSigningKeyJwk", - "CustomSigningKeyOperationEnum", - "CustomSigningKeyTypeEnum", - "CustomSigningKeyUseEnum", - "DailyStats", - "DefaultAioHttpClient", - "DefaultAsyncHttpxClient", - "DefaultMethodEmailIdentifierEnum", - "DefaultTokenQuota", - "DeleteHookSecretRequestContent", - "DeleteUserIdentityResponseContent", - "DeleteUserIdentityResponseContentItem", - "DeployActionResponseContent", - "DeployActionVersionRequestContent", - "DeployActionVersionResponseContent", - "DeviceCredential", - "DeviceCredentialPublicKeyTypeEnum", - "DeviceCredentialTypeEnum", - "DirectoryProvisioning", - "DirectoryProvisioningMappingItem", - "DomainCertificate", - "DomainCertificateAuthorityEnum", - "DomainCertificateStatusEnum", - "DomainMetadata", - "DomainVerification", - "DomainVerificationMethod", - "DomainVerificationMethodNameEnum", - "DomainVerificationStatusEnum", - "EmailAttribute", - "EmailMailgunRegionEnum", - "EmailProviderCredentials", - "EmailProviderCredentialsSchema", - "EmailProviderCredentialsSchemaAccessKeyId", - "EmailProviderCredentialsSchemaApiKey", - "EmailProviderCredentialsSchemaClientId", - "EmailProviderCredentialsSchemaConnectionString", - "EmailProviderCredentialsSchemaSmtpHost", - "EmailProviderCredentialsSchemaThree", - "EmailProviderCredentialsSchemaZero", - "EmailProviderNameEnum", - "EmailProviderSettings", - "EmailSmtpHost", - "EmailSparkPostRegionEnum", - "EmailSpecificProviderSettingsWithAdditionalProperties", - "EmailTemplateNameEnum", - "EnabledFeaturesEnum", - "EncryptionKey", - "EncryptionKeyPublicWrappingAlgorithm", - "EncryptionKeyState", - "EncryptionKeyType", - "EventStreamActionConfiguration", - "EventStreamActionDestination", - "EventStreamActionDestinationTypeEnum", - "EventStreamActionResponseContent", - "EventStreamCloudEvent", - "EventStreamCloudEventA0PurposeEnum", - "EventStreamCloudEventContext", - "EventStreamCloudEventContextClient", - "EventStreamCloudEventContextClientMetadata", - "EventStreamCloudEventContextConnection", - "EventStreamCloudEventContextRequest", - "EventStreamCloudEventContextRequestGeo", - "EventStreamCloudEventContextTenant", - "EventStreamCloudEventErrorCodeEnum", - "EventStreamCloudEventErrorDetail", - "EventStreamCloudEventErrorMessage", - "EventStreamCloudEventErrorMessageTypeEnum", - "EventStreamCloudEventGroupCreated", - "EventStreamCloudEventGroupCreatedCloudEvent", - "EventStreamCloudEventGroupCreatedCloudEventTypeEnum", - "EventStreamCloudEventGroupCreatedData", - "EventStreamCloudEventGroupCreatedObject", - "EventStreamCloudEventGroupCreatedObject0", - "EventStreamCloudEventGroupCreatedObject0TypeEnum", - "EventStreamCloudEventGroupCreatedObject1", - "EventStreamCloudEventGroupCreatedObject1TypeEnum", - "EventStreamCloudEventGroupCreatedObject2", - "EventStreamCloudEventGroupCreatedObject2TypeEnum", - "EventStreamCloudEventGroupCreatedTypeEnum", - "EventStreamCloudEventGroupDeleted", - "EventStreamCloudEventGroupDeletedCloudEvent", - "EventStreamCloudEventGroupDeletedCloudEventTypeEnum", - "EventStreamCloudEventGroupDeletedData", - "EventStreamCloudEventGroupDeletedObject", - "EventStreamCloudEventGroupDeletedObject0", - "EventStreamCloudEventGroupDeletedObject0TypeEnum", - "EventStreamCloudEventGroupDeletedObject1", - "EventStreamCloudEventGroupDeletedObject1TypeEnum", - "EventStreamCloudEventGroupDeletedObject2", - "EventStreamCloudEventGroupDeletedObject2TypeEnum", - "EventStreamCloudEventGroupDeletedTypeEnum", - "EventStreamCloudEventGroupMemberAdded", - "EventStreamCloudEventGroupMemberAddedCloudEvent", - "EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum", - "EventStreamCloudEventGroupMemberAddedData", - "EventStreamCloudEventGroupMemberAddedObject", - "EventStreamCloudEventGroupMemberAddedObjectGroup", - "EventStreamCloudEventGroupMemberAddedObjectGroup0", - "EventStreamCloudEventGroupMemberAddedObjectGroup0TypeEnum", - "EventStreamCloudEventGroupMemberAddedObjectGroup1", - "EventStreamCloudEventGroupMemberAddedObjectGroup1TypeEnum", - "EventStreamCloudEventGroupMemberAddedObjectGroup2", - "EventStreamCloudEventGroupMemberAddedObjectGroup2TypeEnum", - "EventStreamCloudEventGroupMemberAddedObjectMember", - "EventStreamCloudEventGroupMemberAddedObjectMember0", - "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum", - "EventStreamCloudEventGroupMemberAddedObjectMember1", - "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum", - "EventStreamCloudEventGroupMemberAddedTypeEnum", - "EventStreamCloudEventGroupMemberDeleted", - "EventStreamCloudEventGroupMemberDeletedCloudEvent", - "EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum", - "EventStreamCloudEventGroupMemberDeletedData", - "EventStreamCloudEventGroupMemberDeletedObject", - "EventStreamCloudEventGroupMemberDeletedObjectGroup", - "EventStreamCloudEventGroupMemberDeletedObjectGroup0", - "EventStreamCloudEventGroupMemberDeletedObjectGroup0TypeEnum", - "EventStreamCloudEventGroupMemberDeletedObjectGroup1", - "EventStreamCloudEventGroupMemberDeletedObjectGroup1TypeEnum", - "EventStreamCloudEventGroupMemberDeletedObjectGroup2", - "EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum", - "EventStreamCloudEventGroupMemberDeletedObjectMember", - "EventStreamCloudEventGroupMemberDeletedObjectMember0", - "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum", - "EventStreamCloudEventGroupMemberDeletedObjectMember1", - "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum", - "EventStreamCloudEventGroupMemberDeletedTypeEnum", - "EventStreamCloudEventGroupRoleAssigned", - "EventStreamCloudEventGroupRoleAssignedCloudEvent", - "EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum", - "EventStreamCloudEventGroupRoleAssignedData", - "EventStreamCloudEventGroupRoleAssignedObject", - "EventStreamCloudEventGroupRoleAssignedObjectGroup", - "EventStreamCloudEventGroupRoleAssignedObjectGroup0", - "EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum", - "EventStreamCloudEventGroupRoleAssignedObjectGroup1", - "EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum", - "EventStreamCloudEventGroupRoleAssignedObjectGroup2", - "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum", - "EventStreamCloudEventGroupRoleAssignedObjectRole", - "EventStreamCloudEventGroupRoleAssignedTypeEnum", - "EventStreamCloudEventGroupRoleDeleted", - "EventStreamCloudEventGroupRoleDeletedCloudEvent", - "EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum", - "EventStreamCloudEventGroupRoleDeletedData", - "EventStreamCloudEventGroupRoleDeletedObject", - "EventStreamCloudEventGroupRoleDeletedObjectGroup", - "EventStreamCloudEventGroupRoleDeletedObjectGroup0", - "EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum", - "EventStreamCloudEventGroupRoleDeletedObjectGroup1", - "EventStreamCloudEventGroupRoleDeletedObjectGroup1TypeEnum", - "EventStreamCloudEventGroupRoleDeletedObjectGroup2", - "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum", - "EventStreamCloudEventGroupRoleDeletedObjectRole", - "EventStreamCloudEventGroupRoleDeletedTypeEnum", - "EventStreamCloudEventGroupUpdated", - "EventStreamCloudEventGroupUpdatedCloudEvent", - "EventStreamCloudEventGroupUpdatedCloudEventTypeEnum", - "EventStreamCloudEventGroupUpdatedData", - "EventStreamCloudEventGroupUpdatedObject", - "EventStreamCloudEventGroupUpdatedObject0", - "EventStreamCloudEventGroupUpdatedObject0TypeEnum", - "EventStreamCloudEventGroupUpdatedObject1", - "EventStreamCloudEventGroupUpdatedObject1TypeEnum", - "EventStreamCloudEventGroupUpdatedObject2", - "EventStreamCloudEventGroupUpdatedObject2TypeEnum", - "EventStreamCloudEventGroupUpdatedTypeEnum", - "EventStreamCloudEventOffsetOnlyMessage", - "EventStreamCloudEventOffsetOnlyMessageTypeEnum", - "EventStreamCloudEventOrgConnectionAdded", - "EventStreamCloudEventOrgConnectionAddedCloudEvent", - "EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum", - "EventStreamCloudEventOrgConnectionAddedData", - "EventStreamCloudEventOrgConnectionAddedObject", - "EventStreamCloudEventOrgConnectionAddedObjectConnection", - "EventStreamCloudEventOrgConnectionAddedObjectOrganization", - "EventStreamCloudEventOrgConnectionAddedTypeEnum", - "EventStreamCloudEventOrgConnectionRemoved", - "EventStreamCloudEventOrgConnectionRemovedCloudEvent", - "EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum", - "EventStreamCloudEventOrgConnectionRemovedData", - "EventStreamCloudEventOrgConnectionRemovedObject", - "EventStreamCloudEventOrgConnectionRemovedObjectConnection", - "EventStreamCloudEventOrgConnectionRemovedObjectOrganization", - "EventStreamCloudEventOrgConnectionRemovedTypeEnum", - "EventStreamCloudEventOrgConnectionUpdated", - "EventStreamCloudEventOrgConnectionUpdatedCloudEvent", - "EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum", - "EventStreamCloudEventOrgConnectionUpdatedData", - "EventStreamCloudEventOrgConnectionUpdatedObject", - "EventStreamCloudEventOrgConnectionUpdatedObjectConnection", - "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization", - "EventStreamCloudEventOrgConnectionUpdatedTypeEnum", - "EventStreamCloudEventOrgCreated", - "EventStreamCloudEventOrgCreatedCloudEvent", - "EventStreamCloudEventOrgCreatedCloudEventTypeEnum", - "EventStreamCloudEventOrgCreatedData", - "EventStreamCloudEventOrgCreatedObject", - "EventStreamCloudEventOrgCreatedObjectBranding", - "EventStreamCloudEventOrgCreatedObjectBrandingColors", - "EventStreamCloudEventOrgCreatedObjectMetadata", - "EventStreamCloudEventOrgCreatedTypeEnum", - "EventStreamCloudEventOrgDeleted", - "EventStreamCloudEventOrgDeletedCloudEvent", - "EventStreamCloudEventOrgDeletedCloudEventTypeEnum", - "EventStreamCloudEventOrgDeletedData", - "EventStreamCloudEventOrgDeletedObject", - "EventStreamCloudEventOrgDeletedObjectMetadata", - "EventStreamCloudEventOrgDeletedTypeEnum", - "EventStreamCloudEventOrgGroupRoleAssigned", - "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent", - "EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum", - "EventStreamCloudEventOrgGroupRoleAssignedData", - "EventStreamCloudEventOrgGroupRoleAssignedObject", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0TypeEnum", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1TypeEnum", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2", - "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum", - "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization", - "EventStreamCloudEventOrgGroupRoleAssignedObjectRole", - "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum", - "EventStreamCloudEventOrgGroupRoleDeleted", - "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent", - "EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum", - "EventStreamCloudEventOrgGroupRoleDeletedData", - "EventStreamCloudEventOrgGroupRoleDeletedObject", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0TypeEnum", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2", - "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum", - "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization", - "EventStreamCloudEventOrgGroupRoleDeletedObjectRole", - "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum", - "EventStreamCloudEventOrgMemberAdded", - "EventStreamCloudEventOrgMemberAddedCloudEvent", - "EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum", - "EventStreamCloudEventOrgMemberAddedData", - "EventStreamCloudEventOrgMemberAddedObject", - "EventStreamCloudEventOrgMemberAddedObjectOrganization", - "EventStreamCloudEventOrgMemberAddedObjectUser", - "EventStreamCloudEventOrgMemberAddedTypeEnum", - "EventStreamCloudEventOrgMemberDeleted", - "EventStreamCloudEventOrgMemberDeletedCloudEvent", - "EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum", - "EventStreamCloudEventOrgMemberDeletedData", - "EventStreamCloudEventOrgMemberDeletedObject", - "EventStreamCloudEventOrgMemberDeletedObjectOrganization", - "EventStreamCloudEventOrgMemberDeletedObjectUser", - "EventStreamCloudEventOrgMemberDeletedTypeEnum", - "EventStreamCloudEventOrgMemberRoleAssigned", - "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent", - "EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum", - "EventStreamCloudEventOrgMemberRoleAssignedData", - "EventStreamCloudEventOrgMemberRoleAssignedObject", - "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization", - "EventStreamCloudEventOrgMemberRoleAssignedObjectRole", - "EventStreamCloudEventOrgMemberRoleAssignedObjectUser", - "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum", - "EventStreamCloudEventOrgMemberRoleDeleted", - "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent", - "EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum", - "EventStreamCloudEventOrgMemberRoleDeletedData", - "EventStreamCloudEventOrgMemberRoleDeletedObject", - "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization", - "EventStreamCloudEventOrgMemberRoleDeletedObjectRole", - "EventStreamCloudEventOrgMemberRoleDeletedObjectUser", - "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum", - "EventStreamCloudEventOrgUpdated", - "EventStreamCloudEventOrgUpdatedCloudEvent", - "EventStreamCloudEventOrgUpdatedCloudEventTypeEnum", - "EventStreamCloudEventOrgUpdatedData", - "EventStreamCloudEventOrgUpdatedObject", - "EventStreamCloudEventOrgUpdatedObjectBranding", - "EventStreamCloudEventOrgUpdatedObjectBrandingColors", - "EventStreamCloudEventOrgUpdatedObjectMetadata", - "EventStreamCloudEventOrgUpdatedTypeEnum", - "EventStreamCloudEventUserCreated", - "EventStreamCloudEventUserCreatedCloudEvent", - "EventStreamCloudEventUserCreatedCloudEventTypeEnum", - "EventStreamCloudEventUserCreatedData", - "EventStreamCloudEventUserCreatedObject", - "EventStreamCloudEventUserCreatedObjectAppMetadata", - "EventStreamCloudEventUserCreatedObjectIdentitiesItem", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomIsSocialEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProfileData", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProviderEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomUserId", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserId", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseIsSocialEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProfileData", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProviderEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseUserId", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessIsSocialEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProfileData", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessUserId", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum", - "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId", - "EventStreamCloudEventUserCreatedObjectUserMetadata", - "EventStreamCloudEventUserCreatedTypeEnum", - "EventStreamCloudEventUserDeleted", - "EventStreamCloudEventUserDeletedCloudEvent", - "EventStreamCloudEventUserDeletedCloudEventTypeEnum", - "EventStreamCloudEventUserDeletedData", - "EventStreamCloudEventUserDeletedObject", - "EventStreamCloudEventUserDeletedObjectAppMetadata", - "EventStreamCloudEventUserDeletedObjectIdentitiesItem", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustom", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomIsSocialEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProfileData", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProviderEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomUserId", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabase", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseIsSocialEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProfileData", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProviderEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseUserId", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterprise", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseIsSocialEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProviderEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseUserId", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordless", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessIsSocialEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProfileData", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProviderEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessUserId", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum", - "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId", - "EventStreamCloudEventUserDeletedObjectUserMetadata", - "EventStreamCloudEventUserDeletedTypeEnum", - "EventStreamCloudEventUserUpdated", - "EventStreamCloudEventUserUpdatedCloudEvent", - "EventStreamCloudEventUserUpdatedCloudEventTypeEnum", - "EventStreamCloudEventUserUpdatedData", - "EventStreamCloudEventUserUpdatedObject", - "EventStreamCloudEventUserUpdatedObjectAppMetadata", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItem", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserId", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProfileData", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProviderEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseUserId", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseIsSocialEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProfileData", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserId", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessIsSocialEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProfileData", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProviderEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessUserId", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialIsSocialEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProfileData", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum", - "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId", - "EventStreamCloudEventUserUpdatedObjectUserMetadata", - "EventStreamCloudEventUserUpdatedTypeEnum", - "EventStreamDelivery", - "EventStreamDeliveryAttempt", - "EventStreamDeliveryEventTypeEnum", - "EventStreamDeliveryStatusEnum", - "EventStreamDestinationPatch", - "EventStreamEventBridgeAwsRegionEnum", - "EventStreamEventBridgeConfiguration", - "EventStreamEventBridgeDestination", - "EventStreamEventBridgeDestinationTypeEnum", - "EventStreamEventBridgeResponseContent", - "EventStreamEventTypeEnum", - "EventStreamResponseContent", - "EventStreamStatusEnum", - "EventStreamSubscribeEventsEventTypeEnum", - "EventStreamSubscribeEventsEventTypeParam", - "EventStreamSubscribeEventsResponseContent", - "EventStreamSubscribeEventsResponseContent_Error", - "EventStreamSubscribeEventsResponseContent_GroupCreated", - "EventStreamSubscribeEventsResponseContent_GroupDeleted", - "EventStreamSubscribeEventsResponseContent_GroupMemberAdded", - "EventStreamSubscribeEventsResponseContent_GroupMemberDeleted", - "EventStreamSubscribeEventsResponseContent_GroupRoleAssigned", - "EventStreamSubscribeEventsResponseContent_GroupRoleDeleted", - "EventStreamSubscribeEventsResponseContent_GroupUpdated", - "EventStreamSubscribeEventsResponseContent_OffsetOnly", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionAdded", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionRemoved", - "EventStreamSubscribeEventsResponseContent_OrganizationConnectionUpdated", - "EventStreamSubscribeEventsResponseContent_OrganizationCreated", - "EventStreamSubscribeEventsResponseContent_OrganizationDeleted", - "EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleAssigned", - "EventStreamSubscribeEventsResponseContent_OrganizationGroupRoleDeleted", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberAdded", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberDeleted", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleAssigned", - "EventStreamSubscribeEventsResponseContent_OrganizationMemberRoleDeleted", - "EventStreamSubscribeEventsResponseContent_OrganizationUpdated", - "EventStreamSubscribeEventsResponseContent_UserCreated", - "EventStreamSubscribeEventsResponseContent_UserDeleted", - "EventStreamSubscribeEventsResponseContent_UserUpdated", - "EventStreamSubscription", - "EventStreamTestEventTypeEnum", - "EventStreamWebhookAuthorizationResponse", - "EventStreamWebhookBasicAuth", - "EventStreamWebhookBasicAuthMethodEnum", - "EventStreamWebhookBearerAuth", - "EventStreamWebhookBearerAuthMethodEnum", - "EventStreamWebhookConfiguration", - "EventStreamWebhookCustomHeaderAuth", - "EventStreamWebhookCustomHeaderAuthMethodEnum", - "EventStreamWebhookDestination", - "EventStreamWebhookDestinationTypeEnum", - "EventStreamWebhookResponseContent", - "EventStreamsCreateRequest", - "ExpressConfiguration", - "ExpressConfigurationOrNull", - "ExtensibilityEmailProviderCredentials", - "FedCmLogin", - "FedCmLoginGoogle", - "FederatedConnectionTokenSet", - "FlowAction", - "FlowActionActivecampaign", - "FlowActionActivecampaignListContacts", - "FlowActionActivecampaignListContactsAction", - "FlowActionActivecampaignListContactsParams", - "FlowActionActivecampaignListContactsType", - "FlowActionActivecampaignUpsertContact", - "FlowActionActivecampaignUpsertContactAction", - "FlowActionActivecampaignUpsertContactParams", - "FlowActionActivecampaignUpsertContactParamsCustomFields", - "FlowActionActivecampaignUpsertContactType", - "FlowActionAirtable", - "FlowActionAirtableCreateRecord", - "FlowActionAirtableCreateRecordAction", - "FlowActionAirtableCreateRecordParams", - "FlowActionAirtableCreateRecordParamsFields", - "FlowActionAirtableCreateRecordType", - "FlowActionAirtableListRecords", - "FlowActionAirtableListRecordsAction", - "FlowActionAirtableListRecordsParams", - "FlowActionAirtableListRecordsType", - "FlowActionAirtableUpdateRecord", - "FlowActionAirtableUpdateRecordAction", - "FlowActionAirtableUpdateRecordParams", - "FlowActionAirtableUpdateRecordParamsFields", - "FlowActionAirtableUpdateRecordType", - "FlowActionAuth0", - "FlowActionAuth0CreateUser", - "FlowActionAuth0CreateUserAction", - "FlowActionAuth0CreateUserParams", - "FlowActionAuth0CreateUserParamsPayload", - "FlowActionAuth0CreateUserType", - "FlowActionAuth0GetUser", - "FlowActionAuth0GetUserAction", - "FlowActionAuth0GetUserParams", - "FlowActionAuth0GetUserType", - "FlowActionAuth0MakeCall", - "FlowActionAuth0MakeCallAction", - "FlowActionAuth0MakeCallParams", - "FlowActionAuth0MakeCallParamsCustomVars", - "FlowActionAuth0MakeCallType", - "FlowActionAuth0SendEmail", - "FlowActionAuth0SendEmailAction", - "FlowActionAuth0SendEmailParams", - "FlowActionAuth0SendEmailParamsFrom", - "FlowActionAuth0SendEmailParamsFromEmail", - "FlowActionAuth0SendEmailParamsTo", - "FlowActionAuth0SendEmailType", - "FlowActionAuth0SendRequest", - "FlowActionAuth0SendRequestAction", - "FlowActionAuth0SendRequestParams", - "FlowActionAuth0SendRequestParamsCustomVars", - "FlowActionAuth0SendRequestParamsHeaders", - "FlowActionAuth0SendRequestParamsMethod", - "FlowActionAuth0SendRequestParamsPayload", - "FlowActionAuth0SendRequestParamsPayloadObject", - "FlowActionAuth0SendRequestParamsQueryParams", - "FlowActionAuth0SendRequestParamsQueryParamsValue", - "FlowActionAuth0SendRequestType", - "FlowActionAuth0SendSms", - "FlowActionAuth0SendSmsAction", - "FlowActionAuth0SendSmsParams", - "FlowActionAuth0SendSmsParamsCustomVars", - "FlowActionAuth0SendSmsType", - "FlowActionAuth0UpdateUser", - "FlowActionAuth0UpdateUserAction", - "FlowActionAuth0UpdateUserParams", - "FlowActionAuth0UpdateUserParamsChanges", - "FlowActionAuth0UpdateUserType", - "FlowActionBigquery", - "FlowActionBigqueryInsertRows", - "FlowActionBigqueryInsertRowsAction", - "FlowActionBigqueryInsertRowsParams", - "FlowActionBigqueryInsertRowsParamsData", - "FlowActionBigqueryInsertRowsType", - "FlowActionClearbit", - "FlowActionClearbitFindCompany", - "FlowActionClearbitFindCompanyAction", - "FlowActionClearbitFindCompanyParams", - "FlowActionClearbitFindCompanyType", - "FlowActionClearbitFindPerson", - "FlowActionClearbitFindPersonAction", - "FlowActionClearbitFindPersonParams", - "FlowActionClearbitFindPersonType", - "FlowActionEmail", - "FlowActionEmailVerifyEmail", - "FlowActionEmailVerifyEmailAction", - "FlowActionEmailVerifyEmailParams", - "FlowActionEmailVerifyEmailParamsRules", - "FlowActionEmailVerifyEmailType", - "FlowActionFlow", - "FlowActionFlowBooleanCondition", - "FlowActionFlowBooleanConditionAction", - "FlowActionFlowBooleanConditionParams", - "FlowActionFlowBooleanConditionType", - "FlowActionFlowDelayFlow", - "FlowActionFlowDelayFlowAction", - "FlowActionFlowDelayFlowParams", - "FlowActionFlowDelayFlowParamsNumber", - "FlowActionFlowDelayFlowParamsUnits", - "FlowActionFlowDelayFlowType", - "FlowActionFlowDoNothing", - "FlowActionFlowDoNothingAction", - "FlowActionFlowDoNothingParams", - "FlowActionFlowDoNothingType", - "FlowActionFlowErrorMessage", - "FlowActionFlowErrorMessageAction", - "FlowActionFlowErrorMessageParams", - "FlowActionFlowErrorMessageType", - "FlowActionFlowMapValue", - "FlowActionFlowMapValueAction", - "FlowActionFlowMapValueParams", - "FlowActionFlowMapValueParamsCases", - "FlowActionFlowMapValueParamsFallback", - "FlowActionFlowMapValueParamsFallbackObject", - "FlowActionFlowMapValueParamsInput", - "FlowActionFlowMapValueType", - "FlowActionFlowReturnJson", - "FlowActionFlowReturnJsonAction", - "FlowActionFlowReturnJsonParams", - "FlowActionFlowReturnJsonParamsPayload", - "FlowActionFlowReturnJsonParamsPayloadObject", - "FlowActionFlowReturnJsonType", - "FlowActionFlowStoreVars", - "FlowActionFlowStoreVarsAction", - "FlowActionFlowStoreVarsParams", - "FlowActionFlowStoreVarsParamsVars", - "FlowActionFlowStoreVarsType", - "FlowActionGoogleSheets", - "FlowActionGoogleSheetsAddRow", - "FlowActionGoogleSheetsAddRowAction", - "FlowActionGoogleSheetsAddRowParams", - "FlowActionGoogleSheetsAddRowParamsSheetId", - "FlowActionGoogleSheetsAddRowParamsValues", - "FlowActionGoogleSheetsAddRowType", - "FlowActionHttp", - "FlowActionHttpSendRequest", - "FlowActionHttpSendRequestAction", - "FlowActionHttpSendRequestParams", - "FlowActionHttpSendRequestParamsBasicAuth", - "FlowActionHttpSendRequestParamsContentType", - "FlowActionHttpSendRequestParamsHeaders", - "FlowActionHttpSendRequestParamsMethod", - "FlowActionHttpSendRequestParamsPayload", - "FlowActionHttpSendRequestParamsPayloadObject", - "FlowActionHttpSendRequestParamsQueryParams", - "FlowActionHttpSendRequestParamsQueryParamsValue", - "FlowActionHttpSendRequestType", - "FlowActionHubspot", - "FlowActionHubspotEnrollContact", - "FlowActionHubspotEnrollContactAction", - "FlowActionHubspotEnrollContactParams", - "FlowActionHubspotEnrollContactParamsWorkflowId", - "FlowActionHubspotEnrollContactType", - "FlowActionHubspotGetContact", - "FlowActionHubspotGetContactAction", - "FlowActionHubspotGetContactParams", - "FlowActionHubspotGetContactType", - "FlowActionHubspotUpsertContact", - "FlowActionHubspotUpsertContactAction", - "FlowActionHubspotUpsertContactParams", - "FlowActionHubspotUpsertContactParamsProperty", - "FlowActionHubspotUpsertContactType", - "FlowActionJson", - "FlowActionJsonCreateJson", - "FlowActionJsonCreateJsonAction", - "FlowActionJsonCreateJsonParams", - "FlowActionJsonCreateJsonParamsObject", - "FlowActionJsonCreateJsonType", - "FlowActionJsonParseJson", - "FlowActionJsonParseJsonAction", - "FlowActionJsonParseJsonParams", - "FlowActionJsonParseJsonType", - "FlowActionJsonSerializeJson", - "FlowActionJsonSerializeJsonAction", - "FlowActionJsonSerializeJsonParams", - "FlowActionJsonSerializeJsonParamsObject", - "FlowActionJsonSerializeJsonParamsObjectObject", - "FlowActionJsonSerializeJsonType", - "FlowActionJwt", - "FlowActionJwtDecodeJwt", - "FlowActionJwtDecodeJwtAction", - "FlowActionJwtDecodeJwtParams", - "FlowActionJwtDecodeJwtType", - "FlowActionJwtSignJwt", - "FlowActionJwtSignJwtAction", - "FlowActionJwtSignJwtParams", - "FlowActionJwtSignJwtParamsPayload", - "FlowActionJwtSignJwtType", - "FlowActionJwtVerifyJwt", - "FlowActionJwtVerifyJwtAction", - "FlowActionJwtVerifyJwtParams", - "FlowActionJwtVerifyJwtType", - "FlowActionMailchimp", - "FlowActionMailchimpUpsertMember", - "FlowActionMailchimpUpsertMemberAction", - "FlowActionMailchimpUpsertMemberParams", - "FlowActionMailchimpUpsertMemberParamsMember", - "FlowActionMailchimpUpsertMemberParamsMemberMergeFields", - "FlowActionMailchimpUpsertMemberType", - "FlowActionMailjet", - "FlowActionMailjetSendEmail", - "FlowActionMailjetSendEmailAction", - "FlowActionMailjetSendEmailParams", - "FlowActionMailjetSendEmailParamsContent", - "FlowActionMailjetSendEmailParamsTemplateId", - "FlowActionMailjetSendEmailType", - "FlowActionOtp", - "FlowActionOtpGenerateCode", - "FlowActionOtpGenerateCodeAction", - "FlowActionOtpGenerateCodeParams", - "FlowActionOtpGenerateCodeType", - "FlowActionOtpVerifyCode", - "FlowActionOtpVerifyCodeAction", - "FlowActionOtpVerifyCodeParams", - "FlowActionOtpVerifyCodeParamsCode", - "FlowActionOtpVerifyCodeType", - "FlowActionPipedrive", - "FlowActionPipedriveAddDeal", - "FlowActionPipedriveAddDealAction", - "FlowActionPipedriveAddDealParams", - "FlowActionPipedriveAddDealParamsFields", - "FlowActionPipedriveAddDealParamsOrganizationId", - "FlowActionPipedriveAddDealParamsPersonId", - "FlowActionPipedriveAddDealParamsStageId", - "FlowActionPipedriveAddDealParamsUserId", - "FlowActionPipedriveAddDealType", - "FlowActionPipedriveAddOrganization", - "FlowActionPipedriveAddOrganizationAction", - "FlowActionPipedriveAddOrganizationParams", - "FlowActionPipedriveAddOrganizationParamsFields", - "FlowActionPipedriveAddOrganizationParamsOwnerId", - "FlowActionPipedriveAddOrganizationType", - "FlowActionPipedriveAddPerson", - "FlowActionPipedriveAddPersonAction", - "FlowActionPipedriveAddPersonParams", - "FlowActionPipedriveAddPersonParamsFields", - "FlowActionPipedriveAddPersonParamsOrganizationId", - "FlowActionPipedriveAddPersonParamsOwnerId", - "FlowActionPipedriveAddPersonType", - "FlowActionSalesforce", - "FlowActionSalesforceCreateLead", - "FlowActionSalesforceCreateLeadAction", - "FlowActionSalesforceCreateLeadParams", - "FlowActionSalesforceCreateLeadParamsPayload", - "FlowActionSalesforceCreateLeadType", - "FlowActionSalesforceGetLead", - "FlowActionSalesforceGetLeadAction", - "FlowActionSalesforceGetLeadParams", - "FlowActionSalesforceGetLeadType", - "FlowActionSalesforceSearchLeads", - "FlowActionSalesforceSearchLeadsAction", - "FlowActionSalesforceSearchLeadsParams", - "FlowActionSalesforceSearchLeadsParamsSearchField", - "FlowActionSalesforceSearchLeadsType", - "FlowActionSalesforceUpdateLead", - "FlowActionSalesforceUpdateLeadAction", - "FlowActionSalesforceUpdateLeadParams", - "FlowActionSalesforceUpdateLeadParamsPayload", - "FlowActionSalesforceUpdateLeadType", - "FlowActionSendgrid", - "FlowActionSendgridSendEmail", - "FlowActionSendgridSendEmailAction", - "FlowActionSendgridSendEmailParams", - "FlowActionSendgridSendEmailParamsPerson", - "FlowActionSendgridSendEmailType", - "FlowActionSlack", - "FlowActionSlackPostMessage", - "FlowActionSlackPostMessageAction", - "FlowActionSlackPostMessageParams", - "FlowActionSlackPostMessageParamsAttachment", - "FlowActionSlackPostMessageParamsAttachmentColor", - "FlowActionSlackPostMessageParamsAttachmentField", - "FlowActionSlackPostMessageType", - "FlowActionStripe", - "FlowActionStripeAddTaxId", - "FlowActionStripeAddTaxIdAction", - "FlowActionStripeAddTaxIdParams", - "FlowActionStripeAddTaxIdType", - "FlowActionStripeAddress", - "FlowActionStripeCreateCustomer", - "FlowActionStripeCreateCustomerAction", - "FlowActionStripeCreateCustomerParams", - "FlowActionStripeCreateCustomerType", - "FlowActionStripeCreatePortalSession", - "FlowActionStripeCreatePortalSessionAction", - "FlowActionStripeCreatePortalSessionParams", - "FlowActionStripeCreatePortalSessionType", - "FlowActionStripeDeleteTaxId", - "FlowActionStripeDeleteTaxIdAction", - "FlowActionStripeDeleteTaxIdParams", - "FlowActionStripeDeleteTaxIdType", - "FlowActionStripeFindCustomers", - "FlowActionStripeFindCustomersAction", - "FlowActionStripeFindCustomersParams", - "FlowActionStripeFindCustomersType", - "FlowActionStripeGetCustomer", - "FlowActionStripeGetCustomerAction", - "FlowActionStripeGetCustomerParams", - "FlowActionStripeGetCustomerType", - "FlowActionStripeMetadata", - "FlowActionStripeTaxId", - "FlowActionStripeUpdateCustomer", - "FlowActionStripeUpdateCustomerAction", - "FlowActionStripeUpdateCustomerParams", - "FlowActionStripeUpdateCustomerType", - "FlowActionTelegram", - "FlowActionTelegramSendMessage", - "FlowActionTelegramSendMessageAction", - "FlowActionTelegramSendMessageParams", - "FlowActionTelegramSendMessageType", - "FlowActionTwilio", - "FlowActionTwilioMakeCall", - "FlowActionTwilioMakeCallAction", - "FlowActionTwilioMakeCallParams", - "FlowActionTwilioMakeCallType", - "FlowActionTwilioSendSms", - "FlowActionTwilioSendSmsAction", - "FlowActionTwilioSendSmsParams", - "FlowActionTwilioSendSmsType", - "FlowActionWhatsapp", - "FlowActionWhatsappSendMessage", - "FlowActionWhatsappSendMessageAction", - "FlowActionWhatsappSendMessageParams", - "FlowActionWhatsappSendMessageParamsPayload", - "FlowActionWhatsappSendMessageParamsPayloadObject", - "FlowActionWhatsappSendMessageParamsType", - "FlowActionWhatsappSendMessageType", - "FlowActionXml", - "FlowActionXmlParseXml", - "FlowActionXmlParseXmlAction", - "FlowActionXmlParseXmlParams", - "FlowActionXmlParseXmlType", - "FlowActionXmlSerializeXml", - "FlowActionXmlSerializeXmlAction", - "FlowActionXmlSerializeXmlParams", - "FlowActionXmlSerializeXmlParamsObject", - "FlowActionXmlSerializeXmlParamsObjectObject", - "FlowActionXmlSerializeXmlType", - "FlowActionZapier", - "FlowActionZapierTriggerWebhook", - "FlowActionZapierTriggerWebhookAction", - "FlowActionZapierTriggerWebhookParams", - "FlowActionZapierTriggerWebhookParamsMethod", - "FlowActionZapierTriggerWebhookType", - "FlowExecutionDebug", - "FlowExecutionSummary", - "FlowSummary", - "FlowsVaultConnectioSetupApiKey", - "FlowsVaultConnectioSetupApiKeyWithBaseUrl", - "FlowsVaultConnectioSetupBigqueryOauthJwt", - "FlowsVaultConnectioSetupHttpBearer", - "FlowsVaultConnectioSetupJwt", - "FlowsVaultConnectioSetupJwtAlgorithmEnum", - "FlowsVaultConnectioSetupMailjetApiKey", - "FlowsVaultConnectioSetupOauthApp", - "FlowsVaultConnectioSetupOauthCode", - "FlowsVaultConnectioSetupSecretApiKey", - "FlowsVaultConnectioSetupStripeKeyPair", - "FlowsVaultConnectioSetupToken", - "FlowsVaultConnectioSetupTwilioApiKey", - "FlowsVaultConnectioSetupTypeApiKeyEnum", - "FlowsVaultConnectioSetupTypeBearerEnum", - "FlowsVaultConnectioSetupTypeJwtEnum", - "FlowsVaultConnectioSetupTypeKeyPairEnum", - "FlowsVaultConnectioSetupTypeOauthAppEnum", - "FlowsVaultConnectioSetupTypeOauthCodeEnum", - "FlowsVaultConnectioSetupTypeOauthJwtEnum", - "FlowsVaultConnectioSetupTypeTokenEnum", - "FlowsVaultConnectioSetupTypeWebhookEnum", - "FlowsVaultConnectioSetupWebhook", - "FlowsVaultConnectionAppIdActivecampaignEnum", - "FlowsVaultConnectionAppIdAirtableEnum", - "FlowsVaultConnectionAppIdAuth0Enum", - "FlowsVaultConnectionAppIdBigqueryEnum", - "FlowsVaultConnectionAppIdClearbitEnum", - "FlowsVaultConnectionAppIdDocusignEnum", - "FlowsVaultConnectionAppIdGoogleSheetsEnum", - "FlowsVaultConnectionAppIdHttpEnum", - "FlowsVaultConnectionAppIdHubspotEnum", - "FlowsVaultConnectionAppIdJwtEnum", - "FlowsVaultConnectionAppIdMailchimpEnum", - "FlowsVaultConnectionAppIdMailjetEnum", - "FlowsVaultConnectionAppIdPipedriveEnum", - "FlowsVaultConnectionAppIdSalesforceEnum", - "FlowsVaultConnectionAppIdSendgridEnum", - "FlowsVaultConnectionAppIdSlackEnum", - "FlowsVaultConnectionAppIdStripeEnum", - "FlowsVaultConnectionAppIdTelegramEnum", - "FlowsVaultConnectionAppIdTwilioEnum", - "FlowsVaultConnectionAppIdWhatsappEnum", - "FlowsVaultConnectionAppIdZapierEnum", - "FlowsVaultConnectionHttpApiKeySetup", - "FlowsVaultConnectionHttpApiKeySetupInEnum", - "FlowsVaultConnectionHttpBasicAuthSetup", - "FlowsVaultConnectionHttpOauthClientCredentialsSetup", - "FlowsVaultConnectionSetupTypeApiKeyEnum", - "FlowsVaultConnectionSetupTypeBasicAuthEnum", - "FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum", - "FlowsVaultConnectionSummary", - "ForbiddenError", - "ForbiddenSchema", - "ForbiddenSchemaError", - "FormBlock", - "FormBlockDivider", - "FormBlockDividerConfig", - "FormBlockHtml", - "FormBlockHtmlConfig", - "FormBlockImage", - "FormBlockImageConfig", - "FormBlockImageConfigPositionEnum", - "FormBlockJumpButton", - "FormBlockJumpButtonConfig", - "FormBlockJumpButtonConfigStyle", - "FormBlockNextButton", - "FormBlockNextButtonConfig", - "FormBlockPreviousButton", - "FormBlockPreviousButtonConfig", - "FormBlockResendButton", - "FormBlockResendButtonConfig", - "FormBlockResendButtonConfigTextAlignmentEnum", - "FormBlockRichText", - "FormBlockRichTextConfig", - "FormBlockTypeDividerConst", - "FormBlockTypeHtmlConst", - "FormBlockTypeImageConst", - "FormBlockTypeJumpButtonConst", - "FormBlockTypeNextButtonConst", - "FormBlockTypePreviousButtonConst", - "FormBlockTypeResendButtonConst", - "FormBlockTypeRichTextConst", - "FormComponent", - "FormComponentCategoryBlockConst", - "FormComponentCategoryFieldConst", - "FormComponentCategoryWidgetConst", - "FormEndingNode", - "FormEndingNodeAfterSubmit", - "FormEndingNodeId", - "FormEndingNodeNullable", - "FormEndingNodeRedirection", - "FormEndingNodeResumeFlowTrueConst", - "FormField", - "FormFieldBoolean", - "FormFieldBooleanConfig", - "FormFieldBooleanConfigOptions", - "FormFieldCards", - "FormFieldCardsConfig", - "FormFieldCardsConfigOption", - "FormFieldChoice", - "FormFieldChoiceConfig", - "FormFieldChoiceConfigAllowOther", - "FormFieldChoiceConfigAllowOtherEnabledTrueEnum", - "FormFieldChoiceConfigOption", - "FormFieldCustom", - "FormFieldCustomConfig", - "FormFieldCustomConfigParams", - "FormFieldCustomConfigSchema", - "FormFieldDate", - "FormFieldDateConfig", - "FormFieldDateConfigFormatEnum", - "FormFieldDropdown", - "FormFieldDropdownConfig", - "FormFieldDropdownConfigOption", - "FormFieldEmail", - "FormFieldEmailConfig", - "FormFieldFile", - "FormFieldFileConfig", - "FormFieldFileConfigCategoryEnum", - "FormFieldFileConfigStorage", - "FormFieldFileConfigStorageTypeEnum", - "FormFieldLegal", - "FormFieldLegalConfig", - "FormFieldNumber", - "FormFieldNumberConfig", - "FormFieldPassword", - "FormFieldPasswordConfig", - "FormFieldPasswordConfigHashEnum", - "FormFieldPayment", - "FormFieldPaymentConfig", - "FormFieldPaymentConfigCharge", - "FormFieldPaymentConfigChargeOneOff", - "FormFieldPaymentConfigChargeOneOffCurrencyEnum", - "FormFieldPaymentConfigChargeOneOffOneOff", - "FormFieldPaymentConfigChargeOneOffOneOffAmount", - "FormFieldPaymentConfigChargeSubscription", - "FormFieldPaymentConfigChargeTypeOneOffConst", - "FormFieldPaymentConfigChargeTypeSubscriptionConst", - "FormFieldPaymentConfigCredentials", - "FormFieldPaymentConfigCustomer", - "FormFieldPaymentConfigFieldProperties", - "FormFieldPaymentConfigFields", - "FormFieldPaymentConfigProviderEnum", - "FormFieldPaymentConfigSubscription", - "FormFieldSocial", - "FormFieldSocialConfig", - "FormFieldTel", - "FormFieldTelConfig", - "FormFieldTelConfigStrings", - "FormFieldText", - "FormFieldTextConfig", - "FormFieldTypeBooleanConst", - "FormFieldTypeCardsConst", - "FormFieldTypeChoiceConst", - "FormFieldTypeCustomConst", - "FormFieldTypeDateConst", - "FormFieldTypeDropdownConst", - "FormFieldTypeEmailConst", - "FormFieldTypeFileConst", - "FormFieldTypeLegalConst", - "FormFieldTypeNumberConst", - "FormFieldTypePasswordConst", - "FormFieldTypePaymentConst", - "FormFieldTypeSocialConst", - "FormFieldTypeTelConst", - "FormFieldTypeTextConst", - "FormFieldTypeUrlConst", - "FormFieldUrl", - "FormFieldUrlConfig", - "FormFlow", - "FormFlowConfig", - "FormHiddenField", - "FormLanguages", - "FormLanguagesNullable", - "FormMessages", - "FormMessagesCustom", - "FormMessagesError", - "FormMessagesNullable", - "FormNode", - "FormNodeCoordinates", - "FormNodeList", - "FormNodeListNullable", - "FormNodePointer", - "FormNodeTypeFlowConst", - "FormNodeTypeRouterConst", - "FormNodeTypeStepConst", - "FormRouter", - "FormRouterConfig", - "FormRouterRule", - "FormStartNode", - "FormStartNodeNullable", - "FormStep", - "FormStepComponentList", - "FormStepConfig", - "FormStyle", - "FormStyleNullable", - "FormSummary", - "FormTranslations", - "FormTranslationsNullable", - "FormWidget", - "FormWidgetAuth0VerifiableCredentials", - "FormWidgetAuth0VerifiableCredentialsConfig", - "FormWidgetGMapsAddress", - "FormWidgetGMapsAddressConfig", - "FormWidgetRecaptcha", - "FormWidgetRecaptchaConfig", - "FormWidgetTypeAuth0VerifiableCredentialsConst", - "FormWidgetTypeGMapsAddressConst", - "FormWidgetTypeRecaptchaConst", - "FormsRequestParametersHydrateEnum", - "GetActionExecutionResponseContent", - "GetActionModuleActionsResponseContent", - "GetActionModuleResponseContent", - "GetActionModuleVersionResponseContent", - "GetActionModuleVersionsResponseContent", - "GetActionModulesResponseContent", - "GetActionResponseContent", - "GetActionVersionResponseContent", - "GetActiveUsersCountStatsResponseContent", - "GetAculResponseContent", - "GetAttackProtectionCaptchaResponseContent", - "GetBotDetectionSettingsResponseContent", - "GetBrandingDefaultThemeResponseContent", - "GetBrandingPhoneProviderResponseContent", - "GetBrandingResponseContent", - "GetBrandingThemeResponseContent", - "GetBreachedPasswordDetectionSettingsResponseContent", - "GetBruteForceSettingsResponseContent", - "GetClientCredentialResponseContent", - "GetClientGrantResponseContent", - "GetClientResponseContent", - "GetConnectionEnabledClientsResponseContent", - "GetConnectionProfileResponseContent", - "GetConnectionProfileTemplateResponseContent", - "GetConnectionResponseContent", - "GetCustomDomainResponseContent", - "GetCustomSigningKeysResponseContent", - "GetCustomTextsByLanguageResponseContent", - "GetDefaultCanonicalDomainResponseContent", - "GetDefaultCustomDomainResponseContent", - "GetDefaultDomainResponseContent", - "GetDirectoryProvisioningDefaultMappingResponseContent", - "GetDirectoryProvisioningResponseContent", - "GetEmailProviderResponseContent", - "GetEmailTemplateResponseContent", - "GetEncryptionKeyResponseContent", - "GetEventStreamDeliveryHistoryResponseContent", - "GetEventStreamResponseContent", - "GetFlowExecutionRequestParametersHydrateEnum", - "GetFlowExecutionResponseContent", - "GetFlowRequestParametersHydrateEnum", - "GetFlowResponseContent", - "GetFlowsVaultConnectionResponseContent", - "GetFormResponseContent", - "GetGroupMembersResponseContent", - "GetGroupResponseContent", - "GetGuardianEnrollmentResponseContent", - "GetGuardianFactorDuoSettingsResponseContent", - "GetGuardianFactorPhoneMessageTypesResponseContent", - "GetGuardianFactorPhoneTemplatesResponseContent", - "GetGuardianFactorSmsTemplatesResponseContent", - "GetGuardianFactorsProviderApnsResponseContent", - "GetGuardianFactorsProviderPhoneResponseContent", - "GetGuardianFactorsProviderPhoneTwilioResponseContent", - "GetGuardianFactorsProviderPushNotificationResponseContent", - "GetGuardianFactorsProviderSmsResponseContent", - "GetGuardianFactorsProviderSmsTwilioResponseContent", - "GetGuardianFactorsProviderSnsResponseContent", - "GetHookResponseContent", - "GetHookSecretResponseContent", - "GetJobErrorResponseContent", - "GetJobGenericErrorResponseContent", - "GetJobImportUserError", - "GetJobResponseContent", - "GetJobSummary", - "GetJobUserError", - "GetLogResponseContent", - "GetLogStreamResponseContent", - "GetNetworkAclsResponseContent", - "GetOrganizationAllConnectionResponseContent", - "GetOrganizationByNameResponseContent", - "GetOrganizationConnectionResponseContent", - "GetOrganizationDiscoveryDomainByNameResponseContent", - "GetOrganizationDiscoveryDomainResponseContent", - "GetOrganizationInvitationResponseContent", - "GetOrganizationResponseContent", - "GetPartialsResponseContent", - "GetPhoneTemplateResponseContent", - "GetRateLimitPolicyResponseContent", - "GetRefreshTokenResponseContent", - "GetRefreshTokensPaginatedResponseContent", - "GetResourceServerResponseContent", - "GetRiskAssessmentsSettingsNewDeviceResponseContent", - "GetRiskAssessmentsSettingsResponseContent", - "GetRoleResponseContent", - "GetRuleResponseContent", - "GetScimConfigurationDefaultMappingResponseContent", - "GetScimConfigurationResponseContent", - "GetScimTokensResponseContent", - "GetSelfServiceProfileResponseContent", - "GetSessionResponseContent", - "GetSettingsResponseContent", - "GetSigningKeysResponseContent", - "GetSupplementalSignalsResponseContent", - "GetSuspiciousIpThrottlingSettingsResponseContent", - "GetTenantSettingsResponseContent", - "GetTokenExchangeProfileResponseContent", - "GetUniversalLoginTemplate", - "GetUniversalLoginTemplateResponseContent", - "GetUserAttributeProfileResponseContent", - "GetUserAttributeProfileTemplateResponseContent", - "GetUserAuthenticationMethodResponseContent", - "GetUserGroupsPaginatedResponseContent", - "GetUserResponseContent", - "GetVerifiableCredentialTemplateResponseContent", - "GoneError", - "Group", - "GroupMember", - "GroupMemberTypeEnum", - "GroupTypeEnum", - "GuardianEnrollmentDate", - "GuardianEnrollmentFactorEnum", - "GuardianEnrollmentStatus", - "GuardianFactor", - "GuardianFactorNameEnum", - "GuardianFactorPhoneFactorMessageTypeEnum", - "GuardianFactorsProviderPushNotificationProviderDataEnum", - "GuardianFactorsProviderSmsProviderEnum", - "Hook", - "HookDependencies", - "HookTriggerIdEnum", - "HttpCustomHeader", - "Identity", - "IdentityProviderEnum", - "IdentityProviderOnlyAuth0Enum", - "ImportEncryptionKeyResponseContent", - "Integration", - "IntegrationFeatureTypeEnum", - "IntegrationRelease", - "IntegrationRequiredParam", - "IntegrationRequiredParamOption", - "IntegrationRequiredParamTypeEnum", - "IntegrationSemVer", - "InternalServerError", - "JobFileFormatEnum", - "LinkedClientConfiguration", - "ListActionBindingsPaginatedResponseContent", - "ListActionTriggersResponseContent", - "ListActionVersionsPaginatedResponseContent", - "ListActionsPaginatedResponseContent", - "ListAculsOffsetPaginatedResponseContent", - "ListAculsResponseContentItem", - "ListBrandingPhoneProvidersResponseContent", - "ListClientConnectionsResponseContent", - "ListClientGrantOrganizationsPaginatedResponseContent", - "ListClientGrantPaginatedResponseContent", - "ListClientsOffsetPaginatedResponseContent", - "ListConnectionProfileTemplateResponseContent", - "ListConnectionProfilesPaginatedResponseContent", - "ListConnectionsCheckpointPaginatedResponseContent", - "ListCustomDomainsResponseContent", - "ListDeviceCredentialsOffsetPaginatedResponseContent", - "ListDirectoryProvisioningsResponseContent", - "ListEncryptionKeyOffsetPaginatedResponseContent", - "ListEventStreamsResponseContent", - "ListFlowExecutionsPaginatedResponseContent", - "ListFlowsOffsetPaginatedResponseContent", - "ListFlowsRequestParametersHydrateEnum", - "ListFlowsVaultConnectionsOffsetPaginatedResponseContent", - "ListFormsOffsetPaginatedResponseContent", - "ListGroupRolesResponseContent", - "ListGroupsPaginatedResponseContent", - "ListGuardianPoliciesResponseContent", - "ListHooksOffsetPaginatedResponseContent", - "ListLogOffsetPaginatedResponseContent", - "ListNetworkAclsOffsetPaginatedResponseContent", - "ListOrganizationAllConnectionsOffsetPaginatedResponseContent", - "ListOrganizationClientGrantsOffsetPaginatedResponseContent", - "ListOrganizationConnectionsOffsetPaginatedResponseContent", - "ListOrganizationDiscoveryDomainsResponseContent", - "ListOrganizationGroupRolesResponseContent", - "ListOrganizationGroupsResponseContent", - "ListOrganizationInvitationsOffsetPaginatedResponseContent", - "ListOrganizationMemberEffectiveRolesResponseContent", - "ListOrganizationMemberRoleSourceGroupsResponseContent", - "ListOrganizationMemberRolesOffsetPaginatedResponseContent", - "ListOrganizationMembersPaginatedResponseContent", - "ListOrganizationsPaginatedResponseContent", - "ListPhoneTemplatesResponseContent", - "ListRateLimitPoliciesPaginatedResponseContent", - "ListRefreshTokensPaginatedResponseContent", - "ListResourceServerOffsetPaginatedResponseContent", - "ListRoleGroupsResponseContent", - "ListRolePermissionsOffsetPaginatedResponseContent", - "ListRoleUsersPaginatedResponseContent", - "ListRolesOffsetPaginatedResponseContent", - "ListRulesOffsetPaginatedResponseContent", - "ListScimConfigurationsResponseContent", - "ListSelfServiceProfileCustomTextResponseContent", - "ListSelfServiceProfilesPaginatedResponseContent", - "ListSynchronizedGroupsResponseContent", - "ListTokenExchangeProfileResponseContent", - "ListUserAttributeProfileTemplateResponseContent", - "ListUserAttributeProfilesPaginatedResponseContent", - "ListUserAuthenticationMethodsOffsetPaginatedResponseContent", - "ListUserBlocksByIdentifierResponseContent", - "ListUserBlocksResponseContent", - "ListUserConnectedAccountsResponseContent", - "ListUserEffectivePermissionRoleSourcesResponseContent", - "ListUserEffectivePermissionsResponseContent", - "ListUserEffectiveRolesResponseContent", - "ListUserGrantsOffsetPaginatedResponseContent", - "ListUserOrganizationsOffsetPaginatedResponseContent", - "ListUserPermissionsOffsetPaginatedResponseContent", - "ListUserRoleSourceGroupsResponseContent", - "ListUserRolesOffsetPaginatedResponseContent", - "ListUserSessionsPaginatedResponseContent", - "ListUsersOffsetPaginatedResponseContent", - "ListVerifiableCredentialTemplatesPaginatedResponseContent", - "Log", - "LogDate", - "LogDateObject", - "LogDetails", - "LogLocationInfo", - "LogSecurityContext", - "LogStreamDatadogEnum", - "LogStreamDatadogRegionEnum", - "LogStreamDatadogResponseSchema", - "LogStreamDatadogSink", - "LogStreamEventBridgeEnum", - "LogStreamEventBridgeResponseSchema", - "LogStreamEventBridgeSink", - "LogStreamEventBridgeSinkRegionEnum", - "LogStreamEventGridEnum", - "LogStreamEventGridRegionEnum", - "LogStreamEventGridResponseSchema", - "LogStreamEventGridSink", - "LogStreamFilter", - "LogStreamFilterGroupNameEnum", - "LogStreamFilterTypeEnum", - "LogStreamHttpContentFormatEnum", - "LogStreamHttpEnum", - "LogStreamHttpResponseSchema", - "LogStreamHttpSink", - "LogStreamMixpanelEnum", - "LogStreamMixpanelRegionEnum", - "LogStreamMixpanelResponseSchema", - "LogStreamMixpanelSink", - "LogStreamMixpanelSinkPatch", - "LogStreamPiiAlgorithmEnum", - "LogStreamPiiConfig", - "LogStreamPiiLogFieldsEnum", - "LogStreamPiiMethodEnum", - "LogStreamResponseSchema", - "LogStreamSegmentEnum", - "LogStreamSegmentResponseSchema", - "LogStreamSegmentSink", - "LogStreamSegmentSinkWriteKey", - "LogStreamSinkPatch", - "LogStreamSplunkEnum", - "LogStreamSplunkResponseSchema", - "LogStreamSplunkSink", - "LogStreamStatusEnum", - "LogStreamSumoEnum", - "LogStreamSumoResponseSchema", - "LogStreamSumoSink", - "ManagementClient", - "MdlPresentationProperties", - "MdlPresentationRequest", - "MdlPresentationRequestProperties", - "MfaPolicyEnum", - "NativeSocialLogin", - "NativeSocialLoginApple", - "NativeSocialLoginFacebook", - "NativeSocialLoginGoogle", - "NetworkAclAction", - "NetworkAclActionAllowEnum", - "NetworkAclActionBlockEnum", - "NetworkAclActionLogEnum", - "NetworkAclActionRedirectEnum", - "NetworkAclMatch", - "NetworkAclMatchConnectingIpv4Cidr", - "NetworkAclMatchConnectingIpv6Cidr", - "NetworkAclMatchIpv4Cidr", - "NetworkAclMatchIpv6Cidr", - "NetworkAclRule", - "NetworkAclRuleScopeEnum", - "NetworkAclsResponseContent", - "NotFoundError", - "OauthScope", - "Organization", - "OrganizationAccessLevelEnum", - "OrganizationAccessLevelEnumWithNull", - "OrganizationAllConnectionPost", - "OrganizationBranding", - "OrganizationBrandingColors", - "OrganizationClientGrant", - "OrganizationConnection", - "OrganizationConnectionInformation", - "OrganizationDiscoveryDomain", - "OrganizationDiscoveryDomainStatus", - "OrganizationEnabledConnection", - "OrganizationInvitation", - "OrganizationInvitationInvitee", - "OrganizationInvitationInviter", - "OrganizationMember", - "OrganizationMemberEffectiveRole", - "OrganizationMemberEffectiveRoleSource", - "OrganizationMemberRole", - "OrganizationMetadata", - "OrganizationUsageEnum", - "PartialGroupsEnum", - "PartialPhoneTemplateContent", - "PasswordCharacterTypeEnum", - "PasswordCharacterTypeRulePolicyEnum", - "PasswordDefaultDictionariesEnum", - "PasswordIdenticalCharactersPolicyEnum", - "PasswordMaxLengthExceededPolicyEnum", - "PasswordSequentialCharactersPolicyEnum", - "PatchClientCredentialResponseContent", - "PatchRateLimitPolicyConfigurationRequestContent", - "PatchRateLimitPolicyConfigurationRequestContentAction", - "PatchRateLimitPolicyConfigurationRequestContentActionAction", - "PatchRateLimitPolicyConfigurationRequestContentOne", - "PatchRateLimitPolicyConfigurationRequestContentOneAction", - "PatchRateLimitPolicyConfigurationRequestContentZero", - "PatchRateLimitPolicyConfigurationRequestContentZeroAction", - "PatchSupplementalSignalsResponseContent", - "PaymentRequiredError", - "PermissionRequestPayload", - "PermissionsResponsePayload", - "PhoneAttribute", - "PhoneProviderChannelEnum", - "PhoneProviderConfiguration", - "PhoneProviderCredentials", - "PhoneProviderDeliveryMethodEnum", - "PhoneProviderNameEnum", - "PhoneProviderSchemaMasked", - "PhoneTemplate", - "PhoneTemplateBody", - "PhoneTemplateContent", - "PhoneTemplateNotificationTypeEnum", - "PostClientCredentialResponseContent", - "PostConnectionKeysAlgEnum", - "PostConnectionKeysRequestContent", - "PostConnectionsKeysResponseContent", - "PostConnectionsKeysResponseContentItem", - "PreconditionFailedError", - "PreferredAuthenticationMethodEnum", - "PreviewCimdMetadataResponseContent", - "PromptGroupNameEnum", - "PromptLanguageEnum", - "PublicKeyCredential", - "PublicKeyCredentialAlgorithmEnum", - "PublicKeyCredentialTypeEnum", - "RateLimitPolicy", - "RateLimitPolicyConfiguration", - "RateLimitPolicyConfigurationAction", - "RateLimitPolicyConfigurationActionAction", - "RateLimitPolicyConfigurationOne", - "RateLimitPolicyConfigurationOneAction", - "RateLimitPolicyConfigurationZero", - "RateLimitPolicyConfigurationZeroAction", - "RateLimitPolicyConsumerEnum", - "RateLimitPolicyResourceEnum", - "RefreshTokenDate", - "RefreshTokenDateObject", - "RefreshTokenDevice", - "RefreshTokenExpirationTypeEnum", - "RefreshTokenMetadata", - "RefreshTokenResourceServer", - "RefreshTokenResponseContent", - "RefreshTokenRotationTypeEnum", - "RefreshTokenSessionId", - "RegenerateUsersRecoveryCodeResponseContent", - "RegisterCimdClientResponseContent", - "ResetPhoneTemplateRequestContent", - "ResetPhoneTemplateResponseContent", - "ResourceServer", - "ResourceServerAuthorizationPolicy", - "ResourceServerConsentPolicyEnum", - "ResourceServerProofOfPossession", - "ResourceServerProofOfPossessionMechanismEnum", - "ResourceServerProofOfPossessionRequiredForEnum", - "ResourceServerScope", - "ResourceServerSubjectTypeAuthorization", - "ResourceServerSubjectTypeAuthorizationClient", - "ResourceServerSubjectTypeAuthorizationClientPolicyEnum", - "ResourceServerSubjectTypeAuthorizationUser", - "ResourceServerSubjectTypeAuthorizationUserPolicyEnum", - "ResourceServerTokenDialectResponseEnum", - "ResourceServerTokenDialectSchemaEnum", - "ResourceServerTokenEncryption", - "ResourceServerTokenEncryptionAlgorithmEnum", - "ResourceServerTokenEncryptionFormatEnum", - "ResourceServerTokenEncryptionKey", - "ResourceServerVerificationKeyPemCertificate", - "RevokedSigningKeysResponseContent", - "Role", - "RoleUser", - "RollbackActionModuleResponseContent", - "RotateClientSecretResponseContent", - "RotateConnectionKeysRequestContent", - "RotateConnectionKeysSigningAlgEnum", - "RotateConnectionsKeysResponseContent", - "RotateSigningKeysResponseContent", - "Rule", - "RulesConfig", - "ScimConfiguration", - "ScimMappingItem", - "ScimTokenItem", - "ScreenGroupNameEnum", - "SearchEngineVersionsEnum", - "SelfServiceProfile", - "SelfServiceProfileAllowedStrategyEnum", - "SelfServiceProfileBranding", - "SelfServiceProfileBrandingColors", - "SelfServiceProfileBrandingProperties", - "SelfServiceProfileCustomTextLanguageEnum", - "SelfServiceProfileCustomTextPageEnum", - "SelfServiceProfileDescription", - "SelfServiceProfileSsoTicketConnectionConfig", - "SelfServiceProfileSsoTicketConnectionOptions", - "SelfServiceProfileSsoTicketDomainAliasesConfig", - "SelfServiceProfileSsoTicketDomainVerificationEnum", - "SelfServiceProfileSsoTicketEnabledFeatures", - "SelfServiceProfileSsoTicketEnabledOrganization", - "SelfServiceProfileSsoTicketGoogleWorkspaceConfig", - "SelfServiceProfileSsoTicketIdpInitiatedClientProtocolEnum", - "SelfServiceProfileSsoTicketIdpInitiatedOptions", - "SelfServiceProfileSsoTicketProvisioningConfig", - "SelfServiceProfileSsoTicketProvisioningScopeEnum", - "SelfServiceProfileUserAttribute", - "SelfServiceProfileUserAttributes", - "ServiceUnavailableError", - "SessionAuthenticationSignal", - "SessionAuthenticationSignals", - "SessionClientMetadata", - "SessionCookieMetadata", - "SessionCookieMetadataModeEnum", - "SessionCookieModeEnum", - "SessionCookieSchema", - "SessionDate", - "SessionDeviceMetadata", - "SessionIp", - "SessionMetadata", - "SessionResponseContent", - "SetCustomSigningKeysResponseContent", - "SetEmailTemplateResponseContent", - "SetGuardianFactorDuoSettingsResponseContent", - "SetGuardianFactorPhoneMessageTypesResponseContent", - "SetGuardianFactorPhoneTemplatesResponseContent", - "SetGuardianFactorResponseContent", - "SetGuardianFactorSmsTemplatesResponseContent", - "SetGuardianFactorsProviderPhoneResponseContent", - "SetGuardianFactorsProviderPhoneTwilioResponseContent", - "SetGuardianFactorsProviderPushNotificationApnsResponseContent", - "SetGuardianFactorsProviderPushNotificationFcmResponseContent", - "SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent", - "SetGuardianFactorsProviderPushNotificationResponseContent", - "SetGuardianFactorsProviderPushNotificationSnsResponseContent", - "SetGuardianFactorsProviderSmsResponseContent", - "SetGuardianFactorsProviderSmsTwilioResponseContent", - "SetGuardianPoliciesRequestContent", - "SetGuardianPoliciesResponseContent", - "SetNetworkAclsResponseContent", - "SetPartialsRequestContent", - "SetRulesConfigResponseContent", - "SetSelfServiceProfileCustomTextRequestContent", - "SetSelfServiceProfileCustomTextResponseContent", - "SetUserAuthenticationMethodResponseContent", - "SetUserAuthenticationMethods", - "SetUserAuthenticationMethodsRequestContent", - "SetsCustomTextsByLanguageRequestContent", - "SigningAlgorithmEnum", - "SigningKeys", - "SigningKeysDate", - "SignupSchema", - "SignupStatusEnum", - "SignupVerification", - "SignupVerified", - "SupportedLocales", - "SuspiciousIpThrottlingAllowlist", - "SuspiciousIpThrottlingAllowlistItem", - "SuspiciousIpThrottlingPreLoginStage", - "SuspiciousIpThrottlingPreUserRegistrationStage", - "SuspiciousIpThrottlingShieldsEnum", - "SuspiciousIpThrottlingStage", - "SynchronizeGroupsEnum", - "SynchronizedGroupPayload", - "TenantOidcLogoutSettings", - "TenantSettingsCountryCodes", - "TenantSettingsCountryCodesMode", - "TenantSettingsCountryCodesModeResponse", - "TenantSettingsCountryCodesResponse", - "TenantSettingsDeviceFlow", - "TenantSettingsDeviceFlowCharset", - "TenantSettingsDynamicClientRegistrationSecurityMode", - "TenantSettingsErrorPage", - "TenantSettingsFlags", - "TenantSettingsGuardianPage", - "TenantSettingsMtls", - "TenantSettingsNullableSecurityHeaders", - "TenantSettingsPasswordPage", - "TenantSettingsResourceParameterProfile", - "TenantSettingsSessions", - "TenantSettingsSupportedLocalesEnum", - "TestActionPayload", - "TestActionResponseContent", - "TestActionResultPayload", - "TestCustomDomainResponseContent", - "TestEventDataContent", - "TokenExchangeProfileResponseContent", - "TokenExchangeProfileTypeEnum", - "TokenProvider", - "TokenQuota", - "TokenQuotaClientCredentials", - "TokenQuotaConfiguration", - "TooManyRequestsError", - "TooManyRequestsSchema", - "TooManyRequestsSchemaError", - "TwilioProviderConfiguration", - "TwilioProviderCredentials", - "TwilioProviderDeliveryMethodEnum", - "UnauthorizedError", - "UnauthorizedSchema", - "UnauthorizedSchemaError", - "UniversalLoginExperienceEnum", - "UpdateActionBindingsResponseContent", - "UpdateActionModuleResponseContent", - "UpdateActionResponseContent", - "UpdateAculResponseContent", - "UpdateAttackProtectionCaptchaResponseContent", - "UpdateBotDetectionSettingsResponseContent", - "UpdateBrandingColors", - "UpdateBrandingFont", - "UpdateBrandingPageBackground", - "UpdateBrandingPhoneProviderResponseContent", - "UpdateBrandingResponseContent", - "UpdateBrandingThemeResponseContent", - "UpdateBreachedPasswordDetectionSettingsResponseContent", - "UpdateBruteForceSettingsResponseContent", - "UpdateClientGrantResponseContent", - "UpdateClientResponseContent", - "UpdateConnectionOptions", - "UpdateConnectionProfileResponseContent", - "UpdateConnectionRequestContentAd", - "UpdateConnectionRequestContentAdfs", - "UpdateConnectionRequestContentAmazon", - "UpdateConnectionRequestContentApple", - "UpdateConnectionRequestContentAuth0", - "UpdateConnectionRequestContentAuth0Oidc", - "UpdateConnectionRequestContentAzureAd", - "UpdateConnectionRequestContentBaidu", - "UpdateConnectionRequestContentBitbucket", - "UpdateConnectionRequestContentBitly", - "UpdateConnectionRequestContentBox", - "UpdateConnectionRequestContentCustom", - "UpdateConnectionRequestContentDaccount", - "UpdateConnectionRequestContentDropbox", - "UpdateConnectionRequestContentDwolla", - "UpdateConnectionRequestContentEmail", - "UpdateConnectionRequestContentEvernote", - "UpdateConnectionRequestContentEvernoteSandbox", - "UpdateConnectionRequestContentExact", - "UpdateConnectionRequestContentFacebook", - "UpdateConnectionRequestContentFitbit", - "UpdateConnectionRequestContentGitHub", - "UpdateConnectionRequestContentGoogleApps", - "UpdateConnectionRequestContentGoogleOAuth2", - "UpdateConnectionRequestContentInstagram", - "UpdateConnectionRequestContentIp", - "UpdateConnectionRequestContentLine", - "UpdateConnectionRequestContentLinkedin", - "UpdateConnectionRequestContentOAuth1", - "UpdateConnectionRequestContentOAuth2", - "UpdateConnectionRequestContentOffice365", - "UpdateConnectionRequestContentOidc", - "UpdateConnectionRequestContentOkta", - "UpdateConnectionRequestContentPaypal", - "UpdateConnectionRequestContentPaypalSandbox", - "UpdateConnectionRequestContentPingFederate", - "UpdateConnectionRequestContentPlanningCenter", - "UpdateConnectionRequestContentSalesforce", - "UpdateConnectionRequestContentSalesforceCommunity", - "UpdateConnectionRequestContentSalesforceSandbox", - "UpdateConnectionRequestContentSaml", - "UpdateConnectionRequestContentSharepoint", - "UpdateConnectionRequestContentShop", - "UpdateConnectionRequestContentShopify", - "UpdateConnectionRequestContentSms", - "UpdateConnectionRequestContentSoundcloud", - "UpdateConnectionRequestContentThirtySevenSignals", - "UpdateConnectionRequestContentTwitter", - "UpdateConnectionRequestContentUntappd", - "UpdateConnectionRequestContentVkontakte", - "UpdateConnectionRequestContentWeibo", - "UpdateConnectionRequestContentWindowsLive", - "UpdateConnectionRequestContentWordpress", - "UpdateConnectionRequestContentYahoo", - "UpdateConnectionRequestContentYandex", - "UpdateConnectionResponseContent", - "UpdateCustomDomainResponseContent", - "UpdateDefaultCanonicalDomainResponseContent", - "UpdateDefaultCustomDomainResponseContent", - "UpdateDefaultDomainResponseContent", - "UpdateDirectoryProvisioningRequestContent", - "UpdateDirectoryProvisioningResponseContent", - "UpdateEmailProviderResponseContent", - "UpdateEmailTemplateResponseContent", - "UpdateEnabledClientConnectionsRequestContent", - "UpdateEnabledClientConnectionsRequestContentItem", - "UpdateEventStreamResponseContent", - "UpdateFlowResponseContent", - "UpdateFlowsVaultConnectionResponseContent", - "UpdateFlowsVaultConnectionSetup", - "UpdateFormResponseContent", - "UpdateGuardianFactorDuoSettingsResponseContent", - "UpdateGuardianFactorsProviderPushNotificationApnsResponseContent", - "UpdateGuardianFactorsProviderPushNotificationFcmResponseContent", - "UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent", - "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent", - "UpdateHookResponseContent", - "UpdateHookSecretRequestContent", - "UpdateLogStreamResponseContent", - "UpdateNetworkAclResponseContent", - "UpdateOrganizationAllConnectionResponseContent", - "UpdateOrganizationConnectionResponseContent", - "UpdateOrganizationDiscoveryDomainResponseContent", - "UpdateOrganizationResponseContent", - "UpdatePhoneTemplateResponseContent", - "UpdateRateLimitPolicyResponseContent", - "UpdateRefreshTokenResponseContent", - "UpdateResourceServerResponseContent", - "UpdateRiskAssessmentsSettingsNewDeviceResponseContent", - "UpdateRiskAssessmentsSettingsResponseContent", - "UpdateRoleResponseContent", - "UpdateRuleResponseContent", - "UpdateScimConfigurationResponseContent", - "UpdateSelfServiceProfileResponseContent", - "UpdateSessionResponseContent", - "UpdateSettingsResponseContent", - "UpdateSuspiciousIpThrottlingSettingsResponseContent", - "UpdateTenantSettingsResponseContent", - "UpdateTokenQuota", - "UpdateUniversalLoginTemplateRequestContent", - "UpdateUniversalLoginTemplateRequestContentTemplate", - "UpdateUserAttributeProfileResponseContent", - "UpdateUserAuthenticationMethodResponseContent", - "UpdateUserResponseContent", - "UpdateVerifiableCredentialTemplateResponseContent", - "UserAppMetadataSchema", - "UserAttributeProfile", - "UserAttributeProfileId", - "UserAttributeProfileName", - "UserAttributeProfileOidcMapping", - "UserAttributeProfilePatchUserId", - "UserAttributeProfileSamlMapping", - "UserAttributeProfileStrategyOverrides", - "UserAttributeProfileStrategyOverridesMapping", - "UserAttributeProfileStrategyOverridesUserId", - "UserAttributeProfileStrategyOverridesUserIdMapping", - "UserAttributeProfileTemplate", - "UserAttributeProfileTemplateItem", - "UserAttributeProfileUserAttributeAdditionalProperties", - "UserAttributeProfileUserAttributes", - "UserAttributeProfileUserId", - "UserAttributeProfileUserIdOidcMappingEnum", - "UserAttributeProfileUserIdOidcStrategyOverrideMapping", - "UserAttributeProfileUserIdSamlMapping", - "UserAuthenticationMethod", - "UserAuthenticationMethodProperties", - "UserAuthenticationMethodPropertiesEnum", - "UserBlockIdentifier", - "UserDateSchema", - "UserEffectivePermissionResponseContent", - "UserEffectivePermissionRoleSourceEnum", - "UserEffectivePermissionRoleSourceResponseContent", - "UserEffectivePermissionSourceEnum", - "UserEffectiveRole", - "UserEffectiveRoleSource", - "UserEnrollmentAuthMethodEnum", - "UserEnrollmentStatusEnum", - "UserGrant", - "UserGroupsResponseSchema", - "UserId", - "UserIdentity", - "UserIdentityProviderEnum", - "UserIdentitySchema", - "UserListLogOffsetPaginatedResponseContent", - "UserMetadata", - "UserMetadataSchema", - "UserMultifactorProviderEnum", - "UserPermissionSchema", - "UserProfileData", - "UserResponseSchema", - "UsernameAllowedTypes", - "UsernameAttribute", - "UsernameValidation", - "UsersEnrollment", - "VerifiableCredentialTemplateResponse", - "VerificationMethodEnum", - "VerifyCustomDomainResponseContent", - "VerifyEmailTicketResponseContent", - "X509CertificateCredential", - "X509CertificateCredentialTypeEnum", - "XssProtectionConfig", - "XssProtectionMode", - "__version__", - "actions", - "anomaly", - "attack_protection", - "branding", - "client_grants", - "clients", - "connection_profiles", - "connections", - "custom_domains", - "device_credentials", - "email_templates", - "emails", - "event_streams", - "events", - "flows", - "forms", - "groups", - "guardian", - "hooks", - "jobs", - "keys", - "log_streams", - "logs", - "network_acls", - "organizations", - "prompts", - "rate_limit_policies", - "refresh_tokens", - "resource_servers", - "risk_assessments", - "roles", - "rules", - "rules_configs", - "self_service_profiles", - "sessions", - "stats", - "supplemental_signals", - "tenants", - "tickets", - "token_exchange_profiles", - "user_attribute_profiles", - "user_blocks", - "user_grants", - "users", - "verifiable_credentials", - ] - user_owned: true - - id: patch-7271f157 - content_hash: sha256:cd98dd1948587cf3396a2eacf46626176784bd00996eb660374161bfef686e93 - original_commit: 7271f15759cfb545c9ef82b5a4f519ffe0a89db2 - original_message: Revert wrapper file to preserve Auth0 telemetry customizations - original_author: Kunal Dawar - base_generation: bf4df4483c8f8211870c074c6e5725aabf31d339 + - id: patch-3bac717a + content_hash: sha256:f4ad3ba43b0430fa3dfb54bfcf588cb697efe8185eb30350f9955849f831083f + original_commit: 3bac717acae703868197afb75fc26d296957a4fd + original_message: Restore Auth0 telemetry headers and keep UPGRADING.md (#900) + original_author: Kunal Dawar <35455566+developerkunal@users.noreply.github.com> + base_generation: 89e85b537368a6c746f34041680bd4f7fa3cfb5a files: - src/auth0/management/core/client_wrapper.py patch_content: | diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py - index b1aed4b..60ebc5a 100644 + index abce2c81..fd991f52 100644 --- a/src/auth0/management/core/client_wrapper.py +++ b/src/auth0/management/core/client_wrapper.py @@ -1,6 +1,11 @@ @@ -8555,11 +57,10 @@ patches: import httpx from .http_client import AsyncHttpClient, HttpClient - @@ -26,15 +31,18 @@ class BaseClientWrapper: + @@ -30,7 +35,18 @@ class BaseClientWrapper: self._logging = logging def get_headers(self) -> typing.Dict[str, str]: - - import platform + py_version = platform.python_version() + version = sys.modules["auth0"].__version__ + @@ -8568,14 +69,8 @@ patches: + "version": version, + "env": {"python": py_version} + }).encode("utf-8") - + + headers: typing.Dict[str, str] = { - - "User-Agent": "auth0-python/5.6.0", - - "X-Fern-Language": "Python", - - "X-Fern-Runtime": f"python/{platform.python_version()}", - - "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", - - "X-Fern-SDK-Name": "auth0-python", - - "X-Fern-SDK-Version": "5.6.0", + "User-Agent": f"Python/{py_version}", + "Auth0-Client": base64.b64encode(auth0_client).decode(), **(self.get_custom_headers() or {}), @@ -8606,6 +101,8 @@ patches: base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): self._token = token @@ -8613,6 +110,8 @@ patches: self._base_url = base_url self._timeout = timeout self._max_retries = max_retries + self._stream_reconnection_enabled = stream_reconnection_enabled + self._max_stream_reconnection_attempts = max_stream_reconnection_attempts self._logging = logging def get_headers(self) -> typing.Dict[str, str]: @@ -8651,6 +150,12 @@ patches: def get_max_retries(self) -> int: return self._max_retries + def get_stream_reconnection_enabled(self) -> bool: + return self._stream_reconnection_enabled if self._stream_reconnection_enabled is not None else True + + def get_max_stream_reconnection_attempts(self) -> typing.Optional[int]: + return self._max_stream_reconnection_attempts + class SyncClientWrapper(BaseClientWrapper): def __init__( @@ -8661,11 +166,20 @@ patches: base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, httpx_client: httpx.Client, ): super().__init__( - token=token, headers=headers, base_url=base_url, timeout=timeout, max_retries=max_retries, logging=logging + token=token, + headers=headers, + base_url=base_url, + timeout=timeout, + max_retries=max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, + logging=logging, ) self.httpx_client = HttpClient( httpx_client=httpx_client, @@ -8686,12 +200,21 @@ patches: base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, async_token: typing.Optional[typing.Callable[[], typing.Awaitable[str]]] = None, httpx_client: httpx.AsyncClient, ): super().__init__( - token=token, headers=headers, base_url=base_url, timeout=timeout, max_retries=max_retries, logging=logging + token=token, + headers=headers, + base_url=base_url, + timeout=timeout, + max_retries=max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, + logging=logging, ) self._async_token = async_token self.httpx_client = AsyncHttpClient( @@ -8710,3 +233,4 @@ patches: token = await self._async_token() headers["Authorization"] = f"Bearer {token}" return headers + user_owned: true diff --git a/.fernignore b/.fernignore index 6d1ab409..22bb7bf4 100644 --- a/.fernignore +++ b/.fernignore @@ -10,6 +10,7 @@ tests/management/ # Documentation v5_MIGRATION_GUIDE.md +UPGRADING.md CHANGELOG.md # Authentication API (copied from auth0-python, not Fern-generated) diff --git a/.version b/.version index edb1d397..1de66e5f 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -5.8.0 \ No newline at end of file +6.11.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fe38e31..ff9ee20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,146 @@ # Change Log +## [6.11.0](https://github.com/auth0/auth0-python/tree/6.11.0) (2026-11-23) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.10.0...6.11.0) + +⚠️ **Breaking Changes** +- `genai_trial` removed from the tenant settings flags. Reading `flags.genai_trial` raises `AttributeError` when the response does not include it. Use `getattr(flags, "genai_trial", None)` if you still read it [\#913](https://github.com/auth0/auth0-python/pull/913) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- `okta_oin_listing_url` on client `express_configuration` in `client.clients.create()` and `update()` and in client responses. `universal_logout_config` on `client.self_service_profiles.sso_ticket.create()`, whose required `allow_configuration` boolean lets the end user set up Universal Logout during the self-service enterprise configuration flow. `google_account_linking` with `allow_streamlined_linking` on `client.clients.create()` and `update()` and in client responses. `key_use` on `client.connections.keys.create()` and `rotate()`, set to `encryption` to provision or rotate an encryption key on OIDC and Okta connections, with signing as the default. Password dictionary `match_type` (`exact` or `substring`), `client_id` and `allowed_audiences` on connection options, the `ES256` and `PS384` client credential algorithms, the `model_context_protocol_server` resource server type, the `agent_gateway.authentication.fail`, `agent_gateway.operation.fail`, and `agent_gateway.operation.success` log stream filter groups, and the exported `IncludeUserProfileSizeHeaderEnum` type [\#913](https://github.com/auth0/auth0-python/pull/913) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Changed** +- `credentials` is now optional on `client.emails.provider.create()`, and calls that pass it keep working. Connection key methods and models now describe both signing and encryption keys, and `include_totals` on `client.users.groups.get()` notes that the returned total reflects at most 1,000 results. These description updates do not change behavior [\#913](https://github.com/auth0/auth0-python/pull/913) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.10.0](https://github.com/auth0/auth0-python/tree/6.10.0) (2026-11-13) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.9.0...6.10.0) + +**Added** +- Typed `signup_behavior` field (`allow` or `block`) on the passkey authentication method of a connection, matching the password authentication method. The field sits under `authentication_methods.passkey` in the connection `options` accepted by `client.connections.create()` and `update()`. `pending-consent` added to the known screen group names used by prompt rendering and ACUL screen settings [\#911](https://github.com/auth0/auth0-python/pull/911) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Changed** +- Updated the `oidc_support` descriptions on clients and client profiles, and the `report_to_group` description for CSP reporting, for improved clarity. Description changes only, with no change in behavior [\#911](https://github.com/auth0/auth0-python/pull/911) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.9.0](https://github.com/auth0/auth0-python/tree/6.9.0) (2026-11-04) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.8.0...6.9.0) + +⚠️ **Breaking Changes** +- `management.attack_protection.captcha_policies` removed along with its policy, match, and action models and the per-provider action settings for Arkose, hCaptcha, Friendly CAPTCHA, reCAPTCHA Enterprise, reCAPTCHA v2, Simple CAPTCHA, and auth challenge. Code that accesses it now raises `AttributeError`, and there is no replacement in this release. `management.experimentation.experiments.create()` now requires `allocation_strategy`, so calls that omit it raise `TypeError`. Pass it explicitly, for example `allocation_strategy="percentage"` [\#905](https://github.com/auth0/auth0-python/pull/905) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- Portals client (`management.portals.list()`, `create()`, `get()`, `update()`, `delete()`), user consent signing key management (`management.users.list_consent_signing_keys()`, `get_consent_signing_key()`, `delete_consent_signing_key()`), resource server `type` on `create()` and `update()` and in responses, `agent_subject_claims` on resource servers, `oidc_support` on client responses and client profiles, database connection `options.otp_settings` for email and phone OTP length and expiry, SAML connection cross-app access requesting app with client credentials and token endpoint settings, a `status` filter on `management.experimentation.segments.list()`, a `transaction` context on event stream cloud events, and `agent_id` on client search results [\#905](https://github.com/auth0/auth0-python/pull/905) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Changed** +- `UpdateVariationOverridesMap` now accepts `None`. Top-level keys merge into the stored overrides, a `null` value removes a key, and `None` or `{}` clears all overrides. The tenant settings flag `dashboard_insights_view` is documented as deprecated with no effect. `is_valid` on experiment responses is documented as the state at the last update, which can lag later changes [\#905](https://github.com/auth0/auth0-python/pull/905) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.8.0](https://github.com/auth0/auth0-python/tree/6.8.0) (2026-10-14) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.7.0...6.8.0) + +⚠️ **Breaking Changes** +- `management.experimentation.experiments.update_status()` and `management.experimentation.feature_flags.update_status()` removed along with `UpdateExperimentStatusResponseContent` and `UpdateFeatureFlagStatusResponseContent`. Set status through `update(id, status=...)` instead. `SearchOrganization.metadata` removed. `ConnectionResponseCommon` no longer extends `CreateConnectionCommon` and requires `display_name`, though no endpoint returns this model. Feature flag `variations.delete()` no longer maps HTTP 400 to `BadRequestError`, so a 400 raises the base `ApiError` [\#898](https://github.com/auth0/auth0-python/pull/898) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- Client profiles (`management.client_profiles`), CAPTCHA policies (`management.attack_protection.captcha_policies`), client and client grant search (`management.clients.search()`, `management.client_grants.search()`), and dynamic CIMD registration in tenant settings with per-client metadata status. Client `enforce_anon_session_transfer_network_binding` setting, `oidc_support` on `clients.update()`, tenant `dpop_strict_refresh_token_binding` setting, brute force protection `form_submission_mode`, `status` on experiments, feature flags, and segments, Google Workspace provisioning and directory sync on connection profiles, organization member access level on organization connection events, and the passkey Guardian factor [\#898](https://github.com/auth0/auth0-python/pull/898) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Changed** +- `management.clients.register_cimd_client()` raises `ConflictError` on HTTP 409 instead of `ApiError`. `ConflictError` subclasses `ApiError`, so existing handlers still catch it. Role `owner_id` filter and response fields are typed as `RoleOwnerIdFilter` and `RoleOwnerId` string aliases. `a0stream` is now optional on connection, group, organization, and user cloud event types [\#898](https://github.com/auth0/auth0-python/pull/898) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Fixed** +- `ManagementClient` and `AsyncManagementClient` now expose `agents`, `client_profiles`, `connection_profiles`, `events`, `experimentation`, `groups`, `rate_limit_policies`, `risk_assessments`, and `user_attribute_profiles`, which previously raised `AttributeError` [\#901](https://github.com/auth0/auth0-python/pull/901) ([developerkunal](https://github.com/developerkunal)) + +## [6.7.0](https://github.com/auth0/auth0-python/tree/6.7.0) (2026-09-30) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.6.0...6.7.0) + +⚠️ **Breaking Changes** +- `management.organizations.organization_template` sub-client removed along with six types (`OrganizationTemplate`, `OrganizationTemplateAllowedStrategyEnum`, `OrganizationTemplateRoleVisibilityEnum`, `OrganizationTemplateRoleVisibilityOverride`, `OrganizationTemplateRoleVisibilityPolicy`, `OrganizationTemplateUseForOrganizationDiscovery`). `ConnectionDeletionBehaviorEnum` and `OrganizationDeletionBehaviorEnum` also removed from the public surface [\#894](https://github.com/auth0/auth0-python/pull/894) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- Experiment Center CRUD sub-clients for experiments (`management.experimentation.experiments`), feature flags (`management.experimentation.feature_flags`), segments (`management.experimentation.segments`), and variations (`management.experimentation.feature_flags.variations`). Resource server `require_consent_non_repudiation` flag, client `oidc_support` parameter, connection `thumbprints_sha_384` field, new `OauthScope` experimentation values, and `ClientOidcBackchannelLogoutInitiatorsEnum.profile-changed` [\#894](https://github.com/auth0/auth0-python/pull/894) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.6.0](https://github.com/auth0/auth0-python/tree/6.6.0) (2026-09-17) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.5.0...6.6.0) + +**Added** +- Organization connection member access level, resource server access token configuration, and client My Organization enforcement settings [\#892](https://github.com/auth0/auth0-python/pull/892) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.5.0](https://github.com/auth0/auth0-python/tree/6.5.0) (2026-09-11) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.4.0...6.5.0) + +⚠️ **Breaking Changes** +- `management.organization_templates` client removed along with `ListOrganizationTemplatesPaginatedResponseContent` and `OrganizationTemplateAssignedOrganization`. Four connection providers dropped the `-mcp` suffix (`asana-mcp` becomes `asana`, `atlassian-mcp` becomes `atlassian`, `gitlab-mcp` becomes `gitlab`, `slack-mcp` becomes `slack`) and nine values removed entirely (`docusign-mcp`, `figma-mcp`, `gusto-mcp`, `heroku-mcp`, `intercom-mcp`, `pagerduty-mcp`, `supabase-mcp`, `vercel-mcp`, `xero-mcp`) [\#890](https://github.com/auth0/auth0-python/pull/890) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- Guardian MFA settings (`GET`/`PUT /api/v2/guardian/settings`), email and phone factor settings, organizations search, resource servers search, experimentation client, anonymous sessions support on clients and tenant settings, resource server anonymous access token configuration, and `GatewayTimeoutError` for HTTP 504 [\#890](https://github.com/auth0/auth0-python/pull/890) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.4.0](https://github.com/auth0/auth0-python/tree/6.4.0) (2026-09-02) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.3.0...6.4.0) + +⚠️ **Breaking Changes** +- Client `app_type` `b2b_integration` removed (configure via `b2b_integration_configuration` instead); `EventStreamCloudEventContextTenant.tenant_id` renamed to `id` [\#888](https://github.com/auth0/auth0-python/pull/888) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Added** +- Organization templates client, client B2B integration configuration, network ACL HTTP message signatures and key deletion, connection profile SCIM provisioning, OIDC/Okta pushed authorization request support, SAML `discovery_url`/`oidc_metadata`/`cross_app_access_resource_app` options, tenant `local_resource_discovery` flag, forms `server_key`, `post-credential-validation` action trigger and `consent-tenant-scopes` screen group, and `UnprocessableEntityError` for HTTP 422 [\#888](https://github.com/auth0/auth0-python/pull/888) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Fixed** +- Raw `management.connections` client now surfaces 422 errors; raw `management.connections.scim_configuration` now surfaces 409 errors; `management.users.organizations.list` docstring updated for checkpoint pagination [\#888](https://github.com/auth0/auth0-python/pull/888) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.3.0](https://github.com/auth0/auth0-python/tree/6.3.0) (2026-08-19) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.2.0...6.3.0) + +**Added** +- feat: Add My Organization client access control, Connection Profile Cross-App Access support, Network ACL keys management, and OIDC space-delimited scope support [\#886](https://github.com/auth0/auth0-python/pull/886) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Fixed** +- fix: Raw clients for forms and flows now surface additional error responses instead of failing unhandled, corrected a docstring field name [\#886](https://github.com/auth0/auth0-python/pull/886) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.2.0](https://github.com/auth0/auth0-python/tree/6.2.0) (2026-08-05) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.1.0...6.2.0) + +**Added** +- feat: Add agents management, organization-client associations, organization-level roles (groups/members), network ACL keys, and directory provisioning group sync selections [\#881](https://github.com/auth0/auth0-python/pull/881) ([fern-api[bot]](https://github.com/apps/fern-api)) + +**Fixed** +- fix: `EventStreamCloudEvent.data` now deserializes as its actual object shape (`Dict[str, Any]`) instead of an opaque JSON-encoded string that callers had to `json.loads()` themselves. [\#881](https://github.com/auth0/auth0-python/pull/881) ([fern-api[bot]](https://github.com/apps/fern-api)) + +## [6.1.0](https://github.com/auth0/auth0-python/tree/6.1.0) (2026-07-22) +[Full Changelog](https://github.com/auth0/auth0-python/compare/6.0.0...6.1.0) + +**Added** +- feat: Cross App Access (ID-JAG), branding theme identifiers, Self-Service Enterprise Configuration third-party client access, session actor [\#877](https://github.com/auth0/auth0-python/pull/877) ([fern-api[bot]](https://github.com/apps/fern-api)) + + +## [6.0.0](https://github.com/auth0/auth0-python/tree/6.0.0) (2026-07-15) +[Full Changelog](https://github.com/auth0/auth0-python/compare/5.8.0...6.0.0) + +### ⚠️ Breaking Changes + +- `ConnectionAttributeIdentifier` removed (no compatibility alias); split into three types. The `identifier` field on each attribute now points to its own type: + - `EmailAttribute.identifier`: `EmailAttributeIdentifier` — `{active?, default_method?: DefaultMethodEmailIdentifierEnum}` (same shape as the old type; use this as the drop-in replacement). + - `PhoneAttribute.identifier`: `PhoneAttributeIdentifier` — `{active?, default_method?: DefaultMethodPhoneNumberIdentifierEnum}`. + - `UsernameAttribute.identifier`: `UsernameAttributeIdentifier` — `{active?}` (no `default_method`). +- `PhoneProviderProtectionBackoffStrategyEnum`: `Literal["exponential", "none"]` → `Literal["exponential", "default"]`. Replace the value `"none"` with `"default"`. +- `ListRolesOffsetPaginatedResponseContent.start` / `.limit` / `.total`: `Optional[float] = None` → required `float`. Deserializing a role-list response missing any of these now raises `pydantic.ValidationError`. +- **Federated Connections Tokensets removed** — the `users.federated_connections_tokensets` client and its `list`/`delete` methods are removed, along with the `FederatedConnectionTokenSet` and `ConnectionFederatedConnectionsAccessTokens` types. +- **`federated_connections_access_tokens` field removed** — this optional field is no longer present on `ConnectionOptionsAzureAd`, `ConnectionOptionsCommonOidc`, `ConnectionOptionsGoogleApps`, `ConnectionPropertiesOptions`, and `UpdateConnectionOptions`. +- **OAuth scopes removed** — `read:federated_connections_tokens` and `delete:federated_connections_tokens` are no longer valid values of `OauthScope`. +- **`ClientSessionTransferDelegationDeviceBindingEnum` narrowed** — the `"asn"` value is removed; the enum now only accepts `"ip"`. + +### New Endpoints + +- `organizations.roles.members.list(id=..., role_id=...)` (sync + async) → `GET /api/v2/organizations/{id}/roles/{role_id}/members`. New sub-clients `organizations.roles` and `organizations.roles.members`; response type `ListOrganizationRoleMembersResponseContent`, item type `RoleMember`. + +### Type Changes/Features + +- Organizations: `third_party_client_access: Optional[OrganizationThirdPartyClientAccessEnum]` (`Literal["block", "allow"]`) on `create()`/`update()` and all organization response types. +- Organizations: new types `ListOrganizationRoleMembersResponseContent` and `RoleMember` (returned by the role-members endpoint above). +- Grants: new `UserGrant.organization_id: Optional[str]` (read-only), via `GET /grants`. +- Connections: `discovery_url` / `oidc_metadata` extended to `samlp` connections (previously OIDC-only), via new `ConnectionsDiscoveryUrl` / `ConnectionsOidcMetadata` on `ConnectionPropertiesOptions` and `UpdateConnectionOptions`. +- Event Streams: new event-type values `connection.created`, `connection.deleted`, `connection.updated` on `EventStreamEventTypeEnum`, `EventStreamDeliveryEventTypeEnum`, `EventStreamSubscribeEventsEventTypeEnum`, `EventStreamTestEventTypeEnum`; new `EventStreamCloudEventConnection{Created,Deleted,Updated}*` payload types; new `EventStreamSubscribeEventsResponseContent`. +- Token Vault: new `grants: Optional[List[TokenVaultPrivilegedAccessGrant]]` on the privileged-access credential/public-key types. `TokenVaultPrivilegedAccessGrant`: `{connection: str, scopes: List[str]}`. +- New error body types: `NotFoundErrorBody`/`NotFoundErrorBodyError`, `TooManyRequestsErrorBody`/`TooManyRequestsErrorBodyError`. +- CloudEvent `specversion`: `str` → `EventStreamCloudEventSpecVersionEnum` (`Literal["1.0"]` + `Any` fallback) across group/org/user CloudEvent types. +- **`NetworkAclMatch`** — new optional `auth0_managed: Optional[List[str]]` field (serialized as `auth0_managed`), available on both the `match` and `not_match` rule blocks. This lets network ACL rules reference Auth0-managed lists when matching or excluding traffic. + ## [5.8.0](https://github.com/auth0/auth0-python/tree/5.8.0) (2026-06-29) [Full Changelog](https://github.com/auth0/auth0-python/compare/5.7.0...5.8.0) diff --git a/UPGRADING.md b/UPGRADING.md new file mode 100644 index 00000000..ed653dbf --- /dev/null +++ b/UPGRADING.md @@ -0,0 +1,157 @@ +# v6 Migration Guide + +A guide to migrating the Auth0 Python SDK from v5 to v6. + +- [Overall changes](#overall-changes) +- [Breaking changes](#breaking-changes) + - [Federated connections tokensets removed](#federated-connections-tokensets-removed) + - [`federated_connections_access_tokens` field removed](#federated_connections_access_tokens-field-removed) + - [`read:federated_connections_tokens` / `delete:federated_connections_tokens` scopes removed](#readfederated_connections_tokens--deletefederated_connections_tokens-scopes-removed) + - [`ClientSessionTransferDelegationDeviceBindingEnum` narrowed](#clientsessiontransferdelegationdevicebindingenum-narrowed) + - [`ConnectionAttributeIdentifier` split into three types](#connectionattributeidentifier-split-into-three-types) + - [`PhoneProviderProtectionBackoffStrategyEnum` value renamed](#phoneproviderprotectionbackoffstrategyenum-value-renamed) + - [`ListRolesOffsetPaginatedResponseContent` pagination fields now required](#listrolesoffsetpaginatedresponsecontent-pagination-fields-now-required) + +## Overall changes + +v6 removes one deprecated Management API surface (federated connections +tokensets) and tightens a handful of generated types to match the current +Auth0 Management API contract. Most applications will only be affected if +they use the specific types or endpoints listed below. + +The Authentication API is not affected by this release. + +## Breaking changes + +### Federated connections tokensets removed + +The `users.federated_connections_tokensets` sub-client and its `list`/`delete` +methods have been removed, along with the `FederatedConnectionTokenSet` and +`ConnectionFederatedConnectionsAccessTokens` types. This endpoint is no longer +part of the Auth0 Management API. + +```python +# v5 +client.users.federated_connections_tokensets.list(id="user_id") +client.users.federated_connections_tokensets.delete(id="user_id", tokenset_id="tokenset_id") +``` + +```python +# v6 +# No replacement — the endpoint has been removed from the Management API. +``` + +If you depend on this functionality, do not upgrade until you have confirmed +an alternative with Auth0 support. + +### `federated_connections_access_tokens` field removed + +The optional `federated_connections_access_tokens` field has been removed +from: + +- `ConnectionOptionsAzureAd` +- `ConnectionOptionsCommonOidc` +- `ConnectionOptionsGoogleApps` +- `ConnectionPropertiesOptions` +- `UpdateConnectionOptions` + +Any code reading or setting this field on the above types will need to +remove that usage. Note that these models are configured with +`extra="allow"`, so passing `federated_connections_access_tokens` is **not** +silently dropped — it is retained on the model and still serialized into the +outbound request. Remove the field explicitly rather than relying on the SDK +to strip it. + +### `read:federated_connections_tokens` / `delete:federated_connections_tokens` scopes removed + +These two values are no longer valid members of `OauthScope`. Remove any +references to them when requesting or checking scopes. + +### `ClientSessionTransferDelegationDeviceBindingEnum` narrowed + +The `"asn"` literal value has been removed. The enum now only accepts `"ip"`: + +```python +# v5 +ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip", "asn"], typing.Any] +``` + +```python +# v6 +ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip"], typing.Any] +``` + +If you were setting this value to `"asn"`, update it to `"ip"` — this matches +the current Management API's accepted values. + +### `ConnectionAttributeIdentifier` split into three types + +`ConnectionAttributeIdentifier` has been removed with no compatibility alias. +It is replaced by three narrower types, one per attribute: + +| Attribute field | v5 type | v6 type | Shape | +| --- | --- | --- | --- | +| `EmailAttribute.identifier` | `ConnectionAttributeIdentifier` | `EmailAttributeIdentifier` | `{active?, default_method?: DefaultMethodEmailIdentifierEnum}` | +| `PhoneAttribute.identifier` | `ConnectionAttributeIdentifier` | `PhoneAttributeIdentifier` | `{active?, default_method?: DefaultMethodPhoneNumberIdentifierEnum}` | +| `UsernameAttribute.identifier` | `ConnectionAttributeIdentifier` | `UsernameAttributeIdentifier` | `{active?}` (no `default_method`) | + +```python +# v5 +from auth0.management.types import ConnectionAttributeIdentifier + +identifier = ConnectionAttributeIdentifier(active=True, default_method="email_otp") +``` + +```python +# v6 +from auth0.management.types import EmailAttributeIdentifier + +identifier = EmailAttributeIdentifier(active=True, default_method="email_otp") +``` + +`EmailAttributeIdentifier` has the same shape as the old +`ConnectionAttributeIdentifier` and is a drop-in replacement for code that +was only ever used with `EmailAttribute`. Code using +`ConnectionAttributeIdentifier` with `PhoneAttribute` or `UsernameAttribute` +must switch to `PhoneAttributeIdentifier` or `UsernameAttributeIdentifier` +respectively; `UsernameAttributeIdentifier` does not support +`default_method`. + +### `PhoneProviderProtectionBackoffStrategyEnum` value renamed + +The `"none"` literal has been replaced with `"default"`: + +```python +# v5 +PhoneProviderProtectionBackoffStrategyEnum = typing.Union[typing.Literal["exponential", "none"], typing.Any] +``` + +```python +# v6 +PhoneProviderProtectionBackoffStrategyEnum = typing.Union[typing.Literal["exponential", "default"], typing.Any] +``` + +Replace any use of `"none"` with `"default"`. + +### `ListRolesOffsetPaginatedResponseContent` pagination fields now required + +`start`, `limit`, and `total` are no longer optional: + +```python +# v5 +start: typing.Optional[float] = None +limit: typing.Optional[float] = None +total: typing.Optional[float] = None +``` + +```python +# v6 +start: float +limit: float +total: float +``` + +Deserializing a role-list response that is missing any of these fields now +raises `pydantic.ValidationError` instead of silently defaulting to `None`. +This matches the Management API, which always returns these fields for this +endpoint. diff --git a/pyproject.toml b/pyproject.toml index 511cc9ac..e4cdeb91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "auth0-python" [tool.poetry] name = "auth0-python" -version = "5.8.0" +version = "6.11.0" description = "Auth0 Python SDK - Management and Authentication APIs" readme = "README.md" authors = ["Auth0 "] diff --git a/reference.md b/reference.md index 0f3b1182..3b762e63 100644 --- a/reference.md +++ b/reference.md @@ -693,8 +693,8 @@ client.actions.test( -## Branding -
client.branding.get() -> GetBrandingResponseContent +## Agents +
client.agents.list(...) -> ListAgentsResponseContent
@@ -706,7 +706,7 @@ client.actions.test(
-Retrieve branding settings. +Get agents
@@ -729,7 +729,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.get() +client.agents.list( + from_="from", + take=1, +) ``` @@ -745,6 +748,22 @@ client.branding.get()
+**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -757,7 +776,7 @@ client.branding.get()
-
client.branding.update(...) -> UpdateBrandingResponseContent +
client.agents.create(...) -> AgentResponseContent
@@ -769,7 +788,7 @@ client.branding.get()
-Update branding settings. +Create an agent
@@ -792,7 +811,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.update() +client.agents.create( + name="name", +) ``` @@ -808,7 +829,7 @@ client.branding.update()
-**colors:** `typing.Optional[UpdateBrandingColors]` +**name:** `str` — The agent name. Cannot contain <, >, or null bytes.
@@ -816,7 +837,7 @@ client.branding.update()
-**favicon_url:** `typing.Optional[str]` — URL for the favicon. Must use HTTPS. +**client_id:** `typing.Optional[str]` — Optional client ID to associate with the agent
@@ -824,7 +845,7 @@ client.branding.update()
-**logo_url:** `typing.Optional[str]` — URL for the logo. Must use HTTPS. +**external_agent_id:** `typing.Optional[str]` — Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant.
@@ -832,7 +853,7 @@ client.branding.update()
-**font:** `typing.Optional[UpdateBrandingFont]` +**metadata:** `typing.Optional[AgentMetadata]`
@@ -852,8 +873,7 @@ client.branding.update()
-## ClientGrants -
client.client_grants.list(...) -> ListClientGrantPaginatedResponseContent +
client.agents.read(...) -> AgentResponseContent
@@ -865,7 +885,7 @@ client.branding.update()
-Retrieve a list of [client grants](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the scopes associated with the application/API pair. +Get an agent
@@ -888,14 +908,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.list( - from_="from", - take=1, - audience="audience", - client_id="client_id", - allow_any_organization=True, - subject_type="client", - default_for="third_party_clients", +client.agents.read( + id="id", ) ``` @@ -912,55 +926,7 @@ client.client_grants.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- -**audience:** `typing.Optional[str]` — Optional filter on audience. - -
-
- -
-
- -**client_id:** `typing.Optional[str]` — Optional filter on client_id. - -
-
- -
-
- -**allow_any_organization:** `typing.Optional[ClientGrantAllowAnyOrganizationEnum]` — Optional filter on allow_any_organization. - -
-
- -
-
- -**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` — The type of application access the client grant allows. - -
-
- -
-
- -**default_for:** `typing.Optional[ClientGrantDefaultForEnum]` — Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. +**id:** `str` — The agent ID
@@ -980,7 +946,7 @@ client.client_grants.list(
-
client.client_grants.create(...) -> CreateClientGrantResponseContent +
client.agents.delete(...)
@@ -992,7 +958,7 @@ client.client_grants.list(
-Create a client grant for a machine-to-machine login flow. To learn more, read [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow). +Delete an agent
@@ -1015,8 +981,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.create( - audience="audience", +client.agents.delete( + id="id", ) ``` @@ -1033,71 +999,7 @@ client.client_grants.create(
-**audience:** `str` — The audience (API identifier) of this client grant - -
-
- -
-
- -**client_id:** `typing.Optional[str]` — ID of the client. - -
-
- -
-
- -**default_for:** `typing.Optional[ClientGrantDefaultForEnum]` - -
-
- -
-
- -**organization_usage:** `typing.Optional[ClientGrantOrganizationUsageEnum]` - -
-
- -
-
- -**allow_any_organization:** `typing.Optional[bool]` — If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. - -
-
- -
-
- -**scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant. - -
-
- -
-
- -**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` - -
-
- -
-
- -**authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant. - -
-
- -
-
- -**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant. +**id:** `str` — The agent ID
@@ -1117,7 +1019,7 @@ client.client_grants.create(
-
client.client_grants.get(...) -> GetClientGrantResponseContent +
client.agents.update(...) -> AgentResponseContent
@@ -1129,8 +1031,7 @@ client.client_grants.create(
-Retrieve a single [client grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the -scopes associated with the application/API pair. +Update an agent
@@ -1153,7 +1054,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.get( +client.agents.update( id="id", ) @@ -1171,7 +1072,23 @@ client.client_grants.get(
-**id:** `str` — The ID of the client grant to retrieve. +**id:** `str` — The agent ID + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — The agent name. Cannot contain <, >, or null bytes. + +
+
+ +
+
+ +**metadata:** `typing.Optional[typing.Dict[str, typing.Any]]` — Arbitrary key-value metadata for the agent. Pass null to clear all metadata.
@@ -1191,7 +1108,8 @@ client.client_grants.get(
-
client.client_grants.delete(...) +## Branding +
client.branding.get() -> GetBrandingResponseContent
@@ -1203,7 +1121,7 @@ client.client_grants.get(
-Delete the [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow) from your machine-to-machine application. +Retrieve branding settings.
@@ -1226,9 +1144,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.delete( - id="id", -) +client.branding.get() ``` @@ -1244,14 +1160,6 @@ client.client_grants.delete(
-**id:** `str` — ID of the client grant to delete. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1264,7 +1172,7 @@ client.client_grants.delete(
-
client.client_grants.update(...) -> UpdateClientGrantResponseContent +
client.branding.update(...) -> UpdateBrandingResponseContent
@@ -1276,7 +1184,7 @@ client.client_grants.delete(
-Update a client grant. +Update branding settings.
@@ -1299,9 +1207,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.update( - id="id", -) +client.branding.update() ``` @@ -1317,23 +1223,7 @@ client.client_grants.update(
-**id:** `str` — ID of the client grant to update. - -
-
- -
-
- -**scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant. - -
-
- -
-
- -**organization_usage:** `typing.Optional[ClientGrantOrganizationNullableUsageEnum]` +**colors:** `typing.Optional[UpdateBrandingColors]`
@@ -1341,7 +1231,7 @@ client.client_grants.update(
-**allow_any_organization:** `typing.Optional[bool]` — Controls allowing any organization to be used with this grant +**favicon_url:** `typing.Optional[str]` — URL for the favicon. Must use HTTPS.
@@ -1349,7 +1239,7 @@ client.client_grants.update(
-**authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant. +**logo_url:** `typing.Optional[str]` — URL for the logo. Must use HTTPS.
@@ -1357,7 +1247,7 @@ client.client_grants.update(
-**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant. +**font:** `typing.Optional[UpdateBrandingFont]`
@@ -1377,8 +1267,8 @@ client.client_grants.update(
-## Clients -
client.clients.list(...) -> ListClientsOffsetPaginatedResponseContent +## ClientGrants +
client.client_grants.list(...) -> ListClientGrantPaginatedResponseContent
@@ -1390,31 +1280,7 @@ client.client_grants.update(
-Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude may also be specified. -For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). - -- The following can be retrieved with any scope: - `client_id`, `app_type`, `name`, and `description`. -- The following properties can only be retrieved with the `read:clients` or - `read:client_keys` scope: - `callbacks`, `oidc_logout`, `allowed_origins`, - `web_origins`, `tenant`, `global`, `config_route`, - `callback_url_template`, `jwt_configuration`, - `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, - `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, - `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, - `custom_login_page_codeview`, `resource_servers`, `client_metadata`, - `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, - `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, - `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`, - `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`, - `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`, - `organization_require_behavior`. -- The following properties can only be retrieved with the - `read:client_keys` or `read:client_credentials` scope: - `encryption_key`, `encryption_key.pub`, `encryption_key.cert`, - `client_secret`, `client_authentication_methods` and `signing_key`. +Retrieve a list of [client grants](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the scopes associated with the application/API pair.
@@ -1437,17 +1303,15 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.list( - fields="fields", - include_fields=True, - page=1, - per_page=1, +client.client_grants.list( include_totals=True, - is_global=True, - is_first_party=True, - app_type="app_type", - external_client_id="external_client_id", - q="q", + from_="from", + take=1, + audience="audience", + client_id="client_id", + allow_any_organization=True, + subject_type="client", + default_for="third_party_clients", ) ``` @@ -1464,23 +1328,7 @@ client.clients.list(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). - -
-
- -
-
- -**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -1488,7 +1336,7 @@ client.clients.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100 +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -1496,7 +1344,7 @@ client.clients.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -1504,7 +1352,7 @@ client.clients.list(
-**is_global:** `typing.Optional[bool]` — Optional filter on the global client parameter. +**audience:** `typing.Optional[str]` — Optional filter on audience.
@@ -1512,7 +1360,7 @@ client.clients.list(
-**is_first_party:** `typing.Optional[bool]` — Optional filter on whether or not a client is a first-party client. +**client_id:** `typing.Optional[str]` — Optional filter on client_id.
@@ -1520,7 +1368,7 @@ client.clients.list(
-**app_type:** `typing.Optional[str]` — Optional filter by a comma-separated list of application types. +**allow_any_organization:** `typing.Optional[ClientGrantAllowAnyOrganizationEnum]` — Optional filter on allow_any_organization.
@@ -1528,7 +1376,7 @@ client.clients.list(
-**external_client_id:** `typing.Optional[str]` — Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. +**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` — The type of application access the client grant allows.
@@ -1536,7 +1384,7 @@ client.clients.list(
-**q:** `typing.Optional[str]` — Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results +**default_for:** `typing.Optional[ClientGrantDefaultForEnum]` — Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`.
@@ -1556,7 +1404,7 @@ client.clients.list(
-
client.clients.create(...) -> CreateClientResponseContent +
client.client_grants.create(...) -> CreateClientGrantResponseContent
@@ -1568,20 +1416,7 @@ client.clients.list(
-Create a new client (application or SSO integration). For more information, read [Create Applications](https://www.auth0.com/docs/get-started/auth0-overview/create-applications) -[API Endpoints for Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on/api-endpoints-for-single-sign-on). - -Notes: -- We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret. -- The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use -`client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` -to configure the client with client secret (basic or post) or with no authentication method (none). -- When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, specify fully defined credentials. -These credentials will be automatically enabled for Private Key JWT authentication on the client. -- To configure `client_authentication_methods`, the `create:client_credentials` scope is required. -- To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256. - -SSO Integrations created via this endpoint will accept login requests and share user profile information. +Create a client grant for a machine-to-machine login flow. To learn more, read [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow).
@@ -1604,8 +1439,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.create( - name="name", +client.client_grants.create( + audience="audience", ) ``` @@ -1622,7 +1457,7 @@ client.clients.create(
-**name:** `str` — Name of this client (min length: 1 character, does not allow `<` or `>`). +**audience:** `str` — The audience (API identifier) of this client grant
@@ -1630,7 +1465,7 @@ client.clients.create(
-**description:** `typing.Optional[str]` — Free text description of this client (max length: 140 characters). +**client_id:** `typing.Optional[str]` — ID of the client.
@@ -1638,7 +1473,7 @@ client.clients.create(
-**logo_uri:** `typing.Optional[str]` — URL of the logo to display for this client. Recommended size is 150x150 pixels. +**default_for:** `typing.Optional[ClientGrantDefaultForEnum]`
@@ -1646,7 +1481,7 @@ client.clients.create(
-**callbacks:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication. +**organization_usage:** `typing.Optional[ClientGrantOrganizationUsageEnum]`
@@ -1654,7 +1489,7 @@ client.clients.create(
-**oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` +**allow_any_organization:** `typing.Optional[bool]` — If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
@@ -1662,7 +1497,7 @@ client.clients.create(
-**oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) +**scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant.
@@ -1670,7 +1505,7 @@ client.clients.create(
-**session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]` +**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]`
@@ -1678,7 +1513,7 @@ client.clients.create(
-**allowed_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs. +**authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant.
@@ -1686,7 +1521,7 @@ client.clients.create(
-**web_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode. +**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant.
@@ -1694,71 +1529,79 @@ client.clients.create(
-**client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences/realms for SAML protocol. Used by the wsfed addon. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**allowed_clients:** `typing.Optional[typing.List[str]]` — List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed. -
+
+
client.client_grants.search(...) -> SearchClientGrantsResponseContent
-**allowed_logout_urls:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains. - -
-
+#### 📝 Description
-**grant_types:** `typing.Optional[typing.List[str]]` — List of grant types supported for this application. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`. - -
-
-
-**token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodEnum]` - +Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. +Results may not reflect recent updates immediately. +
+
+#### 🔌 Usage +
-**is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint. - -
-
-
-**app_type:** `typing.Optional[ClientAppTypeEnum]` - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.client_grants.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="audience", +) + +```
+ + + +#### ⚙️ Parameters
-**is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not - -
-
-
-**oidc_conformant:** `typing.Optional[bool]` — Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false). +**q:** `typing.Optional[str]` — Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • audience - Filter by audience (eq, ne, sw, co, ew, pr)
  • client_id - Filter by client ID (eq, ne, sw, pr)
  • subject_type - Filter by subject type (eq, ne, sw, pr)
  • allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
  • organization_id - Filter by organization ID (eq, ne, sw, pr)
  • updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
  • default_for - Filter by default grant group (eq, ne, sw, pr)
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates.
@@ -1766,7 +1609,7 @@ client.clients.create(
-**jwt_configuration:** `typing.Optional[ClientJwtConfiguration]` +**parser:** `typing.Optional[SearchParserEnum]` — Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default).
@@ -1774,7 +1617,7 @@ client.clients.create(
-**encryption_key:** `typing.Optional[ClientEncryptionKey]` +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode.
@@ -1782,7 +1625,7 @@ client.clients.create(
-**sso:** `typing.Optional[bool]` — Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false). +**include_fields:** `typing.Optional[bool]` — Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified.
@@ -1790,7 +1633,7 @@ client.clients.create(
-**cross_origin_authentication:** `typing.Optional[bool]` — Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false). +**take:** `typing.Optional[int]` — Maximum number of results to return per page (1-100). Defaults to 50.
@@ -1798,7 +1641,7 @@ client.clients.create(
-**cross_origin_loc:** `typing.Optional[str]` — URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page. +**from:** `typing.Optional[str]` — Cursor for the next page of results. Use the value from the next field in the previous response.
@@ -1806,7 +1649,7 @@ client.clients.create(
-**sso_disabled:** `typing.Optional[bool]` — true to disable Single Sign On, false otherwise (default: false) +**sort:** `typing.Optional[ClientGrantSortFieldEnum]` — Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided.
@@ -1814,71 +1657,73 @@ client.clients.create(
-**custom_login_page_on:** `typing.Optional[bool]` — true if the custom login page is to be used, false otherwise. Defaults to true +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page. -
+
+
client.client_grants.get(...) -> GetClientGrantResponseContent
-**custom_login_page_preview:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page. (Used on Previews) - -
-
+#### 📝 Description
-**form_template:** `typing.Optional[str]` — HTML form template to be used for WS-Federation. - -
-
-
-**addons:** `typing.Optional[ClientAddons]` - +Retrieve a single [client grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the +scopes associated with the application/API pair. +
+
+#### 🔌 Usage +
-**client_metadata:** `typing.Optional[ClientMetadata]` - -
-
-
-**mobile:** `typing.Optional[ClientMobile]` - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.client_grants.get( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https - -
-
-
-**native_social_login:** `typing.Optional[NativeSocialLogin]` +**id:** `str` — The ID of the client grant to retrieve.
@@ -1886,71 +1731,72 @@ client.clients.create(
-**fedcm_login:** `typing.Optional[FedCmLogin]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]` -
+
+
client.client_grants.delete(...)
-**default_organization:** `typing.Optional[ClientDefaultOrganization]` - -
-
+#### 📝 Description
-**organization_usage:** `typing.Optional[ClientOrganizationUsageEnum]` - -
-
-
-**organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorEnum]` - +Delete the [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow) from your machine-to-machine application.
+ + + +#### 🔌 Usage
-**organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both. - -
-
-
-**client_authentication_methods:** `typing.Optional[ClientCreateAuthenticationMethod]` - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.client_grants.delete( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client - -
-
-
-**require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client +**id:** `str` — ID of the client grant to delete.
@@ -1958,67 +1804,72 @@ client.clients.create(
-**signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithPublicKey]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]` -
+
+
client.client_grants.update(...) -> UpdateClientGrantResponseContent
-**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]` - -
-
+#### 📝 Description
-**skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]` +
+
-Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). -If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. -See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information. - +Update a client grant.
+
+
+ +#### 🔌 Usage
-**token_exchange:** `typing.Optional[ClientTokenExchangeConfiguration]` - -
-
-
-**par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.client_grants.update( + id="id", +) + +```
+ + + +#### ⚙️ Parameters
-**token_quota:** `typing.Optional[CreateTokenQuota]` - -
-
-
-**resource_server_identifier:** `typing.Optional[str]` — The identifier of the resource server that this client is linked to. +**id:** `str` — ID of the client grant to update.
@@ -2026,7 +1877,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]` +**scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant.
@@ -2034,7 +1885,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]` +**organization_usage:** `typing.Optional[ClientGrantOrganizationNullableUsageEnum]`
@@ -2042,7 +1893,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**express_configuration:** `typing.Optional[ExpressConfiguration]` +**allow_any_organization:** `typing.Optional[bool]` — Controls allowing any organization to be used with this grant
@@ -2050,7 +1901,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**my_organization_configuration:** `typing.Optional[ClientMyOrganizationPostConfiguration]` +**authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant.
@@ -2058,7 +1909,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]` +**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant.
@@ -2078,7 +1929,8 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-
client.clients.preview_cimd_metadata(...) -> PreviewCimdMetadataResponseContent +## ClientProfiles +
client.client_profiles.list(...) -> ListClientProfilesPaginatedResponseContent
@@ -2090,11 +1942,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
- - Fetches and validates a Client ID Metadata Document without creating a client. - Returns the raw metadata and how it would be mapped to Auth0 client fields. - This endpoint is useful for testing metadata URIs before creating CIMD clients. - +Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the next cursor from a previous response as the from query parameter to retrieve the following page.
@@ -2117,8 +1965,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.preview_cimd_metadata( - external_client_id="external_client_id", +client.client_profiles.list( + from_="from", + take=1, ) ``` @@ -2135,7 +1984,15 @@ client.clients.preview_cimd_metadata(
-**external_client_id:** `str` — URL to the Client ID Metadata Document +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -2155,7 +2012,7 @@ client.clients.preview_cimd_metadata(
-
client.clients.register_cimd_client(...) -> RegisterCimdClientResponseContent +
client.client_profiles.create(...) -> ClientProfile
@@ -2167,17 +2024,7 @@ client.clients.preview_cimd_metadata(
-Idempotent registration for Client ID Metadata Document (CIMD) clients. -Uses external_client_id as the unique identifier for upsert operations. - -**Create:** Returns 201 when a new client is created (requires `create:clients` scope). -**Update:** Returns 200 when an existing client is updated (requires `update:clients` scope). - -This endpoint automatically: -- Fetches and validates the metadata document -- Maps CIMD fields to Auth0 client configuration -- Creates/rotates credentials from the JWKS -- Enforces CIMD security policies (HTTPS-only, no shared secrets) +Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime.
@@ -2192,7 +2039,7 @@ This endpoint automatically:
```python -from auth0.management import Auth0 +from auth0.management import Auth0, ClientProfileClientConfiguration, ClientProfileApplyPolicy from auth0.management.environment import Auth0Environment client = Auth0( @@ -2200,8 +2047,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.register_cimd_client( - external_client_id="external_client_id", +client.client_profiles.create( + name="name", + client_configuration=ClientProfileClientConfiguration(), + apply_policy=ClientProfileApplyPolicy( + external_metadata_type="cimd", + external_metadata_created_by="client", + ), ) ``` @@ -2218,7 +2070,31 @@ client.clients.register_cimd_client(
-**external_client_id:** `str` — URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations. +**name:** `ClientProfileName` + +
+
+ +
+
+ +**client_configuration:** `ClientProfileClientConfiguration` + +
+
+ +
+
+ +**apply_policy:** `ClientProfileApplyPolicy` + +
+
+ +
+
+ +**description:** `typing.Optional[ClientProfileDescription]`
@@ -2238,7 +2114,7 @@ client.clients.register_cimd_client(
-
client.clients.get(...) -> GetClientResponseContent +
client.client_profiles.get(...) -> ClientProfile
@@ -2250,30 +2126,7 @@ client.clients.register_cimd_client(
-Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified. -For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). - -- The following properties can be retrieved with any of the scopes: - `client_id`, `app_type`, `name`, and `description`. -- The following properties can only be retrieved with the `read:clients` or - `read:client_keys` scopes: - `callbacks`, `oidc_logout`, `allowed_origins`, - `web_origins`, `tenant`, `global`, `config_route`, - `callback_url_template`, `jwt_configuration`, - `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, - `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, - `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, - `custom_login_page_codeview`, `resource_servers`, `client_metadata`, - `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, - `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, - `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`, - `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`, - `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`, - `organization_require_behavior`. -- The following properties can only be retrieved with the `read:client_keys` or `read:client_credentials` scopes: - `encryption_key`, `encryption_key.pub`, `encryption_key.cert`, - `client_secret`, `client_authentication_methods` and `signing_key`. +Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID exists for the tenant.
@@ -2296,10 +2149,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.get( +client.client_profiles.get( id="id", - fields="fields", - include_fields=True, ) ``` @@ -2316,23 +2167,7 @@ client.clients.get(
-**id:** `str` — ID of the client to retrieve. - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**id:** `ClientProfileId` — ID of the client profile.
@@ -2352,7 +2187,7 @@ client.clients.get(
-
client.clients.delete(...) +
client.client_profiles.delete(...)
@@ -2364,7 +2199,7 @@ client.clients.get(
-Delete a client and related configuration (rules, connections, etc). +Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately.
@@ -2387,7 +2222,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.delete( +client.client_profiles.delete( id="id", ) @@ -2405,7 +2240,7 @@ client.clients.delete(
-**id:** `str` — ID of the client to delete. +**id:** `ClientProfileId` — ID of the client profile.
@@ -2425,7 +2260,7 @@ client.clients.delete(
-
client.clients.update(...) -> UpdateClientResponseContent +
client.client_profiles.update(...) -> ClientProfile
@@ -2437,15 +2272,7 @@ client.clients.delete(
-Updates a client's settings. For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). - -Notes: -- The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope. -- The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` to configure the client with client secret (basic or post) or with no authentication method (none). -- When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, only specify the credential IDs that were generated when creating the credentials on the client. -- To configure `client_authentication_methods`, the `update:client_credentials` scope is required. -- To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256. -- To change a client's `is_first_party` property to `false`, the `organization_usage` and `organization_require_behavior` properties must be unset. +Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as client_configuration must be supplied in full.
@@ -2468,7 +2295,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.update( +client.client_profiles.update( id="id", ) @@ -2486,7 +2313,7 @@ client.clients.update(
-**id:** `str` — ID of the client to update. +**id:** `ClientProfileId` — ID of the client profile.
@@ -2494,7 +2321,7 @@ client.clients.update(
-**name:** `typing.Optional[str]` — The name of the client. Must contain at least one character. Does not allow '<' or '>'. +**name:** `typing.Optional[ClientProfileName]`
@@ -2502,7 +2329,7 @@ client.clients.update(
-**description:** `typing.Optional[str]` — Free text description of the purpose of the Client. (Max character length: 140) +**description:** `typing.Optional[ClientProfileDescription]`
@@ -2510,7 +2337,7 @@ client.clients.update(
-**client_secret:** `typing.Optional[str]` — The secret used to sign tokens for the client +**client_configuration:** `typing.Optional[ClientProfileClientConfiguration]`
@@ -2518,7 +2345,7 @@ client.clients.update(
-**logo_uri:** `typing.Optional[str]` — The URL of the client logo (recommended size: 150x150) +**apply_policy:** `typing.Optional[ClientProfileApplyPolicy]`
@@ -2526,47 +2353,107 @@ client.clients.update(
-**callbacks:** `typing.Optional[typing.List[str]]` — A set of URLs that are valid to call back from Auth0 when authenticating users +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` -
+
+## Clients +
client.clients.list(...) -> ListClientsOffsetPaginatedResponseContent
-**oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) - -
-
+#### 📝 Description
-**session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]` - +
+
+ +Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude may also be specified. +For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). + +- The following can be retrieved with any scope: + `client_id`, `app_type`, `name`, and `description`. +- The following properties can only be retrieved with the `read:clients` or + `read:client_keys` scope: + `callbacks`, `oidc_logout`, `allowed_origins`, + `web_origins`, `tenant`, `global`, `config_route`, + `callback_url_template`, `jwt_configuration`, + `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, + `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, + `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, + `custom_login_page_codeview`, `resource_servers`, `client_metadata`, + `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, + `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, + `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`, + `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`, + `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`, + `organization_require_behavior`. +- The following properties can only be retrieved with the + `read:client_keys` or `read:client_credentials` scope: + `encryption_key`, `encryption_key.pub`, `encryption_key.cert`, + `client_secret`, `client_authentication_methods` and `signing_key`. +
+
+#### 🔌 Usage +
-**allowed_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid origins for CORS - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.clients.list( + fields="fields", + include_fields=True, + page=1, + per_page=1, + include_totals=True, + is_global=True, + is_first_party=True, + app_type="app_type", + external_client_id="external_client_id", + agent_id="agent_id", + q="q", +) + +``` +
+
+#### ⚙️ Parameters +
-**web_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid web origins for use with web message response mode +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
@@ -2574,7 +2461,7 @@ client.clients.update(
-**grant_types:** `typing.Optional[typing.List[str]]` — A set of grant types that the client is authorized to use. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`. +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -2582,7 +2469,7 @@ client.clients.update(
-**client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences for SAML protocol +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -2590,7 +2477,7 @@ client.clients.update(
-**allowed_clients:** `typing.Optional[typing.List[str]]` — Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients +**per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100
@@ -2598,7 +2485,7 @@ client.clients.update(
-**allowed_logout_urls:** `typing.Optional[typing.List[str]]` — URLs that are valid to redirect to after logout from Auth0 +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -2606,7 +2493,7 @@ client.clients.update(
-**jwt_configuration:** `typing.Optional[ClientJwtConfiguration]` — An object that holds settings related to how JWTs are created +**is_global:** `typing.Optional[bool]` — Optional filter on the global client parameter.
@@ -2614,7 +2501,7 @@ client.clients.update(
-**encryption_key:** `typing.Optional[ClientEncryptionKey]` — The client's encryption key +**is_first_party:** `typing.Optional[bool]` — Optional filter on whether or not a client is a first-party client.
@@ -2622,7 +2509,7 @@ client.clients.update(
-**sso:** `typing.Optional[bool]` — true to use Auth0 instead of the IdP to do Single Sign On, false otherwise (default: false) +**app_type:** `typing.Optional[str]` — Optional filter by a comma-separated list of application types.
@@ -2630,7 +2517,7 @@ client.clients.update(
-**cross_origin_authentication:** `typing.Optional[bool]` — true if this client can be used to make cross-origin authentication requests, false otherwise if cross origin is disabled +**external_client_id:** `typing.Optional[str]` — Optional filter by the Client ID Metadata Document URI for CIMD-registered clients.
@@ -2638,7 +2525,7 @@ client.clients.update(
-**cross_origin_loc:** `typing.Optional[str]` — URL for the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page. +**agent_id:** `typing.Optional[str]` — Optional filter by the agent associated with the client.
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Only fields, include_fields, page, per_page, and include_totals are supported alongside it
  • Checkpoint pagination (from, take) is not supported
@@ -2646,7 +2533,7 @@ client.clients.update(
-**sso_disabled:** `typing.Optional[bool]` — true to disable Single Sign On, false otherwise (default: false) +**q:** `typing.Optional[str]` — Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results
@@ -2654,47 +2541,85 @@ client.clients.update(
-**custom_login_page_on:** `typing.Optional[bool]` — true if the custom login page is to be used, false otherwise. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodOrNullEnum]` -
+
+
client.clients.create(...) -> CreateClientResponseContent
-**is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint. - -
-
+#### 📝 Description
-**app_type:** `typing.Optional[ClientAppTypeEnum]` - +
+
+ +Create a new client (application or SSO integration). For more information, read [Create Applications](https://www.auth0.com/docs/get-started/auth0-overview/create-applications) +[API Endpoints for Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on/api-endpoints-for-single-sign-on). + +Notes: +- We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret. +- The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use +`client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` +to configure the client with client secret (basic or post) or with no authentication method (none). +- When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, specify fully defined credentials. +These credentials will be automatically enabled for Private Key JWT authentication on the client. +- To configure `client_authentication_methods`, the `create:client_credentials` scope is required. +- To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256. + +SSO Integrations created via this endpoint will accept login requests and share user profile information.
+
+
+ +#### 🔌 Usage
-**is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.clients.create( + name="name", +) + +``` +
+
+#### ⚙️ Parameters +
-**oidc_conformant:** `typing.Optional[bool]` — Whether this client will conform to strict OIDC specifications +
+
+ +**name:** `str` — Name of this client (min length: 1 character, does not allow `<` or `>`).
@@ -2702,7 +2627,7 @@ client.clients.update(
-**custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page +**description:** `typing.Optional[str]` — Free text description of this client (max length: 140 characters).
@@ -2710,7 +2635,7 @@ client.clients.update(
-**custom_login_page_preview:** `typing.Optional[str]` +**logo_uri:** `typing.Optional[str]` — URL of the logo to display for this client. Recommended size is 150x150 pixels.
@@ -2718,7 +2643,7 @@ client.clients.update(
-**token_quota:** `typing.Optional[UpdateTokenQuota]` +**callbacks:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication.
@@ -2726,7 +2651,7 @@ client.clients.update(
-**form_template:** `typing.Optional[str]` — Form template for WS-Federation protocol +**oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]`
@@ -2734,7 +2659,7 @@ client.clients.update(
-**addons:** `typing.Optional[ClientAddons]` +**oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
@@ -2742,7 +2667,7 @@ client.clients.update(
-**client_metadata:** `typing.Optional[ClientMetadata]` +**session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]`
@@ -2750,7 +2675,7 @@ client.clients.update(
-**mobile:** `typing.Optional[ClientMobile]` — Configuration related to native mobile apps +**allowed_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs.
@@ -2758,7 +2683,7 @@ client.clients.update(
-**initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https +**web_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode.
@@ -2766,7 +2691,7 @@ client.clients.update(
-**native_social_login:** `typing.Optional[NativeSocialLoginPatch]` +**client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences/realms for SAML protocol. Used by the wsfed addon.
@@ -2774,7 +2699,7 @@ client.clients.update(
-**fedcm_login:** `typing.Optional[FedCmLoginPatch]` +**allowed_clients:** `typing.Optional[typing.List[str]]` — List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed.
@@ -2782,7 +2707,7 @@ client.clients.update(
-**refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]` +**allowed_logout_urls:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains.
@@ -2790,7 +2715,7 @@ client.clients.update(
-**default_organization:** `typing.Optional[ClientDefaultOrganization]` +**grant_types:** `typing.Optional[typing.List[str]]` — List of grant types supported for this application. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`.
@@ -2798,7 +2723,7 @@ client.clients.update(
-**organization_usage:** `typing.Optional[ClientOrganizationUsagePatchEnum]` +**token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodEnum]`
@@ -2806,7 +2731,7 @@ client.clients.update(
-**organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorPatchEnum]` +**is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint.
@@ -2814,7 +2739,7 @@ client.clients.update(
-**organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both. +**app_type:** `typing.Optional[ClientAppTypeEnum]`
@@ -2822,7 +2747,7 @@ client.clients.update(
-**client_authentication_methods:** `typing.Optional[ClientAuthenticationMethod]` +**is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not
@@ -2830,7 +2755,7 @@ client.clients.update(
-**require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client +**oidc_conformant:** `typing.Optional[bool]` — Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false).
@@ -2838,7 +2763,7 @@ client.clients.update(
-**require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client +**jwt_configuration:** `typing.Optional[ClientJwtConfiguration]`
@@ -2846,7 +2771,7 @@ client.clients.update(
-**signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithCredentialId]` +**encryption_key:** `typing.Optional[ClientEncryptionKey]`
@@ -2854,7 +2779,7 @@ client.clients.update(
-**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]` +**sso:** `typing.Optional[bool]` — Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false).
@@ -2862,7 +2787,7 @@ client.clients.update(
-**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]` +**cross_origin_authentication:** `typing.Optional[bool]` — Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
@@ -2870,11 +2795,7 @@ client.clients.update(
-**skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]` - -Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). -If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. -See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information. +**cross_origin_loc:** `typing.Optional[str]` — URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
@@ -2882,7 +2803,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**token_exchange:** `typing.Optional[ClientTokenExchangeConfigurationOrNull]` +**sso_disabled:** `typing.Optional[bool]` — true to disable Single Sign On, false otherwise (default: false)
@@ -2890,7 +2811,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid +**custom_login_page_on:** `typing.Optional[bool]` — true if the custom login page is to be used, false otherwise. Defaults to true
@@ -2898,7 +2819,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**express_configuration:** `typing.Optional[ExpressConfigurationOrNull]` +**custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page.
@@ -2906,7 +2827,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**my_organization_configuration:** `typing.Optional[ClientMyOrganizationPatchConfiguration]` +**custom_login_page_preview:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page. (Used on Previews)
@@ -2914,7 +2835,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]` +**form_template:** `typing.Optional[str]` — HTML form template to be used for WS-Federation.
@@ -2922,7 +2843,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]` +**addons:** `typing.Optional[ClientAddons]`
@@ -2930,7 +2851,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]` +**client_metadata:** `typing.Optional[ClientMetadata]`
@@ -2938,76 +2859,71 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**mobile:** `typing.Optional[ClientMobile]`
-
-
+
+
+**initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https +
-
-
client.clients.rotate_secret(...) -> RotateClientSecretResponseContent
-#### 📝 Description +**native_social_login:** `typing.Optional[NativeSocialLogin]` + +
+
+**fedcm_login:** `typing.Optional[FedCmLogin]` + +
+
+
-Rotate a client secret. - -This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt). The generated secret is NOT base64 encoded. - -For more information, read [Rotate Client Secrets](https://www.auth0.com/docs/get-started/applications/rotate-client-secret). -
-
+**refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]` + -#### 🔌 Usage -
+**default_organization:** `typing.Optional[ClientDefaultOrganization]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.clients.rotate_secret( - id="id", -) - -``` -
-
+**organization_usage:** `typing.Optional[ClientOrganizationUsageEnum]` + -#### ⚙️ Parameters -
+**organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorEnum]` + +
+
+
-**id:** `str` — ID of the client that will rotate secrets. +**organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
@@ -3015,74 +2931,67 @@ client.clients.rotate_secret(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**client_authentication_methods:** `typing.Optional[ClientCreateAuthenticationMethod]`
- - +
+
+**require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client +
-
-## ConnectionProfiles -
client.connection_profiles.list(...) -> ListConnectionProfilesPaginatedResponseContent
-#### 📝 Description +**require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client + +
+
+**signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithPublicKey]` + +
+
+
-Retrieve a list of Connection Profiles. This endpoint supports Checkpoint pagination. -
-
+**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]` + -#### 🔌 Usage -
+**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connection_profiles.list( - from_="from", - take=1, -) +**skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]` -``` -
-
+Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). +If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. +See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information. + -#### ⚙️ Parameters - -
-
-
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**token_exchange:** `typing.Optional[ClientTokenExchangeConfiguration]`
@@ -3090,7 +2999,7 @@ client.connection_profiles.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 5. +**par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid
@@ -3098,72 +3007,71 @@ client.connection_profiles.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**token_quota:** `typing.Optional[CreateTokenQuota]`
-
-
+
+
+**resource_server_identifier:** `typing.Optional[str]` — The identifier of the resource server that this client is linked to. +
-
-
client.connection_profiles.create(...) -> CreateConnectionProfileResponseContent
-#### 📝 Description +**identity_assertion_authorization_grant:** `typing.Optional[CreateIdentityAssertionAuthorizationGrant]` + +
+
+**anonymous_sessions:** `typing.Optional[CreateAnonymousSessions]` + +
+
+
-Create a Connection Profile. -
-
+**enforce_anon_session_transfer_network_binding:** `typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum]` + -#### 🔌 Usage -
+**third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connection_profiles.create( - name="name", -) - -``` -
-
+**redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]` + -#### ⚙️ Parameters -
+**express_configuration:** `typing.Optional[ExpressConfiguration]` + +
+
+
-**name:** `ConnectionProfileName` +**b_2_b_integration_configuration:** `typing.Optional[B2BIntegrationConfiguration]`
@@ -3171,7 +3079,7 @@ client.connection_profiles.create(
-**organization:** `typing.Optional[ConnectionProfileOrganization]` +**my_organization_configuration:** `typing.Optional[ClientMyOrganizationPostConfiguration]`
@@ -3179,7 +3087,7 @@ client.connection_profiles.create(
-**connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]` +**google_account_linking:** `typing.Optional[GoogleAccountLinkingConfigurationCreate]`
@@ -3187,7 +3095,7 @@ client.connection_profiles.create(
-**enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]` +**async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]`
@@ -3195,7 +3103,7 @@ client.connection_profiles.create(
-**connection_config:** `typing.Optional[ConnectionProfileConfig]` +**agent_id:** `typing.Optional[str]` — ID of the agent to associate with this client.
@@ -3203,7 +3111,7 @@ client.connection_profiles.create(
-**strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]` +**oidc_support:** `typing.Optional[ClientOidcSupportPost]`
@@ -3223,7 +3131,7 @@ client.connection_profiles.create(
-
client.connection_profiles.list_templates() -> ListConnectionProfileTemplateResponseContent +
client.clients.preview_cimd_metadata(...) -> PreviewCimdMetadataResponseContent
@@ -3235,7 +3143,11 @@ client.connection_profiles.create(
-Retrieve a list of Connection Profile Templates. + + Fetches and validates a Client ID Metadata Document without creating a client. + Returns the raw metadata and how it would be mapped to Auth0 client fields. + This endpoint is useful for testing metadata URIs before creating CIMD clients. +
@@ -3258,7 +3170,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connection_profiles.list_templates() +client.clients.preview_cimd_metadata( + external_client_id="external_client_id", +) ``` @@ -3274,6 +3188,14 @@ client.connection_profiles.list_templates()
+**external_client_id:** `str` — URL to the Client ID Metadata Document + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -3286,7 +3208,7 @@ client.connection_profiles.list_templates()
-
client.connection_profiles.get_template(...) -> GetConnectionProfileTemplateResponseContent +
client.clients.register_cimd_client(...) -> RegisterCimdClientResponseContent
@@ -3298,7 +3220,17 @@ client.connection_profiles.list_templates()
-Retrieve a Connection Profile Template. +Idempotent registration for Client ID Metadata Document (CIMD) clients. +Uses external_client_id as the unique identifier for upsert operations. + +**Create:** Returns 201 when a new client is created (requires `create:clients` scope). +**Update:** Returns 200 when an existing client is updated (requires `update:clients` scope). + +This endpoint automatically: +- Fetches and validates the metadata document +- Maps CIMD fields to Auth0 client configuration +- Creates/rotates credentials from the JWKS +- Enforces CIMD security policies (HTTPS-only, no shared secrets)
@@ -3321,8 +3253,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connection_profiles.get_template( - id="id", +client.clients.register_cimd_client( + external_client_id="external_client_id", ) ``` @@ -3339,7 +3271,7 @@ client.connection_profiles.get_template(
-**id:** `str` — ID of the connection-profile-template to retrieve. +**external_client_id:** `str` — URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
@@ -3359,7 +3291,7 @@ client.connection_profiles.get_template(
-
client.connection_profiles.get(...) -> GetConnectionProfileResponseContent +
client.clients.search(...) -> SearchClientsResponseContent
@@ -3371,7 +3303,18 @@ client.connection_profiles.get_template(
-Retrieve details about a single Connection Profile specified by ID. +Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. +Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). +This endpoint provides an alternative to the standard GET /clients endpoint with better performance +for complex queries. Results may not reflect recent updates immediately. + +- This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and `read:client_credentials` scopes are not supported. +- The following fields are never returned by this endpoint: + - `client_secret` + - `encryption_key` + - `signing_keys` + - `owners` + - `addons`
@@ -3394,8 +3337,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connection_profiles.get( - id="id", +client.clients.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="name", ) ``` @@ -3412,7 +3361,7 @@ client.connection_profiles.get(
-**id:** `str` — ID of the connection-profile to retrieve. +**q:** `typing.Optional[str]` — Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "Auth0"`, `name sw "auth" and app_type eq "spa"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • client_id - Auth0 client ID (case-sensitive, exact match)
  • external_client_id - URL of the Client ID Metadata Document (CIMD); case-sensitive, exact match
  • name - Client name (supports contains, starts-with, ends-with operators; sortable)
  • app_type - Application type (e.g. "spa", "native", "non_interactive")
  • is_first_party - Whether the client is first-party (boolean)
  • updated_at - Last update timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by client metadata key-value pairs (max 2-level key depth, values indexed up to 64 characters)
  • client_grant.organization_id - Filter by associated organization ID
  • client_grant.allow_any_organization - Filter by allow any organization setting
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates.
@@ -3420,37 +3369,108 @@ client.connection_profiles.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**parser:** `typing.Optional[SearchParserEnum]` — Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. Maximum 50 fields.
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. +
+
+
+**take:** `typing.Optional[int]` — Maximum number of results to return per page (1-100). Defaults to 50. +
-
-
client.connection_profiles.delete(...)
-#### 📝 Description +**from:** `typing.Optional[str]` — Cursor for the next page of results. Use the value from the next field in the previous response. + +
+
+**sort:** `typing.Optional[ClientSortFieldEnum]` — Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + +
+
+
-Delete a single Connection Profile specified by ID. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
-#### 🔌 Usage + + + +
+ +
client.clients.get(...) -> GetClientResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified. +For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). + +- The following properties can be retrieved with any of the scopes: + `client_id`, `app_type`, `name`, and `description`. +- The following properties can only be retrieved with the `read:clients` or + `read:client_keys` scopes: + `callbacks`, `oidc_logout`, `allowed_origins`, + `web_origins`, `tenant`, `global`, `config_route`, + `callback_url_template`, `jwt_configuration`, + `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, + `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, + `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, + `custom_login_page_codeview`, `resource_servers`, `client_metadata`, + `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, + `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, + `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`, + `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`, + `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`, + `organization_require_behavior`. +- The following properties can only be retrieved with the `read:client_keys` or `read:client_credentials` scopes: + `encryption_key`, `encryption_key.pub`, `encryption_key.cert`, + `client_secret`, `client_authentication_methods` and `signing_key`. +
+
+
+
+ +#### 🔌 Usage
@@ -3467,8 +3487,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connection_profiles.delete( +client.clients.get( id="id", + fields="fields", + include_fields=True, ) ``` @@ -3485,7 +3507,23 @@ client.connection_profiles.delete(
-**id:** `str` — ID of the connection-profile to delete. +**id:** `str` — ID of the client to retrieve. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -3505,7 +3543,7 @@ client.connection_profiles.delete(
-
client.connection_profiles.update(...) -> UpdateConnectionProfileResponseContent +
client.clients.delete(...)
@@ -3517,7 +3555,7 @@ client.connection_profiles.delete(
-Update the details of a specific Connection Profile. +Delete a client and related configuration (rules, connections, etc).
@@ -3540,7 +3578,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connection_profiles.update( +client.clients.delete( id="id", ) @@ -3558,55 +3596,7 @@ client.connection_profiles.update(
-**id:** `str` — ID of the connection profile to update. - -
-
- -
-
- -**name:** `typing.Optional[ConnectionProfileName]` - -
-
- -
-
- -**organization:** `typing.Optional[ConnectionProfileOrganization]` - -
-
- -
-
- -**connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]` - -
-
- -
-
- -**enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]` - -
-
- -
-
- -**connection_config:** `typing.Optional[ConnectionProfileConfig]` - -
-
- -
-
- -**strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]` +**id:** `str` — ID of the client to delete.
@@ -3626,8 +3616,7 @@ client.connection_profiles.update(
-## Connections -
client.connections.list(...) -> ListConnectionsCheckpointPaginatedResponseContent +
client.clients.update(...) -> UpdateClientResponseContent
@@ -3639,23 +3628,15 @@ client.connection_profiles.update(
-Retrieves detailed list of all [connections](https://auth0.com/docs/authenticate/identity-providers) that match the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. This action can accept a list of fields to include or exclude from the resulting list of connections. - -This endpoint supports two types of pagination: - -- Offset pagination -- Checkpoint pagination - -Checkpoint pagination must be used if you need to retrieve more than 1000 connections. - -**Checkpoint Pagination** - -To search by checkpoint, use the following parameters: - -- `from`: Optional id from which to start selection. -- `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50. +Updates a client's settings. For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on). -**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. +Notes: +- The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope. +- The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` to configure the client with client secret (basic or post) or with no authentication method (none). +- When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, only specify the credential IDs that were generated when creating the credentials on the client. +- To configure `client_authentication_methods`, the `update:client_credentials` scope is required. +- To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256. +- To change a client's `is_first_party` property to `false`, the `organization_usage` and `organization_require_behavior` properties must be unset.
@@ -3678,15 +3659,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.list( - from_="from", - take=1, - strategy=[ - "ad" - ], - name="name", - fields="fields", - include_fields=True, +client.clients.update( + id="id", ) ``` @@ -3703,7 +3677,7 @@ client.connections.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**id:** `str` — ID of the client to update.
@@ -3711,7 +3685,7 @@ client.connections.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**name:** `typing.Optional[str]` — The name of the client. Must contain at least one character. Does not allow '<' or '>'.
@@ -3719,7 +3693,7 @@ client.connections.list(
-**strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies +**description:** `typing.Optional[str]` — Free text description of the purpose of the Client. (Max character length: 140)
@@ -3727,7 +3701,7 @@ client.connections.list(
-**name:** `typing.Optional[str]` — Provide the name of the connection to retrieve +**client_secret:** `typing.Optional[str]` — The secret used to sign tokens for the client
@@ -3735,7 +3709,7 @@ client.connections.list(
-**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields +**logo_uri:** `typing.Optional[str]` — The URL of the client logo (recommended size: 150x150)
@@ -3743,7 +3717,7 @@ client.connections.list(
-**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true) +**callbacks:** `typing.Optional[typing.List[str]]` — A set of URLs that are valid to call back from Auth0 when authenticating users
@@ -3751,75 +3725,63 @@ client.connections.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]`
- -
+
+
+**oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) +
-
-
client.connections.create(...) -> CreateConnectionResponseContent
-#### 📝 Description - -
-
+**session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]` + +
+
-Creates a new connection according to the JSON object received in `body`. - -**Note:** If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results. -
-
+**allowed_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid origins for CORS +
-#### 🔌 Usage -
+**web_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid web origins for use with web message response mode + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.create( - name="name", - strategy="ad", -) - -``` -
-
+**grant_types:** `typing.Optional[typing.List[str]]` — A set of grant types that the client is authorized to use. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`. + -#### ⚙️ Parameters -
+**client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences for SAML protocol + +
+
+
-**name:** `str` — The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 +**allowed_clients:** `typing.Optional[typing.List[str]]` — Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients
@@ -3827,7 +3789,7 @@ client.connections.create(
-**strategy:** `ConnectionIdentityProviderEnum` +**allowed_logout_urls:** `typing.Optional[typing.List[str]]` — URLs that are valid to redirect to after logout from Auth0
@@ -3835,7 +3797,7 @@ client.connections.create(
-**display_name:** `typing.Optional[str]` — Connection name used in the new universal login experience +**jwt_configuration:** `typing.Optional[ClientJwtConfiguration]` — An object that holds settings related to how JWTs are created
@@ -3843,7 +3805,7 @@ client.connections.create(
-**options:** `typing.Optional[ConnectionPropertiesOptions]` +**encryption_key:** `typing.Optional[ClientEncryptionKey]` — The client's encryption key
@@ -3851,7 +3813,7 @@ client.connections.create(
-**enabled_clients:** `typing.Optional[typing.List[str]]` — Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. +**sso:** `typing.Optional[bool]` — true to use Auth0 instead of the IdP to do Single Sign On, false otherwise (default: false)
@@ -3859,7 +3821,7 @@ client.connections.create(
-**is_domain_connection:** `typing.Optional[bool]` — true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) +**cross_origin_authentication:** `typing.Optional[bool]` — true if this client can be used to make cross-origin authentication requests, false otherwise if cross origin is disabled
@@ -3867,7 +3829,7 @@ client.connections.create(
-**show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to false.) +**cross_origin_loc:** `typing.Optional[str]` — URL for the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
@@ -3875,7 +3837,7 @@ client.connections.create(
-**realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. +**sso_disabled:** `typing.Optional[bool]` — true to disable Single Sign On, false otherwise (default: false)
@@ -3883,7 +3845,7 @@ client.connections.create(
-**metadata:** `typing.Optional[ConnectionsMetadata]` +**custom_login_page_on:** `typing.Optional[bool]` — true if the custom login page is to be used, false otherwise.
@@ -3891,7 +3853,7 @@ client.connections.create(
-**authentication:** `typing.Optional[ConnectionAuthenticationPurpose]` +**token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodOrNullEnum]`
@@ -3899,7 +3861,7 @@ client.connections.create(
-**connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]` +**is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint.
@@ -3907,7 +3869,7 @@ client.connections.create(
-**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]` +**app_type:** `typing.Optional[ClientAppTypeEnum]`
@@ -3915,74 +3877,71 @@ client.connections.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not
- - +
+
+**oidc_conformant:** `typing.Optional[bool]` — Whether this client will conform to strict OIDC specifications +
-
-
client.connections.get(...) -> GetConnectionResponseContent
-#### 📝 Description +**custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page + +
+
+**custom_login_page_preview:** `typing.Optional[str]` + +
+
+
-Retrieve details for a specified [connection](https://auth0.com/docs/authenticate/identity-providers) along with options that can be used for identity provider configuration. -
-
+**token_quota:** `typing.Optional[UpdateTokenQuota]` + -#### 🔌 Usage -
+**identity_assertion_authorization_grant:** `typing.Optional[UpdateIdentityAssertionAuthorizationGrant]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.get( - id="id", - fields="fields", - include_fields=True, -) - -``` -
-
+**anonymous_sessions:** `typing.Optional[UpdateAnonymousSessions]` + -#### ⚙️ Parameters -
+**enforce_anon_session_transfer_network_binding:** `typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum]` + +
+
+
-**id:** `str` — The id of the connection to retrieve +**form_template:** `typing.Optional[str]` — Form template for WS-Federation protocol
@@ -3990,7 +3949,7 @@ client.connections.get(
-**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields +**addons:** `typing.Optional[ClientAddons]`
@@ -3998,7 +3957,7 @@ client.connections.get(
-**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true) +**client_metadata:** `typing.Optional[ClientMetadata]`
@@ -4006,74 +3965,71 @@ client.connections.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**mobile:** `typing.Optional[ClientMobile]` — Configuration related to native mobile apps
- - +
+
+**initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https +
-
-
client.connections.delete(...)
-#### 📝 Description +**native_social_login:** `typing.Optional[NativeSocialLoginPatch]` + +
+
+**fedcm_login:** `typing.Optional[FedCmLoginPatch]` + +
+
+
-Removes a specific [connection](https://auth0.com/docs/authenticate/identity-providers) from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. - -**Note:** If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent [create connection](https://auth0.com/docs/api/management/v2/connections/post-connections) requests, if they use an identical connection name. -
-
+**refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]` + -#### 🔌 Usage -
+**default_organization:** `typing.Optional[ClientDefaultOrganization]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.delete( - id="id", -) - -``` -
-
+**organization_usage:** `typing.Optional[ClientOrganizationUsagePatchEnum]` + -#### ⚙️ Parameters -
+**organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorPatchEnum]` + +
+
+
-**id:** `str` — The id of the connection to delete +**organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
@@ -4081,74 +4037,67 @@ client.connections.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**client_authentication_methods:** `typing.Optional[ClientAuthenticationMethod]`
- - +
+
+**require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client +
-
-
client.connections.update(...) -> UpdateConnectionResponseContent
-#### 📝 Description +**require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client + +
+
+**signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithCredentialId]` + +
+
+
-Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. - -**Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. -
-
+**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]` + -#### 🔌 Usage -
+**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.update( - id="id", -) +**skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]` -``` -
-
+Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). +If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. +See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information. + -#### ⚙️ Parameters - -
-
-
-**id:** `str` — The id of the connection to update +**token_exchange:** `typing.Optional[ClientTokenExchangeConfigurationOrNull]`
@@ -4156,7 +4105,7 @@ client.connections.update(
-**display_name:** `typing.Optional[str]` — The connection name used in the new universal login experience. If display_name is not included in the request, the field will be overwritten with the name value. +**par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid
@@ -4164,7 +4113,7 @@ client.connections.update(
-**options:** `typing.Optional[UpdateConnectionOptions]` +**express_configuration:** `typing.Optional[ExpressConfigurationOrNull]`
@@ -4172,7 +4121,7 @@ client.connections.update(
-**enabled_clients:** `typing.Optional[typing.List[str]]` — DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients. +**b_2_b_integration_configuration:** `typing.Optional[B2BIntegrationConfiguration]`
@@ -4180,7 +4129,7 @@ client.connections.update(
-**is_domain_connection:** `typing.Optional[bool]` — true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) +**my_organization_configuration:** `typing.Optional[ClientMyOrganizationPatchConfiguration]`
@@ -4188,7 +4137,7 @@ client.connections.update(
-**show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to false.) +**google_account_linking:** `typing.Optional[GoogleAccountLinkingConfigurationOrNull]`
@@ -4196,7 +4145,7 @@ client.connections.update(
-**realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. +**async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]`
@@ -4204,7 +4153,7 @@ client.connections.update(
-**metadata:** `typing.Optional[ConnectionsMetadata]` +**third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]`
@@ -4212,7 +4161,7 @@ client.connections.update(
-**authentication:** `typing.Optional[ConnectionAuthenticationPurpose]` +**redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]`
@@ -4220,7 +4169,7 @@ client.connections.update(
-**connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]` +**agent_id:** `typing.Optional[str]` — ID of the agent to associate with this client, or null to remove the association.
@@ -4228,7 +4177,7 @@ client.connections.update(
-**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]` +**oidc_support:** `typing.Optional[ClientOidcSupportPatch]`
@@ -4248,7 +4197,7 @@ client.connections.update(
-
client.connections.check_status(...) +
client.clients.rotate_secret(...) -> RotateClientSecretResponseContent
@@ -4260,7 +4209,11 @@ client.connections.update(
-Retrieves the status of an ad/ldap connection referenced by its `ID`. `200 OK` http status code response is returned when the connection is online, otherwise a `404` status code is returned along with an error message +Rotate a client secret. + +This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt). The generated secret is NOT base64 encoded. + +For more information, read [Rotate Client Secrets](https://www.auth0.com/docs/get-started/applications/rotate-client-secret).
@@ -4283,7 +4236,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.check_status( +client.clients.rotate_secret( id="id", ) @@ -4301,7 +4254,7 @@ client.connections.check_status(
-**id:** `str` — ID of the connection to check +**id:** `str` — ID of the client that will rotate secrets.
@@ -4321,8 +4274,8 @@ client.connections.check_status(
-## CustomDomains -
client.custom_domains.list(...) -> ListCustomDomainsResponseContent +## ConnectionProfiles +
client.connection_profiles.list(...) -> ListConnectionProfilesPaginatedResponseContent
@@ -4334,7 +4287,7 @@ client.connections.check_status(
-Retrieve details on [custom domains](https://auth0.com/docs/custom-domains). +Retrieve a list of Connection Profiles. This endpoint supports Checkpoint pagination.
@@ -4357,11 +4310,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.list( - q="q", - fields="fields", - include_fields=True, - sort="sort", +client.connection_profiles.list( + from_="from", + take=1, ) ``` @@ -4378,23 +4329,7 @@ client.custom_domains.list(
-**q:** `typing.Optional[str]` — Query in Lucene query string syntax. - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -4402,7 +4337,7 @@ client.custom_domains.list(
-**sort:** `typing.Optional[str]` — Field to sort by. Only domain:1 (ascending order by domain) is supported at this time. +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 5.
@@ -4422,7 +4357,7 @@ client.custom_domains.list(
-
client.custom_domains.create(...) -> CreateCustomDomainResponseContent +
client.connection_profiles.create(...) -> CreateConnectionProfileResponseContent
@@ -4434,19 +4369,7 @@ client.custom_domains.list(
-Create a new custom domain. - -Note: The custom domain will need to be verified before it will accept -requests. - -Optional attributes that can be updated: - -- custom_client_ip_header -- tls_policy - -TLS Policies: - -- recommended - for modern usage this includes TLS 1.2 only +Create a Connection Profile.
@@ -4469,9 +4392,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.create( - domain="domain", - type="auth0_managed_certs", +client.connection_profiles.create( + name="name", ) ``` @@ -4488,7 +4410,7 @@ client.custom_domains.create(
-**domain:** `str` — Domain name. +**name:** `ConnectionProfileName`
@@ -4496,7 +4418,7 @@ client.custom_domains.create(
-**type:** `CustomDomainProvisioningTypeEnum` +**organization:** `typing.Optional[ConnectionProfileOrganization]`
@@ -4504,7 +4426,7 @@ client.custom_domains.create(
-**verification_method:** `typing.Optional[CustomDomainVerificationMethodEnum]` +**connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]`
@@ -4512,7 +4434,7 @@ client.custom_domains.create(
-**tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]` +**enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]`
@@ -4520,7 +4442,7 @@ client.custom_domains.create(
-**custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]` +**connection_config:** `typing.Optional[ConnectionProfileConfig]`
@@ -4528,7 +4450,7 @@ client.custom_domains.create(
-**domain_metadata:** `typing.Optional[DomainMetadata]` +**strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]`
@@ -4536,7 +4458,15 @@ client.custom_domains.create(
-**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. +**provisioning:** `typing.Optional[ConnectionProfileProvisioning]` + +
+
+ +
+
+ +**cross_app_access_resource_app:** `typing.Optional[ConnectionProfileCrossAppAccessResourceApp]`
@@ -4556,7 +4486,7 @@ client.custom_domains.create(
-
client.custom_domains.get_default() -> GetDefaultDomainResponseContent +
client.connection_profiles.list_templates() -> ListConnectionProfileTemplateResponseContent
@@ -4568,7 +4498,7 @@ client.custom_domains.create(
-Retrieve the tenant's default domain. +Retrieve a list of Connection Profile Templates.
@@ -4591,7 +4521,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.get_default() +client.connection_profiles.list_templates() ``` @@ -4619,7 +4549,7 @@ client.custom_domains.get_default()
-
client.custom_domains.set_default(...) -> UpdateDefaultDomainResponseContent +
client.connection_profiles.get_template(...) -> GetConnectionProfileTemplateResponseContent
@@ -4631,7 +4561,7 @@ client.custom_domains.get_default()
-Set the default custom domain for the tenant. +Retrieve a Connection Profile Template.
@@ -4654,8 +4584,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.set_default( - domain="domain", +client.connection_profiles.get_template( + id="id", ) ``` @@ -4672,7 +4602,7 @@ client.custom_domains.set_default(
-**domain:** `str` — The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain. +**id:** `str` — ID of the connection-profile-template to retrieve.
@@ -4692,7 +4622,7 @@ client.custom_domains.set_default(
-
client.custom_domains.get(...) -> GetCustomDomainResponseContent +
client.connection_profiles.get(...) -> GetConnectionProfileResponseContent
@@ -4704,7 +4634,7 @@ client.custom_domains.set_default(
-Retrieve a custom domain configuration and status. +Retrieve details about a single Connection Profile specified by ID.
@@ -4727,7 +4657,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.get( +client.connection_profiles.get( id="id", ) @@ -4745,7 +4675,7 @@ client.custom_domains.get(
-**id:** `str` — ID of the custom domain to retrieve. +**id:** `str` — ID of the connection-profile to retrieve.
@@ -4765,7 +4695,7 @@ client.custom_domains.get(
-
client.custom_domains.delete(...) +
client.connection_profiles.delete(...)
@@ -4777,7 +4707,7 @@ client.custom_domains.get(
-Delete a custom domain and stop serving requests for it. +Delete a single Connection Profile specified by ID.
@@ -4800,7 +4730,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.delete( +client.connection_profiles.delete( id="id", ) @@ -4818,7 +4748,7 @@ client.custom_domains.delete(
-**id:** `str` — ID of the custom domain to delete. +**id:** `str` — ID of the connection-profile to delete.
@@ -4838,7 +4768,7 @@ client.custom_domains.delete(
-
client.custom_domains.update(...) -> UpdateCustomDomainResponseContent +
client.connection_profiles.update(...) -> UpdateConnectionProfileResponseContent
@@ -4850,38 +4780,161 @@ client.custom_domains.delete(
-Update a custom domain. +Update the details of a specific Connection Profile. +
+
+
+
-These are the attributes that can be updated: +#### 🔌 Usage -- custom_client_ip_header -- tls_policy +
+
-**Updating CUSTOM_CLIENT_IP_HEADER for a custom domain** +
+
-To update the `custom_client_ip_header` for a domain, the body to -send should be: +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.connection_profiles.update( + id="id", +) -```json -{ "custom_client_ip_header": "cf-connecting-ip" } ``` +
+
+
+
-**Updating TLS_POLICY for a custom domain** +#### ⚙️ Parameters -To update the `tls_policy` for a domain, the body to send should be: +
+
-```json -{ "tls_policy": "recommended" } -``` +
+
-TLS Policies: +**id:** `str` — ID of the connection profile to update. + +
+
-- recommended - for modern usage this includes TLS 1.2 only +
+
-Some considerations: +**name:** `typing.Optional[ConnectionProfileName]` + +
+
-- The TLS ciphers and protocols available in each TLS policy follow industry recommendations, and may be updated occasionally. -- The `compatible` TLS policy is no longer supported. +
+
+ +**organization:** `typing.Optional[ConnectionProfileOrganization]` + +
+
+ +
+
+ +**connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]` + +
+
+ +
+
+ +**enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]` + +
+
+ +
+
+ +**connection_config:** `typing.Optional[ConnectionProfileConfig]` + +
+
+ +
+
+ +**strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]` + +
+
+ +
+
+ +**provisioning:** `typing.Optional[ConnectionProfileProvisioning]` + +
+
+ +
+
+ +**cross_app_access_resource_app:** `typing.Optional[ConnectionProfileCrossAppAccessResourceApp]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Connections +
client.connections.list(...) -> ListConnectionsCheckpointPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieves detailed list of all [connections](https://auth0.com/docs/authenticate/identity-providers) that match the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. This action can accept a list of fields to include or exclude from the resulting list of connections. + +This endpoint supports two types of pagination: + +- Offset pagination +- Checkpoint pagination + +Checkpoint pagination must be used if you need to retrieve more than 1000 connections. + +**Checkpoint Pagination** + +To search by checkpoint, use the following parameters: + +- `from`: Optional id from which to start selection. +- `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50. + +**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
@@ -4904,8 +4957,16 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.update( - id="id", +client.connections.list( + include_totals=True, + from_="from", + take=1, + strategy=[ + "ad" + ], + name="name", + fields="fields", + include_fields=True, ) ``` @@ -4922,7 +4983,7 @@ client.custom_domains.update(
-**id:** `str` — The id of the custom domain to update +**include_totals:** `typing.Optional[bool]` — true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default false.
@@ -4930,7 +4991,7 @@ client.custom_domains.update(
-**tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]` — recommended includes TLS 1.2 +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -4938,7 +4999,7 @@ client.custom_domains.update(
-**custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]` +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -4946,7 +5007,7 @@ client.custom_domains.update(
-**domain_metadata:** `typing.Optional[DomainMetadata]` +**strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies
@@ -4954,7 +5015,23 @@ client.custom_domains.update(
-**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. +**name:** `typing.Optional[str]` — Provide the name of the connection to retrieve + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true)
@@ -4974,7 +5051,7 @@ client.custom_domains.update(
-
client.custom_domains.test(...) -> TestCustomDomainResponseContent +
client.connections.create(...) -> CreateConnectionResponseContent
@@ -4986,7 +5063,9 @@ client.custom_domains.update(
-Run the test process on a custom domain. +Creates a new connection according to the JSON object received in `body`. + +**Note:** If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results.
@@ -5009,8 +5088,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.custom_domains.test( - id="id", +client.connections.create( + name="name", + strategy="ad", ) ``` @@ -5027,7 +5107,7 @@ client.custom_domains.test(
-**id:** `str` — ID of the custom domain to test. +**name:** `str` — The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128
@@ -5035,79 +5115,15 @@ client.custom_domains.test(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**strategy:** `ConnectionIdentityProviderEnum`
- -
- - - - -
- -
client.custom_domains.verify(...) -> VerifyCustomDomainResponseContent -
-
- -#### 📝 Description
-
-
- -Run the verification process on a custom domain. - -Note: Check the `status` field to see its verification status. Once verification is complete, it may take up to 10 minutes before the custom domain can start accepting requests. - -For `self_managed_certs`, when the custom domain is verified for the first time, the response will also include the `cname_api_key` which you will need to configure your proxy. This key must be kept secret, and is used to validate the proxy requests. - -[Learn more](https://auth0.com/docs/custom-domains#step-2-verify-ownership) about verifying custom domains that use Auth0 Managed certificates. -[Learn more](https://auth0.com/docs/custom-domains/self-managed-certificates#step-2-verify-ownership) about verifying custom domains that use Self Managed certificates. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.custom_domains.verify( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` — ID of the custom domain to verify. +**display_name:** `typing.Optional[str]` — Connection name used in the new universal login experience
@@ -5115,80 +5131,23 @@ client.custom_domains.verify(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**options:** `typing.Optional[ConnectionPropertiesOptions]`
-
-
- - -
-
-
- -## DeviceCredentials -
client.device_credentials.list(...) -> ListDeviceCredentialsOffsetPaginatedResponseContent -
-
- -#### 📝 Description - -
-
-Retrieve device credential information (`public_key`, `refresh_token`, or `rotating_refresh_token`) associated with a specific user. -
-
+**enabled_clients:** `typing.Optional[typing.List[str]]` — Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. +
-#### 🔌 Usage -
-
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.device_credentials.list( - page=1, - per_page=1, - include_totals=True, - fields="fields", - include_fields=True, - user_id="user_id", - client_id="client_id", - type="public_key", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**is_domain_connection:** `typing.Optional[bool]` — true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.)
@@ -5196,7 +5155,7 @@ client.device_credentials.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. There is a maximum of 1000 results allowed from this endpoint. +**show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to false.)
@@ -5204,7 +5163,7 @@ client.device_credentials.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
@@ -5212,7 +5171,7 @@ client.device_credentials.list(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. +**metadata:** `typing.Optional[ConnectionsMetadata]`
@@ -5220,7 +5179,7 @@ client.device_credentials.list(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**authentication:** `typing.Optional[ConnectionAuthenticationPurpose]`
@@ -5228,7 +5187,7 @@ client.device_credentials.list(
-**user_id:** `typing.Optional[str]` — user_id of the devices to retrieve. +**connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]`
@@ -5236,7 +5195,7 @@ client.device_credentials.list(
-**client_id:** `typing.Optional[str]` — client_id of the devices to retrieve. +**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]`
@@ -5244,7 +5203,7 @@ client.device_credentials.list(
-**type:** `typing.Optional[DeviceCredentialTypeEnum]` — Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested +**cross_app_access_resource_app:** `typing.Optional[CreateCrossAppAccessResourceApp]`
@@ -5264,7 +5223,7 @@ client.device_credentials.list(
-
client.device_credentials.create_public_key(...) -> CreatePublicKeyDeviceCredentialResponseContent +
client.connections.get(...) -> GetConnectionResponseContent
@@ -5276,9 +5235,7 @@ client.device_credentials.list(
-Create a device credential public key to manage refresh token rotation for a given `user_id`. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests. - -When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read [Signing Keys](https://auth0.com/docs/get-started/tenant-settings/signing-keys). +Retrieve details for a specified [connection](https://auth0.com/docs/authenticate/identity-providers) along with options that can be used for identity provider configuration.
@@ -5301,11 +5258,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.device_credentials.create_public_key( - device_name="device_name", - type="public_key", - value="value", - device_id="device_id", +client.connections.get( + id="id", + fields="fields", + include_fields=True, ) ``` @@ -5322,23 +5278,7 @@ client.device_credentials.create_public_key(
-**device_name:** `str` — Name for this device easily recognized by owner. - -
-
- -
-
- -**type:** `DeviceCredentialPublicKeyTypeEnum` - -
-
- -
-
- -**value:** `str` — Base64 encoded string containing the credential. +**id:** `str` — The id of the connection to retrieve
@@ -5346,7 +5286,7 @@ client.device_credentials.create_public_key(
-**device_id:** `str` — Unique identifier for the device. Recommend using Android_ID on Android and identifierForVendor. +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
@@ -5354,7 +5294,7 @@ client.device_credentials.create_public_key(
-**client_id:** `typing.Optional[str]` — client_id of the client (application) this credential is for. +**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true)
@@ -5374,7 +5314,7 @@ client.device_credentials.create_public_key(
-
client.device_credentials.delete(...) +
client.connections.delete(...)
@@ -5386,7 +5326,9 @@ client.device_credentials.create_public_key(
-Permanently delete a device credential (such as a refresh token or public key) with the given ID. +Removes a specific [connection](https://auth0.com/docs/authenticate/identity-providers) from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + +**Note:** If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent [create connection](https://auth0.com/docs/api/management/v2/connections/post-connections) requests, if they use an identical connection name.
@@ -5409,7 +5351,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.device_credentials.delete( +client.connections.delete( id="id", ) @@ -5427,7 +5369,7 @@ client.device_credentials.delete(
-**id:** `str` — ID of the credential to delete. +**id:** `str` — The id of the connection to delete
@@ -5447,8 +5389,7 @@ client.device_credentials.delete(
-## EmailTemplates -
client.email_templates.create(...) -> CreateEmailTemplateResponseContent +
client.connections.update(...) -> UpdateConnectionResponseContent
@@ -5460,7 +5401,9 @@ client.device_credentials.delete(
-Create an email template. +Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. + +**Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value.
@@ -5483,8 +5426,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.email_templates.create( - template="verify_email", +client.connections.update( + id="id", ) ``` @@ -5501,7 +5444,7 @@ client.email_templates.create(
-**template:** `EmailTemplateNameEnum` +**id:** `str` — The id of the connection to update
@@ -5509,7 +5452,7 @@ client.email_templates.create(
-**body:** `typing.Optional[str]` — Body of the email template. +**display_name:** `typing.Optional[str]` — The connection name used in the new universal login experience. If display_name is not included in the request, the field will be overwritten with the name value.
@@ -5517,7 +5460,7 @@ client.email_templates.create(
-**from:** `typing.Optional[str]` — Senders `from` email address. +**options:** `typing.Optional[UpdateConnectionOptions]`
@@ -5525,7 +5468,7 @@ client.email_templates.create(
-**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action. +**enabled_clients:** `typing.Optional[typing.List[str]]` — DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients.
@@ -5533,7 +5476,7 @@ client.email_templates.create(
-**subject:** `typing.Optional[str]` — Subject line of the email. +**is_domain_connection:** `typing.Optional[bool]` — true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.)
@@ -5541,7 +5484,7 @@ client.email_templates.create(
-**syntax:** `typing.Optional[str]` — Syntax of the template body. +**show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to false.)
@@ -5549,7 +5492,7 @@ client.email_templates.create(
-**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for. +**realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
@@ -5557,7 +5500,7 @@ client.email_templates.create(
-**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. +**metadata:** `typing.Optional[ConnectionsMetadata]`
@@ -5565,7 +5508,31 @@ client.email_templates.create(
-**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false). +**authentication:** `typing.Optional[ConnectionAuthenticationPurpose]` + +
+
+ +
+
+ +**connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]` + +
+
+ +
+
+ +**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]` + +
+
+ +
+
+ +**cross_app_access_resource_app:** `typing.Optional[UpdateCrossAppAccessResourceApp]`
@@ -5585,7 +5552,7 @@ client.email_templates.create(
-
client.email_templates.get(...) -> GetEmailTemplateResponseContent +
client.connections.check_status(...)
@@ -5597,7 +5564,7 @@ client.email_templates.create(
-Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios. +Retrieves the status of an ad/ldap connection referenced by its `ID`. `200 OK` http status code response is returned when the connection is online, otherwise a `404` status code is returned along with an error message
@@ -5620,8 +5587,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.email_templates.get( - template_name="verify_email", +client.connections.check_status( + id="id", ) ``` @@ -5638,7 +5605,7 @@ client.email_templates.get(
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). +**id:** `str` — ID of the connection to check
@@ -5658,7 +5625,8 @@ client.email_templates.get(
-
client.email_templates.set(...) -> SetEmailTemplateResponseContent +## CustomDomains +
client.custom_domains.list(...) -> ListCustomDomainsResponseContent
@@ -5670,7 +5638,7 @@ client.email_templates.get(
-Update an email template. +Retrieve details on [custom domains](https://auth0.com/docs/custom-domains).
@@ -5693,9 +5661,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.email_templates.set( - template_name="verify_email", - template="verify_email", +client.custom_domains.list( + q="q", + fields="fields", + include_fields=True, + sort="sort", ) ``` @@ -5712,15 +5682,7 @@ client.email_templates.set(
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). - -
-
- -
-
- -**template:** `EmailTemplateNameEnum` +**q:** `typing.Optional[str]` — Query in Lucene query string syntax.
@@ -5728,7 +5690,7 @@ client.email_templates.set(
-**body:** `typing.Optional[str]` — Body of the email template. +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
@@ -5736,7 +5698,7 @@ client.email_templates.set(
-**from:** `typing.Optional[str]` — Senders `from` email address. +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -5744,7 +5706,7 @@ client.email_templates.set(
-**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action. +**sort:** `typing.Optional[str]` — Field to sort by. Only domain:1 (ascending order by domain) is supported at this time.
@@ -5752,71 +5714,43 @@ client.email_templates.set(
-**subject:** `typing.Optional[str]` — Subject line of the email. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**syntax:** `typing.Optional[str]` — Syntax of the template body. -
-
-
-**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for. -
+
+
client.custom_domains.create(...) -> CreateCustomDomainResponseContent
-**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. - -
-
+#### 📝 Description
-**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false). - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - - - - -
+Create a new custom domain. -
client.email_templates.update(...) -> UpdateEmailTemplateResponseContent -
-
+Note: The custom domain will need to be verified before it will accept +requests. -#### 📝 Description +Optional attributes that can be updated: -
-
+- custom_client_ip_header +- tls_policy -
-
+TLS Policies: -Modify an email template. +- recommended - for modern usage this includes TLS 1.2 only
@@ -5839,8 +5773,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.email_templates.update( - template_name="verify_email", +client.custom_domains.create( + domain="domain", + type="auth0_managed_certs", ) ``` @@ -5857,7 +5792,7 @@ client.email_templates.update(
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). +**domain:** `str` — Domain name.
@@ -5865,7 +5800,7 @@ client.email_templates.update(
-**template:** `typing.Optional[EmailTemplateNameEnum]` +**type:** `CustomDomainProvisioningTypeEnum`
@@ -5873,7 +5808,7 @@ client.email_templates.update(
-**body:** `typing.Optional[str]` — Body of the email template. +**verification_method:** `typing.Optional[CustomDomainVerificationMethodEnum]`
@@ -5881,7 +5816,7 @@ client.email_templates.update(
-**from:** `typing.Optional[str]` — Senders `from` email address. +**tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]`
@@ -5889,7 +5824,7 @@ client.email_templates.update(
-**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action. +**custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]`
@@ -5897,7 +5832,7 @@ client.email_templates.update(
-**subject:** `typing.Optional[str]` — Subject line of the email. +**domain_metadata:** `typing.Optional[DomainMetadata]`
@@ -5905,7 +5840,7 @@ client.email_templates.update(
-**syntax:** `typing.Optional[str]` — Syntax of the template body. +**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used.
@@ -5913,46 +5848,35 @@ client.email_templates.update(
-**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. -
+
+
client.custom_domains.get_default() -> GetDefaultDomainResponseContent
-**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false). - -
-
+#### 📝 Description
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+
+
+ +Retrieve the tenant's default domain.
- - -
- -## EventStreams -
client.event_streams.list(...) -> ListEventStreamsResponseContent -
-
#### 🔌 Usage @@ -5971,10 +5895,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.list( - from_="from", - take=1, -) +client.custom_domains.get_default() ```
@@ -5990,38 +5911,36 @@ client.event_streams.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. -
+
+
client.custom_domains.set_default(...) -> UpdateDefaultDomainResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.event_streams.create(...) -> CreateEventStreamResponseContent
+Set the default custom domain for the tenant. +
+
+
+
+ #### 🔌 Usage
@@ -6031,7 +5950,7 @@ client.event_streams.list(
```python -from auth0.management import Auth0, CreateEventStreamWebHookRequestContent, EventStreamWebhookDestination, EventStreamWebhookConfiguration, EventStreamWebhookBasicAuth +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -6039,19 +5958,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.create( - request=CreateEventStreamWebHookRequestContent( - destination=EventStreamWebhookDestination( - type="webhook", - configuration=EventStreamWebhookConfiguration( - webhook_endpoint="webhook_endpoint", - webhook_authorization=EventStreamWebhookBasicAuth( - method="basic", - username="username", - ), - ), - ), - ), +client.custom_domains.set_default( + domain="domain", ) ``` @@ -6068,7 +5976,7 @@ client.event_streams.create(
-**request:** `EventStreamsCreateRequest` +**domain:** `str` — The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain.
@@ -6088,10 +5996,24 @@ client.event_streams.create(
-
client.event_streams.get(...) -> GetEventStreamResponseContent +
client.custom_domains.get(...) -> GetCustomDomainResponseContent
+#### 📝 Description + +
+
+ +
+
+ +Retrieve a custom domain configuration and status. +
+
+
+
+ #### 🔌 Usage
@@ -6109,7 +6031,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.get( +client.custom_domains.get( id="id", ) @@ -6127,7 +6049,7 @@ client.event_streams.get(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — ID of the custom domain to retrieve.
@@ -6147,10 +6069,24 @@ client.event_streams.get(
-
client.event_streams.delete(...) +
client.custom_domains.delete(...) +
+
+ +#### 📝 Description + +
+
+
+Delete a custom domain and stop serving requests for it. +
+
+
+
+ #### 🔌 Usage
@@ -6168,7 +6104,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.delete( +client.custom_domains.delete( id="id", ) @@ -6186,7 +6122,7 @@ client.event_streams.delete(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — ID of the custom domain to delete.
@@ -6206,10 +6142,55 @@ client.event_streams.delete(
-
client.event_streams.update(...) -> UpdateEventStreamResponseContent +
client.custom_domains.update(...) -> UpdateCustomDomainResponseContent
+#### 📝 Description + +
+
+ +
+
+ +Update a custom domain. + +These are the attributes that can be updated: + +- custom_client_ip_header +- tls_policy + +**Updating CUSTOM_CLIENT_IP_HEADER for a custom domain** + +To update the `custom_client_ip_header` for a domain, the body to +send should be: + +```json +{ "custom_client_ip_header": "cf-connecting-ip" } +``` + +**Updating TLS_POLICY for a custom domain** + +To update the `tls_policy` for a domain, the body to send should be: + +```json +{ "tls_policy": "recommended" } +``` + +TLS Policies: + +- recommended - for modern usage this includes TLS 1.2 only + +Some considerations: + +- The TLS ciphers and protocols available in each TLS policy follow industry recommendations, and may be updated occasionally. +- The `compatible` TLS policy is no longer supported. +
+
+
+
+ #### 🔌 Usage
@@ -6227,7 +6208,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.update( +client.custom_domains.update( id="id", ) @@ -6245,7 +6226,7 @@ client.event_streams.update(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — The id of the custom domain to update
@@ -6253,7 +6234,7 @@ client.event_streams.update(
-**name:** `typing.Optional[str]` — Name of the event stream. +**tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]` — recommended includes TLS 1.2
@@ -6261,7 +6242,7 @@ client.event_streams.update(
-**subscriptions:** `typing.Optional[typing.List[EventStreamSubscription]]` — List of event types subscribed to in this stream. +**custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]`
@@ -6269,7 +6250,7 @@ client.event_streams.update(
-**destination:** `typing.Optional[EventStreamDestinationPatch]` +**domain_metadata:** `typing.Optional[DomainMetadata]`
@@ -6277,7 +6258,7 @@ client.event_streams.update(
-**status:** `typing.Optional[EventStreamStatusEnum]` +**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain.
@@ -6297,10 +6278,24 @@ client.event_streams.update(
-
client.event_streams.test(...) -> CreateEventStreamTestEventResponseContent +
client.custom_domains.test(...) -> TestCustomDomainResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Run the test process on a custom domain. +
+
+
+
+ #### 🔌 Usage
@@ -6318,9 +6313,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.test( +client.custom_domains.test( id="id", - event_type="group.created", ) ``` @@ -6337,23 +6331,7 @@ client.event_streams.test(
-**id:** `str` — Unique identifier for the event stream. - -
-
- -
-
- -**event_type:** `EventStreamTestEventTypeEnum` - -
-
- -
-
- -**data:** `typing.Optional[TestEventDataContent]` +**id:** `str` — ID of the custom domain to test.
@@ -6373,8 +6351,7 @@ client.event_streams.test(
-## Events -
client.events.subscribe(...) -> typing.Iterator[bytes] +
client.custom_domains.verify(...) -> VerifyCustomDomainResponseContent
@@ -6386,7 +6363,14 @@ client.event_streams.test(
-Subscribe to events via Server-Sent Events (SSE) +Run the verification process on a custom domain. + +Note: Check the `status` field to see its verification status. Once verification is complete, it may take up to 10 minutes before the custom domain can start accepting requests. + +For `self_managed_certs`, when the custom domain is verified for the first time, the response will also include the `cname_api_key` which you will need to configure your proxy. This key must be kept secret, and is used to validate the proxy requests. + +[Learn more](https://auth0.com/docs/custom-domains#step-2-verify-ownership) about verifying custom domains that use Auth0 Managed certificates. +[Learn more](https://auth0.com/docs/custom-domains/self-managed-certificates#step-2-verify-ownership) about verifying custom domains that use Self Managed certificates.
@@ -6409,12 +6393,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.events.subscribe( - from_="from", - from_timestamp="from_timestamp", - event_type=[ - "group.created" - ], +client.custom_domains.verify( + id="id", ) ``` @@ -6431,7 +6411,7 @@ client.events.subscribe(
-**from:** `typing.Optional[str]` — Opaque token representing position in the stream. If not provided, stream will start from the latest events. +**id:** `str` — ID of the custom domain to verify.
@@ -6439,39 +6419,37 @@ client.events.subscribe(
-**from_timestamp:** `typing.Optional[str]` — RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**event_type:** `typing.Optional[typing.Union[typing.Optional[EventStreamSubscribeEventsEventTypeEnum], typing.Sequence[typing.Optional[EventStreamSubscribeEventsEventTypeEnum]]]]` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed. -
+
+## DeviceCredentials +
client.device_credentials.list(...) -> ListDeviceCredentialsOffsetPaginatedResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-## Flows -
client.flows.list(...) -> ListFlowsOffsetPaginatedResponseContent
+Retrieve device credential information (`public_key`, `refresh_token`, or `rotating_refresh_token`) associated with a specific user. +
+
+
+
+ #### 🔌 Usage
@@ -6489,14 +6467,15 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.list( +client.device_credentials.list( page=1, per_page=1, include_totals=True, - hydrate=[ - "form_count" - ], - synchronous=True, + fields="fields", + include_fields=True, + user_id="user_id", + client_id="client_id", + type="public_key", ) ``` @@ -6521,7 +6500,7 @@ client.flows.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**per_page:** `typing.Optional[int]` — Number of results per page. There is a maximum of 1000 results allowed from this endpoint.
@@ -6537,7 +6516,7 @@ client.flows.list(
-**hydrate:** `typing.Optional[typing.Union[typing.Optional[ListFlowsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[ListFlowsRequestParametersHydrateEnum]]]]` — hydration param +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
@@ -6545,7 +6524,7 @@ client.flows.list(
-**synchronous:** `typing.Optional[bool]` — flag to filter by sync/async flows +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -6553,58 +6532,15 @@ client.flows.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**user_id:** `typing.Optional[str]` — user_id of the devices to retrieve.
- -
- - - - -
- -
client.flows.create(...) -> CreateFlowResponseContent -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.flows.create( - name="name", -) - -``` -
-
-
-
- -#### ⚙️ Parameters
-
-
- -**name:** `str` +**client_id:** `typing.Optional[str]` — client_id of the devices to retrieve.
@@ -6612,7 +6548,7 @@ client.flows.create(
-**actions:** `typing.Optional[typing.List[FlowAction]]` +**type:** `typing.Optional[DeviceCredentialTypeEnum]` — Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. If none is provided a combined list of `refresh_tokens` and `public_keys` will be returned (and no `rotating_refresh_token`), in this case `page`, `per_page` and `include_totals` will be ignored.
@@ -6632,79 +6568,25 @@ client.flows.create(
-
client.flows.get(...) -> GetFlowResponseContent -
-
- -#### 🔌 Usage - -
-
- +
client.device_credentials.create_public_key(...) -> CreatePublicKeyDeviceCredentialResponseContent
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.flows.get( - id="id", - hydrate=[ - "form_count" - ], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
+#### 📝 Description
-**id:** `str` — Flow identifier - -
-
-
-**hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowRequestParametersHydrateEnum]]]]` — hydration param - -
-
- -
-
+Create a device credential public key to manage refresh token rotation for a given `user_id`. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests. -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read [Signing Keys](https://auth0.com/docs/get-started/tenant-settings/signing-keys).
- -
-
- -
client.flows.delete(...) -
-
#### 🔌 Usage @@ -6723,8 +6605,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.delete( - id="id", +client.device_credentials.create_public_key( + device_name="device_name", + type="public_key", + value="value", + device_id="device_id", ) ``` @@ -6741,7 +6626,7 @@ client.flows.delete(
-**id:** `str` — Flow id +**device_name:** `str` — Name for this device easily recognized by owner.
@@ -6749,58 +6634,15 @@ client.flows.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**type:** `DeviceCredentialPublicKeyTypeEnum`
-
-
- - - - -
- -
client.flows.update(...) -> UpdateFlowResponseContent -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.flows.update( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**id:** `str` — Flow identifier +**value:** `str` — Base64 encoded string containing the credential.
@@ -6808,7 +6650,7 @@ client.flows.update(
-**name:** `typing.Optional[str]` +**device_id:** `str` — Unique identifier for the device. Recommend using Android_ID on Android and identifierForVendor.
@@ -6816,7 +6658,7 @@ client.flows.update(
-**actions:** `typing.Optional[typing.List[FlowAction]]` +**client_id:** `typing.Optional[str]` — client_id of the client (application) this credential is for.
@@ -6836,11 +6678,24 @@ client.flows.update(
-## Forms -
client.forms.list(...) -> ListFormsOffsetPaginatedResponseContent +
client.device_credentials.delete(...) +
+
+ +#### 📝 Description +
+
+
+ +Permanently delete a device credential (such as a refresh token or public key) with the given ID. +
+
+
+
+ #### 🔌 Usage
@@ -6858,13 +6713,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.forms.list( - page=1, - per_page=1, - include_totals=True, - hydrate=[ - "flow_count" - ], +client.device_credentials.delete( + id="id", ) ``` @@ -6881,7 +6731,7 @@ client.forms.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**id:** `str` — ID of the credential to delete.
@@ -6889,45 +6739,36 @@ client.forms.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). -
+
+## EmailTemplates +
client.email_templates.create(...) -> CreateEmailTemplateResponseContent
-**hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data - -
-
+#### 📝 Description
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+
+
+ +Create an email template.
- - -
- -
client.forms.create(...) -> CreateFormResponseContent -
-
#### 🔌 Usage @@ -6946,8 +6787,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.forms.create( - name="name", +client.email_templates.create( + template="verify_email", + body=None, + from_=None, + subject=None, + syntax=None, + enabled=None, ) ``` @@ -6964,7 +6810,7 @@ client.forms.create(
-**name:** `str` +**template:** `EmailTemplateNameEnum`
@@ -6972,7 +6818,7 @@ client.forms.create(
-**messages:** `typing.Optional[FormMessages]` +**body:** `typing.Optional[str]` — Body of the email template.
@@ -6980,7 +6826,7 @@ client.forms.create(
-**languages:** `typing.Optional[FormLanguages]` +**from:** `typing.Optional[str]` — Senders `from` email address.
@@ -6988,7 +6834,7 @@ client.forms.create(
-**translations:** `typing.Optional[FormTranslations]` +**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
@@ -6996,7 +6842,7 @@ client.forms.create(
-**nodes:** `typing.Optional[FormNodeList]` +**subject:** `typing.Optional[str]` — Subject line of the email.
@@ -7004,7 +6850,7 @@ client.forms.create(
-**start:** `typing.Optional[FormStartNode]` +**syntax:** `typing.Optional[str]` — Syntax of the template body.
@@ -7012,7 +6858,7 @@ client.forms.create(
-**ending:** `typing.Optional[FormEndingNode]` +**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for.
@@ -7020,7 +6866,7 @@ client.forms.create(
-**style:** `typing.Optional[FormStyle]` +**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.
@@ -7028,91 +6874,43 @@ client.forms.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false).
-
-
- - - - -
- -
client.forms.get(...) -> GetFormResponseContent -
-
- -#### 🔌 Usage - -
-
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.forms.get( - id="id", - hydrate=[ - "flow_count" - ], -) - -``` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
-#### ⚙️ Parameters -
-
+
+
+
+
client.email_templates.get(...) -> GetEmailTemplateResponseContent
-**id:** `str` — The ID of the form to retrieve. - -
-
+#### 📝 Description
-**hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios. - - -
- -
client.forms.delete(...) -
-
#### 🔌 Usage @@ -7131,8 +6929,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.forms.delete( - id="id", +client.email_templates.get( + template_name="verify_email", ) ``` @@ -7149,7 +6947,7 @@ client.forms.delete(
-**id:** `str` — The ID of the form to delete. +**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -7169,10 +6967,24 @@ client.forms.delete(
-
client.forms.update(...) -> UpdateFormResponseContent +
client.email_templates.set(...) -> SetEmailTemplateResponseContent +
+
+ +#### 📝 Description + +
+
+
+Update an email template. +
+
+
+
+ #### 🔌 Usage
@@ -7190,8 +7002,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.forms.update( - id="id", +client.email_templates.set( + template_name="verify_email", + template="verify_email", + body=None, + from_=None, + subject=None, + syntax=None, + enabled=None, ) ``` @@ -7208,7 +7026,7 @@ client.forms.update(
-**id:** `str` — The ID of the form to update. +**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -7216,7 +7034,7 @@ client.forms.update(
-**name:** `typing.Optional[str]` +**template:** `EmailTemplateNameEnum`
@@ -7224,7 +7042,7 @@ client.forms.update(
-**messages:** `typing.Optional[FormMessagesNullable]` +**body:** `typing.Optional[str]` — Body of the email template.
@@ -7232,7 +7050,7 @@ client.forms.update(
-**languages:** `typing.Optional[FormLanguagesNullable]` +**from:** `typing.Optional[str]` — Senders `from` email address.
@@ -7240,7 +7058,7 @@ client.forms.update(
-**translations:** `typing.Optional[FormTranslationsNullable]` +**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
@@ -7248,7 +7066,7 @@ client.forms.update(
-**nodes:** `typing.Optional[FormNodeListNullable]` +**subject:** `typing.Optional[str]` — Subject line of the email.
@@ -7256,7 +7074,7 @@ client.forms.update(
-**start:** `typing.Optional[FormStartNodeNullable]` +**syntax:** `typing.Optional[str]` — Syntax of the template body.
@@ -7264,7 +7082,7 @@ client.forms.update(
-**ending:** `typing.Optional[FormEndingNodeNullable]` +**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for.
@@ -7272,7 +7090,15 @@ client.forms.update(
-**style:** `typing.Optional[FormStyleNullable]` +**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false).
@@ -7292,8 +7118,7 @@ client.forms.update(
-## UserGrants -
client.user_grants.list(...) -> ListUserGrantsOffsetPaginatedResponseContent +
client.email_templates.update(...) -> UpdateEmailTemplateResponseContent
@@ -7305,7 +7130,7 @@ client.forms.update(
-Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account. +Modify an email template.
@@ -7328,13 +7153,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_grants.list( - per_page=1, - page=1, - include_totals=True, - user_id="user_id", - client_id="client_id", - audience="audience", +client.email_templates.update( + template_name="verify_email", ) ``` @@ -7351,7 +7171,7 @@ client.user_grants.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. +**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -7359,7 +7179,7 @@ client.user_grants.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**template:** `typing.Optional[EmailTemplateNameEnum]`
@@ -7367,7 +7187,7 @@ client.user_grants.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**body:** `typing.Optional[str]` — Body of the email template.
@@ -7375,7 +7195,7 @@ client.user_grants.list(
-**user_id:** `typing.Optional[str]` — user_id of the grants to retrieve. +**from:** `typing.Optional[str]` — Senders `from` email address.
@@ -7383,7 +7203,7 @@ client.user_grants.list(
-**client_id:** `typing.Optional[str]` — client_id of the grants to retrieve. +**result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
@@ -7391,7 +7211,7 @@ client.user_grants.list(
-**audience:** `typing.Optional[str]` — audience of the grants to retrieve. +**subject:** `typing.Optional[str]` — Subject line of the email.
@@ -7399,35 +7219,54 @@ client.user_grants.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**syntax:** `typing.Optional[str]` — Syntax of the template body.
- -
+
+
+**url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for. +
-
-
client.user_grants.delete_by_user_id(...)
-#### 📝 Description +**include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + +
+
+**enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false). + +
+
+
-Delete a grant associated with your account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +## EventStreams +
client.event_streams.list(...) -> ListEventStreamsResponseContent +
+
#### 🔌 Usage @@ -7446,8 +7285,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_grants.delete_by_user_id( - user_id="user_id", +client.event_streams.list( + from_="from", + take=1, ) ``` @@ -7464,7 +7304,15 @@ client.user_grants.delete_by_user_id(
-**user_id:** `str` — user_id of the grant to delete. +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -7484,11 +7332,11 @@ client.user_grants.delete_by_user_id(
-
client.user_grants.delete(...) +
client.event_streams.create(...) -> CreateEventStreamResponseContent
-#### 📝 Description +#### 🔌 Usage
@@ -7496,11 +7344,67 @@ client.user_grants.delete_by_user_id(
-Delete a grant associated with your account. -
-
-
-
+```python +from auth0.management import Auth0, CreateEventStreamWebHookRequestContent, EventStreamWebhookDestination, EventStreamWebhookConfiguration, EventStreamWebhookBasicAuth +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.event_streams.create( + request=CreateEventStreamWebHookRequestContent( + destination=EventStreamWebhookDestination( + type="webhook", + configuration=EventStreamWebhookConfiguration( + webhook_endpoint="webhook_endpoint", + webhook_authorization=EventStreamWebhookBasicAuth( + method="basic", + username="username", + ), + ), + ), + ), +) + +``` +
+
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `EventStreamsCreateRequest` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.event_streams.get(...) -> GetEventStreamResponseContent +
+
#### 🔌 Usage @@ -7519,7 +7423,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_grants.delete( +client.event_streams.get( id="id", ) @@ -7537,7 +7441,7 @@ client.user_grants.delete(
-**id:** `str` — ID of the grant to delete. +**id:** `str` — Unique identifier for the event stream.
@@ -7557,25 +7461,10 @@ client.user_grants.delete(
-## Groups -
client.groups.list(...) -> ListGroupsPaginatedResponseContent -
-
- -#### 📝 Description - -
-
- +
client.event_streams.delete(...)
-List all groups in your tenant. -
-
-
-
- #### 🔌 Usage
@@ -7593,15 +7482,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.list( - connection_id="connection_id", - name="name", - external_id="external_id", - search="search", - fields="fields", - include_fields=True, - from_="from", - take=1, +client.event_streams.delete( + id="id", ) ``` @@ -7618,7 +7500,7 @@ client.groups.list(
-**connection_id:** `typing.Optional[str]` — Filter groups by connection ID. +**id:** `str` — Unique identifier for the event stream.
@@ -7626,23 +7508,58 @@ client.groups.list(
-**name:** `typing.Optional[str]` — Filter groups by name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +
client.event_streams.update(...) -> UpdateEventStreamResponseContent
-**external_id:** `typing.Optional[str]` — Filter groups by external ID. - +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.event_streams.update( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**search:** `typing.Optional[str]` — Search for groups by name or external ID. +
+
+ +**id:** `str` — Unique identifier for the event stream.
@@ -7650,7 +7567,7 @@ client.groups.list(
-**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields +**name:** `typing.Optional[str]` — Name of the event stream.
@@ -7658,7 +7575,7 @@ client.groups.list(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**subscriptions:** `typing.Optional[typing.List[EventStreamSubscription]]` — List of event types subscribed to in this stream.
@@ -7666,7 +7583,7 @@ client.groups.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**destination:** `typing.Optional[EventStreamDestinationPatch]`
@@ -7674,7 +7591,7 @@ client.groups.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**status:** `typing.Optional[EventStreamStatusEnum]`
@@ -7694,24 +7611,10 @@ client.groups.list(
-
client.groups.get(...) -> GetGroupResponseContent -
-
- -#### 📝 Description - -
-
- +
client.event_streams.test(...) -> CreateEventStreamTestEventResponseContent
-Retrieve a group by its ID. -
-
-
-
- #### 🔌 Usage
@@ -7729,8 +7632,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.get( +client.event_streams.test( id="id", + event_type="connection.created", ) ``` @@ -7747,7 +7651,23 @@ client.groups.get(
-**id:** `str` — Unique identifier for the group (service-generated). +**id:** `str` — Unique identifier for the event stream. + +
+
+ +
+
+ +**event_type:** `EventStreamTestEventTypeEnum` + +
+
+ +
+
+ +**data:** `typing.Optional[TestEventDataContent]`
@@ -7767,7 +7687,8 @@ client.groups.get(
-
client.groups.delete(...) +## Events +
client.events.subscribe(...) -> typing.Iterator[bytes]
@@ -7779,7 +7700,7 @@ client.groups.get(
-Delete a group by its ID. +Subscribe to events via Server-Sent Events (SSE)
@@ -7802,8 +7723,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.delete( - id="id", +client.events.subscribe( + from_="from", + from_timestamp="from_timestamp", + event_type=[ + "connection.created" + ], ) ``` @@ -7820,7 +7745,7 @@ client.groups.delete(
-**id:** `str` — Unique identifier for the group (service-generated). +**from:** `typing.Optional[str]` — Opaque token representing position in the stream. If not provided, stream will start from the latest events.
@@ -7828,36 +7753,38 @@ client.groups.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**from_timestamp:** `typing.Optional[str]` — RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate.
- -
- - - - -
-## Hooks -
client.hooks.list(...) -> ListHooksOffsetPaginatedResponseContent
-#### 📝 Description - -
-
+**event_type:** `typing.Optional[typing.Union[typing.Optional[EventStreamSubscribeEventsEventTypeEnum], typing.Sequence[typing.Optional[EventStreamSubscribeEventsEventTypeEnum]]]]` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed. + +
+
-Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +## Flows +
client.flows.list(...) -> ListFlowsOffsetPaginatedResponseContent +
+
#### 🔌 Usage @@ -7876,13 +7803,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.list( +client.flows.list( page=1, per_page=1, include_totals=True, - enabled=True, - fields="fields", - trigger_id="credentials-exchange", + hydrate=[ + "form_count" + ], + synchronous=True, ) ``` @@ -7907,7 +7835,7 @@ client.hooks.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -7923,15 +7851,7 @@ client.hooks.list(
-**enabled:** `typing.Optional[bool]` — Optional filter on whether a hook is enabled (true) or disabled (false). - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. +**hydrate:** `typing.Optional[typing.Union[typing.Optional[ListFlowsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[ListFlowsRequestParametersHydrateEnum]]]]` — hydration param
@@ -7939,7 +7859,7 @@ client.hooks.list(
-**trigger_id:** `typing.Optional[HookTriggerIdEnum]` — Retrieves hooks that match the trigger +**synchronous:** `typing.Optional[bool]` — flag to filter by sync/async flows
@@ -7959,24 +7879,10 @@ client.hooks.list(
-
client.hooks.create(...) -> CreateHookResponseContent -
-
- -#### 📝 Description - -
-
- +
client.flows.create(...) -> CreateFlowResponseContent
-Create a new hook. -
-
-
-
- #### 🔌 Usage
@@ -7994,10 +7900,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.create( +client.flows.create( name="name", - script="script", - trigger_id="credentials-exchange", ) ``` @@ -8014,7 +7918,7 @@ client.hooks.create(
-**name:** `str` — Name of this hook. +**name:** `str`
@@ -8022,7 +7926,7 @@ client.hooks.create(
-**script:** `str` — Code to be executed when this hook runs. +**actions:** `typing.Optional[typing.List[FlowAction]]`
@@ -8030,15 +7934,61 @@ client.hooks.create(
-**trigger_id:** `HookTriggerIdEnum` — Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.flows.get(...) -> GetFlowResponseContent
-**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.flows.get( + id="id", + hydrate=[ + "form_count" + ], +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Flow identifier
@@ -8046,7 +7996,7 @@ client.hooks.create(
-**dependencies:** `typing.Optional[HookDependencies]` +**hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowRequestParametersHydrateEnum]]]]` — hydration param
@@ -8066,11 +8016,11 @@ client.hooks.create(
-
client.hooks.get(...) -> GetHookResponseContent +
client.flows.delete(...)
-#### 📝 Description +#### 🔌 Usage
@@ -8078,11 +8028,56 @@ client.hooks.create(
-Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result. +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.flows.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Flow id + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ +
+
+ +
client.flows.update(...) -> UpdateFlowResponseContent +
+
#### 🔌 Usage @@ -8101,9 +8096,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.get( +client.flows.update( id="id", - fields="fields", ) ``` @@ -8120,7 +8114,7 @@ client.hooks.get(
-**id:** `str` — ID of the hook to retrieve. +**id:** `str` — Flow identifier
@@ -8128,7 +8122,15 @@ client.hooks.get(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. +**name:** `typing.Optional[str]` + +
+
+ +
+
+ +**actions:** `typing.Optional[typing.List[FlowAction]]`
@@ -8148,24 +8150,11 @@ client.hooks.get(
-
client.hooks.delete(...) -
-
- -#### 📝 Description - -
-
- +## Forms +
client.forms.list(...) -> ListFormsOffsetPaginatedResponseContent
-Delete a hook. -
-
-
-
- #### 🔌 Usage
@@ -8183,8 +8172,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.delete( - id="id", +client.forms.list( + page=1, + per_page=1, + include_totals=True, + hydrate=[ + "flow_count" + ], ) ``` @@ -8201,7 +8195,7 @@ client.hooks.delete(
-**id:** `str` — ID of the hook to delete. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -8209,35 +8203,45 @@ client.hooks.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
-
-
+
+
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +
-
-
client.hooks.update(...) -> UpdateHookResponseContent
-#### 📝 Description - -
-
+**hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data + +
+
-Update an existing hook. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +
client.forms.create(...) -> CreateFormResponseContent +
+
#### 🔌 Usage @@ -8256,8 +8260,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.update( - id="id", +client.forms.create( + name="name", ) ``` @@ -8274,7 +8278,7 @@ client.hooks.update(
-**id:** `str` — ID of the hook to update. +**name:** `str`
@@ -8282,7 +8286,7 @@ client.hooks.update(
-**name:** `typing.Optional[str]` — Name of this hook. +**messages:** `typing.Optional[FormMessages]`
@@ -8290,7 +8294,7 @@ client.hooks.update(
-**script:** `typing.Optional[str]` — Code to be executed when this hook runs. +**languages:** `typing.Optional[FormLanguages]`
@@ -8298,7 +8302,7 @@ client.hooks.update(
-**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). +**translations:** `typing.Optional[FormTranslations]`
@@ -8306,7 +8310,7 @@ client.hooks.update(
-**dependencies:** `typing.Optional[HookDependencies]` +**nodes:** `typing.Optional[FormNodeList]`
@@ -8314,37 +8318,46 @@ client.hooks.update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**start:** `typing.Optional[FormStartNode]`
-
-
+
+
+**ending:** `typing.Optional[FormEndingNode]` +
-
-## Jobs -
client.jobs.get(...) -> GetJobResponseContent
-#### 📝 Description - -
-
+**style:** `typing.Optional[FormStyle]` + +
+
-Retrieves a job. Useful to check its status. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +
client.forms.get(...) -> GetFormResponseContent +
+
+ #### 🔌 Usage
@@ -8362,8 +8375,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.jobs.get( +client.forms.get( id="id", + hydrate=[ + "flow_count" + ], ) ``` @@ -8380,7 +8396,15 @@ client.jobs.get(
-**id:** `str` — ID of the job. +**id:** `str` — The ID of the form to retrieve. + +
+
+ +
+
+ +**hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data
@@ -8400,90 +8424,5603 @@ client.jobs.get(
-## LogStreams -
client.log_streams.list() -> typing.List[LogStreamResponseSchema] +
client.forms.delete(...)
-#### 📝 Description +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.forms.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The ID of the form to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.forms.update(...) -> UpdateFormResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.forms.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The ID of the form to update. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` + +
+
+ +
+
+ +**messages:** `typing.Optional[FormMessagesNullable]` + +
+
+ +
+
+ +**languages:** `typing.Optional[FormLanguagesNullable]` + +
+
+ +
+
+ +**translations:** `typing.Optional[FormTranslationsNullable]` + +
+
+ +
+
+ +**nodes:** `typing.Optional[FormNodeListNullable]` + +
+
+ +
+
+ +**start:** `typing.Optional[FormStartNodeNullable]` + +
+
+ +
+
+ +**ending:** `typing.Optional[FormEndingNodeNullable]` + +
+
+ +
+
+ +**style:** `typing.Optional[FormStyleNullable]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## UserGrants +
client.user_grants.list(...) -> ListUserGrantsOffsetPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.user_grants.list( + per_page=1, + page=1, + include_totals=True, + user_id="user_id", + client_id="client_id", + audience="audience", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**user_id:** `typing.Optional[str]` — user_id of the grants to retrieve. + +
+
+ +
+
+ +**client_id:** `typing.Optional[str]` — client_id of the grants to retrieve. + +
+
+ +
+
+ +**audience:** `typing.Optional[str]` — audience of the grants to retrieve. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.user_grants.delete_by_user_id(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a grant associated with your account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.user_grants.delete_by_user_id( + user_id="user_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**user_id:** `str` — user_id of the grant to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.user_grants.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a grant associated with your account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.user_grants.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the grant to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Groups +
client.groups.list(...) -> ListGroupsPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +List all groups in your tenant. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.groups.list( + connection_id="connection_id", + name="name", + external_id="external_id", + search="search", + fields="fields", + include_fields=True, + include_totals=True, + from_="from", + take=1, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**connection_id:** `typing.Optional[str]` — Filter groups by connection ID. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — Filter groups by name. + +
+
+ +
+
+ +**external_id:** `typing.Optional[str]` — Filter groups by external ID. + +
+
+ +
+
+ +**search:** `typing.Optional[str]` — Search for groups by name or external ID. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.groups.get(...) -> GetGroupResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a group by its ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.groups.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the group (service-generated). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.groups.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a group by its ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.groups.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the group (service-generated). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Guardian +
client.guardian.get() -> GetGuardianSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +TODO: Link this endpoint to relevant documentation when available. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.guardian.get() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.guardian.set(...) -> SetGuardianSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update a tenant's guardian settings such as Remember Me +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.guardian.set( + display_remember_me_checkbox=True, + remember_me_default_value=True, + mfa_session_inactivity_timeout=1, + mfa_session_overall_timeout=1, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**display_remember_me_checkbox:** `bool` — Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + +
+
+ +
+
+ +**remember_me_default_value:** `bool` — Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + +
+
+ +
+
+ +**mfa_session_inactivity_timeout:** `int` — Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + +
+
+ +
+
+ +**mfa_session_overall_timeout:** `int` — Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Hooks +
client.hooks.list(...) -> ListHooksOffsetPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.hooks.list( + page=1, + per_page=1, + include_totals=True, + enabled=True, + fields="fields", + trigger_id="credentials-exchange", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Optional filter on whether a hook is enabled (true) or disabled (false). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**trigger_id:** `typing.Optional[HookTriggerIdEnum]` — Retrieves hooks that match the trigger + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.create(...) -> CreateHookResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a new hook. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.hooks.create( + name="name", + script="script", + trigger_id="credentials-exchange", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — Name of this hook. + +
+
+ +
+
+ +**script:** `str` — Code to be executed when this hook runs. + +
+
+ +
+
+ +**trigger_id:** `HookTriggerIdEnum` — Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`. + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). + +
+
+ +
+
+ +**dependencies:** `typing.Optional[HookDependencies]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.get(...) -> GetHookResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.hooks.get( + id="id", + fields="fields", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the hook to retrieve. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a hook. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.hooks.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the hook to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.update(...) -> UpdateHookResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update an existing hook. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.hooks.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the hook to update. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — Name of this hook. + +
+
+ +
+
+ +**script:** `typing.Optional[str]` — Code to be executed when this hook runs. + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). + +
+
+ +
+
+ +**dependencies:** `typing.Optional[HookDependencies]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Jobs +
client.jobs.get(...) -> GetJobResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieves a job. Useful to check its status. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.jobs.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the job. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## LogStreams +
client.log_streams.list() -> typing.List[LogStreamResponseSchema] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details on [log streams](https://auth0.com/docs/logs/streams). + +**Sample Response** + +```json +[{ + "id": "string", + "name": "string", + "type": "eventbridge", + "status": "active|paused|suspended", + "sink": { + "awsAccountId": "string", + "awsRegion": "string", + "awsPartnerEventSource": "string" + } +}, { + "id": "string", + "name": "string", + "type": "http", + "status": "active|paused|suspended", + "sink": { + "httpContentFormat": "JSONLINES|JSONARRAY", + "httpContentType": "string", + "httpEndpoint": "string", + "httpAuthorization": "string" + } +}, +{ + "id": "string", + "name": "string", + "type": "eventgrid", + "status": "active|paused|suspended", + "sink": { + "azureSubscriptionId": "string", + "azureResourceGroup": "string", + "azureRegion": "string", + "azurePartnerTopic": "string" + } +}, +{ + "id": "string", + "name": "string", + "type": "splunk", + "status": "active|paused|suspended", + "sink": { + "splunkDomain": "string", + "splunkToken": "string", + "splunkPort": "string", + "splunkSecure": "boolean" + } +}, +{ + "id": "string", + "name": "string", + "type": "sumo", + "status": "active|paused|suspended", + "sink": { + "sumoSourceAddress": "string" + } +}, +{ + "id": "string", + "name": "string", + "type": "datadog", + "status": "active|paused|suspended", + "sink": { + "datadogRegion": "string", + "datadogApiKey": "string" + } +}] +``` +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.log_streams.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.log_streams.create(...) -> CreateLogStreamResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a log stream. + +**Log Stream Types** + +The `type` of log stream being created determines the properties required in the `sink` payload. + +**HTTP Stream** + +For an `http` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "http", + "sink": { + "httpEndpoint": "string", + "httpContentType": "string", + "httpContentFormat": "JSONLINES|JSONARRAY", + "httpAuthorization": "string" + } +} +``` + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "http", + "status": "active", + "sink": { + "httpEndpoint": "string", + "httpContentType": "string", + "httpContentFormat": "JSONLINES|JSONARRAY", + "httpAuthorization": "string" + } +} +``` + +**Amazon EventBridge Stream** + +For an `eventbridge` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "eventbridge", + "sink": { + "awsRegion": "string", + "awsAccountId": "string" + } +} +``` + +The response will include an additional field `awsPartnerEventSource` in the `sink`: + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "string", + "awsRegion": "string", + "awsPartnerEventSource": "string" + } +} +``` + +**Azure Event Grid Stream** + +For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "eventgrid", + "sink": { + "azureSubscriptionId": "string", + "azureResourceGroup": "string", + "azureRegion": "string" + } +} +``` + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "http", + "status": "active", + "sink": { + "azureSubscriptionId": "string", + "azureResourceGroup": "string", + "azureRegion": "string", + "azurePartnerTopic": "string" + } +} +``` + +**Datadog Stream** + +For a `Datadog` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "datadog", + "sink": { + "datadogRegion": "string", + "datadogApiKey": "string" + } +} +``` + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "datadog", + "status": "active", + "sink": { + "datadogRegion": "string", + "datadogApiKey": "string" + } +} +``` + +**Splunk Stream** + +For a `Splunk` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "splunk", + "sink": { + "splunkDomain": "string", + "splunkToken": "string", + "splunkPort": "string", + "splunkSecure": "boolean" + } +} +``` + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "splunk", + "status": "active", + "sink": { + "splunkDomain": "string", + "splunkToken": "string", + "splunkPort": "string", + "splunkSecure": "boolean" + } +} +``` + +**Sumo Logic Stream** + +For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below. + +**Request:** +```json +{ + "name": "string", + "type": "sumo", + "sink": { + "sumoSourceAddress": "string" + } +} +``` + +**Response:** +```json +{ + "id": "string", + "name": "string", + "type": "sumo", + "status": "active", + "sink": { + "sumoSourceAddress": "string" + } +} +``` +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, CreateLogStreamHttpRequestBody, LogStreamHttpSink +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.log_streams.create( + request=CreateLogStreamHttpRequestBody( + type="http", + sink=LogStreamHttpSink( + http_endpoint="httpEndpoint", + ), + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `CreateLogStreamRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.log_streams.get(...) -> GetLogStreamResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a log stream configuration and status. + +**Sample responses** + +**Amazon EventBridge Log Stream** + +```json +{ + "id": "string", + "name": "string", + "type": "eventbridge", + "status": "active|paused|suspended", + "sink": { + "awsAccountId": "string", + "awsRegion": "string", + "awsPartnerEventSource": "string" + } +} +``` + +**HTTP Log Stream** + +```json +{ + "id": "string", + "name": "string", + "type": "http", + "status": "active|paused|suspended", + "sink": { + "httpContentFormat": "JSONLINES|JSONARRAY", + "httpContentType": "string", + "httpEndpoint": "string", + "httpAuthorization": "string" + } +} +``` + +**Datadog Log Stream** + +```json +{ + "id": "string", + "name": "string", + "type": "datadog", + "status": "active|paused|suspended", + "sink": { + "datadogRegion": "string", + "datadogApiKey": "string" + } +} +``` + +**Mixpanel** + +**Request:** + +```json +{ + "name": "string", + "type": "mixpanel", + "sink": { + "mixpanelRegion": "string", + "mixpanelProjectId": "string", + "mixpanelServiceAccountUsername": "string", + "mixpanelServiceAccountPassword": "string" + } +} +``` + +**Response:** + +```json +{ + "id": "string", + "name": "string", + "type": "mixpanel", + "status": "active", + "sink": { + "mixpanelRegion": "string", + "mixpanelProjectId": "string", + "mixpanelServiceAccountUsername": "string", + "mixpanelServiceAccountPassword": "string" + } +} +``` + +**Segment** + +**Request:** + +```json +{ + "name": "string", + "type": "segment", + "sink": { + "segmentWriteKey": "string" + } +} +``` + +**Response:** + +```json +{ + "id": "string", + "name": "string", + "type": "segment", + "status": "active", + "sink": { + "segmentWriteKey": "string" + } +} +``` + +**Splunk Log Stream** + +```json +{ + "id": "string", + "name": "string", + "type": "splunk", + "status": "active|paused|suspended", + "sink": { + "splunkDomain": "string", + "splunkToken": "string", + "splunkPort": "string", + "splunkSecure": "boolean" + } +} +``` + +**Sumo Logic Log Stream** + +```json +{ + "id": "string", + "name": "string", + "type": "sumo", + "status": "active|paused|suspended", + "sink": { + "sumoSourceAddress": "string" + } +} +``` + +**Status** + +The `status` of a log stream maybe any of the following: + +1. `active` - Stream is currently enabled. +2. `paused` - Stream is currently user disabled and will not attempt log delivery. +3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.log_streams.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the log stream to get + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.log_streams.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a log stream. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.log_streams.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the log stream to delete + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.log_streams.update(...) -> UpdateLogStreamResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update a log stream. + +**Examples of how to use the PATCH endpoint.** + +The following fields may be updated in a PATCH operation: + +- name +- status +- sink + +Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted. + +**Update the status of a log stream** + +```json +{ + "status": "active|paused" +} +``` + +**Update the name of a log stream** + +```json +{ + "name": "string" +} +``` + +**Update the sink properties of a stream of type `http`** + +```json +{ + "sink": { + "httpEndpoint": "string", + "httpContentType": "string", + "httpContentFormat": "JSONARRAY|JSONLINES", + "httpAuthorization": "string" + } +} +``` + +**Update the sink properties of a stream of type `datadog`** + +```json +{ + "sink": { + "datadogRegion": "string", + "datadogApiKey": "string" + } +} +``` + +**Update the sink properties of a stream of type `splunk`** + +```json +{ + "sink": { + "splunkDomain": "string", + "splunkToken": "string", + "splunkPort": "string", + "splunkSecure": "boolean" + } +} +``` + +**Update the sink properties of a stream of type `sumo`** + +```json +{ + "sink": { + "sumoSourceAddress": "string" + } +} +``` +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.log_streams.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the log stream to get + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — log stream name + +
+
+ +
+
+ +**status:** `typing.Optional[LogStreamStatusEnum]` + +
+
+ +
+
+ +**is_priority:** `typing.Optional[bool]` — True for priority log streams, false for non-priority + +
+
+ +
+
+ +**filters:** `typing.Optional[typing.List[LogStreamFilter]]` — Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. + +
+
+ +
+
+ +**pii_config:** `typing.Optional[LogStreamPiiConfig]` + +
+
+ +
+
+ +**sink:** `typing.Optional[LogStreamSinkPatch]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Logs +
client.logs.list(...) -> ListLogOffsetPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve log entries that match the specified search criteria (or all log entries if no criteria specified). + +Set custom search criteria using the `q` parameter, or search from a specific log ID (_"search from checkpoint"_). + +For more information on all possible event types, their respective acronyms, and descriptions, see [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes). + +**To set custom search criteria, use the following parameters:** + +- **q:** Search Criteria using [Query String Syntax](https://auth0.com/docs/logs/log-search-query-syntax) +- **page:** Page index of the results to return. First page is 0. +- **per_page:** Number of results per page. +- **sort:** Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1` +- **fields:** Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields. +- **include_fields:** Whether specified fields are to be included (true) or excluded (false). +- **include_totals:** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). **Deprecated:** this field is deprecated and should be removed from use. See [Search Engine V3 Breaking Changes](https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination) + +For more information on the list of fields that can be used in `fields` and `sort`, see [Searchable Fields](https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields). + +Auth0 [limits the number of logs](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations) you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the [get logs by checkpoint method](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint). + +**To search from a checkpoint log ID, use the following parameters:** + +- **from:** Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the `take` parameter. If you use `from` at the same time as `q`, `from` takes precedence and `q` is ignored. +- **take:** Number of entries to retrieve when using the `from` parameter. + +**Important:** When fetching logs from a checkpoint log ID, any parameter other than `from` and `take` will be ignored, and date ordering is not guaranteed. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.logs.list( + page=1, + per_page=1, + sort="sort", + fields="fields", + include_fields=True, + include_totals=True, + search="search", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent. Default: 50. Max value: 100 + +
+
+ +
+
+ +**sort:** `typing.Optional[str]` — Field to use for sorting appended with :1 for ascending and :-1 for descending. e.g. date:-1 + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false) + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results as an array when false (default). Return results inside an object that also contains a total result count when true. + +
+
+ +
+
+ +**search:** `typing.Optional[str]` + +Retrieves logs that match the specified search criteria. This parameter can be combined with all the others in the /api/logs endpoint but is specified separately for clarity. +If no fields are provided a case insensitive 'starts with' search is performed on all of the following fields: client_name, connection, user_name. Otherwise, you can specify multiple fields and specify the search using the %field%:%search%, for example: application:node user:"John@contoso.com". +Values specified without quotes are matched using a case insensitive 'starts with' search. If quotes are used a case insensitve exact search is used. If multiple fields are used, the AND operator is used to join the clauses. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.logs.get(...) -> GetLogResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve an individual log event. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.logs.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — log_id of the log to retrieve. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## NetworkAcls +
client.network_acls.list(...) -> ListNetworkAclsOffsetPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Get all access control list entries for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.list( + page=1, + per_page=1, + include_totals=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — The amount of results per page. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.network_acls.create(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a new access control list for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, NetworkAclRule, NetworkAclAction +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.create( + description="description", + active=True, + rule=NetworkAclRule( + action=NetworkAclAction(), + scope="management", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**description:** `str` + +
+
+ +
+
+ +**active:** `bool` — Indicates whether or not this access control list is actively being used + +
+
+ +
+
+ +**rule:** `NetworkAclRule` + +
+
+ +
+
+ +**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.network_acls.get(...) -> GetNetworkAclsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Get a specific access control list entry for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the access control list to retrieve. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.network_acls.set(...) -> SetNetworkAclsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update existing access control list for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, NetworkAclRule, NetworkAclAction +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.set( + id="id", + description="description", + active=True, + rule=NetworkAclRule( + action=NetworkAclAction(), + scope="management", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the ACL to update. + +
+
+ +
+
+ +**description:** `str` + +
+
+ +
+
+ +**active:** `bool` — Indicates whether or not this access control list is actively being used + +
+
+ +
+
+ +**rule:** `NetworkAclRule` + +
+
+ +
+
+ +**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.network_acls.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete existing access control list for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the ACL to delete + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.network_acls.update(...) -> UpdateNetworkAclResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update existing access control list for your client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.network_acls.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the ACL to update. + +
+
+ +
+
+ +**description:** `typing.Optional[str]` + +
+
+ +
+
+ +**active:** `typing.Optional[bool]` — Indicates whether or not this access control list is actively being used + +
+
+ +
+
+ +**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. + +
+
+ +
+
+ +**rule:** `typing.Optional[NetworkAclRule]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Organizations +
client.organizations.list(...) -> ListOrganizationsPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations. + +This endpoint supports two types of pagination: + +- Offset pagination +- Checkpoint pagination + +Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + +**Checkpoint Pagination** + +To search by checkpoint, use the following parameters: + +- `from`: Optional id from which to start selection. +- `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + +**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.list( + include_totals=True, + from_="from", + take=1, + sort="sort", + include_client_association_for="include_client_association_for", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**sort:** `typing.Optional[str]` — Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. + +
+
+ +
+
+ +**include_client_association_for:** `typing.Optional[str]` — Client ID. When set, each returned organization that has an association with this client gains a client object describing it; organizations without one omit the field. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.create(...) -> CreateOrganizationResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review [Create Your First Organization](https://auth0.com/docs/manage-users/organizations/create-first-organization). +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.create( + name="name", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — The name of this organization. + +
+
+ +
+
+ +**display_name:** `typing.Optional[str]` — Friendly name of this organization. + +
+
+ +
+
+ +**branding:** `typing.Optional[OrganizationBranding]` + +
+
+ +
+
+ +**metadata:** `typing.Optional[OrganizationMetadata]` + +
+
+ +
+
+ +**enabled_connections:** `typing.Optional[typing.List[ConnectionForOrganization]]` — Connections that will be enabled for this organization. See POST enabled_connections endpoint for the object format. (Max of 10 connections allowed) + +
+
+ +
+
+ +**token_quota:** `typing.Optional[CreateTokenQuota]` + +
+
+ +
+
+ +**third_party_client_access:** `typing.Optional[OrganizationThirdPartyClientAccessEnum]` + +
+
+ +
+
+ +**is_app_entitlement_active:** `typing.Optional[bool]` — Whether app entitlement is active for this organization. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.get_by_name(...) -> GetOrganizationByNameResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details about a single Organization specified by name. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.get_by_name( + name="name", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — name of the organization to retrieve. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.search(...) -> SearchOrganizationsPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details of organizations matching a search criteria. It is possible to: + +- Specify a search criteria for organizations +- Search via `name` +- Search via `display_name` +- Substring matching (`contains` and `ends-with`) requires at least 3 characters +- Use wildcards + +The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR `display_name`. + +This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser` parameter to specify "scim" or "lucene" syntax (default: "lucene"). + +Results are eventually consistent and may not reflect recent updates immediately. + +**Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest first). +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.search( + q="q", + parser="scim", + take=1, + from_="from", + sort="name", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**q:** `typing.Optional[str]` — Filter expression in SCIM or Lucene syntax (depending on parser parameter, default: Lucene). Lucene examples: `name:acme*`, `display_name:*auth*`. SCIM examples: `name eq "Auth0"`, `display_name sw "auth" and created_at gt "2024-01-01"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Organization ID (case-sensitive, exact match)
  • name - Organization name (supports contains, starts-with, ends-with operators; sortable)
  • display_name - Organization display name (supports contains, starts-with, ends-with operators; sortable)
  • created_at - Creation timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by organization metadata key-value pairs
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + +
+
+ +
+
+ +**parser:** `typing.Optional[SearchParserEnum]` — Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Maximum number of results to return per page (1-100). Defaults to 50. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Cursor for the next page of results. Use the value from the next field in the previous response. + +
+
+ +
+
+ +**sort:** `typing.Optional[OrganizationSortFieldEnum]` — Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.get(...) -> GetOrganizationResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details about a single Organization specified by ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the organization to retrieve. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Remove an Organization from your tenant. This action cannot be undone. + +**Note**: Members are automatically disassociated from an Organization when it is deleted. However, this action does **not** delete these users from your tenant. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Organization identifier. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.update(...) -> UpdateOrganizationResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update the details of a specific [Organization](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations), such as name and display name, branding options, and metadata. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the organization to update. + +
+
+ +
+
+ +**display_name:** `typing.Optional[str]` — Friendly name of this organization. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — The name of this organization. + +
+
+ +
+
+ +**branding:** `typing.Optional[OrganizationBranding]` + +
+
+ +
+
+ +**metadata:** `typing.Optional[OrganizationMetadata]` + +
+
+ +
+
+ +**token_quota:** `typing.Optional[UpdateTokenQuota]` + +
+
+ +
+
+ +**third_party_client_access:** `typing.Optional[OrganizationThirdPartyClientAccessEnum]` + +
+
+ +
+
+ +**is_app_entitlement_active:** `typing.Optional[bool]` — Whether app entitlement is active for this organization. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Portals +
client.portals.list() -> ListPortalsResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.portals.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.portals.create(...) -> Portal +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, PortalClientSecretPostRequest +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.portals.create( + slug="slug", + name="name", + client=PortalClientSecretPostRequest( + token_endpoint_auth_method="client_secret_post", + client_id="client_id", + client_secret="client_secret", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**slug:** `PortalSlug` + +
+
+ +
+
+ +**name:** `PortalName` + +
+
+ +
+
+ +**client:** `PortalClientSecretPostRequest` + +
+
+ +
+
+ +**navigation:** `typing.Optional[PortalNavigation]` + +
+
+ +
+
+ +**pages:** `typing.Optional[PortalPagesByType]` + +
+
+ +
+
+ +**custom_code:** `typing.Optional[PortalCustomCode]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.portals.get(...) -> Portal +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.portals.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `PortalId` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.portals.delete(...) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.portals.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `PortalId` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.portals.update(...) -> Portal +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.portals.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `PortalId` + +
+
+ +
+
+ +**slug:** `typing.Optional[PortalSlug]` + +
+
+ +
+
+ +**name:** `typing.Optional[PortalName]` + +
+
+ +
+
+ +**client:** `typing.Optional[PortalClientSecretPostRequest]` + +
+
+ +
+
+ +**navigation:** `typing.Optional[PortalNavigationNullable]` + +
+
+ +
+
+ +**pages:** `typing.Optional[PortalPagesByTypeNullable]` + +
+
+ +
+
+ +**custom_code:** `typing.Optional[PortalCustomCodeNullable]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Prompts +
client.prompts.get_settings() -> GetSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details of the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.prompts.get_settings() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.prompts.update_settings(...) -> UpdateSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.prompts.update_settings() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**universal_login_experience:** `typing.Optional[UniversalLoginExperienceEnum]` + +
+
+ +
+
+ +**identifier_first:** `typing.Optional[bool]` — Whether identifier first is enabled or not + +
+
+ +
+
+ +**webauthn_platform_first_factor:** `typing.Optional[bool]` — Use WebAuthn with Device Biometrics as the first authentication factor + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## RateLimitPolicies +
client.rate_limit_policies.list(...) -> ListRateLimitPoliciesPaginatedResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rate_limit_policies.list( + resource="oauth_authentication_api", + consumer="client", + consumer_selector="consumer_selector", + take=1, + from_="from", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**resource:** `typing.Optional[RateLimitPolicyResourceEnum]` — The API protected by the Rate Limit Policy. + +
+
+ +
+
+ +**consumer:** `typing.Optional[RateLimitPolicyConsumerEnum]` — The consumer to which the rate limit policy applies. + +
+
+ +
+
+ +**consumer_selector:** `typing.Optional[str]` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:` to target a specific client by ID, `client_id:` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Cursor for pagination. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.rate_limit_policies.create(...) -> CreateRateLimitPolicyResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, RateLimitPolicyConfigurationZero +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rate_limit_policies.create( + resource="oauth_authentication_api", + consumer="client", + consumer_selector="consumer_selector", + configuration=RateLimitPolicyConfigurationZero( + action="allow", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**resource:** `RateLimitPolicyResourceEnum` + +
+
+ +
+
+ +**consumer:** `RateLimitPolicyConsumerEnum` + +
+
+ +
+
+ +**consumer_selector:** `str` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:` to target a specific client by ID, `client_id:` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted. + +
+
+ +
+
+ +**configuration:** `RateLimitPolicyConfiguration` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.rate_limit_policies.get(...) -> GetRateLimitPolicyResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rate_limit_policies.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the Rate Limit Policy. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.rate_limit_policies.delete(...) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rate_limit_policies.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the Rate Limit Policy. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.rate_limit_policies.update(...) -> UpdateRateLimitPolicyResponseContent +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0, PatchRateLimitPolicyConfigurationRequestContentZero +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rate_limit_policies.update( + id="id", + configuration=PatchRateLimitPolicyConfigurationRequestContentZero( + action="allow", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the Rate Limit Policy. + +
+
+ +
+
+ +**configuration:** `PatchRateLimitPolicyConfigurationRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## RefreshTokens +
client.refresh_tokens.list(...) -> GetRefreshTokensPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a paginated list of refresh tokens for a specific user, with optional filtering by client ID. Results are sorted by credential_id ascending. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.refresh_tokens.list( + user_id="user_id", + client_id="client_id", + from_="from", + take=1, + fields="fields", + include_fields=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**user_id:** `str` — ID of the user whose refresh tokens to retrieve. Required. + +
+
+ +
+
+ +**client_id:** `typing.Optional[str]` — Filter results by client ID. Only valid when user_id is provided. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.refresh_tokens.revoke(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.refresh_tokens.revoke() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**ids:** `typing.Optional[typing.List[str]]` — Array of refresh token IDs to revoke. Limited to 100 at a time. + +
+
+ +
+
+ +**user_id:** `typing.Optional[str]` — Revoke all refresh tokens for this user. + +
+
+ +
+
+ +**client_id:** `typing.Optional[str]` — Revoke refresh tokens for this client. Must be paired with `user_id`; optionally narrowed further with `audience`. + +
+
+ +
+
+ +**audience:** `typing.Optional[str]` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.refresh_tokens.get(...) -> GetRefreshTokenResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve refresh token information. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.refresh_tokens.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID refresh token to retrieve + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.refresh_tokens.delete(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a refresh token by its ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.refresh_tokens.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the refresh token to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.refresh_tokens.update(...) -> UpdateRefreshTokenResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update a refresh token by its ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.refresh_tokens.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the refresh token to update. + +
+
+ +
+
+ +**refresh_token_metadata:** `typing.Optional[RefreshTokenMetadata]` — Metadata associated with the refresh token. Pass null or {} to remove all metadata. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## ResourceServers +
client.resource_servers.list(...) -> ListResourceServerOffsetPaginatedResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve details of all APIs associated with your tenant. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.resource_servers.list( + identifiers=[ + "identifiers" + ], + page=1, + per_page=1, + include_totals=True, + include_fields=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**identifiers:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — An optional filter on the resource server identifier. Must be URL encoded and may be specified multiple times (max 10).
e.g. ../resource-servers?identifiers=id1&identifiers=id2 + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.resource_servers.create(...) -> CreateResourceServerResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a new API associated with your tenant. Note that all new APIs must be registered with Auth0. For more information, read APIs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.resource_servers.create( + identifier="identifier", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**identifier:** `str` — Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters. + +
+
+ +
+
+ +**scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses. + +
+
+ +
+
+ +**signing_alg:** `typing.Optional[SigningAlgorithmEnum]` + +
+
+ +
+
+ +**signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256). + +
+
+ +
+
+ +**allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false). + +
+
+ +
+
+ +**allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false). + +
+
+ +
+
+ +**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). + +
+
+ +
+
+ +**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + +
+
+ +
+
+ +**token_lifetime_for_anonymous_access_tokens:** `typing.Optional[int]` — Expiration value (in seconds) for anonymous-session access tokens issued for this API. + +
+
+ +
+
+ +**token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]` + +
+
+ +
+
+ +**skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false). + +
+
+ +
+
+ +**enforce_policies:** `typing.Optional[bool]` — Whether to enforce authorization policies (true) or to ignore them (false). + +
+
+ +
+
+ +**access_token:** `typing.Optional[ResourceServerAccessToken]` + +
+
+ +
+
+ +**token_encryption:** `typing.Optional[ResourceServerTokenEncryption]` + +
+
+ +
+
+ +**consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]` + +
+
+ +
+
+ +**require_consent_non_repudiation:** `typing.Optional[bool]` — When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + +
+
+ +
+
+ +**authorization_details:** `typing.Optional[typing.List[typing.Any]]` + +
+
+ +
+
+ +**proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]` + +
+
+ +
+
+ +**subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]` + +
+
+ +
+
+ +**authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]` + +
+
+**agent_subject_claims:** `typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum]` + +
+
+
-Retrieve details on [log streams](https://auth0.com/docs/logs/streams). +**type:** `typing.Optional[ResourceServerTypeEnum]` + +
+
-**Sample Response** +
+
-```json -[{ - "id": "string", - "name": "string", - "type": "eventbridge", - "status": "active|paused|suspended", - "sink": { - "awsAccountId": "string", - "awsRegion": "string", - "awsPartnerEventSource": "string" - } -}, { - "id": "string", - "name": "string", - "type": "http", - "status": "active|paused|suspended", - "sink": { - "httpContentFormat": "JSONLINES|JSONARRAY", - "httpContentType": "string", - "httpEndpoint": "string", - "httpAuthorization": "string" - } -}, -{ - "id": "string", - "name": "string", - "type": "eventgrid", - "status": "active|paused|suspended", - "sink": { - "azureSubscriptionId": "string", - "azureResourceGroup": "string", - "azureRegion": "string", - "azurePartnerTopic": "string" - } -}, -{ - "id": "string", - "name": "string", - "type": "splunk", - "status": "active|paused|suspended", - "sink": { - "splunkDomain": "string", - "splunkToken": "string", - "splunkPort": "string", - "splunkSecure": "boolean" - } -}, -{ - "id": "string", - "name": "string", - "type": "sumo", - "status": "active|paused|suspended", - "sink": { - "sumoSourceAddress": "string" - } -}, -{ - "id": "string", - "name": "string", - "type": "datadog", - "status": "active|paused|suspended", - "sink": { - "datadogRegion": "string", - "datadogApiKey": "string" - } -}] -``` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.resource_servers.search(...) -> SearchResourceServersResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /resource-servers endpoint with better performance for complex queries. +Results may not reflect recent updates immediately. + +The `signing_secret` field is not supported by this endpoint.
@@ -8506,7 +14043,15 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.log_streams.list() +client.resource_servers.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="identifier", +) ```
@@ -8522,6 +14067,62 @@ client.log_streams.list()
+**q:** `typing.Optional[str]` — Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "My API"`, `identifier sw "https://"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Filter by resource server ID
  • identifier - Filter by resource server identifier
  • name - Filter by resource server name
  • updated_at - Filter by last update date
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + +
+
+ +
+
+ +**parser:** `typing.Optional[SearchParserEnum]` — Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Maximum number of results to return per page (1-100). Defaults to 50. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Cursor for the next page of results. Use the value from the next field in the previous response. + +
+
+ +
+
+ +**sort:** `typing.Optional[ResourceServerSortFieldEnum]` — Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -8534,7 +14135,7 @@ client.log_streams.list()
-
client.log_streams.create(...) -> CreateLogStreamResponseContent +
client.resource_servers.get(...) -> GetResourceServerResponseContent
@@ -8546,249 +14147,275 @@ client.log_streams.list()
-Create a log stream. +Retrieve API details with the given ID. +
+
+
+
-**Log Stream Types** +#### 🔌 Usage -The `type` of log stream being created determines the properties required in the `sink` payload. +
+
-**HTTP Stream** +
+
-For an `http` Stream, the `sink` properties are listed in the payload below. +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment -**Request:** -```json -{ - "name": "string", - "type": "http", - "sink": { - "httpEndpoint": "string", - "httpContentType": "string", - "httpContentFormat": "JSONLINES|JSONARRAY", - "httpAuthorization": "string" - } -} -``` +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.resource_servers.get( + id="id", + include_fields=True, +) -**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "http", - "status": "active", - "sink": { - "httpEndpoint": "string", - "httpContentType": "string", - "httpContentFormat": "JSONLINES|JSONARRAY", - "httpAuthorization": "string" - } -} ``` +
+
+
+
-**Amazon EventBridge Stream** +#### ⚙️ Parameters -For an `eventbridge` Stream, the `sink` properties are listed in the payload below. +
+
-**Request:** -```json -{ - "name": "string", - "type": "eventbridge", - "sink": { - "awsRegion": "string", - "awsAccountId": "string" - } -} -``` +
+
-The response will include an additional field `awsPartnerEventSource` in the `sink`: +**id:** `str` — ID or audience of the resource server to retrieve. + +
+
-**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "eventbridge", - "status": "active", - "sink": { - "awsAccountId": "string", - "awsRegion": "string", - "awsPartnerEventSource": "string" - } -} -``` +
+
-**Azure Event Grid Stream** +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
-For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below. +
+
-**Request:** -```json -{ - "name": "string", - "type": "eventgrid", - "sink": { - "azureSubscriptionId": "string", - "azureResourceGroup": "string", - "azureRegion": "string" - } -} -``` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
-**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "http", - "status": "active", - "sink": { - "azureSubscriptionId": "string", - "azureResourceGroup": "string", - "azureRegion": "string", - "azurePartnerTopic": "string" - } -} -``` -**Datadog Stream** + + +
-For a `Datadog` Stream, the `sink` properties are listed in the payload below. +
client.resource_servers.delete(...) +
+
-**Request:** -```json -{ - "name": "string", - "type": "datadog", - "sink": { - "datadogRegion": "string", - "datadogApiKey": "string" - } -} -``` +#### 📝 Description -**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "datadog", - "status": "active", - "sink": { - "datadogRegion": "string", - "datadogApiKey": "string" - } -} -``` +
+
-**Splunk Stream** +
+
-For a `Splunk` Stream, the `sink` properties are listed in the payload below. +Delete an existing API by ID. For more information, read API Settings. +
+
+
+
-**Request:** -```json -{ - "name": "string", - "type": "splunk", - "sink": { - "splunkDomain": "string", - "splunkToken": "string", - "splunkPort": "string", - "splunkSecure": "boolean" - } -} -``` +#### 🔌 Usage -**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "splunk", - "status": "active", - "sink": { - "splunkDomain": "string", - "splunkToken": "string", - "splunkPort": "string", - "splunkSecure": "boolean" - } -} -``` +
+
-**Sumo Logic Stream** +
+
-For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below. +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.resource_servers.delete( + id="id", +) -**Request:** -```json -{ - "name": "string", - "type": "sumo", - "sink": { - "sumoSourceAddress": "string" - } -} ``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID or the audience of the resource server to delete. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.resource_servers.update(...) -> UpdateResourceServerResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Change an existing API setting by resource server ID. For more information, read API Settings. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.resource_servers.update( + id="id", +) -**Response:** -```json -{ - "id": "string", - "name": "string", - "type": "sumo", - "status": "active", - "sink": { - "sumoSourceAddress": "string" - } -} ```
-#### 🔌 Usage - +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID or audience of the resource server to update. + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters. + +
+
+ +
+
+ +**scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses. + +
+
+ +
+
+ +**signing_alg:** `typing.Optional[SigningAlgorithmEnum]` + +
+
+
+**signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256). + +
+
+
-```python -from auth0.management import Auth0, CreateLogStreamHttpRequestBody, LogStreamHttpSink -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) +**skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false). + +
+
-client.log_streams.create( - request=CreateLogStreamHttpRequestBody( - type="http", - sink=LogStreamHttpSink( - http_endpoint="httpEndpoint", - ), - ), -) +
+
-``` +**allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false). +
+ +
+
+ +**allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false). +
-#### ⚙️ Parameters -
+**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). + +
+
+
-**request:** `CreateLogStreamRequestContent` +**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
@@ -8796,182 +14423,138 @@ client.log_streams.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**token_lifetime_for_anonymous_access_tokens:** `typing.Optional[int]` — Expiration value (in seconds) for anonymous-session access tokens issued for this API.
+ +
+
+ +**token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]` +
+
+
+**enforce_policies:** `typing.Optional[bool]` — Whether authorization policies are enforced (true) or not enforced (false). +
-
-
client.log_streams.get(...) -> GetLogStreamResponseContent
-#### 📝 Description +**access_token:** `typing.Optional[ResourceServerAccessToken]` + +
+
+**token_encryption:** `typing.Optional[ResourceServerTokenEncryption]` + +
+
+
-Retrieve a log stream configuration and status. +**consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]` + +
+
-**Sample responses** +
+
-**Amazon EventBridge Log Stream** +**require_consent_non_repudiation:** `typing.Optional[bool]` — When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + +
+
-```json -{ - "id": "string", - "name": "string", - "type": "eventbridge", - "status": "active|paused|suspended", - "sink": { - "awsAccountId": "string", - "awsRegion": "string", - "awsPartnerEventSource": "string" - } -} -``` +
+
-**HTTP Log Stream** +**authorization_details:** `typing.Optional[typing.List[typing.Any]]` + +
+
-```json -{ - "id": "string", - "name": "string", - "type": "http", - "status": "active|paused|suspended", - "sink": { - "httpContentFormat": "JSONLINES|JSONARRAY", - "httpContentType": "string", - "httpEndpoint": "string", - "httpAuthorization": "string" - } -} -``` +
+
-**Datadog Log Stream** +**proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]` + +
+
-```json -{ - "id": "string", - "name": "string", - "type": "datadog", - "status": "active|paused|suspended", - "sink": { - "datadogRegion": "string", - "datadogApiKey": "string" - } -} -``` +
+
-**Mixpanel** +**subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]` + +
+
-**Request:** +
+
-```json -{ - "name": "string", - "type": "mixpanel", - "sink": { - "mixpanelRegion": "string", - "mixpanelProjectId": "string", - "mixpanelServiceAccountUsername": "string", - "mixpanelServiceAccountPassword": "string" - } -} -``` +**authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]` + +
+
-**Response:** +
+
-```json -{ - "id": "string", - "name": "string", - "type": "mixpanel", - "status": "active", - "sink": { - "mixpanelRegion": "string", - "mixpanelProjectId": "string", - "mixpanelServiceAccountUsername": "string", - "mixpanelServiceAccountPassword": "string" - } -} -``` +**agent_subject_claims:** `typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum]` + +
+
-**Segment** +
+
-**Request:** +**type:** `typing.Optional[ResourceServerTypeEnum]` + +
+
-```json -{ - "name": "string", - "type": "segment", - "sink": { - "segmentWriteKey": "string" - } -} -``` +
+
-**Response:** +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + -```json -{ - "id": "string", - "name": "string", - "type": "segment", - "status": "active", - "sink": { - "segmentWriteKey": "string" - } -} -``` -**Splunk Log Stream** + + +
-```json -{ - "id": "string", - "name": "string", - "type": "splunk", - "status": "active|paused|suspended", - "sink": { - "splunkDomain": "string", - "splunkToken": "string", - "splunkPort": "string", - "splunkSecure": "boolean" - } -} -``` +## Roles +
client.roles.list(...) -> ListRolesOffsetPaginatedResponseContent +
+
-**Sumo Logic Log Stream** +#### 📝 Description -```json -{ - "id": "string", - "name": "string", - "type": "sumo", - "status": "active|paused|suspended", - "sink": { - "sumoSourceAddress": "string" - } -} -``` +
+
-**Status** +
+
-The `status` of a log stream maybe any of the following: +Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, Auth0-managed System Roles. -1. `active` - Stream is currently enabled. -2. `paused` - Stream is currently user disabled and will not attempt log delivery. -3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery. +**Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access.
@@ -8994,8 +14577,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.log_streams.get( - id="id", +client.roles.list( + per_page=1, + page=1, + include_totals=True, + name_filter="name_filter", + type="tenant", + owner_id="owner_id", ) ``` @@ -9012,7 +14600,47 @@ client.log_streams.get(
-**id:** `str` — The id of the log stream to get +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**name_filter:** `typing.Optional[str]` — Optional filter on name (case-insensitive). + +
+
+ +
+
+ +**type:** `typing.Optional[RoleTypeEnum]` — Optional filter on the type of the role + +
+
+ +
+
+ +**owner_id:** `typing.Optional[RoleOwnerIdFilter]` — Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization".
@@ -9032,7 +14660,7 @@ client.log_streams.get(
-
client.log_streams.delete(...) +
client.roles.create(...) -> CreateRoleResponseContent
@@ -9044,7 +14672,9 @@ client.log_streams.get(
-Delete a log stream. +Create a user role for [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac). + +**Note**: New roles are not associated with any permissions by default. To assign existing permissions to your role, review Associate Permissions with a Role. To create new permissions, review Add API Permissions.
@@ -9067,8 +14697,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.log_streams.delete( - id="id", +client.roles.create( + name="name", ) ``` @@ -9085,7 +14715,31 @@ client.log_streams.delete(
-**id:** `str` — The id of the log stream to delete +**name:** `str` — Name of the role. + +
+
+ +
+
+ +**description:** `typing.Optional[str]` — Description of the role. + +
+
+ +
+
+ +**type:** `typing.Optional[RoleTypeEnum]` — The type of the role. Defaults to tenant. + +
+
+ +
+
+ +**owner_id:** `typing.Optional[str]` — The ID of the organization that owns this role. Required when type is "organization".
@@ -9105,7 +14759,7 @@ client.log_streams.delete(
-
client.log_streams.update(...) -> UpdateLogStreamResponseContent +
client.roles.get(...) -> GetRoleResponseContent
@@ -9117,80 +14771,7 @@ client.log_streams.delete(
-Update a log stream. - -**Examples of how to use the PATCH endpoint.** - -The following fields may be updated in a PATCH operation: - -- name -- status -- sink - -Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted. - -**Update the status of a log stream** - -```json -{ - "status": "active|paused" -} -``` - -**Update the name of a log stream** - -```json -{ - "name": "string" -} -``` - -**Update the sink properties of a stream of type `http`** - -```json -{ - "sink": { - "httpEndpoint": "string", - "httpContentType": "string", - "httpContentFormat": "JSONARRAY|JSONLINES", - "httpAuthorization": "string" - } -} -``` - -**Update the sink properties of a stream of type `datadog`** - -```json -{ - "sink": { - "datadogRegion": "string", - "datadogApiKey": "string" - } -} -``` - -**Update the sink properties of a stream of type `splunk`** - -```json -{ - "sink": { - "splunkDomain": "string", - "splunkToken": "string", - "splunkPort": "string", - "splunkSecure": "boolean" - } -} -``` - -**Update the sink properties of a stream of type `sumo`** - -```json -{ - "sink": { - "sumoSourceAddress": "string" - } -} -``` +Retrieve details about a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID.
@@ -9213,7 +14794,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.log_streams.update( +client.roles.get( id="id", ) @@ -9231,7 +14812,7 @@ client.log_streams.update(
-**id:** `str` — The id of the log stream to get +**id:** `str` — ID of the role to retrieve.
@@ -9239,47 +14820,72 @@ client.log_streams.update(
-**name:** `typing.Optional[str]` — log stream name +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**status:** `typing.Optional[LogStreamStatusEnum]` -
+
+
client.roles.delete(...)
-**is_priority:** `typing.Optional[bool]` — True for priority log streams, false for non-priority - -
-
+#### 📝 Description
-**filters:** `typing.Optional[typing.List[LogStreamFilter]]` — Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. - +
+
+ +Delete a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) from your tenant. Once deleted, it is removed from any user who was previously assigned that role. This action cannot be undone. +
+
+#### 🔌 Usage +
-**pii_config:** `typing.Optional[LogStreamPiiConfig]` - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.roles.delete( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**sink:** `typing.Optional[LogStreamSinkPatch]` +
+
+ +**id:** `str` — ID of the role to delete.
@@ -9299,8 +14905,7 @@ client.log_streams.update(
-## Logs -
client.logs.list(...) -> ListLogOffsetPaginatedResponseContent +
client.roles.update(...) -> UpdateRoleResponseContent
@@ -9312,32 +14917,7 @@ client.log_streams.update(
-Retrieve log entries that match the specified search criteria (or all log entries if no criteria specified). - -Set custom search criteria using the `q` parameter, or search from a specific log ID (_"search from checkpoint"_). - -For more information on all possible event types, their respective acronyms, and descriptions, see [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes). - -**To set custom search criteria, use the following parameters:** - -- **q:** Search Criteria using [Query String Syntax](https://auth0.com/docs/logs/log-search-query-syntax) -- **page:** Page index of the results to return. First page is 0. -- **per_page:** Number of results per page. -- **sort:** Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1` -- **fields:** Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields. -- **include_fields:** Whether specified fields are to be included (true) or excluded (false). -- **include_totals:** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). **Deprecated:** this field is deprecated and should be removed from use. See [Search Engine V3 Breaking Changes](https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination) - -For more information on the list of fields that can be used in `fields` and `sort`, see [Searchable Fields](https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields). - -Auth0 [limits the number of logs](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations) you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the [get logs by checkpoint method](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint). - -**To search from a checkpoint log ID, use the following parameters:** - -- **from:** Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the `take` parameter. If you use `from` at the same time as `q`, `from` takes precedence and `q` is ignored. -- **take:** Number of entries to retrieve when using the `from` parameter. - -**Important:** When fetching logs from a checkpoint log ID, any parameter other than `from` and `take` will be ignored, and date ordering is not guaranteed. +Modify the details of a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID.
@@ -9360,14 +14940,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.logs.list( - page=1, - per_page=1, - sort="sort", - fields="fields", - include_fields=True, - include_totals=True, - search="search", +client.roles.update( + id="id", ) ``` @@ -9384,39 +14958,7 @@ client.logs.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - -
-
- -
-
- -**per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent. Default: 50. Max value: 100 - -
-
- -
-
- -**sort:** `typing.Optional[str]` — Field to use for sorting appended with :1 for ascending and :-1 for descending. e.g. date:-1 - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false) +**id:** `str` — ID of the role to update.
@@ -9424,7 +14966,7 @@ client.logs.list(
-**include_totals:** `typing.Optional[bool]` — Return results as an array when false (default). Return results inside an object that also contains a total result count when true. +**name:** `typing.Optional[str]` — Name of this role.
@@ -9432,11 +14974,7 @@ client.logs.list(
-**search:** `typing.Optional[str]` - -Retrieves logs that match the specified search criteria. This parameter can be combined with all the others in the /api/logs endpoint but is specified separately for clarity. -If no fields are provided a case insensitive 'starts with' search is performed on all of the following fields: client_name, connection, user_name. Otherwise, you can specify multiple fields and specify the search using the %field%:%search%, for example: application:node user:"John@contoso.com". -Values specified without quotes are matched using a case insensitive 'starts with' search. If quotes are used a case insensitve exact search is used. If multiple fields are used, the AND operator is used to join the clauses. +**description:** `typing.Optional[str]` — Description of this role.
@@ -9456,7 +14994,8 @@ Values specified without quotes are matched using a case insensitive 'starts wit
-
client.logs.get(...) -> GetLogResponseContent +## Rules +
client.rules.list(...) -> ListRulesOffsetPaginatedResponseContent
@@ -9468,7 +15007,7 @@ Values specified without quotes are matched using a case insensitive 'starts wit
-Retrieve an individual log event. +Retrieve a filtered list of [rules](https://auth0.com/docs/rules). Accepts a list of fields to include or exclude.
@@ -9491,8 +15030,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.logs.get( - id="id", +client.rules.list( + page=1, + per_page=1, + include_totals=True, + enabled=True, + fields="fields", + include_fields=True, ) ``` @@ -9509,7 +15053,47 @@ client.logs.get(
-**id:** `str` — log_id of the log to retrieve. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Optional filter on whether a rule is enabled (true) or disabled (false). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -9529,8 +15113,7 @@ client.logs.get(
-## NetworkAcls -
client.network_acls.list(...) -> ListNetworkAclsOffsetPaginatedResponseContent +
client.rules.create(...) -> CreateRuleResponseContent
@@ -9542,7 +15125,9 @@ client.logs.get(
-Get all access control list entries for your client. +Create a [new rule](https://auth0.com/docs/rules#create-a-new-rule-using-the-management-api). + +Note: Changing a rule's stage of execution from the default `login_success` can change the rule's function signature to have user omitted.
@@ -9565,10 +15150,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.list( - page=1, - per_page=1, - include_totals=True, +client.rules.create( + name="name", + script="script", ) ``` @@ -9585,7 +15169,7 @@ client.network_acls.list(
-**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. +**name:** `str` — Name of this rule.
@@ -9593,7 +15177,7 @@ client.network_acls.list(
-**per_page:** `typing.Optional[int]` — The amount of results per page. +**script:** `str` — Code to be executed when this rule runs.
@@ -9601,7 +15185,15 @@ client.network_acls.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first. + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false).
@@ -9621,7 +15213,7 @@ client.network_acls.list(
-
client.network_acls.create(...) +
client.rules.get(...) -> GetRuleResponseContent
@@ -9633,7 +15225,7 @@ client.network_acls.list(
-Create a new access control list for your client. +Retrieve [rule](https://auth0.com/docs/rules) details. Accepts a list of fields to include or exclude in the result.
@@ -9648,7 +15240,7 @@ Create a new access control list for your client.
```python -from auth0.management import Auth0, NetworkAclRule, NetworkAclAction +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -9656,13 +15248,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.create( - description="description", - active=True, - rule=NetworkAclRule( - action=NetworkAclAction(), - scope="management", - ), +client.rules.get( + id="id", + fields="fields", + include_fields=True, ) ``` @@ -9679,15 +15268,7 @@ client.network_acls.create(
-**description:** `str` - -
-
- -
-
- -**active:** `bool` — Indicates whether or not this access control list is actively being used +**id:** `str` — ID of the rule to retrieve.
@@ -9695,7 +15276,7 @@ client.network_acls.create(
-**rule:** `NetworkAclRule` +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
@@ -9703,7 +15284,7 @@ client.network_acls.create(
-**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -9723,7 +15304,7 @@ client.network_acls.create(
-
client.network_acls.get(...) -> GetNetworkAclsResponseContent +
client.rules.delete(...)
@@ -9735,7 +15316,7 @@ client.network_acls.create(
-Get a specific access control list entry for your client. +Delete a rule.
@@ -9758,7 +15339,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.get( +client.rules.delete( id="id", ) @@ -9776,7 +15357,7 @@ client.network_acls.get(
-**id:** `str` — The id of the access control list to retrieve. +**id:** `str` — ID of the rule to delete.
@@ -9796,7 +15377,7 @@ client.network_acls.get(
-
client.network_acls.set(...) -> SetNetworkAclsResponseContent +
client.rules.update(...) -> UpdateRuleResponseContent
@@ -9808,7 +15389,7 @@ client.network_acls.get(
-Update existing access control list for your client. +Update an existing rule.
@@ -9823,7 +15404,7 @@ Update existing access control list for your client.
```python -from auth0.management import Auth0, NetworkAclRule, NetworkAclAction +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -9831,14 +15412,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.set( +client.rules.update( id="id", - description="description", - active=True, - rule=NetworkAclRule( - action=NetworkAclAction(), - scope="management", - ), ) ``` @@ -9855,7 +15430,7 @@ client.network_acls.set(
-**id:** `str` — The id of the ACL to update. +**id:** `str` — ID of the rule to retrieve.
@@ -9863,7 +15438,7 @@ client.network_acls.set(
-**description:** `str` +**script:** `typing.Optional[str]` — Code to be executed when this rule runs.
@@ -9871,7 +15446,7 @@ client.network_acls.set(
-**active:** `bool` — Indicates whether or not this access control list is actively being used +**name:** `typing.Optional[str]` — Name of this rule.
@@ -9879,7 +15454,7 @@ client.network_acls.set(
-**rule:** `NetworkAclRule` +**order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
@@ -9887,7 +15462,7 @@ client.network_acls.set(
-**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. +**enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false).
@@ -9907,7 +15482,8 @@ client.network_acls.set(
-
client.network_acls.delete(...) +## RulesConfigs +
client.rules_configs.list() -> typing.List[RulesConfig]
@@ -9919,7 +15495,9 @@ client.network_acls.set(
-Delete existing access control list for your client. +Retrieve rules config variable keys. + + Note: For security, config variable values cannot be retrieved outside rule execution.
@@ -9942,8 +15520,72 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.delete( - id="id", +client.rules_configs.list() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.rules_configs.set(...) -> SetRulesConfigResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Sets a rules config variable. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.rules_configs.set( + key="key", + value="value", ) ``` @@ -9960,7 +15602,15 @@ client.network_acls.delete(
-**id:** `str` — The id of the ACL to delete +**key:** `str` — Key of the rules config variable to set (max length: 127 characters). + +
+
+ +
+
+ +**value:** `str` — Value for a rules config variable.
@@ -9980,7 +15630,7 @@ client.network_acls.delete(
-
client.network_acls.update(...) -> UpdateNetworkAclResponseContent +
client.rules_configs.delete(...)
@@ -9992,7 +15642,7 @@ client.network_acls.delete(
-Update existing access control list for your client. +Delete a rules config variable identified by its key.
@@ -10015,8 +15665,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.network_acls.update( - id="id", +client.rules_configs.delete( + key="key", ) ``` @@ -10033,39 +15683,7 @@ client.network_acls.update(
-**id:** `str` — The id of the ACL to update. - -
-
- -
-
- -**description:** `typing.Optional[str]` - -
-
- -
-
- -**active:** `typing.Optional[bool]` — Indicates whether or not this access control list is actively being used - -
-
- -
-
- -**priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules. - -
-
- -
-
- -**rule:** `typing.Optional[NetworkAclRule]` +**key:** `str` — Key of the rules config variable to delete.
@@ -10085,8 +15703,8 @@ client.network_acls.update(
-## Organizations -
client.organizations.list(...) -> ListOrganizationsPaginatedResponseContent +## SelfServiceProfiles +
client.self_service_profiles.list(...) -> ListSelfServiceProfilesPaginatedResponseContent
@@ -10098,23 +15716,7 @@ client.network_acls.update(
-Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations. - -This endpoint supports two types of pagination: - -- Offset pagination -- Checkpoint pagination - -Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. - -**Checkpoint Pagination** - -To search by checkpoint, use the following parameters: - -- `from`: Optional id from which to start selection. -- `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. - -**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. +Retrieves self-service profiles.
@@ -10137,10 +15739,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.list( - from_="from", - take=1, - sort="sort", +client.self_service_profiles.list( + page=1, + per_page=1, + include_totals=True, ) ``` @@ -10157,7 +15759,7 @@ client.organizations.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -10165,7 +15767,7 @@ client.organizations.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -10173,7 +15775,7 @@ client.organizations.list(
-**sort:** `typing.Optional[str]` — Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -10193,7 +15795,7 @@ client.organizations.list(
-
client.organizations.create(...) -> CreateOrganizationResponseContent +
client.self_service_profiles.create(...) -> CreateSelfServiceProfileResponseContent
@@ -10205,7 +15807,7 @@ client.organizations.list(
-Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review [Create Your First Organization](https://auth0.com/docs/manage-users/organizations/create-first-organization). +Creates a self-service profile.
@@ -10228,7 +15830,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.create( +client.self_service_profiles.create( name="name", ) @@ -10246,23 +15848,7 @@ client.organizations.create(
-**name:** `str` — The name of this organization. - -
-
- -
-
- -**display_name:** `typing.Optional[str]` — Friendly name of this organization. - -
-
- -
-
- -**branding:** `typing.Optional[OrganizationBranding]` +**name:** `str` — The name of the self-service Profile.
@@ -10270,7 +15856,7 @@ client.organizations.create(
-**metadata:** `typing.Optional[OrganizationMetadata]` +**description:** `typing.Optional[str]` — The description of the self-service Profile.
@@ -10278,7 +15864,7 @@ client.organizations.create(
-**enabled_connections:** `typing.Optional[typing.List[ConnectionForOrganization]]` — Connections that will be enabled for this organization. See POST enabled_connections endpoint for the object format. (Max of 10 connections allowed) +**branding:** `typing.Optional[SelfServiceProfileBrandingProperties]`
@@ -10286,7 +15872,7 @@ client.organizations.create(
-**token_quota:** `typing.Optional[CreateTokenQuota]` +**allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
@@ -10294,72 +15880,15 @@ client.organizations.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**user_attributes:** `typing.Optional[typing.List[SelfServiceProfileUserAttribute]]` — List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.
- -
- - - - -
- -
client.organizations.get_by_name(...) -> GetOrganizationByNameResponseContent -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieve details about a single Organization specified by name. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.organizations.get_by_name( - name="name", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**name:** `str` — name of the organization to retrieve. +**user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile.
@@ -10379,7 +15908,7 @@ client.organizations.get_by_name(
-
client.organizations.get(...) -> GetOrganizationResponseContent +
client.self_service_profiles.get(...) -> GetSelfServiceProfileResponseContent
@@ -10391,7 +15920,7 @@ client.organizations.get_by_name(
-Retrieve details about a single Organization specified by ID. +Retrieves a self-service profile by Id.
@@ -10414,7 +15943,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.get( +client.self_service_profiles.get( id="id", ) @@ -10432,7 +15961,7 @@ client.organizations.get(
-**id:** `str` — ID of the organization to retrieve. +**id:** `str` — The id of the self-service profile to retrieve
@@ -10452,7 +15981,7 @@ client.organizations.get(
-
client.organizations.delete(...) +
client.self_service_profiles.delete(...)
@@ -10464,9 +15993,7 @@ client.organizations.get(
-Remove an Organization from your tenant. This action cannot be undone. - -**Note**: Members are automatically disassociated from an Organization when it is deleted. However, this action does **not** delete these users from your tenant. +Deletes a self-service profile by Id.
@@ -10489,7 +16016,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.delete( +client.self_service_profiles.delete( id="id", ) @@ -10507,7 +16034,7 @@ client.organizations.delete(
-**id:** `str` — Organization identifier. +**id:** `str` — The id of the self-service profile to delete
@@ -10527,7 +16054,7 @@ client.organizations.delete(
-
client.organizations.update(...) -> UpdateOrganizationResponseContent +
client.self_service_profiles.update(...) -> UpdateSelfServiceProfileResponseContent
@@ -10539,7 +16066,7 @@ client.organizations.delete(
-Update the details of a specific [Organization](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations), such as name and display name, branding options, and metadata. +Updates a self-service profile.
@@ -10562,7 +16089,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.update( +client.self_service_profiles.update( id="id", ) @@ -10580,7 +16107,7 @@ client.organizations.update(
-**id:** `str` — ID of the organization to update. +**id:** `str` — The id of the self-service profile to update
@@ -10588,7 +16115,7 @@ client.organizations.update(
-**display_name:** `typing.Optional[str]` — Friendly name of this organization. +**name:** `typing.Optional[str]` — The name of the self-service Profile.
@@ -10596,7 +16123,7 @@ client.organizations.update(
-**name:** `typing.Optional[str]` — The name of this organization. +**description:** `typing.Optional[SelfServiceProfileDescription]`
@@ -10604,7 +16131,7 @@ client.organizations.update(
-**branding:** `typing.Optional[OrganizationBranding]` +**branding:** `typing.Optional[SelfServiceProfileBranding]`
@@ -10612,7 +16139,7 @@ client.organizations.update(
-**metadata:** `typing.Optional[OrganizationMetadata]` +**allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
@@ -10620,7 +16147,7 @@ client.organizations.update(
-**token_quota:** `typing.Optional[UpdateTokenQuota]` +**user_attributes:** `typing.Optional[SelfServiceProfileUserAttributes]`
@@ -10628,66 +16155,10 @@ client.organizations.update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile.
- -
- - - - -
- -## Prompts -
client.prompts.get_settings() -> GetSettingsResponseContent -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieve details of the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.prompts.get_settings() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
@@ -10704,7 +16175,8 @@ client.prompts.get_settings()
-
client.prompts.update_settings(...) -> UpdateSettingsResponseContent +## Sessions +
client.sessions.get(...) -> GetSessionResponseContent
@@ -10716,7 +16188,7 @@ client.prompts.get_settings()
-Update the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features. +Retrieve session information.
@@ -10739,7 +16211,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.prompts.update_settings() +client.sessions.get( + id="id", +) ``` @@ -10755,7 +16229,7 @@ client.prompts.update_settings()
-**universal_login_experience:** `typing.Optional[UniversalLoginExperienceEnum]` +**id:** `str` — ID of session to retrieve
@@ -10763,39 +16237,36 @@ client.prompts.update_settings()
-**identifier_first:** `typing.Optional[bool]` — Whether identifier first is enabled or not +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**webauthn_platform_first_factor:** `typing.Optional[bool]` — Use WebAuthn with Device Biometrics as the first authentication factor -
+
+
client.sessions.delete(...)
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-## RateLimitPolicies -
client.rate_limit_policies.list(...) -> ListRateLimitPoliciesPaginatedResponseContent
+Delete a session by ID. +
+
+
+
+ #### 🔌 Usage
@@ -10813,12 +16284,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rate_limit_policies.list( - resource="oauth_authentication_api", - consumer="client", - consumer_selector="consumer_selector", - take=1, - from_="from", +client.sessions.delete( + id="id", ) ``` @@ -10835,7 +16302,7 @@ client.rate_limit_policies.list(
-**resource:** `typing.Optional[RateLimitPolicyResourceEnum]` — The API protected by the Rate Limit Policy. +**id:** `str` — ID of the session to delete.
@@ -10843,54 +16310,36 @@ client.rate_limit_policies.list(
-**consumer:** `typing.Optional[RateLimitPolicyConsumerEnum]` — The consumer to which the rate limit policy applies. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**consumer_selector:** `typing.Optional[str]` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:` to target a specific client by ID, `client_id:` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted. -
+
+
client.sessions.update(...) -> UpdateSessionResponseContent
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
+#### 📝 Description
-**from:** `typing.Optional[str]` — Cursor for pagination. - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - +Update session information.
- - - -
- -
client.rate_limit_policies.create(...) -> CreateRateLimitPolicyResponseContent -
-
- #### 🔌 Usage
@@ -10900,7 +16349,7 @@ client.rate_limit_policies.list(
```python -from auth0.management import Auth0, RateLimitPolicyConfigurationZero +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -10908,13 +16357,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rate_limit_policies.create( - resource="oauth_authentication_api", - consumer="client", - consumer_selector="consumer_selector", - configuration=RateLimitPolicyConfigurationZero( - action="allow", - ), +client.sessions.update( + id="id", ) ``` @@ -10931,7 +16375,7 @@ client.rate_limit_policies.create(
-**resource:** `RateLimitPolicyResourceEnum` +**id:** `str` — ID of the session to update.
@@ -10939,7 +16383,7 @@ client.rate_limit_policies.create(
-**consumer:** `RateLimitPolicyConsumerEnum` +**session_metadata:** `typing.Optional[SessionMetadata]` — Metadata associated with the session. Pass null or {} to remove all session_metadata.
@@ -10947,38 +16391,36 @@ client.rate_limit_policies.create(
-**consumer_selector:** `str` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:` to target a specific client by ID, `client_id:` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**configuration:** `RateLimitPolicyConfiguration` -
+
+
client.sessions.revoke(...)
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.rate_limit_policies.get(...) -> GetRateLimitPolicyResponseContent
+Revokes a session by ID and all associated refresh tokens. +
+
+
+
+ #### 🔌 Usage
@@ -10996,7 +16438,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rate_limit_policies.get( +client.sessions.revoke( id="id", ) @@ -11014,7 +16456,7 @@ client.rate_limit_policies.get(
-**id:** `str` — Unique identifier for the Rate Limit Policy. +**id:** `str` — ID of the session to revoke.
@@ -11034,10 +16476,25 @@ client.rate_limit_policies.get(
-
client.rate_limit_policies.delete(...) +## Stats +
client.stats.get_active_users_count() -> GetActiveUsersCountStatsResponseContent
+#### 📝 Description + +
+
+ +
+
+ +Retrieve the number of active users that logged in during the last 30 days. +
+
+
+
+ #### 🔌 Usage
@@ -11055,9 +16512,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rate_limit_policies.delete( - id="id", -) +client.stats.get_active_users_count() ```
@@ -11073,14 +16528,6 @@ client.rate_limit_policies.delete(
-**id:** `str` — Unique identifier for the Rate Limit Policy. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11093,10 +16540,24 @@ client.rate_limit_policies.delete(
-
client.rate_limit_policies.update(...) -> UpdateRateLimitPolicyResponseContent +
client.stats.get_daily(...) -> typing.List[DailyStats]
+#### 📝 Description + +
+
+ +
+
+ +Retrieve the number of logins, signups and breached-password detections (subscription required) that occurred each day within a specified date range. +
+
+
+
+ #### 🔌 Usage
@@ -11106,7 +16567,7 @@ client.rate_limit_policies.delete(
```python -from auth0.management import Auth0, PatchRateLimitPolicyConfigurationRequestContentZero +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -11114,11 +16575,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rate_limit_policies.update( - id="id", - configuration=PatchRateLimitPolicyConfigurationRequestContentZero( - action="allow", - ), +client.stats.get_daily( + from_="from", + to="to", ) ``` @@ -11135,7 +16594,7 @@ client.rate_limit_policies.update(
-**id:** `str` — Unique identifier for the Rate Limit Policy. +**from:** `typing.Optional[str]` — Optional first day of the date range (inclusive) in YYYYMMDD format.
@@ -11143,7 +16602,7 @@ client.rate_limit_policies.update(
-**configuration:** `PatchRateLimitPolicyConfigurationRequestContent` +**to:** `typing.Optional[str]` — Optional last day of the date range (inclusive) in YYYYMMDD format.
@@ -11163,8 +16622,8 @@ client.rate_limit_policies.update(
-## RefreshTokens -
client.refresh_tokens.list(...) -> GetRefreshTokensPaginatedResponseContent +## SupplementalSignals +
client.supplemental_signals.get() -> GetSupplementalSignalsResponseContent
@@ -11176,7 +16635,7 @@ client.rate_limit_policies.update(
-Retrieve a paginated list of refresh tokens for a specific user, with optional filtering by client ID. Results are sorted by credential_id ascending. +Get the supplemental signals configuration for a tenant.
@@ -11199,14 +16658,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.refresh_tokens.list( - user_id="user_id", - client_id="client_id", - from_="from", - take=1, - fields="fields", - include_fields=True, -) +client.supplemental_signals.get() ``` @@ -11222,47 +16674,72 @@ client.refresh_tokens.list(
-**user_id:** `str` — ID of the user whose refresh tokens to retrieve. Required. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**client_id:** `typing.Optional[str]` — Filter results by client ID. Only valid when user_id is provided. -
+
+
client.supplemental_signals.patch(...) -> PatchSupplementalSignalsResponseContent
-**from:** `typing.Optional[str]` — An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response. - -
-
+#### 📝 Description
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - +
+
+ +Update the supplemental signals configuration for a tenant.
+
+
+ +#### 🔌 Usage
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.supplemental_signals.patch( + akamai_enabled=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +
+
+ +**akamai_enabled:** `bool` — Indicates if incoming Akamai Headers should be processed
@@ -11282,7 +16759,8 @@ client.refresh_tokens.list(
-
client.refresh_tokens.revoke(...) +## Tickets +
client.tickets.verify_email(...) -> VerifyEmailTicketResponseContent
@@ -11294,7 +16772,7 @@ client.refresh_tokens.list(
-Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience. +Create an email verification ticket for a given user. An email verification ticket is a generated URL that the user can consume to verify their email address.
@@ -11317,7 +16795,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.refresh_tokens.revoke() +client.tickets.verify_email( + user_id="user_id", +) ``` @@ -11333,7 +16813,7 @@ client.refresh_tokens.revoke()
-**ids:** `typing.Optional[typing.List[str]]` — Array of refresh token IDs to revoke. Limited to 100 at a time. +**user_id:** `str` — user_id of for whom the ticket should be created.
@@ -11341,7 +16821,7 @@ client.refresh_tokens.revoke()
-**user_id:** `typing.Optional[str]` — Revoke all refresh tokens for this user. +**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.
@@ -11349,7 +16829,7 @@ client.refresh_tokens.revoke()
-**client_id:** `typing.Optional[str]` — Revoke refresh tokens for this client. Must be paired with `user_id`; optionally narrowed further with `audience`. +**client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger.
@@ -11357,7 +16837,31 @@ client.refresh_tokens.revoke()
-**audience:** `typing.Optional[str]` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`. +**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. + +
+
+ +
+
+ +**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days). + +
+
+ +
+
+ +**include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false). + +
+
+ +
+
+ +**identity:** `typing.Optional[Identity]`
@@ -11377,7 +16881,7 @@ client.refresh_tokens.revoke()
-
client.refresh_tokens.get(...) -> GetRefreshTokenResponseContent +
client.tickets.change_password(...) -> ChangePasswordTicketResponseContent
@@ -11389,7 +16893,9 @@ client.refresh_tokens.revoke()
-Retrieve refresh token information. +Create a password change ticket for a given user. A password change ticket is a generated URL that the user can consume to start a reset password flow. + +Note: This endpoint does not verify the given user’s identity. If you call this endpoint within your application, you must design your application to verify the user’s identity.
@@ -11412,9 +16918,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.refresh_tokens.get( - id="id", -) +client.tickets.change_password() ``` @@ -11430,7 +16934,7 @@ client.refresh_tokens.get(
-**id:** `str` — ID refresh token to retrieve +**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound.
@@ -11438,72 +16942,71 @@ client.refresh_tokens.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**user_id:** `typing.Optional[str]` — user_id of for whom the ticket should be created.
- -
+
+
+**client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger. +
-
-
client.refresh_tokens.delete(...)
-#### 📝 Description +**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. + +
+
+**connection_id:** `typing.Optional[str]` — ID of the connection. If provided, allows the user to be specified using email instead of user_id. If you set this value, you must also send the email parameter. You cannot send user_id when specifying a connection_id. + +
+
+
-Delete a refresh token by its ID. -
-
+**email:** `typing.Optional[str]` — Email address of the user for whom the tickets should be created. Requires the connection_id parameter. Cannot be specified when using user_id. + -#### 🔌 Usage -
+**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days). + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.refresh_tokens.delete( - id="id", -) - -``` -
-
+**mark_email_as_verified:** `typing.Optional[bool]` — Whether to set the email_verified attribute to true (true) or whether it should not be updated (false). + -#### ⚙️ Parameters -
+**include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false). + +
+
+
-**id:** `str` — ID of the refresh token to delete. +**identity:** `typing.Optional[ChangePasswordTicketIdentity]`
@@ -11523,7 +17026,8 @@ client.refresh_tokens.delete(
-
client.refresh_tokens.update(...) -> UpdateRefreshTokenResponseContent +## TokenExchangeProfiles +
client.token_exchange_profiles.list(...) -> ListTokenExchangeProfileResponseContent
@@ -11535,7 +17039,16 @@ client.refresh_tokens.delete(
-Update a refresh token by its ID. +Retrieve a list of all Token Exchange Profiles available in your tenant. + +By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. + +This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters: + +- `from`: Optional id from which to start selection. +- `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50. + +**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
@@ -11558,8 +17071,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.refresh_tokens.update( - id="id", +client.token_exchange_profiles.list( + from_="from", + take=1, ) ``` @@ -11576,7 +17090,7 @@ client.refresh_tokens.update(
-**id:** `str` — ID of the refresh token to update. +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -11584,7 +17098,7 @@ client.refresh_tokens.update(
-**refresh_token_metadata:** `typing.Optional[RefreshTokenMetadata]` — Metadata associated with the refresh token. Pass null or {} to remove all metadata. +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -11604,8 +17118,7 @@ client.refresh_tokens.update(
-## ResourceServers -
client.resource_servers.list(...) -> ListResourceServerOffsetPaginatedResponseContent +
client.token_exchange_profiles.create(...) -> CreateTokenExchangeProfileResponseContent
@@ -11617,7 +17130,9 @@ client.refresh_tokens.update(
-Retrieve details of all APIs associated with your tenant. +Create a new Token Exchange Profile within your tenant. + +By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
@@ -11640,14 +17155,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.resource_servers.list( - identifiers=[ - "identifiers" - ], - page=1, - per_page=1, - include_totals=True, - include_fields=True, +client.token_exchange_profiles.create( + name="name", + subject_token_type="subject_token_type", + action_id="action_id", + type="custom_authentication", ) ``` @@ -11664,15 +17176,7 @@ client.resource_servers.list(
-**identifiers:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — An optional filter on the resource server identifier. Must be URL encoded and may be specified multiple times (max 10).
e.g. ../resource-servers?identifiers=id1&identifiers=id2 - -
-
- -
-
- -**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**name:** `str` — Friendly name of this profile.
@@ -11680,7 +17184,7 @@ client.resource_servers.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. +**subject_token_type:** `str` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI.
@@ -11688,7 +17192,7 @@ client.resource_servers.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**action_id:** `str` — The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger.
@@ -11696,7 +17200,7 @@ client.resource_servers.list(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**type:** `TokenExchangeProfileTypeEnum`
@@ -11716,7 +17220,7 @@ client.resource_servers.list(
-
client.resource_servers.create(...) -> CreateResourceServerResponseContent +
client.token_exchange_profiles.get(...) -> GetTokenExchangeProfileResponseContent
@@ -11728,7 +17232,9 @@ client.resource_servers.list(
-Create a new API associated with your tenant. Note that all new APIs must be registered with Auth0. For more information, read APIs. +Retrieve details about a single Token Exchange Profile specified by ID. + +By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
@@ -11751,8 +17257,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.resource_servers.create( - identifier="identifier", +client.token_exchange_profiles.get( + id="id", ) ``` @@ -11769,7 +17275,7 @@ client.resource_servers.create(
-**identifier:** `str` — Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set. +**id:** `str` — ID of the Token Exchange Profile to retrieve.
@@ -11777,71 +17283,74 @@ client.resource_servers.create(
-**name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses. -
+
+
client.token_exchange_profiles.delete(...)
-**signing_alg:** `typing.Optional[SigningAlgorithmEnum]` - -
-
+#### 📝 Description
-**signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256). - -
-
-
-**allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false). - +Delete a Token Exchange Profile within your tenant. + +By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +
+
+#### 🔌 Usage +
-**allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false). - -
-
-
-**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.token_exchange_profiles.delete( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint. - -
-
-
-**token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]` +**id:** `str` — ID of the Token Exchange Profile to delete.
@@ -11849,47 +17358,74 @@ client.resource_servers.create(
-**skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**enforce_policies:** `typing.Optional[bool]` — Whether to enforce authorization policies (true) or to ignore them (false). -
+
+
client.token_exchange_profiles.update(...)
-**token_encryption:** `typing.Optional[ResourceServerTokenEncryption]` - -
-
+#### 📝 Description
-**consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]` - +
+
+ +Update a Token Exchange Profile within your tenant. + +By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +
+
+#### 🔌 Usage +
-**authorization_details:** `typing.Optional[typing.List[typing.Any]]` - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.token_exchange_profiles.update( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]` +
+
+ +**id:** `str` — ID of the Token Exchange Profile to update.
@@ -11897,7 +17433,7 @@ client.resource_servers.create(
-**subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]` +**name:** `typing.Optional[str]` — Friendly name of this profile.
@@ -11905,7 +17441,7 @@ client.resource_servers.create(
-**authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]` +**subject_token_type:** `typing.Optional[str]` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI.
@@ -11925,7 +17461,8 @@ client.resource_servers.create(
-
client.resource_servers.get(...) -> GetResourceServerResponseContent +## UserAttributeProfiles +
client.user_attribute_profiles.list(...) -> ListUserAttributeProfilesPaginatedResponseContent
@@ -11937,7 +17474,7 @@ client.resource_servers.create(
-Retrieve API details with the given ID. +Retrieve a list of User Attribute Profiles. This endpoint supports Checkpoint pagination.
@@ -11960,9 +17497,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.resource_servers.get( - id="id", - include_fields=True, +client.user_attribute_profiles.list( + from_="from", + take=1, ) ``` @@ -11979,7 +17516,7 @@ client.resource_servers.get(
-**id:** `str` — ID or audience of the resource server to retrieve. +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -11987,7 +17524,7 @@ client.resource_servers.get(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 5.
@@ -12007,7 +17544,7 @@ client.resource_servers.get(
-
client.resource_servers.delete(...) +
client.user_attribute_profiles.create(...) -> CreateUserAttributeProfileResponseContent
@@ -12019,7 +17556,7 @@ client.resource_servers.get(
-Delete an existing API by ID. For more information, read API Settings. +Create a User Attribute Profile.
@@ -12034,7 +17571,7 @@ Delete an existing API by ID. For more information, read
-**id:** `str` — ID or the audience of the resource server to delete. +**name:** `UserAttributeProfileName` + +
+
+ +
+
+ +**user_attributes:** `UserAttributeProfileUserAttributes` + +
+
+ +
+
+ +**user_id:** `typing.Optional[UserAttributeProfileUserId]`
@@ -12080,7 +17641,7 @@ client.resource_servers.delete(
-
client.resource_servers.update(...) -> UpdateResourceServerResponseContent +
client.user_attribute_profiles.list_templates() -> ListUserAttributeProfileTemplateResponseContent
@@ -12092,7 +17653,7 @@ client.resource_servers.delete(
-Change an existing API setting by resource server ID. For more information, read API Settings. +Retrieve a list of User Attribute Profile Templates.
@@ -12115,9 +17676,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.resource_servers.update( - id="id", -) +client.user_attribute_profiles.list_templates() ``` @@ -12133,71 +17692,72 @@ client.resource_servers.update(
-**id:** `str` — ID or audience of the resource server to update. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters. -
+
+
client.user_attribute_profiles.get_template(...) -> GetUserAttributeProfileTemplateResponseContent
-**scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses. - -
-
+#### 📝 Description
-**signing_alg:** `typing.Optional[SigningAlgorithmEnum]` - -
-
-
-**signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256). - +Retrieve a User Attribute Profile Template.
+ + + +#### 🔌 Usage
-**skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false). - -
-
-
-**allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false). - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.user_attribute_profiles.get_template( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false). - -
-
-
-**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). +**id:** `str` — ID of the user-attribute-profile-template to retrieve.
@@ -12205,71 +17765,72 @@ client.resource_servers.update(
-**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]` -
+
+
client.user_attribute_profiles.get(...) -> GetUserAttributeProfileResponseContent
-**enforce_policies:** `typing.Optional[bool]` — Whether authorization policies are enforced (true) or not enforced (false). - -
-
+#### 📝 Description
-**token_encryption:** `typing.Optional[ResourceServerTokenEncryption]` - -
-
-
-**consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]` - +Retrieve details about a single User Attribute Profile specified by ID. +
+
+#### 🔌 Usage +
-**authorization_details:** `typing.Optional[typing.List[typing.Any]]` - -
-
-
-**proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]` - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.user_attribute_profiles.get( + id="id", +) + +```
+ + + +#### ⚙️ Parameters
-**subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]` - -
-
-
-**authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]` +**id:** `str` — ID of the user-attribute-profile to retrieve.
@@ -12289,8 +17850,7 @@ client.resource_servers.update(
-## Roles -
client.roles.list(...) -> ListRolesOffsetPaginatedResponseContent +
client.user_attribute_profiles.delete(...)
@@ -12302,9 +17862,7 @@ client.resource_servers.update(
-Retrieve detailed list of user roles created in your tenant. - -**Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access. +Delete a single User Attribute Profile specified by ID.
@@ -12327,11 +17885,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.roles.list( - per_page=1, - page=1, - include_totals=True, - name_filter="name_filter", +client.user_attribute_profiles.delete( + id="id", ) ``` @@ -12348,31 +17903,7 @@ client.roles.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- -**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - -
-
- -
-
- -**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - -
-
- -
-
- -**name_filter:** `typing.Optional[str]` — Optional filter on name (case-insensitive). +**id:** `str` — ID of the user-attribute-profile to delete.
@@ -12392,7 +17923,7 @@ client.roles.list(
-
client.roles.create(...) -> CreateRoleResponseContent +
client.user_attribute_profiles.update(...) -> UpdateUserAttributeProfileResponseContent
@@ -12404,9 +17935,7 @@ client.roles.list(
-Create a user role for [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac). - -**Note**: New roles are not associated with any permissions by default. To assign existing permissions to your role, review Associate Permissions with a Role. To create new permissions, review Add API Permissions. +Update the details of a specific User attribute profile, such as name, user_id and user_attributes.
@@ -12429,8 +17958,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.roles.create( - name="name", +client.user_attribute_profiles.update( + id="id", ) ``` @@ -12447,7 +17976,7 @@ client.roles.create(
-**name:** `str` — Name of the role. +**id:** `str` — ID of the user attribute profile to update.
@@ -12455,7 +17984,23 @@ client.roles.create(
-**description:** `typing.Optional[str]` — Description of the role. +**name:** `typing.Optional[UserAttributeProfileName]` + +
+
+ +
+
+ +**user_id:** `typing.Optional[UserAttributeProfilePatchUserId]` + +
+
+ +
+
+ +**user_attributes:** `typing.Optional[UserAttributeProfileUserAttributes]`
@@ -12475,7 +18020,8 @@ client.roles.create(
-
client.roles.get(...) -> GetRoleResponseContent +## UserBlocks +
client.user_blocks.list_by_identifier(...) -> ListUserBlocksByIdentifierResponseContent
@@ -12487,7 +18033,7 @@ client.roles.create(
-Retrieve details about a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID. +Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for a user with the given identifier (username, phone number, or email).
@@ -12510,8 +18056,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.roles.get( - id="id", +client.user_blocks.list_by_identifier( + identifier="identifier", + consider_brute_force_enablement=True, ) ``` @@ -12528,7 +18075,20 @@ client.roles.get(
-**id:** `str` — ID of the role to retrieve. +**identifier:** `str` — Should be any of a username, phone number, or email. + +
+
+ +
+
+ +**consider_brute_force_enablement:** `typing.Optional[bool]` + + + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. +
@@ -12548,7 +18108,7 @@ client.roles.get(
-
client.roles.delete(...) +
client.user_blocks.delete_by_identifier(...)
@@ -12560,7 +18120,9 @@ client.roles.get(
-Delete a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) from your tenant. Once deleted, it is removed from any user who was previously assigned that role. This action cannot be undone. +Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given identifier (username, phone number, or email). + +Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user).
@@ -12583,8 +18145,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.roles.delete( - id="id", +client.user_blocks.delete_by_identifier( + identifier="identifier", ) ``` @@ -12601,7 +18163,7 @@ client.roles.delete(
-**id:** `str` — ID of the role to delete. +**identifier:** `str` — Should be any of a username, phone number, or email.
@@ -12621,7 +18183,7 @@ client.roles.delete(
-
client.roles.update(...) -> UpdateRoleResponseContent +
client.user_blocks.list(...) -> ListUserBlocksResponseContent
@@ -12633,7 +18195,7 @@ client.roles.delete(
-Modify the details of a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID. +Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID.
@@ -12656,8 +18218,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.roles.update( +client.user_blocks.list( id="id", + consider_brute_force_enablement=True, ) ``` @@ -12674,7 +18237,7 @@ client.roles.update(
-**id:** `str` — ID of the role to update. +**id:** `str` — user_id of the user blocks to retrieve.
@@ -12682,15 +18245,12 @@ client.roles.update(
-**name:** `typing.Optional[str]` — Name of this role. - -
-
+**consider_brute_force_enablement:** `typing.Optional[bool]` -
-
-**description:** `typing.Optional[str]` — Description of this role. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. +
@@ -12710,8 +18270,7 @@ client.roles.update(
-## Rules -
client.rules.list(...) -> ListRulesOffsetPaginatedResponseContent +
client.user_blocks.delete(...)
@@ -12723,7 +18282,9 @@ client.roles.update(
-Retrieve a filtered list of [rules](https://auth0.com/docs/rules). Accepts a list of fields to include or exclude. +Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID. + +Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user).
@@ -12746,13 +18307,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules.list( - page=1, - per_page=1, - include_totals=True, - enabled=True, - fields="fields", - include_fields=True, +client.user_blocks.delete( + id="id", ) ``` @@ -12769,7 +18325,7 @@ client.rules.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**id:** `str` — The user_id of the user to update.
@@ -12777,73 +18333,47 @@ client.rules.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). -
-
-
-**enabled:** `typing.Optional[bool]` — Optional filter on whether a rule is enabled (true) or disabled (false). -
+
+## Users +
client.users.list(...) -> ListUsersOffsetPaginatedResponseContent
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
+#### 📝 Description
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - - - - -
- -
client.rules.create(...) -> CreateRuleResponseContent -
-
+This endpoint retrieves details of users. It's best suited to interactive, best-effort search and lookups where slightly stale results are acceptable. With it, you can: -#### 📝 Description +- Specify search criteria for users +- Sort the users to be returned +- Select the fields to be returned +- Specify the number of users to retrieve per page and the page index -
-
+This endpoint is **not suited for use in critical paths**. It is eventually consistent and runs under a short (~2 second) query time limit, so results can be stale and heavy queries can return a 503. -
-
+- Do not use this endpoint for authentication, account linking, or logic inside login-flow Actions. Instead, [look users up directly by ID or email](https://auth0.com/docs/manage-users/user-search/get-users-by-id-or-email#management-api) to get their current state. +- Do not use this endpoint to keep an external system in sync with user data. Instead, subscribe to [Event Streams](https://auth0.com/docs/customize/events/sync-data-across-systems) to receive every change as it happens. +- Do not use this endpoint to enumerate or export your entire user base. Instead, run a [bulk user export](https://auth0.com/docs/manage-users/user-migration/bulk-user-exports) to retrieve the full set. -Create a [new rule](https://auth0.com/docs/rules#create-a-new-rule-using-the-management-api). +Use the `q` query parameter to match users with [query string syntax](https://auth0.com/docs/manage-users/user-search/user-search-query-syntax). For full instructions and guidance, see [How to List and Search Users](https://auth0.com/docs/manage-users/user-search/list-and-search-users). -Note: Changing a rule's stage of execution from the default `login_success` can change the rule's function signature to have user omitted. +For efficient queries, prefer indexed top-level fields and exact matches. Certain kinds of queries can be slow and may time out, such as filtering on freeform or multi-value fields (like user-defined attributes in `app_metadata` or `user_metadata`) or using leading wildcards.
@@ -12866,9 +18396,17 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules.create( - name="name", - script="script", +client.users.list( + page=1, + per_page=1, + include_totals=True, + sort="sort", + connection="connection", + fields="fields", + include_fields=True, + q="q", + search_engine="v1", + primary_order=True, ) ``` @@ -12885,7 +18423,7 @@ client.rules.create(
-**name:** `str` — Name of this rule. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -12893,7 +18431,7 @@ client.rules.create(
-**script:** `str` — Code to be executed when this rule runs. +**per_page:** `typing.Optional[int]` — Number of results per page.
@@ -12901,7 +18439,7 @@ client.rules.create(
-**order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first. +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -12909,7 +18447,7 @@ client.rules.create(
-**enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false). +**sort:** `typing.Optional[str]` — Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1
@@ -12917,74 +18455,31 @@ client.rules.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**connection:** `typing.Optional[str]` — Connection filter. Only applies when using search_engine=v1. To filter by connection with search_engine=v2|v3, use q=identities.connection:"connection_name"
-
-
- - - - -
- -
client.rules.get(...) -> GetRuleResponseContent -
-
- -#### 📝 Description
-
-
- -Retrieve [rule](https://auth0.com/docs/rules) details. Accepts a list of fields to include or exclude in the result. -
-
+**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. +
-#### 🔌 Usage - -
-
-
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.rules.get( - id="id", - fields="fields", - include_fields=True, -) - -``` -
-
+**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` — ID of the rule to retrieve. +**q:** `typing.Optional[str]` — Query in Lucene query string syntax. Some query types cannot be used on metadata fields, for details see Searchable Fields.
@@ -12992,7 +18487,7 @@ client.rules.get(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. +**search_engine:** `typing.Optional[SearchEngineVersionsEnum]` — The version of the search engine
@@ -13000,7 +18495,7 @@ client.rules.get(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**primary_order:** `typing.Optional[bool]` — If true (default), results are returned in a deterministic order. If false, results may be returned in a non-deterministic order, which can enhance performance for complex queries targeting a small number of users. Set to false only when consistent ordering and pagination is not required.
@@ -13020,7 +18515,7 @@ client.rules.get(
-
client.rules.delete(...) +
client.users.create(...) -> CreateUserResponseContent
@@ -13032,7 +18527,9 @@ client.rules.get(
-Delete a rule. +Create a new user for a given [database](https://auth0.com/docs/connections/database) or [passwordless](https://auth0.com/docs/connections/passwordless) connection. + +Note: `connection` is required but other parameters such as `email` and `password` are dependent upon the type of connection.
@@ -13055,8 +18552,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules.delete( - id="id", +client.users.create( + connection="connection", ) ``` @@ -13073,7 +18570,7 @@ client.rules.delete(
-**id:** `str` — ID of the rule to delete. +**connection:** `str` — Name of the connection this user should be created in.
@@ -13081,72 +18578,95 @@ client.rules.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**email:** `typing.Optional[str]` — The user's email.
- -
+
+
+**phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation). +
-
-
client.rules.update(...) -> UpdateRuleResponseContent
-#### 📝 Description +**user_metadata:** `typing.Optional[UserMetadata]` + +
+
+**blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false). + +
+
+
-Update an existing rule. +**email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). User will receive a verification email after creation if `email_verified` is false or not specified +
+ +
+
+ +**phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false). +
-#### 🔌 Usage -
+**app_metadata:** `typing.Optional[AppMetadata]` + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) +**given_name:** `typing.Optional[str]` — The user's given name(s). + +
+
-client.rules.update( - id="id", -) +
+
-``` +**family_name:** `typing.Optional[str]` — The user's family name(s). +
+ +
+
+ +**name:** `typing.Optional[str]` — The user's full name. +
-#### ⚙️ Parameters -
+**nickname:** `typing.Optional[str]` — The user's nickname. + +
+
+
-**id:** `str` — ID of the rule to retrieve. +**picture:** `typing.Optional[str]` — A URI pointing to the user's picture.
@@ -13154,7 +18674,7 @@ client.rules.update(
-**script:** `typing.Optional[str]` — Code to be executed when this rule runs. +**user_id:** `typing.Optional[str]` — The external user's id provided by the identity provider.
@@ -13162,7 +18682,7 @@ client.rules.update(
-**name:** `typing.Optional[str]` — Name of this rule. +**password:** `typing.Optional[str]` — Initial password for this user. Only valid for auth0 connection strategy.
@@ -13170,7 +18690,7 @@ client.rules.update(
-**order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first. +**verify_email:** `typing.Optional[bool]` — Whether the user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter.
@@ -13178,7 +18698,7 @@ client.rules.update(
-**enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false). +**username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username.
@@ -13198,8 +18718,7 @@ client.rules.update(
-## RulesConfigs -
client.rules_configs.list() -> typing.List[RulesConfig] +
client.users.list_users_by_email(...) -> typing.List[UserResponseSchema]
@@ -13211,9 +18730,11 @@ client.rules.update(
-Retrieve rules config variable keys. +Find users by email. If Auth0 is the identity provider (idP), the email address associated with a user is saved in lower case, regardless of how you initially provided it. - Note: For security, config variable values cannot be retrieved outside rule execution. +For example, if you register a user as JohnSmith@example.com, Auth0 saves the user's email as johnsmith@example.com. + +Therefore, when using this endpoint, make sure that you are searching for users via email addresses using the correct case.
@@ -13236,7 +18757,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules_configs.list() +client.users.list_users_by_email( + fields="fields", + include_fields=True, + email="email", +) ``` @@ -13252,6 +18777,30 @@ client.rules_configs.list()
+**email:** `str` — Email address to search for (case-sensitive). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13264,7 +18813,7 @@ client.rules_configs.list()
-
client.rules_configs.set(...) -> SetRulesConfigResponseContent +
client.users.get(...) -> GetUserResponseContent
@@ -13276,7 +18825,7 @@ client.rules_configs.list()
-Sets a rules config variable. +Retrieve user details. A list of fields to include or exclude may also be specified. For more information, see [Retrieve Users with the Get Users Endpoint](https://auth0.com/docs/manage-users/user-search/retrieve-users-with-get-users-endpoint).
@@ -13299,9 +18848,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules_configs.set( - key="key", - value="value", +client.users.get( + id="id", + fields="fields", + include_fields=True, ) ``` @@ -13318,7 +18868,7 @@ client.rules_configs.set(
-**key:** `str` — Key of the rules config variable to set (max length: 127 characters). +**id:** `str` — ID of the user to retrieve.
@@ -13326,7 +18876,15 @@ client.rules_configs.set(
-**value:** `str` — Value for a rules config variable. +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -13346,7 +18904,7 @@ client.rules_configs.set(
-
client.rules_configs.delete(...) +
client.users.delete(...)
@@ -13358,7 +18916,7 @@ client.rules_configs.set(
-Delete a rules config variable identified by its key. +Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard instructions, see [Delete Users](https://auth0.com/docs/manage-users/user-accounts/delete-users).
@@ -13381,8 +18939,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.rules_configs.delete( - key="key", +client.users.delete( + id="id", ) ``` @@ -13399,7 +18957,7 @@ client.rules_configs.delete(
-**key:** `str` — Key of the rules config variable to delete. +**id:** `str` — ID of the user to delete.
@@ -13419,8 +18977,7 @@ client.rules_configs.delete(
-## SelfServiceProfiles -
client.self_service_profiles.list(...) -> ListSelfServiceProfilesPaginatedResponseContent +
client.users.update(...) -> UpdateUserResponseContent
@@ -13432,7 +18989,97 @@ client.rules_configs.delete(
-Retrieves self-service profiles. +Update a user. + +These are the attributes that can be updated at the root level: + +- app_metadata +- blocked +- email +- email_verified +- family_name +- given_name +- name +- nickname +- password +- phone_number +- phone_verified +- picture +- username +- user_metadata +- verify_email + +Some considerations: + +- The properties of the new object will replace the old ones. +- The metadata fields are an exception to this rule (`user_metadata` and `app_metadata`). These properties are merged instead of being replaced but be careful, the merge only occurs on the first level. +- If you are updating `email`, `email_verified`, `phone_number`, `phone_verified`, `username` or `password` of a secondary identity, you need to specify the `connection` property too. +- If you are updating `email` or `phone_number` you can specify, optionally, the `client_id` property. +- Updating `email_verified` is not supported for enterprise and passwordless sms connections. +- Updating the `blocked` to `false` does not affect the user's blocked state from an excessive amount of incorrectly provided credentials. Use the "Unblock a user" endpoint from the "User Blocks" API to change the user's state. +- Supported attributes can be unset by supplying `null` as the value. + +**Updating a field (non-metadata property)** + +To mark the email address of a user as verified, the body to send should be: + +```json +{ "email_verified": true } +``` + +**Updating a user metadata root property** + +Let's assume that our test user has the following `user_metadata`: + +```json +{ "user_metadata" : { "profileCode": 1479 } } +``` + +To add the field `addresses` the body to send should be: + +```json +{ "user_metadata" : { "addresses": {"work_address": "100 Industrial Way"} }} +``` + +The modified object ends up with the following `user_metadata` property: + +```json +{ + "user_metadata": { + "profileCode": 1479, + "addresses": { "work_address": "100 Industrial Way" } + } +} +``` + +**Updating an inner user metadata property** + +If there's existing user metadata to which we want to add `"home_address": "742 Evergreen Terrace"` (using the `addresses` property) we should send the whole `addresses` object. Since this is a first-level object, the object will be merged in, but its own properties will not be. The body to send should be: + +```json +{ + "user_metadata": { + "addresses": { + "work_address": "100 Industrial Way", + "home_address": "742 Evergreen Terrace" + } + } +} +``` + +The modified object ends up with the following `user_metadata` property: + +```json +{ + "user_metadata": { + "profileCode": 1479, + "addresses": { + "work_address": "100 Industrial Way", + "home_address": "742 Evergreen Terrace" + } + } +} +```
@@ -13455,10 +19102,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.self_service_profiles.list( - page=1, - per_page=1, - include_totals=True, +client.users.update( + id="id", ) ``` @@ -13475,7 +19120,7 @@ client.self_service_profiles.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**id:** `str` — ID of the user to update.
@@ -13483,7 +19128,7 @@ client.self_service_profiles.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false).
@@ -13491,7 +19136,7 @@ client.self_service_profiles.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). If set to false the user will not receive a verification email unless `verify_email` is set to true.
@@ -13499,72 +19144,87 @@ client.self_service_profiles.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**email:** `typing.Optional[str]` — Email address of this user.
- -
+
+
+**phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation). +
-
-
client.self_service_profiles.create(...) -> CreateSelfServiceProfileResponseContent
-#### 📝 Description +**phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false). + +
+
+**user_metadata:** `typing.Optional[UserMetadata]` — User metadata to which this user has read/write access. + +
+
+
-Creates a self-service profile. -
-
+**app_metadata:** `typing.Optional[AppMetadata]` — User metadata to which this user has read-only access. + -#### 🔌 Usage -
+**given_name:** `typing.Optional[str]` — Given name/first name/forename of this user. + +
+
+
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) +**family_name:** `typing.Optional[str]` — Family name/last name/surname of this user. + +
+
-client.self_service_profiles.create( - name="name", -) +
+
-``` +**name:** `typing.Optional[str]` — Name of this user. +
+ +
+
+ +**nickname:** `typing.Optional[str]` — Preferred nickname or alias of this user. +
-#### ⚙️ Parameters -
+**picture:** `typing.Optional[str]` — URL to picture, photo, or avatar of this user. + +
+
+
-**name:** `str` — The name of the self-service Profile. +**verify_email:** `typing.Optional[bool]` — Whether this user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter.
@@ -13572,7 +19232,7 @@ client.self_service_profiles.create(
-**description:** `typing.Optional[str]` — The description of the self-service Profile. +**verify_phone_number:** `typing.Optional[bool]` — Whether this user will receive a text after changing the phone number (true) or no text (false). Only valid when changing phone number for SMS connections.
@@ -13580,7 +19240,7 @@ client.self_service_profiles.create(
-**branding:** `typing.Optional[SelfServiceProfileBrandingProperties]` +**password:** `typing.Optional[str]` — New password for this user. Only valid for database connections.
@@ -13588,7 +19248,7 @@ client.self_service_profiles.create(
-**allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] +**connection:** `typing.Optional[str]` — Name of the connection to target for this user update.
@@ -13596,7 +19256,7 @@ client.self_service_profiles.create(
-**user_attributes:** `typing.Optional[typing.List[SelfServiceProfileUserAttribute]]` — List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow. +**client_id:** `typing.Optional[str]` — Auth0 client ID. Only valid when updating email address.
@@ -13604,7 +19264,7 @@ client.self_service_profiles.create(
-**user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile. +**username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username.
@@ -13624,7 +19284,7 @@ client.self_service_profiles.create(
-
client.self_service_profiles.get(...) -> GetSelfServiceProfileResponseContent +
client.users.list_consent_signing_keys(...) -> ListUserConsentSigningKeysResponseContent
@@ -13636,7 +19296,7 @@ client.self_service_profiles.create(
-Retrieves a self-service profile by Id. +Retrieve all consent signing keys registered for a user. Returns an empty `keys` array when the user has no keys registered.
@@ -13659,7 +19319,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.self_service_profiles.get( +client.users.list_consent_signing_keys( id="id", ) @@ -13677,7 +19337,7 @@ client.self_service_profiles.get(
-**id:** `str` — The id of the self-service profile to retrieve +**id:** `str` — The ID of the user.
@@ -13697,7 +19357,7 @@ client.self_service_profiles.get(
-
client.self_service_profiles.delete(...) +
client.users.get_consent_signing_key(...) -> ConsentSigningKey
@@ -13709,7 +19369,7 @@ client.self_service_profiles.get(
-Deletes a self-service profile by Id. +Retrieve a single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not exist.
@@ -13732,8 +19392,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.self_service_profiles.delete( +client.users.get_consent_signing_key( id="id", + kid="kid", ) ``` @@ -13750,7 +19411,15 @@ client.self_service_profiles.delete(
-**id:** `str` — The id of the self-service profile to delete +**id:** `str` — The ID of the user. + +
+
+ +
+
+ +**kid:** `str` — The key identifier of the consent signing key.
@@ -13770,7 +19439,7 @@ client.self_service_profiles.delete(
-
client.self_service_profiles.update(...) -> UpdateSelfServiceProfileResponseContent +
client.users.delete_consent_signing_key(...)
@@ -13782,7 +19451,7 @@ client.self_service_profiles.delete(
-Updates a self-service profile. +Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and returns 204 whether or not the key existed.
@@ -13805,8 +19474,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.self_service_profiles.update( +client.users.delete_consent_signing_key( id="id", + kid="kid", ) ``` @@ -13823,7 +19493,7 @@ client.self_service_profiles.update(
-**id:** `str` — The id of the self-service profile to update +**id:** `str` — The ID of the user.
@@ -13831,7 +19501,7 @@ client.self_service_profiles.update(
-**name:** `typing.Optional[str]` — The name of the self-service Profile. +**kid:** `str` — The key identifier of the consent signing key.
@@ -13839,39 +19509,72 @@ client.self_service_profiles.update(
-**description:** `typing.Optional[SelfServiceProfileDescription]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**branding:** `typing.Optional[SelfServiceProfileBranding]` -
+
+
client.users.regenerate_recovery_code(...) -> RegenerateUsersRecoveryCodeResponseContent
-**allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] - +#### 📝 Description + +
+
+ +
+
+ +Remove an existing multi-factor authentication (MFA) [recovery code](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa) and generate a new one. If a user cannot access the original device or account used for MFA enrollment, they can use a recovery code to authenticate. +
+
+#### 🔌 Usage +
-**user_attributes:** `typing.Optional[SelfServiceProfileUserAttributes]` - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.users.regenerate_recovery_code( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile. +
+
+ +**id:** `str` — ID of the user to regenerate a multi-factor authentication recovery code for.
@@ -13891,8 +19594,7 @@ client.self_service_profiles.update(
-## Sessions -
client.sessions.get(...) -> GetSessionResponseContent +
client.users.revoke_access(...)
@@ -13904,7 +19606,7 @@ client.self_service_profiles.update(
-Retrieve session information. +Revokes selected resources related to a user (sessions, refresh tokens, ...).
@@ -13927,7 +19629,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.sessions.get( +client.users.revoke_access( id="id", ) @@ -13945,7 +19647,23 @@ client.sessions.get(
-**id:** `str` — ID of session to retrieve +**id:** `str` — ID of the user. + +
+
+ +
+
+ +**session_id:** `typing.Optional[str]` — ID of the session to revoke. + +
+
+ +
+
+ +**preserve_refresh_tokens:** `typing.Optional[bool]` — Whether to preserve the refresh tokens associated with the session.
@@ -13965,7 +19683,8 @@ client.sessions.get(
-
client.sessions.delete(...) +## Actions Versions +
client.actions.versions.list(...) -> ListActionVersionsPaginatedResponseContent
@@ -13977,7 +19696,7 @@ client.sessions.get(
-Delete a session by ID. +Retrieve all of an action's versions. An action version is created whenever an action is deployed. An action version is immutable, once created.
@@ -14000,8 +19719,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.sessions.delete( - id="id", +client.actions.versions.list( + action_id="actionId", + page=1, + per_page=1, ) ``` @@ -14018,7 +19739,23 @@ client.sessions.delete(
-**id:** `str` — ID of the session to delete. +**action_id:** `str` — The ID of the action. + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — This field specify the maximum number of results to be returned by the server. 20 by default
@@ -14038,7 +19775,7 @@ client.sessions.delete(
-
client.sessions.update(...) -> UpdateSessionResponseContent +
client.actions.versions.get(...) -> GetActionVersionResponseContent
@@ -14050,7 +19787,7 @@ client.sessions.delete(
-Update session information. +Retrieve a specific version of an action. An action version is created whenever an action is deployed. An action version is immutable, once created.
@@ -14073,7 +19810,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.sessions.update( +client.actions.versions.get( + action_id="actionId", id="id", ) @@ -14091,7 +19829,7 @@ client.sessions.update(
-**id:** `str` — ID of the session to update. +**action_id:** `str` — The ID of the action.
@@ -14099,7 +19837,7 @@ client.sessions.update(
-**session_metadata:** `typing.Optional[SessionMetadata]` — Metadata associated with the session. Pass null or {} to remove all session_metadata. +**id:** `str` — The ID of the action version.
@@ -14119,7 +19857,7 @@ client.sessions.update(
-
client.sessions.revoke(...) +
client.actions.versions.deploy(...) -> DeployActionVersionResponseContent
@@ -14131,7 +19869,7 @@ client.sessions.update(
-Revokes a session by ID and all associated refresh tokens. +Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
@@ -14146,7 +19884,7 @@ Revokes a session by ID and all associated refresh tokens.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, DeployActionVersionRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -14154,8 +19892,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.sessions.revoke( +client.actions.versions.deploy( + action_id="actionId", id="id", + request=DeployActionVersionRequestContent(), ) ``` @@ -14172,7 +19912,23 @@ client.sessions.revoke(
-**id:** `str` — ID of the session to revoke. +**action_id:** `str` — The ID of an action. + +
+
+ +
+
+ +**id:** `str` — The ID of an action version. + +
+
+ +
+
+ +**request:** `typing.Optional[DeployActionVersionRequestContent]`
@@ -14192,8 +19948,8 @@ client.sessions.revoke(
-## Stats -
client.stats.get_active_users_count() -> GetActiveUsersCountStatsResponseContent +## Actions Executions +
client.actions.executions.get(...) -> GetActionExecutionResponseContent
@@ -14205,7 +19961,7 @@ client.sessions.revoke(
-Retrieve the number of active users that logged in during the last 30 days. +Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
@@ -14228,7 +19984,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.stats.get_active_users_count() +client.actions.executions.get( + id="id", +) ``` @@ -14244,6 +20002,14 @@ client.stats.get_active_users_count()
+**id:** `str` — The ID of the execution to retrieve. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14256,7 +20022,8 @@ client.stats.get_active_users_count()
-
client.stats.get_daily(...) -> typing.List[DailyStats] +## Actions Modules +
client.actions.modules.list(...) -> GetActionModulesResponseContent
@@ -14268,7 +20035,7 @@ client.stats.get_active_users_count()
-Retrieve the number of logins, signups and breached-password detections (subscription required) that occurred each day within a specified date range. +Retrieve a paginated list of all Actions Modules with optional filtering and totals.
@@ -14291,9 +20058,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.stats.get_daily( - from_="from", - to="to", +client.actions.modules.list( + page=1, + per_page=1, ) ``` @@ -14310,7 +20077,7 @@ client.stats.get_daily(
-**from:** `typing.Optional[str]` — Optional first day of the date range (inclusive) in YYYYMMDD format. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -14318,7 +20085,7 @@ client.stats.get_daily(
-**to:** `typing.Optional[str]` — Optional last day of the date range (inclusive) in YYYYMMDD format. +**per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent.
@@ -14338,8 +20105,7 @@ client.stats.get_daily(
-## SupplementalSignals -
client.supplemental_signals.get() -> GetSupplementalSignalsResponseContent +
client.actions.modules.create(...) -> CreateActionModuleResponseContent
@@ -14351,7 +20117,7 @@ client.stats.get_daily(
-Get the supplemental signals configuration for a tenant. +Create a new Actions Module for reusable code across actions.
@@ -14374,7 +20140,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.supplemental_signals.get() +client.actions.modules.create( + name="name", + code="code", +) ``` @@ -14390,6 +20159,54 @@ client.supplemental_signals.get()
+**name:** `str` — The name of the action module. + +
+
+ +
+
+ +**code:** `str` — The source code of the action module. + +
+
+ +
+
+ +**secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module. + +
+
+ +
+
+ +**dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module. + +
+
+ +
+
+ +**api_version:** `typing.Optional[str]` — The API version of the module. + +
+
+ +
+
+ +**publish:** `typing.Optional[bool]` — Whether to publish the module immediately after creation. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14402,7 +20219,7 @@ client.supplemental_signals.get()
-
client.supplemental_signals.patch(...) -> PatchSupplementalSignalsResponseContent +
client.actions.modules.get(...) -> GetActionModuleResponseContent
@@ -14414,7 +20231,7 @@ client.supplemental_signals.get()
-Update the supplemental signals configuration for a tenant. +Retrieve details of a specific Actions Module by its unique identifier.
@@ -14437,8 +20254,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.supplemental_signals.patch( - akamai_enabled=True, +client.actions.modules.get( + id="id", ) ``` @@ -14455,7 +20272,7 @@ client.supplemental_signals.patch(
-**akamai_enabled:** `bool` — Indicates if incoming Akamai Headers should be processed +**id:** `str` — The ID of the action module to retrieve.
@@ -14475,8 +20292,7 @@ client.supplemental_signals.patch(
-## Tickets -
client.tickets.verify_email(...) -> VerifyEmailTicketResponseContent +
client.actions.modules.delete(...)
@@ -14488,7 +20304,7 @@ client.supplemental_signals.patch(
-Create an email verification ticket for a given user. An email verification ticket is a generated URL that the user can consume to verify their email address. +Permanently delete an Actions Module. This will fail if the module is still in use by any actions.
@@ -14511,8 +20327,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.tickets.verify_email( - user_id="user_id", +client.actions.modules.delete( + id="id", ) ``` @@ -14529,7 +20345,7 @@ client.tickets.verify_email(
-**user_id:** `str` — user_id of for whom the ticket should be created. +**id:** `str` — The ID of the Actions Module to delete.
@@ -14537,23 +20353,72 @@ client.tickets.verify_email(
-**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.actions.modules.update(...) -> UpdateActionModuleResponseContent
-**client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger. - +#### 📝 Description + +
+
+ +
+
+ +Update properties of an existing Actions Module, such as code, dependencies, or secrets. +
+
+#### 🔌 Usage +
-**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.actions.modules.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The ID of the action module to update.
@@ -14561,7 +20426,7 @@ client.tickets.verify_email(
-**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days). +**code:** `typing.Optional[str]` — The source code of the action module.
@@ -14569,7 +20434,7 @@ client.tickets.verify_email(
-**include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false). +**secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module.
@@ -14577,7 +20442,7 @@ client.tickets.verify_email(
-**identity:** `typing.Optional[Identity]` +**dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module.
@@ -14597,7 +20462,7 @@ client.tickets.verify_email(
-
client.tickets.change_password(...) -> ChangePasswordTicketResponseContent +
client.actions.modules.list_actions(...) -> GetActionModuleActionsResponseContent
@@ -14609,9 +20474,7 @@ client.tickets.verify_email(
-Create a password change ticket for a given user. A password change ticket is a generated URL that the user can consume to start a reset password flow. - -Note: This endpoint does not verify the given user’s identity. If you call this endpoint within your application, you must design your application to verify the user’s identity. +Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module.
@@ -14634,7 +20497,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.tickets.change_password() +client.actions.modules.list_actions( + id="id", + page=1, + per_page=1, +) ``` @@ -14650,7 +20517,7 @@ client.tickets.change_password()
-**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound. +**id:** `str` — The unique ID of the module.
@@ -14658,7 +20525,7 @@ client.tickets.change_password()
-**user_id:** `typing.Optional[str]` — user_id of for whom the ticket should be created. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -14666,7 +20533,7 @@ client.tickets.change_password()
-**client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's default login route after the ticket is used. client_id is required to use the Password Reset Post Challenge trigger. +**per_page:** `typing.Optional[int]` — Number of results per page.
@@ -14674,47 +20541,73 @@ client.tickets.change_password()
-**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**connection_id:** `typing.Optional[str]` — ID of the connection. If provided, allows the user to be specified using email instead of user_id. If you set this value, you must also send the email parameter. You cannot send user_id when specifying a connection_id. -
+
+
client.actions.modules.rollback(...) -> RollbackActionModuleResponseContent
-**email:** `typing.Optional[str]` — Email address of the user for whom the tickets should be created. Requires the connection_id parameter. Cannot be specified when using user_id. - -
-
+#### 📝 Description
-**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days). - +
+
+ +Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. +
+
+#### 🔌 Usage +
-**mark_email_as_verified:** `typing.Optional[bool]` — Whether to set the email_verified attribute to true (true) or whether it should not be updated (false). - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.actions.modules.rollback( + id="id", + module_version_id="module_version_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false). +
+
+ +**id:** `str` — The unique ID of the module to roll back.
@@ -14722,7 +20615,7 @@ client.tickets.change_password()
-**identity:** `typing.Optional[ChangePasswordTicketIdentity]` +**module_version_id:** `str` — The unique ID of the module version to roll back to.
@@ -14742,8 +20635,8 @@ client.tickets.change_password()
-## TokenExchangeProfiles -
client.token_exchange_profiles.list(...) -> ListTokenExchangeProfileResponseContent +## Actions Triggers +
client.actions.triggers.list() -> ListActionTriggersResponseContent
@@ -14755,16 +20648,7 @@ client.tickets.change_password()
-Retrieve a list of all Token Exchange Profiles available in your tenant. - -By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. - -This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters: - -- `from`: Optional id from which to start selection. -- `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50. - -**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. +Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound.
@@ -14787,10 +20671,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.token_exchange_profiles.list( - from_="from", - take=1, -) +client.actions.triggers.list() ``` @@ -14806,22 +20687,6 @@ client.token_exchange_profiles.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14834,7 +20699,8 @@ client.token_exchange_profiles.list(
-
client.token_exchange_profiles.create(...) -> CreateTokenExchangeProfileResponseContent +## Actions Modules Versions +
client.actions.modules.versions.list(...) -> GetActionModuleVersionsResponseContent
@@ -14846,9 +20712,7 @@ client.token_exchange_profiles.list(
-Create a new Token Exchange Profile within your tenant. - -By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +List all published versions of a specific Actions Module.
@@ -14871,11 +20735,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.token_exchange_profiles.create( - name="name", - subject_token_type="subject_token_type", - action_id="action_id", - type="custom_authentication", +client.actions.modules.versions.list( + id="id", + page=1, + per_page=1, ) ``` @@ -14892,15 +20755,7 @@ client.token_exchange_profiles.create(
-**name:** `str` — Friendly name of this profile. - -
-
- -
-
- -**subject_token_type:** `str` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI. +**id:** `str` — The unique ID of the module.
@@ -14908,7 +20763,7 @@ client.token_exchange_profiles.create(
-**action_id:** `str` — The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. +**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
@@ -14916,7 +20771,7 @@ client.token_exchange_profiles.create(
-**type:** `TokenExchangeProfileTypeEnum` +**per_page:** `typing.Optional[int]` — The maximum number of results to be returned by the server in a single response. 20 by default.
@@ -14936,7 +20791,7 @@ client.token_exchange_profiles.create(
-
client.token_exchange_profiles.get(...) -> GetTokenExchangeProfileResponseContent +
client.actions.modules.versions.create(...) -> CreateActionModuleVersionResponseContent
@@ -14948,9 +20803,7 @@ client.token_exchange_profiles.create(
-Retrieve details about a single Token Exchange Profile specified by ID. - -By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
@@ -14973,7 +20826,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.token_exchange_profiles.get( +client.actions.modules.versions.create( id="id", ) @@ -14991,7 +20844,7 @@ client.token_exchange_profiles.get(
-**id:** `str` — ID of the Token Exchange Profile to retrieve. +**id:** `str` — The ID of the action module to create a version for.
@@ -15011,7 +20864,7 @@ client.token_exchange_profiles.get(
-
client.token_exchange_profiles.delete(...) +
client.actions.modules.versions.get(...) -> GetActionModuleVersionResponseContent
@@ -15023,9 +20876,7 @@ client.token_exchange_profiles.get(
-Delete a Token Exchange Profile within your tenant. - -By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +Retrieve the details of a specific, immutable version of an Actions Module.
@@ -15048,8 +20899,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.token_exchange_profiles.delete( +client.actions.modules.versions.get( id="id", + version_id="versionId", ) ``` @@ -15066,7 +20918,15 @@ client.token_exchange_profiles.delete(
-**id:** `str` — ID of the Token Exchange Profile to delete. +**id:** `str` — The unique ID of the module. + +
+
+ +
+
+ +**version_id:** `str` — The unique ID of the module version to retrieve.
@@ -15086,7 +20946,8 @@ client.token_exchange_profiles.delete(
-
client.token_exchange_profiles.update(...) +## Actions Triggers Bindings +
client.actions.triggers.bindings.list(...) -> ListActionBindingsPaginatedResponseContent
@@ -15098,9 +20959,7 @@ client.token_exchange_profiles.delete(
-Update a Token Exchange Profile within your tenant. - -By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details. +Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow.
@@ -15123,8 +20982,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.token_exchange_profiles.update( - id="id", +client.actions.triggers.bindings.list( + trigger_id="post-login", + page=1, + per_page=1, ) ``` @@ -15141,7 +21002,7 @@ client.token_exchange_profiles.update(
-**id:** `str` — ID of the Token Exchange Profile to update. +**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point.
@@ -15149,7 +21010,7 @@ client.token_exchange_profiles.update(
-**name:** `typing.Optional[str]` — Friendly name of this profile. +**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
@@ -15157,7 +21018,7 @@ client.token_exchange_profiles.update(
-**subject_token_type:** `typing.Optional[str]` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI. +**per_page:** `typing.Optional[int]` — The maximum number of results to be returned in a single request. 20 by default
@@ -15177,8 +21038,7 @@ client.token_exchange_profiles.update(
-## UserAttributeProfiles -
client.user_attribute_profiles.list(...) -> ListUserAttributeProfilesPaginatedResponseContent +
client.actions.triggers.bindings.update_many(...) -> UpdateActionBindingsResponseContent
@@ -15190,7 +21050,7 @@ client.token_exchange_profiles.update(
-Retrieve a list of User Attribute Profiles. This endpoint supports Checkpoint pagination. +Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed.
@@ -15213,9 +21073,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.list( - from_="from", - take=1, +client.actions.triggers.bindings.update_many( + trigger_id="post-login", ) ``` @@ -15232,7 +21091,7 @@ client.user_attribute_profiles.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point.
@@ -15240,7 +21099,7 @@ client.user_attribute_profiles.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 5. +**bindings:** `typing.Optional[typing.List[ActionBindingWithRef]]` — The actions that will be bound to this trigger. The order in which they are included will be the order in which they are executed.
@@ -15260,7 +21119,8 @@ client.user_attribute_profiles.list(
-
client.user_attribute_profiles.create(...) -> CreateUserAttributeProfileResponseContent +## Anomaly Blocks +
client.anomaly.blocks.check_ip(...)
@@ -15272,7 +21132,7 @@ client.user_attribute_profiles.list(
-Create a User Attribute Profile. +Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts.
@@ -15287,7 +21147,7 @@ Create a User Attribute Profile.
```python -from auth0.management import Auth0, UserAttributeProfileUserAttributeAdditionalProperties +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -15295,16 +21155,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.create( - name="name", - user_attributes={ - "key": UserAttributeProfileUserAttributeAdditionalProperties( - description="description", - label="label", - profile_required=True, - auth_0_mapping="auth0_mapping", - ) - }, +client.anomaly.blocks.check_ip( + id="id", ) ``` @@ -15321,7 +21173,7 @@ client.user_attribute_profiles.create(
-**name:** `UserAttributeProfileName` +**id:** `AnomalyIpFormat` — IP address to check.
@@ -15329,15 +21181,72 @@ client.user_attribute_profiles.create(
-**user_attributes:** `UserAttributeProfileUserAttributes` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +
client.anomaly.blocks.unblock_ip(...)
-**user_id:** `typing.Optional[UserAttributeProfileUserId]` +#### 📝 Description + +
+
+ +
+
+ +Remove a block imposed by Suspicious IP Throttling for the given IP address. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.anomaly.blocks.unblock_ip( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `AnomalyIpFormat` — IP address to unblock.
@@ -15357,7 +21266,8 @@ client.user_attribute_profiles.create(
-
client.user_attribute_profiles.list_templates() -> ListUserAttributeProfileTemplateResponseContent +## AttackProtection BotDetection +
client.attack_protection.bot_detection.get() -> GetBotDetectionSettingsResponseContent
@@ -15369,7 +21279,70 @@ client.user_attribute_profiles.create(
-Retrieve a list of User Attribute Profile Templates. +Get the Bot Detection configuration of your tenant. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.attack_protection.bot_detection.get() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.attack_protection.bot_detection.update(...) -> UpdateBotDetectionSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update the Bot Detection configuration of your tenant.
@@ -15392,7 +21365,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.list_templates() +client.attack_protection.bot_detection.update() ```
@@ -15408,6 +21381,54 @@ client.user_attribute_profiles.list_templates()
+**bot_detection_level:** `typing.Optional[BotDetectionLevelEnum]` + +
+
+ +
+
+ +**challenge_password_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordFlowEnum]` + +
+
+ +
+
+ +**challenge_passwordless_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordlessFlowEnum]` + +
+
+ +
+
+ +**challenge_password_reset_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordResetFlowEnum]` + +
+
+ +
+
+ +**allowlist:** `typing.Optional[BotDetectionAllowlist]` + +
+
+ +
+
+ +**monitoring_mode_enabled:** `typing.Optional[BotDetectionMonitoringModeEnabled]` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15420,7 +21441,8 @@ client.user_attribute_profiles.list_templates()
-
client.user_attribute_profiles.get_template(...) -> GetUserAttributeProfileTemplateResponseContent +## AttackProtection BreachedPasswordDetection +
client.attack_protection.breached_password_detection.get() -> GetBreachedPasswordDetectionSettingsResponseContent
@@ -15432,7 +21454,7 @@ client.user_attribute_profiles.list_templates()
-Retrieve a User Attribute Profile Template. +Retrieve details of the Breached Password Detection configuration of your tenant.
@@ -15455,9 +21477,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.get_template( - id="id", -) +client.attack_protection.breached_password_detection.get() ``` @@ -15473,14 +21493,6 @@ client.user_attribute_profiles.get_template(
-**id:** `str` — ID of the user-attribute-profile-template to retrieve. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15493,7 +21505,7 @@ client.user_attribute_profiles.get_template(
-
client.user_attribute_profiles.get(...) -> GetUserAttributeProfileResponseContent +
client.attack_protection.breached_password_detection.update(...) -> UpdateBreachedPasswordDetectionSettingsResponseContent
@@ -15505,7 +21517,7 @@ client.user_attribute_profiles.get_template(
-Retrieve details about a single User Attribute Profile specified by ID. +Update details of the Breached Password Detection configuration of your tenant.
@@ -15528,9 +21540,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.get( - id="id", -) +client.attack_protection.breached_password_detection.update() ``` @@ -15546,7 +21556,45 @@ client.user_attribute_profiles.get(
-**id:** `str` — ID of the user-attribute-profile to retrieve. +**enabled:** `typing.Optional[bool]` — Whether or not breached password detection is active. + +
+
+ +
+
+ +**shields:** `typing.Optional[typing.List[BreachedPasswordDetectionShieldsEnum]]` + +Action to take when a breached password is detected during a login. + Possible values: block, user_notification, admin_notification. + +
+
+ +
+
+ +**admin_notification_frequency:** `typing.Optional[typing.List[BreachedPasswordDetectionAdminNotificationFrequencyEnum]]` + +When "admin_notification" is enabled, determines how often email notifications are sent. + Possible values: immediately, daily, weekly, monthly. + +
+
+ +
+
+ +**method:** `typing.Optional[BreachedPasswordDetectionMethodEnum]` + +
+
+ +
+
+ +**stage:** `typing.Optional[BreachedPasswordDetectionStage]`
@@ -15566,7 +21614,8 @@ client.user_attribute_profiles.get(
-
client.user_attribute_profiles.delete(...) +## AttackProtection BruteForceProtection +
client.attack_protection.brute_force_protection.get() -> GetBruteForceSettingsResponseContent
@@ -15578,7 +21627,7 @@ client.user_attribute_profiles.get(
-Delete a single User Attribute Profile specified by ID. +Retrieve details of the Brute-force Protection configuration of your tenant.
@@ -15601,9 +21650,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.delete( - id="id", -) +client.attack_protection.brute_force_protection.get() ``` @@ -15619,14 +21666,6 @@ client.user_attribute_profiles.delete(
-**id:** `str` — ID of the user-attribute-profile to delete. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15639,7 +21678,7 @@ client.user_attribute_profiles.delete(
-
client.user_attribute_profiles.update(...) -> UpdateUserAttributeProfileResponseContent +
client.attack_protection.brute_force_protection.update(...) -> UpdateBruteForceSettingsResponseContent
@@ -15651,7 +21690,7 @@ client.user_attribute_profiles.delete(
-Update the details of a specific User attribute profile, such as name, user_id and user_attributes. +Update the Brute-force Protection configuration of your tenant.
@@ -15674,9 +21713,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_attribute_profiles.update( - id="id", -) +client.attack_protection.brute_force_protection.update() ``` @@ -15692,7 +21729,7 @@ client.user_attribute_profiles.update(
-**id:** `str` — ID of the user attribute profile to update. +**enabled:** `typing.Optional[bool]` — Whether or not brute force attack protections are active.
@@ -15700,7 +21737,10 @@ client.user_attribute_profiles.update(
-**name:** `typing.Optional[UserAttributeProfileName]` +**shields:** `typing.Optional[typing.List[BruteForceProtectionShieldsEnum]]` + +Action to take when a brute force protection threshold is violated. + Possible values: block, user_notification.
@@ -15708,7 +21748,7 @@ client.user_attribute_profiles.update(
-**user_id:** `typing.Optional[UserAttributeProfilePatchUserId]` +**allowlist:** `typing.Optional[typing.List[str]]` — List of trusted IP addresses that will not have attack protection enforced against them.
@@ -15716,7 +21756,23 @@ client.user_attribute_profiles.update(
-**user_attributes:** `typing.Optional[UserAttributeProfileUserAttributes]` +**mode:** `typing.Optional[BruteForceProtectionModeEnum]` + +
+
+ +
+
+ +**form_submission_mode:** `typing.Optional[BruteForceProtectionFormSubmissionModeEnum]` + +
+
+ +
+
+ +**max_attempts:** `typing.Optional[int]` — Maximum number of unsuccessful attempts.
@@ -15736,8 +21792,8 @@ client.user_attribute_profiles.update(
-## UserBlocks -
client.user_blocks.list_by_identifier(...) -> ListUserBlocksByIdentifierResponseContent +## AttackProtection Captcha +
client.attack_protection.captcha.get() -> GetAttackProtectionCaptchaResponseContent
@@ -15749,7 +21805,7 @@ client.user_attribute_profiles.update(
-Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for a user with the given identifier (username, phone number, or email). +Get the CAPTCHA configuration for your client.
@@ -15772,10 +21828,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_blocks.list_by_identifier( - identifier="identifier", - consider_brute_force_enablement=True, -) +client.attack_protection.captcha.get() ``` @@ -15791,27 +21844,6 @@ client.user_blocks.list_by_identifier(
-**identifier:** `str` — Should be any of a username, phone number, or email. - -
-
- -
-
- -**consider_brute_force_enablement:** `typing.Optional[bool]` - - - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. - - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15824,7 +21856,7 @@ client.user_blocks.list_by_identifier(
-
client.user_blocks.delete_by_identifier(...) +
client.attack_protection.captcha.update(...) -> UpdateAttackProtectionCaptchaResponseContent
@@ -15836,9 +21868,7 @@ client.user_blocks.list_by_identifier(
-Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given identifier (username, phone number, or email). - -Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user). +Update existing CAPTCHA configuration for your client.
@@ -15861,9 +21891,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_blocks.delete_by_identifier( - identifier="identifier", -) +client.attack_protection.captcha.update() ``` @@ -15879,7 +21907,7 @@ client.user_blocks.delete_by_identifier(
-**identifier:** `str` — Should be any of a username, phone number, or email. +**active_provider_id:** `typing.Optional[AttackProtectionCaptchaProviderId]`
@@ -15887,73 +21915,47 @@ client.user_blocks.delete_by_identifier(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**arkose:** `typing.Optional[AttackProtectionUpdateCaptchaArkose]`
- -
+
+
+**auth_challenge:** `typing.Optional[AttackProtectionCaptchaAuthChallengeRequest]` +
-
-
client.user_blocks.list(...) -> ListUserBlocksResponseContent
-#### 📝 Description - -
-
+**hcaptcha:** `typing.Optional[AttackProtectionUpdateCaptchaHcaptcha]` + +
+
-Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID. -
-
+**friendly_captcha:** `typing.Optional[AttackProtectionUpdateCaptchaFriendlyCaptcha]` +
-#### 🔌 Usage - -
-
-
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.user_blocks.list( - id="id", - consider_brute_force_enablement=True, -) - -``` -
-
+**recaptcha_enterprise:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaEnterprise]` +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` — user_id of the user blocks to retrieve. +**recaptcha_v_2:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaV2]`
@@ -15961,12 +21963,7 @@ client.user_blocks.list(
-**consider_brute_force_enablement:** `typing.Optional[bool]` - - - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. - +**simple_captcha:** `typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent]`
@@ -15986,7 +21983,8 @@ client.user_blocks.list(
-
client.user_blocks.delete(...) +## AttackProtection PhoneProviderProtection +
client.attack_protection.phone_provider_protection.get() -> GetPhoneProviderProtectionResponseContent
@@ -15998,9 +21996,7 @@ client.user_blocks.list(
-Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID. - -Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user). +Get the phone provider protection configuration for a tenant.
@@ -16023,10 +22019,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.user_blocks.delete( - id="id", -) - +client.attack_protection.phone_provider_protection.get() + ```
@@ -16041,14 +22035,6 @@ client.user_blocks.delete(
-**id:** `str` — The user_id of the user to update. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16061,8 +22047,7 @@ client.user_blocks.delete(
-## Users -
client.users.list(...) -> ListUsersOffsetPaginatedResponseContent +
client.attack_protection.phone_provider_protection.patch(...) -> PatchPhoneProviderProtectionResponseContent
@@ -16074,24 +22059,7 @@ client.user_blocks.delete(
-Retrieve details of users. It is possible to: - -- Specify a search criteria for users -- Sort the users to be returned -- Select the fields to be returned -- Specify the number of users to retrieve per page and the page index - - - -The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax) - -[Learn more about searching for users.](https://auth0.com/docs/users/search/v3) - -Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users. - - - -Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension. +Update the phone provider protection configuration for a tenant.
@@ -16114,17 +22082,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.list( - page=1, - per_page=1, - include_totals=True, - sort="sort", - connection="connection", - fields="fields", - include_fields=True, - q="q", - search_engine="v1", - primary_order=True, +client.attack_protection.phone_provider_protection.patch( + type="exponential", ) ``` @@ -16141,7 +22100,7 @@ client.users.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**type:** `PhoneProviderProtectionBackoffStrategyEnum`
@@ -16149,75 +22108,67 @@ client.users.list(
-**per_page:** `typing.Optional[int]` — Number of results per page. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). -
-
-
-**sort:** `typing.Optional[str]` — Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1 -
+
+## AttackProtection SuspiciousIpThrottling +
client.attack_protection.suspicious_ip_throttling.get() -> GetSuspiciousIpThrottlingSettingsResponseContent
-**connection:** `typing.Optional[str]` — Connection filter. Only applies when using search_engine=v1. To filter by connection with search_engine=v2|v3, use q=identities.connection:"connection_name" - -
-
+#### 📝 Description
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
-
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). - +Retrieve details of the Suspicious IP Throttling configuration of your tenant. +
+
+#### 🔌 Usage +
-**q:** `typing.Optional[str]` — Query in Lucene query string syntax. Some query types cannot be used on metadata fields, for details see Searchable Fields. - -
-
-
-**search_engine:** `typing.Optional[SearchEngineVersionsEnum]` — The version of the search engine - +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.attack_protection.suspicious_ip_throttling.get() + +```
+ + + +#### ⚙️ Parameters
-**primary_order:** `typing.Optional[bool]` — If true (default), results are returned in a deterministic order. If false, results may be returned in a non-deterministic order, which can enhance performance for complex queries targeting a small number of users. Set to false only when consistent ordering and pagination is not required. - -
-
-
@@ -16233,7 +22184,7 @@ client.users.list(
-
client.users.create(...) -> CreateUserResponseContent +
client.attack_protection.suspicious_ip_throttling.update(...) -> UpdateSuspiciousIpThrottlingSettingsResponseContent
@@ -16245,9 +22196,7 @@ client.users.list(
-Create a new user for a given [database](https://auth0.com/docs/connections/database) or [passwordless](https://auth0.com/docs/connections/passwordless) connection. - -Note: `connection` is required but other parameters such as `email` and `password` are dependent upon the type of connection. +Update the details of the Suspicious IP Throttling configuration of your tenant.
@@ -16270,9 +22219,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.create( - connection="connection", -) +client.attack_protection.suspicious_ip_throttling.update() ``` @@ -16288,15 +22235,7 @@ client.users.create(
-**connection:** `str` — Name of the connection this user should be created in. - -
-
- -
-
- -**email:** `typing.Optional[str]` — The user's email. +**enabled:** `typing.Optional[bool]` — Whether or not suspicious IP throttling attack protections are active.
@@ -16304,15 +22243,10 @@ client.users.create(
-**phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation). - -
-
- -
-
+**shields:** `typing.Optional[typing.List[SuspiciousIpThrottlingShieldsEnum]]` -**user_metadata:** `typing.Optional[UserMetadata]` +Action to take when a suspicious IP throttling threshold is violated. + Possible values: block, admin_notification.
@@ -16320,7 +22254,7 @@ client.users.create(
-**blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false). +**allowlist:** `typing.Optional[SuspiciousIpThrottlingAllowlist]`
@@ -16328,7 +22262,7 @@ client.users.create(
-**email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). User will receive a verification email after creation if `email_verified` is false or not specified +**stage:** `typing.Optional[SuspiciousIpThrottlingStage]`
@@ -16336,91 +22270,53 @@ client.users.create(
-**phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**app_metadata:** `typing.Optional[AppMetadata]` -
-
-
-**given_name:** `typing.Optional[str]` — The user's given name(s). -
+
+## Branding Templates +
client.branding.templates.get_universal_login() -> GetUniversalLoginTemplateResponseContent
-**family_name:** `typing.Optional[str]` — The user's family name(s). - -
-
+#### 🔌 Usage
-**name:** `typing.Optional[str]` — The user's full name. - -
-
-
-**nickname:** `typing.Optional[str]` — The user's nickname. - -
-
- -
-
+```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment -**picture:** `typing.Optional[str]` — A URI pointing to the user's picture. - -
-
+client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) -
-
+client.branding.templates.get_universal_login() -**user_id:** `typing.Optional[str]` — The external user's id provided by the identity provider. - +```
- -
-
- -**password:** `typing.Optional[str]` — Initial password for this user. Only valid for auth0 connection strategy. -
-
-
- -**verify_email:** `typing.Optional[bool]` — Whether the user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter. - -
-
+#### ⚙️ Parameters
-**username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username. - -
-
-
@@ -16436,7 +22332,7 @@ client.users.create(
-
client.users.list_users_by_email(...) -> typing.List[UserResponseSchema] +
client.branding.templates.update_universal_login(...)
@@ -16448,11 +22344,30 @@ client.users.create(
-Find users by email. If Auth0 is the identity provider (idP), the email address associated with a user is saved in lower case, regardless of how you initially provided it. +Update the Universal Login branding template. -For example, if you register a user as JohnSmith@example.com, Auth0 saves the user's email as johnsmith@example.com. +When `content-type` header is set to `application/json`: -Therefore, when using this endpoint, make sure that you are searching for users via email addresses using the correct case. +```json +{ + "template": "{% assign resolved_dir = dir | default: \"auto\" %}{%- auth0:head -%}{%- auth0:widget -%}" +} +``` + +When `content-type` header is set to `text/html`: + +```html + +{% assign resolved_dir = dir | default: "auto" %} + + + {%- auth0:head -%} + + + {%- auth0:widget -%} + + +```
@@ -16475,10 +22390,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.list_users_by_email( - fields="fields", - include_fields=True, - email="email", +client.branding.templates.update_universal_login( + request="string", ) ``` @@ -16495,23 +22408,7 @@ client.users.list_users_by_email(
-**email:** `str` — Email address to search for (case-sensitive). - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true. +**request:** `UpdateUniversalLoginTemplateRequestContent`
@@ -16531,24 +22428,10 @@ client.users.list_users_by_email(
-
client.users.get(...) -> GetUserResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.templates.delete_universal_login()
-Retrieve user details. A list of fields to include or exclude may also be specified. For more information, see [Retrieve Users with the Get Users Endpoint](https://auth0.com/docs/manage-users/user-search/retrieve-users-with-get-users-endpoint). -
-
-
-
- #### 🔌 Usage
@@ -16566,11 +22449,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.get( - id="id", - fields="fields", - include_fields=True, -) +client.branding.templates.delete_universal_login() ```
@@ -16586,30 +22465,6 @@ client.users.get(
-**id:** `str` — ID of the user to retrieve. - -
-
- -
-
- -**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16622,7 +22477,8 @@ client.users.get(
-
client.users.delete(...) +## Branding Themes +
client.branding.themes.create(...) -> CreateBrandingThemeResponseContent
@@ -16634,7 +22490,7 @@ client.users.get(
-Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard instructions, see [Delete Users](https://auth0.com/docs/manage-users/user-accounts/delete-users). +Create branding theme.
@@ -16649,7 +22505,7 @@ Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard inst
```python -from auth0.management import Auth0 +from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget from auth0.management.environment import Auth0Environment client = Auth0( @@ -16657,8 +22513,77 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.delete( - id="id", +client.branding.themes.create( + borders=BrandingThemeBorders( + button_border_radius=1.1, + button_border_weight=1.1, + buttons_style="pill", + input_border_radius=1.1, + input_border_weight=1.1, + inputs_style="pill", + show_widget_shadow=True, + widget_border_weight=1.1, + widget_corner_radius=1.1, + ), + colors=BrandingThemeColors( + body_text="body_text", + error="error", + header="header", + icons="icons", + input_background="input_background", + input_border="input_border", + input_filled_text="input_filled_text", + input_labels_placeholders="input_labels_placeholders", + links_focused_components="links_focused_components", + primary_button="primary_button", + primary_button_label="primary_button_label", + secondary_button_border="secondary_button_border", + secondary_button_label="secondary_button_label", + success="success", + widget_background="widget_background", + widget_border="widget_border", + ), + fonts=BrandingThemeFonts( + body_text=BrandingThemeFontBodyText( + bold=True, + size=1.1, + ), + buttons_text=BrandingThemeFontButtonsText( + bold=True, + size=1.1, + ), + font_url="font_url", + input_labels=BrandingThemeFontInputLabels( + bold=True, + size=1.1, + ), + links=BrandingThemeFontLinks( + bold=True, + size=1.1, + ), + links_style="normal", + reference_text_size=1.1, + subtitle=BrandingThemeFontSubtitle( + bold=True, + size=1.1, + ), + title=BrandingThemeFontTitle( + bold=True, + size=1.1, + ), + ), + page_background=BrandingThemePageBackground( + background_color="background_color", + background_image_url="background_image_url", + page_layout="center", + ), + widget=BrandingThemeWidget( + header_text_alignment="center", + logo_height=1.1, + logo_position="center", + logo_url="logo_url", + social_buttons_layout="bottom", + ), ) ``` @@ -16675,7 +22600,7 @@ client.users.delete(
-**id:** `str` — ID of the user to delete. +**borders:** `BrandingThemeBorders`
@@ -16683,121 +22608,79 @@ client.users.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**colors:** `BrandingThemeColors`
-
-
+
+
+**fonts:** `BrandingThemeFonts` +
-
-
client.users.update(...) -> UpdateUserResponseContent
-#### 📝 Description +**page_background:** `BrandingThemePageBackground` + +
+
+**widget:** `BrandingThemeWidget` + +
+
+
-Update a user. - -These are the attributes that can be updated at the root level: - -- app_metadata -- blocked -- email -- email_verified -- family_name -- given_name -- name -- nickname -- password -- phone_number -- phone_verified -- picture -- username -- user_metadata -- verify_email - -Some considerations: - -- The properties of the new object will replace the old ones. -- The metadata fields are an exception to this rule (`user_metadata` and `app_metadata`). These properties are merged instead of being replaced but be careful, the merge only occurs on the first level. -- If you are updating `email`, `email_verified`, `phone_number`, `phone_verified`, `username` or `password` of a secondary identity, you need to specify the `connection` property too. -- If you are updating `email` or `phone_number` you can specify, optionally, the `client_id` property. -- Updating `email_verified` is not supported for enterprise and passwordless sms connections. -- Updating the `blocked` to `false` does not affect the user's blocked state from an excessive amount of incorrectly provided credentials. Use the "Unblock a user" endpoint from the "User Blocks" API to change the user's state. -- Supported attributes can be unset by supplying `null` as the value. - -**Updating a field (non-metadata property)** - -To mark the email address of a user as verified, the body to send should be: - -```json -{ "email_verified": true } -``` - -**Updating a user metadata root property** +**display_name:** `typing.Optional[str]` — Display Name + +
+
-Let's assume that our test user has the following `user_metadata`: +
+
-```json -{ "user_metadata" : { "profileCode": 1479 } } -``` +**identifiers:** `typing.Optional[BrandingThemeIdentifiers]` + +
+
-To add the field `addresses` the body to send should be: +
+
-```json -{ "user_metadata" : { "addresses": {"work_address": "100 Industrial Way"} }} -``` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + -The modified object ends up with the following `user_metadata` property: -```json -{ - "user_metadata": { - "profileCode": 1479, - "addresses": { "work_address": "100 Industrial Way" } - } -} -``` + + +
-**Updating an inner user metadata property** +
client.branding.themes.get_default() -> GetBrandingDefaultThemeResponseContent +
+
-If there's existing user metadata to which we want to add `"home_address": "742 Evergreen Terrace"` (using the `addresses` property) we should send the whole `addresses` object. Since this is a first-level object, the object will be merged in, but its own properties will not be. The body to send should be: +#### 📝 Description -```json -{ - "user_metadata": { - "addresses": { - "work_address": "100 Industrial Way", - "home_address": "742 Evergreen Terrace" - } - } -} -``` +
+
-The modified object ends up with the following `user_metadata` property: +
+
-```json -{ - "user_metadata": { - "profileCode": 1479, - "addresses": { - "work_address": "100 Industrial Way", - "home_address": "742 Evergreen Terrace" - } - } -} -``` +Retrieve default branding theme.
@@ -16820,9 +22703,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.update( - id="id", -) +client.branding.themes.get_default() ```
@@ -16838,151 +22719,72 @@ client.users.update(
-**id:** `str` — ID of the user to update. - -
-
- -
-
- -**blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false). - -
-
- -
-
- -**email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). If set to false the user will not receive a verification email unless `verify_email` is set to true. - -
-
- -
-
- -**email:** `typing.Optional[str]` — Email address of this user. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation). -
-
-
-**phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false). -
+
+
client.branding.themes.get(...) -> GetBrandingThemeResponseContent
-**user_metadata:** `typing.Optional[UserMetadata]` — User metadata to which this user has read/write access. - -
-
+#### 📝 Description
-**app_metadata:** `typing.Optional[AppMetadata]` — User metadata to which this user has read-only access. - -
-
-
-**given_name:** `typing.Optional[str]` — Given name/first name/forename of this user. - +Retrieve branding theme.
- -
-
- -**family_name:** `typing.Optional[str]` — Family name/last name/surname of this user. -
-
-
- -**name:** `typing.Optional[str]` — Name of this user. - -
-
+#### 🔌 Usage
-**nickname:** `typing.Optional[str]` — Preferred nickname or alias of this user. - -
-
-
-**picture:** `typing.Optional[str]` — URL to picture, photo, or avatar of this user. - -
-
- -
-
+```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment -**verify_email:** `typing.Optional[bool]` — Whether this user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter. - -
-
+client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) -
-
+client.branding.themes.get( + theme_id="themeId", +) -**verify_phone_number:** `typing.Optional[bool]` — Whether this user will receive a text after changing the phone number (true) or no text (false). Only valid when changing phone number for SMS connections. - +```
- -
-
- -**password:** `typing.Optional[str]` — New password for this user. Only valid for database connections. -
-
-
- -**connection:** `typing.Optional[str]` — Name of the connection to target for this user update. - -
-
+#### ⚙️ Parameters
-**client_id:** `typing.Optional[str]` — Auth0 client ID. Only valid when updating email address. - -
-
-
-**username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username. +**theme_id:** `str` — The ID of the theme
@@ -17002,7 +22804,7 @@ client.users.update(
-
client.users.regenerate_recovery_code(...) -> RegenerateUsersRecoveryCodeResponseContent +
client.branding.themes.delete(...)
@@ -17014,7 +22816,7 @@ client.users.update(
-Remove an existing multi-factor authentication (MFA) [recovery code](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa) and generate a new one. If a user cannot access the original device or account used for MFA enrollment, they can use a recovery code to authenticate. +Delete branding theme.
@@ -17037,8 +22839,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.regenerate_recovery_code( - id="id", +client.branding.themes.delete( + theme_id="themeId", ) ``` @@ -17055,7 +22857,7 @@ client.users.regenerate_recovery_code(
-**id:** `str` — ID of the user to regenerate a multi-factor authentication recovery code for. +**theme_id:** `str` — The ID of the theme
@@ -17075,7 +22877,7 @@ client.users.regenerate_recovery_code(
-
client.users.revoke_access(...) +
client.branding.themes.update(...) -> UpdateBrandingThemeResponseContent
@@ -17087,7 +22889,7 @@ client.users.regenerate_recovery_code(
-Revokes selected resources related to a user (sessions, refresh tokens, ...). +Update branding theme.
@@ -17102,7 +22904,7 @@ Revokes selected resources related to a user (sessions, refresh tokens, ...).
```python -from auth0.management import Auth0 +from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget from auth0.management.environment import Auth0Environment client = Auth0( @@ -17110,8 +22912,78 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.revoke_access( - id="id", +client.branding.themes.update( + theme_id="themeId", + borders=BrandingThemeBorders( + button_border_radius=1.1, + button_border_weight=1.1, + buttons_style="pill", + input_border_radius=1.1, + input_border_weight=1.1, + inputs_style="pill", + show_widget_shadow=True, + widget_border_weight=1.1, + widget_corner_radius=1.1, + ), + colors=BrandingThemeColors( + body_text="body_text", + error="error", + header="header", + icons="icons", + input_background="input_background", + input_border="input_border", + input_filled_text="input_filled_text", + input_labels_placeholders="input_labels_placeholders", + links_focused_components="links_focused_components", + primary_button="primary_button", + primary_button_label="primary_button_label", + secondary_button_border="secondary_button_border", + secondary_button_label="secondary_button_label", + success="success", + widget_background="widget_background", + widget_border="widget_border", + ), + fonts=BrandingThemeFonts( + body_text=BrandingThemeFontBodyText( + bold=True, + size=1.1, + ), + buttons_text=BrandingThemeFontButtonsText( + bold=True, + size=1.1, + ), + font_url="font_url", + input_labels=BrandingThemeFontInputLabels( + bold=True, + size=1.1, + ), + links=BrandingThemeFontLinks( + bold=True, + size=1.1, + ), + links_style="normal", + reference_text_size=1.1, + subtitle=BrandingThemeFontSubtitle( + bold=True, + size=1.1, + ), + title=BrandingThemeFontTitle( + bold=True, + size=1.1, + ), + ), + page_background=BrandingThemePageBackground( + background_color="background_color", + background_image_url="background_image_url", + page_layout="center", + ), + widget=BrandingThemeWidget( + header_text_alignment="center", + logo_height=1.1, + logo_position="center", + logo_url="logo_url", + social_buttons_layout="bottom", + ), ) ``` @@ -17128,7 +23000,7 @@ client.users.revoke_access(
-**id:** `str` — ID of the user. +**theme_id:** `str` — The ID of the theme
@@ -17136,7 +23008,7 @@ client.users.revoke_access(
-**session_id:** `typing.Optional[str]` — ID of the session to revoke. +**borders:** `BrandingThemeBorders`
@@ -17144,7 +23016,7 @@ client.users.revoke_access(
-**preserve_refresh_tokens:** `typing.Optional[bool]` — Whether to preserve the refresh tokens associated with the session. +**colors:** `BrandingThemeColors`
@@ -17152,75 +23024,23 @@ client.users.revoke_access(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**fonts:** `BrandingThemeFonts`
-
-
- - - -
- -## Actions Versions -
client.actions.versions.list(...) -> ListActionVersionsPaginatedResponseContent
-#### 📝 Description - -
-
- -
-
- -Retrieve all of an action's versions. An action version is created whenever an action is deployed. An action version is immutable, once created. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.actions.versions.list( - action_id="actionId", - page=1, - per_page=1, -) - -``` -
-
+**page_background:** `BrandingThemePageBackground` +
-#### ⚙️ Parameters - -
-
-
-**action_id:** `str` — The ID of the action. +**widget:** `BrandingThemeWidget`
@@ -17228,7 +23048,7 @@ client.actions.versions.list(
-**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. +**display_name:** `typing.Optional[str]` — Display Name
@@ -17236,7 +23056,7 @@ client.actions.versions.list(
-**per_page:** `typing.Optional[int]` — This field specify the maximum number of results to be returned by the server. 20 by default +**identifiers:** `typing.Optional[BrandingThemeIdentifiers]`
@@ -17256,7 +23076,8 @@ client.actions.versions.list(
-
client.actions.versions.get(...) -> GetActionVersionResponseContent +## Branding Phone Providers +
client.branding.phone.providers.list(...) -> ListBrandingPhoneProvidersResponseContent
@@ -17268,7 +23089,7 @@ client.actions.versions.list(
-Retrieve a specific version of an action. An action version is created whenever an action is deployed. An action version is immutable, once created. +Retrieve a list of [phone providers](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details set for a Tenant. A list of fields to include or exclude may also be specified.
@@ -17291,9 +23112,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.versions.get( - action_id="actionId", - id="id", +client.branding.phone.providers.list( + disabled=True, ) ``` @@ -17310,15 +23130,7 @@ client.actions.versions.get(
-**action_id:** `str` — The ID of the action. - -
-
- -
-
- -**id:** `str` — The ID of the action version. +**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
@@ -17338,7 +23150,7 @@ client.actions.versions.get(
-
client.actions.versions.deploy(...) -> DeployActionVersionResponseContent +
client.branding.phone.providers.create(...) -> CreateBrandingPhoneProviderResponseContent
@@ -17350,7 +23162,8 @@ client.actions.versions.get(
-Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately. +Create a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers). +The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
@@ -17365,7 +23178,7 @@ Performs the equivalent of a roll-back of an action to an earlier, specified ver
```python -from auth0.management import Auth0, DeployActionVersionRequestContent +from auth0.management import Auth0, TwilioProviderCredentials from auth0.management.environment import Auth0Environment client = Auth0( @@ -17373,10 +23186,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.versions.deploy( - action_id="actionId", - id="id", - request=DeployActionVersionRequestContent(), +client.branding.phone.providers.create( + name="twilio", + credentials=TwilioProviderCredentials( + auth_token="auth_token", + ), ) ``` @@ -17393,7 +23207,7 @@ client.actions.versions.deploy(
-**action_id:** `str` — The ID of an action. +**name:** `PhoneProviderNameEnum`
@@ -17401,7 +23215,7 @@ client.actions.versions.deploy(
-**id:** `str` — The ID of an action version. +**credentials:** `PhoneProviderCredentials`
@@ -17409,7 +23223,15 @@ client.actions.versions.deploy(
-**request:** `typing.Optional[DeployActionVersionRequestContent]` +**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). + +
+
+ +
+
+ +**configuration:** `typing.Optional[PhoneProviderConfiguration]`
@@ -17429,8 +23251,7 @@ client.actions.versions.deploy(
-## Actions Executions -
client.actions.executions.get(...) -> GetActionExecutionResponseContent +
client.branding.phone.providers.get(...) -> GetBrandingPhoneProviderResponseContent
@@ -17442,7 +23263,7 @@ client.actions.versions.deploy(
-Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs generated as part of that authentication flow. Executions will only be stored for 10 days after their creation. +Retrieve [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details. A list of fields to include or exclude may also be specified.
@@ -17465,7 +23286,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.executions.get( +client.branding.phone.providers.get( id="id", ) @@ -17483,7 +23304,7 @@ client.actions.executions.get(
-**id:** `str` — The ID of the execution to retrieve. +**id:** `str`
@@ -17503,8 +23324,7 @@ client.actions.executions.get(
-## Actions Modules -
client.actions.modules.list(...) -> GetActionModulesResponseContent +
client.branding.phone.providers.delete(...)
@@ -17516,7 +23336,7 @@ client.actions.executions.get(
-Retrieve a paginated list of all Actions Modules with optional filtering and totals. +Delete the configured phone provider.
@@ -17539,9 +23359,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.list( - page=1, - per_page=1, +client.branding.phone.providers.delete( + id="id", ) ``` @@ -17558,15 +23377,7 @@ client.actions.modules.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - -
-
- -
-
- -**per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent. +**id:** `str`
@@ -17586,7 +23397,7 @@ client.actions.modules.list(
-
client.actions.modules.create(...) -> CreateActionModuleResponseContent +
client.branding.phone.providers.update(...) -> UpdateBrandingPhoneProviderResponseContent
@@ -17598,7 +23409,8 @@ client.actions.modules.list(
-Create a new Actions Module for reusable code across actions. +Update a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers). +The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
@@ -17621,9 +23433,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.create( - name="name", - code="code", +client.branding.phone.providers.update( + id="id", ) ``` @@ -17640,15 +23451,7 @@ client.actions.modules.create(
-**name:** `str` — The name of the action module. - -
-
- -
-
- -**code:** `str` — The source code of the action module. +**id:** `str`
@@ -17656,7 +23459,7 @@ client.actions.modules.create(
-**secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module. +**name:** `typing.Optional[PhoneProviderNameEnum]`
@@ -17664,7 +23467,7 @@ client.actions.modules.create(
-**dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module. +**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
@@ -17672,7 +23475,7 @@ client.actions.modules.create(
-**api_version:** `typing.Optional[str]` — The API version of the module. +**credentials:** `typing.Optional[PhoneProviderCredentials]`
@@ -17680,7 +23483,7 @@ client.actions.modules.create(
-**publish:** `typing.Optional[bool]` — Whether to publish the module immediately after creation. +**configuration:** `typing.Optional[PhoneProviderConfiguration]`
@@ -17700,24 +23503,10 @@ client.actions.modules.create(
-
client.actions.modules.get(...) -> GetActionModuleResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.providers.test(...) -> CreatePhoneProviderSendTestResponseContent
-Retrieve details of a specific Actions Module by its unique identifier. -
-
-
-
- #### 🔌 Usage
@@ -17735,8 +23524,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.get( +client.branding.phone.providers.test( id="id", + to="to", ) ``` @@ -17753,7 +23543,7 @@ client.actions.modules.get(
-**id:** `str` — The ID of the action module to retrieve. +**id:** `str`
@@ -17761,36 +23551,39 @@ client.actions.modules.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**to:** `str` — The recipient phone number to receive a given notification.
-
-
- - - - -
-
client.actions.modules.delete(...)
-#### 📝 Description - -
-
+**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` + +
+
-Permanently delete an Actions Module. This will fail if the module is still in use by any actions. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +## Branding Phone Templates +
client.branding.phone.templates.list(...) -> ListPhoneTemplatesResponseContent +
+
+ #### 🔌 Usage
@@ -17808,8 +23601,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.delete( - id="id", +client.branding.phone.templates.list( + disabled=True, ) ``` @@ -17826,7 +23619,7 @@ client.actions.modules.delete(
-**id:** `str` — The ID of the Actions Module to delete. +**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
@@ -17846,24 +23639,10 @@ client.actions.modules.delete(
-
client.actions.modules.update(...) -> UpdateActionModuleResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.templates.create(...) -> CreatePhoneTemplateResponseContent
-Update properties of an existing Actions Module, such as code, dependencies, or secrets. -
-
-
-
- #### 🔌 Usage
@@ -17881,9 +23660,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.update( - id="id", -) +client.branding.phone.templates.create() ```
@@ -17899,15 +23676,7 @@ client.actions.modules.update(
-**id:** `str` — The ID of the action module to update. - -
-
- -
-
- -**code:** `typing.Optional[str]` — The source code of the action module. +**type:** `typing.Optional[PhoneTemplateNotificationTypeEnum]`
@@ -17915,7 +23684,7 @@ client.actions.modules.update(
-**secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module. +**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
@@ -17923,7 +23692,7 @@ client.actions.modules.update(
-**dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module. +**content:** `typing.Optional[PhoneTemplateContent]`
@@ -17943,24 +23712,10 @@ client.actions.modules.update(
-
client.actions.modules.list_actions(...) -> GetActionModuleActionsResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.templates.get(...) -> GetPhoneTemplateResponseContent
-Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module. -
-
-
-
- #### 🔌 Usage
@@ -17978,10 +23733,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.list_actions( +client.branding.phone.templates.get( id="id", - page=1, - per_page=1, ) ``` @@ -17998,23 +23751,7 @@ client.actions.modules.list_actions(
-**id:** `str` — The unique ID of the module. - -
-
- -
-
- -**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - -
-
- -
-
- -**per_page:** `typing.Optional[int]` — Number of results per page. +**id:** `str`
@@ -18034,24 +23771,10 @@ client.actions.modules.list_actions(
-
client.actions.modules.rollback(...) -> RollbackActionModuleResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.templates.delete(...)
-Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. -
-
-
-
- #### 🔌 Usage
@@ -18069,9 +23792,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.rollback( +client.branding.phone.templates.delete( id="id", - module_version_id="module_version_id", ) ``` @@ -18088,15 +23810,7 @@ client.actions.modules.rollback(
-**id:** `str` — The unique ID of the module to roll back. - -
-
- -
-
- -**module_version_id:** `str` — The unique ID of the module version to roll back to. +**id:** `str`
@@ -18116,25 +23830,10 @@ client.actions.modules.rollback(
-## Actions Triggers -
client.actions.triggers.list() -> ListActionTriggersResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.templates.update(...) -> UpdatePhoneTemplateResponseContent
-Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound. -
-
-
-
- #### 🔌 Usage
@@ -18152,7 +23851,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.triggers.list() +client.branding.phone.templates.update( + id="id", +) ```
@@ -18168,37 +23869,46 @@ client.actions.triggers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str`
- -
+
+
+**content:** `typing.Optional[PartialPhoneTemplateContent]` +
-
-## Actions Modules Versions -
client.actions.modules.versions.list(...) -> GetActionModuleVersionsResponseContent
-#### 📝 Description - -
-
+**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). + +
+
-List all published versions of a specific Actions Module. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +
client.branding.phone.templates.reset(...) -> ResetPhoneTemplateResponseContent +
+
+ #### 🔌 Usage
@@ -18216,10 +23926,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.versions.list( +client.branding.phone.templates.reset( id="id", - page=1, - per_page=1, + request={"key": "value"}, ) ``` @@ -18236,15 +23945,7 @@ client.actions.modules.versions.list(
-**id:** `str` — The unique ID of the module. - -
-
- -
-
- -**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. +**id:** `str`
@@ -18252,7 +23953,7 @@ client.actions.modules.versions.list(
-**per_page:** `typing.Optional[int]` — The maximum number of results to be returned by the server in a single response. 20 by default. +**request:** `ResetPhoneTemplateRequestContent`
@@ -18272,24 +23973,10 @@ client.actions.modules.versions.list(
-
client.actions.modules.versions.create(...) -> CreateActionModuleVersionResponseContent -
-
- -#### 📝 Description - -
-
- +
client.branding.phone.templates.test(...) -> CreatePhoneTemplateTestNotificationResponseContent
-Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development. -
-
-
-
- #### 🔌 Usage
@@ -18307,8 +23994,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.versions.create( +client.branding.phone.templates.test( id="id", + to="to", ) ``` @@ -18325,7 +24013,7 @@ client.actions.modules.versions.create(
-**id:** `str` — The ID of the action module to create a version for. +**id:** `str`
@@ -18333,36 +24021,39 @@ client.actions.modules.versions.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**to:** `str` — Destination of the testing phone notification
-
-
- - - - -
-
client.actions.modules.versions.get(...) -> GetActionModuleVersionResponseContent
-#### 📝 Description - -
-
+**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` — Medium to use to send the notification + +
+
-Retrieve the details of a specific, immutable version of an Actions Module. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +## ClientGrants Organizations +
client.client_grants.organizations.list(...) -> ListClientGrantOrganizationsPaginatedResponseContent +
+
+ #### 🔌 Usage
@@ -18380,9 +24071,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.modules.versions.get( +client.client_grants.organizations.list( id="id", - version_id="versionId", + include_totals=True, + from_="from", + take=1, ) ``` @@ -18399,7 +24092,7 @@ client.actions.modules.versions.get(
-**id:** `str` — The unique ID of the module. +**id:** `str` — ID of the client grant
@@ -18407,7 +24100,23 @@ client.actions.modules.versions.get(
-**version_id:** `str` — The unique ID of the module version to retrieve. +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -18427,8 +24136,8 @@ client.actions.modules.versions.get(
-## Actions Triggers Bindings -
client.actions.triggers.bindings.list(...) -> ListActionBindingsPaginatedResponseContent +## Clients Credentials +
client.clients.credentials.list(...) -> typing.List[ClientCredential]
@@ -18440,7 +24149,9 @@ client.actions.modules.versions.get(
-Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow. +Get the details of a client credential. + +**Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
@@ -18463,10 +24174,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.triggers.bindings.list( - trigger_id="post-login", - page=1, - per_page=1, +client.clients.credentials.list( + client_id="client_id", ) ``` @@ -18483,23 +24192,7 @@ client.actions.triggers.bindings.list(
-**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point. - -
-
- -
-
- -**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. - -
-
- -
-
- -**per_page:** `typing.Optional[int]` — The maximum number of results to be returned in a single request. 20 by default +**client_id:** `str` — ID of the client.
@@ -18519,7 +24212,7 @@ client.actions.triggers.bindings.list(
-
client.actions.triggers.bindings.update_many(...) -> UpdateActionBindingsResponseContent +
client.clients.credentials.create(...) -> PostClientCredentialResponseContent
@@ -18531,7 +24224,63 @@ client.actions.triggers.bindings.list(
-Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed. +Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests. + +**Public Key** + +Public Key credentials can be used to set up Private Key JWT client authentication and JWT-secured Authorization requests. + +Sample: + +```json +{ + "credential_type": "public_key", + "name": "string", + "pem": "string", + "alg": "RS256", + "parse_expiry_from_cert": false, + "expires_at": "2022-12-31T23:59:59Z" +} +``` + +**Certificate (CA-signed & self-signed)** + +Certificate credentials can be used to set up mTLS client authentication. CA-signed certificates can be configured either with a signed certificate or with just the certificate Subject DN. + +CA-signed Certificate Sample (pem): + +```json +{ + "credential_type": "x509_cert", + "name": "string", + "pem": "string" +} +``` + +CA-signed Certificate Sample (subject_dn): + +```json +{ + "credential_type": "cert_subject_dn", + "name": "string", + "subject_dn": "string" +} +``` + +Self-signed Certificate Sample: + +```json +{ + "credential_type": "cert_subject_dn", + "name": "string", + "pem": "string" +} +``` + +The credential will be created but not yet enabled for use until you set the corresponding properties in the client: + +- To enable the credential for Private Key JWT or mTLS authentication methods, set the `client_authentication_methods` property on the client. For more information, read [Configure Private Key JWT Authentication](https://auth0.com/docs/get-started/applications/configure-private-key-jwt) and [Configure mTLS Authentication](https://auth0.com/docs/get-started/applications/configure-mtls) +- To enable the credential for JWT-secured Authorization requests, set the `signed_request_object`property on the client. For more information, read [Configure JWT-secured Authorization Requests (JAR)](https://auth0.com/docs/get-started/applications/configure-jar)
@@ -18554,8 +24303,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.actions.triggers.bindings.update_many( - trigger_id="post-login", +client.clients.credentials.create( + client_id="client_id", + credential_type="public_key", ) ``` @@ -18572,7 +24322,7 @@ client.actions.triggers.bindings.update_many(
-**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point. +**client_id:** `str` — ID of the client.
@@ -18580,7 +24330,7 @@ client.actions.triggers.bindings.update_many(
-**bindings:** `typing.Optional[typing.List[ActionBindingWithRef]]` — The actions that will be bound to this trigger. The order in which they are included will be the order in which they are executed. +**credential_type:** `ClientCredentialTypeEnum`
@@ -18588,73 +24338,55 @@ client.actions.triggers.bindings.update_many(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**name:** `typing.Optional[str]` — Friendly name for a credential.
- -
+
+
+**subject_dn:** `typing.Optional[str]` — Subject Distinguished Name. Mutually exclusive with `pem` property. Applies to `cert_subject_dn` credential type. +
-
-## Anomaly Blocks -
client.anomaly.blocks.check_ip(...)
-#### 📝 Description - -
-
+**pem:** `typing.Optional[str]` — PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped. + +
+
-Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts. -
-
+**alg:** `typing.Optional[PublicKeyCredentialAlgorithmEnum]` +
-#### 🔌 Usage -
-
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.anomaly.blocks.check_ip( - id="id", -) - -``` -
-
+**parse_expiry_from_cert:** `typing.Optional[bool]` — Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. Applies to `public_key` credential type. +
-#### ⚙️ Parameters -
+**expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to `public_key` credential type. + +
+
+
-**id:** `AnomalyIpFormat` — IP address to check. +**kid:** `typing.Optional[str]` — Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}
@@ -18674,7 +24406,7 @@ client.anomaly.blocks.check_ip(
-
client.anomaly.blocks.unblock_ip(...) +
client.clients.credentials.get(...) -> GetClientCredentialResponseContent
@@ -18686,7 +24418,9 @@ client.anomaly.blocks.check_ip(
-Remove a block imposed by Suspicious IP Throttling for the given IP address. +Get the details of a client credential. + +**Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
@@ -18709,8 +24443,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.anomaly.blocks.unblock_ip( - id="id", +client.clients.credentials.get( + client_id="client_id", + credential_id="credential_id", ) ``` @@ -18727,7 +24462,15 @@ client.anomaly.blocks.unblock_ip(
-**id:** `AnomalyIpFormat` — IP address to unblock. +**client_id:** `str` — ID of the client. + +
+
+ +
+
+ +**credential_id:** `str` — ID of the credential.
@@ -18747,8 +24490,7 @@ client.anomaly.blocks.unblock_ip(
-## AttackProtection BotDetection -
client.attack_protection.bot_detection.get() -> GetBotDetectionSettingsResponseContent +
client.clients.credentials.delete(...)
@@ -18760,7 +24502,7 @@ client.anomaly.blocks.unblock_ip(
-Get the Bot Detection configuration of your tenant. +Delete a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
@@ -18783,7 +24525,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.bot_detection.get() +client.clients.credentials.delete( + client_id="client_id", + credential_id="credential_id", +) ``` @@ -18799,6 +24544,22 @@ client.attack_protection.bot_detection.get()
+**client_id:** `str` — ID of the client. + +
+
+ +
+
+ +**credential_id:** `str` — ID of the credential to delete. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -18811,7 +24572,7 @@ client.attack_protection.bot_detection.get()
-
client.attack_protection.bot_detection.update(...) -> UpdateBotDetectionSettingsResponseContent +
client.clients.credentials.update(...) -> PatchClientCredentialResponseContent
@@ -18823,7 +24584,7 @@ client.attack_protection.bot_detection.get()
-Update the Bot Detection configuration of your tenant. +Change a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
@@ -18846,7 +24607,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.bot_detection.update() +client.clients.credentials.update( + client_id="client_id", + credential_id="credential_id", +) ``` @@ -18862,31 +24626,7 @@ client.attack_protection.bot_detection.update()
-**bot_detection_level:** `typing.Optional[BotDetectionLevelEnum]` - -
-
- -
-
- -**challenge_password_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordFlowEnum]` - -
-
- -
-
- -**challenge_passwordless_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordlessFlowEnum]` - -
-
- -
-
- -**challenge_password_reset_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordResetFlowEnum]` +**client_id:** `str` — ID of the client.
@@ -18894,7 +24634,7 @@ client.attack_protection.bot_detection.update()
-**allowlist:** `typing.Optional[BotDetectionAllowlist]` +**credential_id:** `str` — ID of the credential.
@@ -18902,7 +24642,7 @@ client.attack_protection.bot_detection.update()
-**monitoring_mode_enabled:** `typing.Optional[BotDetectionMonitoringModeEnabled]` +**expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential.
@@ -18922,8 +24662,8 @@ client.attack_protection.bot_detection.update()
-## AttackProtection BreachedPasswordDetection -
client.attack_protection.breached_password_detection.get() -> GetBreachedPasswordDetectionSettingsResponseContent +## Clients Connections +
client.clients.connections.get(...) -> ListClientConnectionsResponseContent
@@ -18935,7 +24675,10 @@ client.attack_protection.bot_detection.update()
-Retrieve details of the Breached Password Detection configuration of your tenant. +Retrieve all connections that are enabled for the specified [Application](https://www.auth0.com/docs/get-started/applications), using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified. + +- This endpoint requires the `read:connections` scope and any one of `read:clients` or `read:client_summary`. +- **Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining.
@@ -18958,7 +24701,16 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.breached_password_detection.get() +client.clients.connections.get( + id="id", + strategy=[ + "ad" + ], + from_="from", + take=1, + fields="fields", + include_fields=True, +) ``` @@ -18974,6 +24726,54 @@ client.attack_protection.breached_password_detection.get()
+**id:** `str` — ID of the client for which to retrieve enabled connections. + +
+
+ +
+
+ +**strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -18986,7 +24786,8 @@ client.attack_protection.breached_password_detection.get()
-
client.attack_protection.breached_password_detection.update(...) -> UpdateBreachedPasswordDetectionSettingsResponseContent +## Connections DirectoryProvisioning +
client.connections.directory_provisioning.list(...) -> ListDirectoryProvisioningsResponseContent
@@ -18998,7 +24799,7 @@ client.attack_protection.breached_password_detection.get()
-Update details of the Breached Password Detection configuration of your tenant. +Retrieve a list of directory provisioning configurations of a tenant.
@@ -19021,7 +24822,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.breached_password_detection.update() +client.connections.directory_provisioning.list( + from_="from", + take=1, +) ``` @@ -19037,37 +24841,7 @@ client.attack_protection.breached_password_detection.update()
-**enabled:** `typing.Optional[bool]` — Whether or not breached password detection is active. - -
-
- -
-
- -**shields:** `typing.Optional[typing.List[BreachedPasswordDetectionShieldsEnum]]` - -Action to take when a breached password is detected during a login. - Possible values: block, user_notification, admin_notification. - -
-
- -
-
- -**admin_notification_frequency:** `typing.Optional[typing.List[BreachedPasswordDetectionAdminNotificationFrequencyEnum]]` - -When "admin_notification" is enabled, determines how often email notifications are sent. - Possible values: immediately, daily, weekly, monthly. - -
-
- -
-
- -**method:** `typing.Optional[BreachedPasswordDetectionMethodEnum]` +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -19075,7 +24849,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-**stage:** `typing.Optional[BreachedPasswordDetectionStage]` +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -19095,8 +24869,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-## AttackProtection BruteForceProtection -
client.attack_protection.brute_force_protection.get() -> GetBruteForceSettingsResponseContent +
client.connections.directory_provisioning.get(...) -> GetDirectoryProvisioningResponseContent
@@ -19108,7 +24881,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-Retrieve details of the Brute-force Protection configuration of your tenant. +Retrieve the directory provisioning configuration of a connection.
@@ -19131,7 +24904,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.brute_force_protection.get() +client.connections.directory_provisioning.get( + id="id", +) ``` @@ -19147,6 +24922,14 @@ client.attack_protection.brute_force_protection.get()
+**id:** `str` — The id of the connection to retrieve its directory provisioning configuration + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19159,7 +24942,7 @@ client.attack_protection.brute_force_protection.get()
-
client.attack_protection.brute_force_protection.update(...) -> UpdateBruteForceSettingsResponseContent +
client.connections.directory_provisioning.create(...) -> CreateDirectoryProvisioningResponseContent
@@ -19171,7 +24954,7 @@ client.attack_protection.brute_force_protection.get()
-Update the Brute-force Protection configuration of your tenant. +Create a directory provisioning configuration for a connection.
@@ -19186,7 +24969,7 @@ Update the Brute-force Protection configuration of your tenant.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, CreateDirectoryProvisioningRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -19194,7 +24977,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.brute_force_protection.update() +client.connections.directory_provisioning.create( + id="id", + request=CreateDirectoryProvisioningRequestContent(), +) ```
@@ -19210,34 +24996,7 @@ client.attack_protection.brute_force_protection.update()
-**enabled:** `typing.Optional[bool]` — Whether or not brute force attack protections are active. - -
-
- -
-
- -**shields:** `typing.Optional[typing.List[BruteForceProtectionShieldsEnum]]` - -Action to take when a brute force protection threshold is violated. - Possible values: block, user_notification. - -
-
- -
-
- -**allowlist:** `typing.Optional[typing.List[str]]` — List of trusted IP addresses that will not have attack protection enforced against them. - -
-
- -
-
- -**mode:** `typing.Optional[BruteForceProtectionModeEnum]` +**id:** `str` — The id of the connection to create its directory provisioning configuration
@@ -19245,7 +25004,7 @@ Action to take when a brute force protection threshold is violated.
-**max_attempts:** `typing.Optional[int]` — Maximum number of unsuccessful attempts. +**request:** `typing.Optional[CreateDirectoryProvisioningRequestContent]`
@@ -19265,8 +25024,7 @@ Action to take when a brute force protection threshold is violated.
-## AttackProtection Captcha -
client.attack_protection.captcha.get() -> GetAttackProtectionCaptchaResponseContent +
client.connections.directory_provisioning.delete(...)
@@ -19278,7 +25036,7 @@ Action to take when a brute force protection threshold is violated.
-Get the CAPTCHA configuration for your client. +Delete the directory provisioning configuration of a connection.
@@ -19301,7 +25059,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.captcha.get() +client.connections.directory_provisioning.delete( + id="id", +) ``` @@ -19317,6 +25077,14 @@ client.attack_protection.captcha.get()
+**id:** `str` — The id of the connection to delete its directory provisioning configuration + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19329,7 +25097,7 @@ client.attack_protection.captcha.get()
-
client.attack_protection.captcha.update(...) -> UpdateAttackProtectionCaptchaResponseContent +
client.connections.directory_provisioning.update(...) -> UpdateDirectoryProvisioningResponseContent
@@ -19341,7 +25109,7 @@ client.attack_protection.captcha.get()
-Update existing CAPTCHA configuration for your client. +Update the directory provisioning configuration of a connection.
@@ -19356,7 +25124,7 @@ Update existing CAPTCHA configuration for your client.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, UpdateDirectoryProvisioningRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -19364,7 +25132,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.captcha.update() +client.connections.directory_provisioning.update( + id="id", + request=UpdateDirectoryProvisioningRequestContent(), +) ```
@@ -19380,55 +25151,7 @@ client.attack_protection.captcha.update()
-**active_provider_id:** `typing.Optional[AttackProtectionCaptchaProviderId]` - -
-
- -
-
- -**arkose:** `typing.Optional[AttackProtectionUpdateCaptchaArkose]` - -
-
- -
-
- -**auth_challenge:** `typing.Optional[AttackProtectionCaptchaAuthChallengeRequest]` - -
-
- -
-
- -**hcaptcha:** `typing.Optional[AttackProtectionUpdateCaptchaHcaptcha]` - -
-
- -
-
- -**friendly_captcha:** `typing.Optional[AttackProtectionUpdateCaptchaFriendlyCaptcha]` - -
-
- -
-
- -**recaptcha_enterprise:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaEnterprise]` - -
-
- -
-
- -**recaptcha_v_2:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaV2]` +**id:** `str` — The id of the connection to create its directory provisioning configuration
@@ -19436,7 +25159,7 @@ client.attack_protection.captcha.update()
-**simple_captcha:** `typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent]` +**request:** `typing.Optional[UpdateDirectoryProvisioningRequestContent]`
@@ -19456,8 +25179,7 @@ client.attack_protection.captcha.update()
-## AttackProtection PhoneProviderProtection -
client.attack_protection.phone_provider_protection.get() -> GetPhoneProviderProtectionResponseContent +
client.connections.directory_provisioning.get_default_mapping(...) -> GetDirectoryProvisioningDefaultMappingResponseContent
@@ -19469,7 +25191,7 @@ client.attack_protection.captcha.update()
-Get the phone provider protection configuration for a tenant. +Retrieve the directory provisioning default attribute mapping of a connection.
@@ -19492,7 +25214,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.phone_provider_protection.get() +client.connections.directory_provisioning.get_default_mapping( + id="id", +) ``` @@ -19508,6 +25232,14 @@ client.attack_protection.phone_provider_protection.get()
+**id:** `str` — The id of the connection to retrieve its directory provisioning configuration + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19520,7 +25252,7 @@ client.attack_protection.phone_provider_protection.get()
-
client.attack_protection.phone_provider_protection.patch(...) -> PatchPhoneProviderProtectionResponseContent +
client.connections.directory_provisioning.list_synchronized_groups(...) -> ListSynchronizedGroupsResponseContent
@@ -19532,7 +25264,7 @@ client.attack_protection.phone_provider_protection.get()
-Update the phone provider protection configuration for a tenant. +Retrieve the configured synchronized groups for a connection directory provisioning configuration.
@@ -19555,8 +25287,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.phone_provider_protection.patch( - type="exponential", +client.connections.directory_provisioning.list_synchronized_groups( + id="id", + from_="from", + take=1, + q="q", ) ``` @@ -19573,7 +25308,31 @@ client.attack_protection.phone_provider_protection.patch(
-**type:** `PhoneProviderProtectionBackoffStrategyEnum` +**id:** `str` — The id of the connection to list synchronized groups for. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**q:** `typing.Optional[str]` — Query in Lucene query string syntax. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*".
@@ -19593,8 +25352,7 @@ client.attack_protection.phone_provider_protection.patch(
-## AttackProtection SuspiciousIpThrottling -
client.attack_protection.suspicious_ip_throttling.get() -> GetSuspiciousIpThrottlingSettingsResponseContent +
client.connections.directory_provisioning.add_synchronized_group_selections(...)
@@ -19606,7 +25364,7 @@ client.attack_protection.phone_provider_protection.patch(
-Retrieve details of the Suspicious IP Throttling configuration of your tenant. +Add synchronized group selections to a directory provisioning configuration.
@@ -19621,7 +25379,7 @@ Retrieve details of the Suspicious IP Throttling configuration of your tenant.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, SynchronizedGroupPayload from auth0.management.environment import Auth0Environment client = Auth0( @@ -19629,7 +25387,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.suspicious_ip_throttling.get() +client.connections.directory_provisioning.add_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupPayload( + id="id", + ) + ], +) ```
@@ -19645,6 +25410,22 @@ client.attack_protection.suspicious_ip_throttling.get()
+**id:** `str` — The id of the connection to add synchronized groups to + +
+
+ +
+
+ +**groups:** `typing.List[SynchronizedGroupPayload]` — Array of Google Workspace Directory group objects to synchronize. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19657,7 +25438,7 @@ client.attack_protection.suspicious_ip_throttling.get()
-
client.attack_protection.suspicious_ip_throttling.update(...) -> UpdateSuspiciousIpThrottlingSettingsResponseContent +
client.connections.directory_provisioning.set(...)
@@ -19669,7 +25450,7 @@ client.attack_protection.suspicious_ip_throttling.get()
-Update the details of the Suspicious IP Throttling configuration of your tenant. +Create or replace the selected groups for a connection directory provisioning configuration.
@@ -19684,7 +25465,7 @@ Update the details of the Suspicious IP Throttling configuration of your tenant.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, SynchronizedGroupPayload from auth0.management.environment import Auth0Environment client = Auth0( @@ -19692,7 +25473,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.attack_protection.suspicious_ip_throttling.update() +client.connections.directory_provisioning.set( + id="id", + groups=[ + SynchronizedGroupPayload( + id="id", + ) + ], +) ```
@@ -19708,7 +25496,7 @@ client.attack_protection.suspicious_ip_throttling.update()
-**enabled:** `typing.Optional[bool]` — Whether or not suspicious IP throttling attack protections are active. +**id:** `str` — The id of the connection to create or replace synchronized groups for
@@ -19716,10 +25504,7 @@ client.attack_protection.suspicious_ip_throttling.update()
-**shields:** `typing.Optional[typing.List[SuspiciousIpThrottlingShieldsEnum]]` - -Action to take when a suspicious IP throttling threshold is violated. - Possible values: block, admin_notification. +**groups:** `typing.List[SynchronizedGroupPayload]` — Array of Google Workspace Directory group objects to synchronize.
@@ -19727,39 +25512,36 @@ Action to take when a suspicious IP throttling threshold is violated.
-**allowlist:** `typing.Optional[SuspiciousIpThrottlingAllowlist]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**stage:** `typing.Optional[SuspiciousIpThrottlingStage]` -
+
+
client.connections.directory_provisioning.delete_synchronized_group_selections(...)
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-## Branding Templates -
client.branding.templates.get_universal_login() -> GetUniversalLoginTemplateResponseContent
+Delete synchronized group selections for a directory provisioning configuration +
+
+
+
+ #### 🔌 Usage
@@ -19769,7 +25551,7 @@ Action to take when a suspicious IP throttling threshold is violated.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, SynchronizedGroupSelectionId from auth0.management.environment import Auth0Environment client = Auth0( @@ -19777,7 +25559,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.templates.get_universal_login() +client.connections.directory_provisioning.delete_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupSelectionId( + id="id", + ) + ], +) ```
@@ -19793,6 +25582,22 @@ client.branding.templates.get_universal_login()
+**id:** `str` — The id of the connection to delete synchronized group selections for + +
+
+ +
+
+ +**groups:** `typing.List[SynchronizedGroupSelectionId]` — Array of groups to remove from the selection set. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19805,7 +25610,8 @@ client.branding.templates.get_universal_login()
-
client.branding.templates.update_universal_login(...) +## Connections ScimConfiguration +
client.connections.scim_configuration.list(...) -> ListScimConfigurationsResponseContent
@@ -19817,30 +25623,7 @@ client.branding.templates.get_universal_login()
-Update the Universal Login branding template. - -When `content-type` header is set to `application/json`: - -```json -{ - "template": "{% assign resolved_dir = dir | default: \"auto\" %}{%- auth0:head -%}{%- auth0:widget -%}" -} -``` - -When `content-type` header is set to `text/html`: - -```html - -{% assign resolved_dir = dir | default: "auto" %} - - - {%- auth0:head -%} - - - {%- auth0:widget -%} - - -``` +Retrieve a list of SCIM configurations of a tenant.
@@ -19863,8 +25646,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.templates.update_universal_login( - request="string", +client.connections.scim_configuration.list( + from_="from", + take=1, ) ``` @@ -19881,7 +25665,15 @@ client.branding.templates.update_universal_login(
-**request:** `UpdateUniversalLoginTemplateRequestContent` +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -19901,10 +25693,24 @@ client.branding.templates.update_universal_login(
-
client.branding.templates.delete_universal_login() +
client.connections.scim_configuration.get(...) -> GetScimConfigurationResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Retrieves a scim configuration by its `connectionId`. +
+
+
+
+ #### 🔌 Usage
@@ -19922,7 +25728,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.templates.delete_universal_login() +client.connections.scim_configuration.get( + id="id", +) ```
@@ -19938,6 +25746,14 @@ client.branding.templates.delete_universal_login()
+**id:** `str` — The id of the connection to retrieve its SCIM configuration + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19950,8 +25766,7 @@ client.branding.templates.delete_universal_login()
-## Branding Themes -
client.branding.themes.create(...) -> CreateBrandingThemeResponseContent +
client.connections.scim_configuration.create(...) -> CreateScimConfigurationResponseContent
@@ -19963,7 +25778,7 @@ client.branding.templates.delete_universal_login()
-Create branding theme. +Create a scim configuration for a connection.
@@ -19978,7 +25793,7 @@ Create branding theme.
```python -from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget +from auth0.management import Auth0, CreateScimConfigurationRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -19986,77 +25801,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.themes.create( - borders=BrandingThemeBorders( - button_border_radius=1.1, - button_border_weight=1.1, - buttons_style="pill", - input_border_radius=1.1, - input_border_weight=1.1, - inputs_style="pill", - show_widget_shadow=True, - widget_border_weight=1.1, - widget_corner_radius=1.1, - ), - colors=BrandingThemeColors( - body_text="body_text", - error="error", - header="header", - icons="icons", - input_background="input_background", - input_border="input_border", - input_filled_text="input_filled_text", - input_labels_placeholders="input_labels_placeholders", - links_focused_components="links_focused_components", - primary_button="primary_button", - primary_button_label="primary_button_label", - secondary_button_border="secondary_button_border", - secondary_button_label="secondary_button_label", - success="success", - widget_background="widget_background", - widget_border="widget_border", - ), - fonts=BrandingThemeFonts( - body_text=BrandingThemeFontBodyText( - bold=True, - size=1.1, - ), - buttons_text=BrandingThemeFontButtonsText( - bold=True, - size=1.1, - ), - font_url="font_url", - input_labels=BrandingThemeFontInputLabels( - bold=True, - size=1.1, - ), - links=BrandingThemeFontLinks( - bold=True, - size=1.1, - ), - links_style="normal", - reference_text_size=1.1, - subtitle=BrandingThemeFontSubtitle( - bold=True, - size=1.1, - ), - title=BrandingThemeFontTitle( - bold=True, - size=1.1, - ), - ), - page_background=BrandingThemePageBackground( - background_color="background_color", - background_image_url="background_image_url", - page_layout="center", - ), - widget=BrandingThemeWidget( - header_text_alignment="center", - logo_height=1.1, - logo_position="center", - logo_url="logo_url", - social_buttons_layout="bottom", - ), +client.connections.scim_configuration.create( + id="id", + request=CreateScimConfigurationRequestContent(), ) ``` @@ -20073,39 +25820,7 @@ client.branding.themes.create(
-**borders:** `BrandingThemeBorders` - -
-
- -
-
- -**colors:** `BrandingThemeColors` - -
-
- -
-
- -**fonts:** `BrandingThemeFonts` - -
-
- -
-
- -**page_background:** `BrandingThemePageBackground` - -
-
- -
-
- -**widget:** `BrandingThemeWidget` +**id:** `str` — The id of the connection to create its SCIM configuration
@@ -20113,7 +25828,7 @@ client.branding.themes.create(
-**display_name:** `typing.Optional[str]` — Display Name +**request:** `typing.Optional[CreateScimConfigurationRequestContent]`
@@ -20133,7 +25848,7 @@ client.branding.themes.create(
-
client.branding.themes.get_default() -> GetBrandingDefaultThemeResponseContent +
client.connections.scim_configuration.delete(...)
@@ -20145,7 +25860,7 @@ client.branding.themes.create(
-Retrieve default branding theme. +Deletes a scim configuration by its `connectionId`.
@@ -20168,7 +25883,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.themes.get_default() +client.connections.scim_configuration.delete( + id="id", +) ``` @@ -20184,6 +25901,14 @@ client.branding.themes.get_default()
+**id:** `str` — The id of the connection to delete its SCIM configuration + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -20196,7 +25921,7 @@ client.branding.themes.get_default()
-
client.branding.themes.get(...) -> GetBrandingThemeResponseContent +
client.connections.scim_configuration.update(...) -> UpdateScimConfigurationResponseContent
@@ -20208,7 +25933,7 @@ client.branding.themes.get_default()
-Retrieve branding theme. +Update a scim configuration by its `connectionId`.
@@ -20223,7 +25948,7 @@ Retrieve branding theme.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, ScimMappingItem from auth0.management.environment import Auth0Environment client = Auth0( @@ -20231,8 +25956,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.themes.get( - theme_id="themeId", +client.connections.scim_configuration.update( + id="id", + user_id_attribute="user_id_attribute", + mapping=[ + ScimMappingItem() + ], ) ``` @@ -20249,7 +25978,23 @@ client.branding.themes.get(
-**theme_id:** `str` — The ID of the theme +**id:** `str` — The id of the connection to update its SCIM configuration + +
+
+ +
+
+ +**user_id_attribute:** `str` — User ID attribute for generating unique user ids + +
+
+ +
+
+ +**mapping:** `typing.List[ScimMappingItem]` — The mapping between auth0 and SCIM
@@ -20269,7 +26014,7 @@ client.branding.themes.get(
-
client.branding.themes.delete(...) +
client.connections.scim_configuration.get_default_mapping(...) -> GetScimConfigurationDefaultMappingResponseContent
@@ -20281,7 +26026,7 @@ client.branding.themes.get(
-Delete branding theme. +Retrieves a scim configuration's default mapping by its `connectionId`.
@@ -20304,8 +26049,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.themes.delete( - theme_id="themeId", +client.connections.scim_configuration.get_default_mapping( + id="id", ) ``` @@ -20322,7 +26067,7 @@ client.branding.themes.delete(
-**theme_id:** `str` — The ID of the theme +**id:** `str` — The id of the connection to retrieve its default SCIM mapping
@@ -20342,7 +26087,8 @@ client.branding.themes.delete(
-
client.branding.themes.update(...) -> UpdateBrandingThemeResponseContent +## Connections Clients +
client.connections.clients.get(...) -> GetConnectionEnabledClientsResponseContent
@@ -20354,7 +26100,9 @@ client.branding.themes.delete(
-Update branding theme. +Retrieve all clients that have the specified [connection](https://auth0.com/docs/authenticate/identity-providers) enabled. + +**Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining.
@@ -20369,7 +26117,7 @@ Update branding theme.
```python -from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -20377,78 +26125,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.themes.update( - theme_id="themeId", - borders=BrandingThemeBorders( - button_border_radius=1.1, - button_border_weight=1.1, - buttons_style="pill", - input_border_radius=1.1, - input_border_weight=1.1, - inputs_style="pill", - show_widget_shadow=True, - widget_border_weight=1.1, - widget_corner_radius=1.1, - ), - colors=BrandingThemeColors( - body_text="body_text", - error="error", - header="header", - icons="icons", - input_background="input_background", - input_border="input_border", - input_filled_text="input_filled_text", - input_labels_placeholders="input_labels_placeholders", - links_focused_components="links_focused_components", - primary_button="primary_button", - primary_button_label="primary_button_label", - secondary_button_border="secondary_button_border", - secondary_button_label="secondary_button_label", - success="success", - widget_background="widget_background", - widget_border="widget_border", - ), - fonts=BrandingThemeFonts( - body_text=BrandingThemeFontBodyText( - bold=True, - size=1.1, - ), - buttons_text=BrandingThemeFontButtonsText( - bold=True, - size=1.1, - ), - font_url="font_url", - input_labels=BrandingThemeFontInputLabels( - bold=True, - size=1.1, - ), - links=BrandingThemeFontLinks( - bold=True, - size=1.1, - ), - links_style="normal", - reference_text_size=1.1, - subtitle=BrandingThemeFontSubtitle( - bold=True, - size=1.1, - ), - title=BrandingThemeFontTitle( - bold=True, - size=1.1, - ), - ), - page_background=BrandingThemePageBackground( - background_color="background_color", - background_image_url="background_image_url", - page_layout="center", - ), - widget=BrandingThemeWidget( - header_text_alignment="center", - logo_height=1.1, - logo_position="center", - logo_url="logo_url", - social_buttons_layout="bottom", - ), +client.connections.clients.get( + id="id", + take=1, + from_="from", ) ``` @@ -20465,39 +26145,7 @@ client.branding.themes.update(
-**theme_id:** `str` — The ID of the theme - -
-
- -
-
- -**borders:** `BrandingThemeBorders` - -
-
- -
-
- -**colors:** `BrandingThemeColors` - -
-
- -
-
- -**fonts:** `BrandingThemeFonts` - -
-
- -
-
- -**page_background:** `BrandingThemePageBackground` +**id:** `str` — The id of the connection for which enabled clients are to be retrieved
@@ -20505,7 +26153,7 @@ client.branding.themes.update(
-**widget:** `BrandingThemeWidget` +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -20513,7 +26161,7 @@ client.branding.themes.update(
-**display_name:** `typing.Optional[str]` — Display Name +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -20533,25 +26181,10 @@ client.branding.themes.update(
-## Branding Phone Providers -
client.branding.phone.providers.list(...) -> ListBrandingPhoneProvidersResponseContent -
-
- -#### 📝 Description - -
-
- +
client.connections.clients.update(...)
-Retrieve a list of [phone providers](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details set for a Tenant. A list of fields to include or exclude may also be specified. -
-
-
-
- #### 🔌 Usage
@@ -20561,7 +26194,7 @@ Retrieve a list of [phone providers](https://auth0.com/docs/customize/phone-mess
```python -from auth0.management import Auth0 +from auth0.management import Auth0, UpdateEnabledClientConnectionsRequestContentItem from auth0.management.environment import Auth0Environment client = Auth0( @@ -20569,8 +26202,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.list( - disabled=True, +client.connections.clients.update( + id="id", + request=[ + UpdateEnabledClientConnectionsRequestContentItem( + client_id="client_id", + status=True, + ) + ], ) ``` @@ -20587,7 +26226,15 @@ client.branding.phone.providers.list(
-**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). +**id:** `str` — The id of the connection to modify + +
+
+ +
+
+ +**request:** `UpdateEnabledClientConnectionsRequestContent`
@@ -20607,7 +26254,8 @@ client.branding.phone.providers.list(
-
client.branding.phone.providers.create(...) -> CreateBrandingPhoneProviderResponseContent +## Connections Keys +
client.connections.keys.get(...) -> typing.List[ConnectionKey]
@@ -20619,8 +26267,7 @@ client.branding.phone.providers.list(
-Create a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers). -The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property). +Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections.
@@ -20635,7 +26282,7 @@ The `credentials` object requires different properties depending on the phone pr
```python -from auth0.management import Auth0, TwilioProviderCredentials +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -20643,11 +26290,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.create( - name="twilio", - credentials=TwilioProviderCredentials( - auth_token="auth_token", - ), +client.connections.keys.get( + id="id", ) ``` @@ -20664,31 +26308,7 @@ client.branding.phone.providers.create(
-**name:** `PhoneProviderNameEnum` - -
-
- -
-
- -**credentials:** `PhoneProviderCredentials` - -
-
- -
-
- -**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). - -
-
- -
-
- -**configuration:** `typing.Optional[PhoneProviderConfiguration]` +**id:** `str` — ID of the connection
@@ -20708,7 +26328,7 @@ client.branding.phone.providers.create(
-
client.branding.phone.providers.get(...) -> GetBrandingPhoneProviderResponseContent +
client.connections.keys.create(...) -> PostConnectionsKeysResponseContent
@@ -20720,7 +26340,9 @@ client.branding.phone.providers.create(
-Retrieve [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details. A list of fields to include or exclude may also be specified. +Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions. + +Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys.
@@ -20735,7 +26357,7 @@ Retrieve [phone provider](https://auth0.com/docs/customize/phone-messages/config
```python -from auth0.management import Auth0 +from auth0.management import Auth0, PostConnectionKeysRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -20743,8 +26365,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.get( +client.connections.keys.create( id="id", + request=PostConnectionKeysRequestContent(), ) ``` @@ -20761,7 +26384,15 @@ client.branding.phone.providers.get(
-**id:** `str` +**id:** `str` — ID of the connection + +
+
+ +
+
+ +**request:** `typing.Optional[PostConnectionKeysRequestContent]`
@@ -20781,7 +26412,7 @@ client.branding.phone.providers.get(
-
client.branding.phone.providers.delete(...) +
client.connections.keys.rotate(...) -> RotateConnectionsKeysResponseContent
@@ -20793,7 +26424,9 @@ client.branding.phone.providers.get(
-Delete the configured phone provider. +Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies. + +Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`.
@@ -20808,7 +26441,7 @@ Delete the configured phone provider.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, RotateConnectionKeysRequestContent from auth0.management.environment import Auth0Environment client = Auth0( @@ -20816,8 +26449,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.delete( +client.connections.keys.rotate( id="id", + request=RotateConnectionKeysRequestContent(), ) ``` @@ -20834,7 +26468,15 @@ client.branding.phone.providers.delete(
-**id:** `str` +**id:** `str` — ID of the connection + +
+
+ +
+
+ +**request:** `typing.Optional[RotateConnectionKeysRequestContent]`
@@ -20854,7 +26496,8 @@ client.branding.phone.providers.delete(
-
client.branding.phone.providers.update(...) -> UpdateBrandingPhoneProviderResponseContent +## Connections Users +
client.connections.users.delete_by_email(...)
@@ -20866,8 +26509,7 @@ client.branding.phone.providers.delete(
-Update a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers). -The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property). +Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.
@@ -20890,8 +26532,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.update( +client.connections.users.delete_by_email( id="id", + email="email", ) ``` @@ -20908,7 +26551,7 @@ client.branding.phone.providers.update(
-**id:** `str` +**id:** `str` — The id of the connection (currently only database connections are supported)
@@ -20916,7 +26559,7 @@ client.branding.phone.providers.update(
-**name:** `typing.Optional[PhoneProviderNameEnum]` +**email:** `str` — The email of the user to delete
@@ -20924,45 +26567,36 @@ client.branding.phone.providers.update(
-**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**credentials:** `typing.Optional[PhoneProviderCredentials]` -
+
+## Connections DirectoryProvisioning Synchronizations +
client.connections.directory_provisioning.synchronizations.create(...) -> CreateDirectorySynchronizationResponseContent
-**configuration:** `typing.Optional[PhoneProviderConfiguration]` - -
-
+#### 📝 Description
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +
+
+Request an on-demand synchronization of the directory. +
+
-
- -
client.branding.phone.providers.test(...) -> CreatePhoneProviderSendTestResponseContent -
-
#### 🔌 Usage @@ -20981,9 +26615,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.providers.test( +client.connections.directory_provisioning.synchronizations.create( id="id", - to="to", ) ``` @@ -21000,7 +26633,7 @@ client.branding.phone.providers.test(
-**id:** `str` +**id:** `str` — The id of the connection to trigger synchronization for
@@ -21008,39 +26641,37 @@ client.branding.phone.providers.test(
-**to:** `str` — The recipient phone number to receive a given notification. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` -
+
+## Connections ScimConfiguration Tokens +
client.connections.scim_configuration.tokens.get(...) -> GetScimTokensResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-## Branding Phone Templates -
client.branding.phone.templates.list(...) -> ListPhoneTemplatesResponseContent
+Retrieves all scim tokens by its connection `id`. +
+
+
+
+ #### 🔌 Usage
@@ -21058,8 +26689,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.list( - disabled=True, +client.connections.scim_configuration.tokens.get( + id="id", ) ``` @@ -21076,7 +26707,7 @@ client.branding.phone.templates.list(
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**id:** `str` — The id of the connection to retrieve its SCIM configuration
@@ -21096,10 +26727,24 @@ client.branding.phone.templates.list(
-
client.branding.phone.templates.create(...) -> CreatePhoneTemplateResponseContent +
client.connections.scim_configuration.tokens.create(...) -> CreateScimTokenResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Create a scim token for a scim client. +
+
+
+
+ #### 🔌 Usage
@@ -21117,7 +26762,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.create() +client.connections.scim_configuration.tokens.create( + id="id", +) ```
@@ -21133,7 +26780,7 @@ client.branding.phone.templates.create()
-**type:** `typing.Optional[PhoneTemplateNotificationTypeEnum]` +**id:** `str` — The id of the connection to create its SCIM token
@@ -21141,7 +26788,7 @@ client.branding.phone.templates.create()
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**scopes:** `typing.Optional[typing.List[str]]` — The scopes of the scim token
@@ -21149,7 +26796,7 @@ client.branding.phone.templates.create()
-**content:** `typing.Optional[PhoneTemplateContent]` +**token_lifetime:** `typing.Optional[int]` — Lifetime of the token in seconds. Must be greater than 900
@@ -21169,10 +26816,24 @@ client.branding.phone.templates.create()
-
client.branding.phone.templates.get(...) -> GetPhoneTemplateResponseContent +
client.connections.scim_configuration.tokens.delete(...) +
+
+ +#### 📝 Description + +
+
+
+Deletes a scim token by its connection `id` and `tokenId`. +
+
+
+
+ #### 🔌 Usage
@@ -21190,8 +26851,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.get( +client.connections.scim_configuration.tokens.delete( id="id", + token_id="tokenId", ) ``` @@ -21208,7 +26870,15 @@ client.branding.phone.templates.get(
-**id:** `str` +**id:** `str` — The connection id that owns the SCIM token to delete + +
+
+ +
+
+ +**token_id:** `str` — The id of the scim token to delete
@@ -21228,10 +26898,25 @@ client.branding.phone.templates.get(
-
client.branding.phone.templates.delete(...) +## Emails Provider +
client.emails.provider.get(...) -> GetEmailProviderResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Retrieve details of the [email provider configuration](https://auth0.com/docs/customize/email/smtp-email-providers) in your tenant. A list of fields to include or exclude may also be specified. +
+
+
+
+ #### 🔌 Usage
@@ -21249,8 +26934,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.delete( - id="id", +client.emails.provider.get( + fields="fields", + include_fields=True, ) ``` @@ -21267,7 +26953,15 @@ client.branding.phone.templates.delete(
-**id:** `str` +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (dependent upon include_fields) from the result. Leave empty to retrieve `name` and `enabled`. Additional fields available include `credentials`, `default_from_address`, and `settings`. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -21287,10 +26981,48 @@ client.branding.phone.templates.delete(
-
client.branding.phone.templates.update(...) -> UpdatePhoneTemplateResponseContent +
client.emails.provider.create(...) -> CreateEmailProviderResponseContent +
+
+ +#### 📝 Description + +
+
+
+Create an [email provider](https://auth0.com/docs/email/providers). The `credentials` object +requires different properties depending on the email provider (which is specified using the `name` property): + +- `mandrill` requires `api_key` +- `sendgrid` requires `api_key` +- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use + the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in + North America. `eu` or `null` are the only valid values for `region`. +- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to + `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or + `null` are the only valid values for `region`. +- `ses` requires `accessKeyId`, `secretAccessKey`, and `region` +- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and + `smtp_pass` + +Depending on the type of provider it is possible to specify `settings` object with different configuration +options, which will be used when sending an email: + +- `smtp` provider, `settings` may contain `headers` object. + - When using AWS SES SMTP host, you may provide a name of configuration set in + `X-SES-Configuration-Set` header. Value must be a string. + - When using Sparkpost host, you may provide value for + `X-MSYS_API` header. Value must be an object. +- For `ses` provider, `settings` may contain `message` object, where you can provide + a name of configuration set in `configuration_set_name` property. Value must be a string. +
+
+
+
+ #### 🔌 Usage
@@ -21308,8 +27040,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.update( - id="id", +client.emails.provider.create( + name="mailgun", ) ``` @@ -21326,7 +27058,7 @@ client.branding.phone.templates.update(
-**id:** `str` +**name:** `EmailProviderNameEnum`
@@ -21334,7 +27066,7 @@ client.branding.phone.templates.update(
-**content:** `typing.Optional[PartialPhoneTemplateContent]` +**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false).
@@ -21342,7 +27074,23 @@ client.branding.phone.templates.update(
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. + +
+
+ +
+
+ +**credentials:** `typing.Optional[EmailProviderCredentialsSchema]` + +
+
+ +
+
+ +**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]`
@@ -21362,10 +27110,24 @@ client.branding.phone.templates.update(
-
client.branding.phone.templates.reset(...) -> ResetPhoneTemplateResponseContent +
client.emails.provider.delete()
+#### 📝 Description + +
+
+ +
+
+ +Delete the email provider. +
+
+
+
+ #### 🔌 Usage
@@ -21383,10 +27145,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.reset( - id="id", - request={"key": "value"}, -) +client.emails.provider.delete() ```
@@ -21402,38 +27161,61 @@ client.branding.phone.templates.reset(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**request:** `ResetPhoneTemplateRequestContent` -
+
+
client.emails.provider.update(...) -> UpdateEmailProviderResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.branding.phone.templates.test(...) -> CreatePhoneTemplateTestNotificationResponseContent
+Update an [email provider](https://auth0.com/docs/email/providers). The `credentials` object +requires different properties depending on the email provider (which is specified using the `name` property): + +- `mandrill` requires `api_key` +- `sendgrid` requires `api_key` +- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use + the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in + North America. `eu` or `null` are the only valid values for `region`. +- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to + `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or + `null` are the only valid values for `region`. +- `ses` requires `accessKeyId`, `secretAccessKey`, and `region` +- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and + `smtp_pass` + +Depending on the type of provider it is possible to specify `settings` object with different configuration +options, which will be used when sending an email: + +- `smtp` provider, `settings` may contain `headers` object. + - When using AWS SES SMTP host, you may provide a name of configuration set in + `X-SES-Configuration-Set` header. Value must be a string. + - When using Sparkpost host, you may provide value for + `X-MSYS_API` header. Value must be an object. + + For `ses` provider, `settings` may contain `message` object, where you can provide + a name of configuration set in `configuration_set_name` property. Value must be a string. +
+
+
+
+ #### 🔌 Usage
@@ -21451,10 +27233,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.branding.phone.templates.test( - id="id", - to="to", -) +client.emails.provider.update() ``` @@ -21470,7 +27249,7 @@ client.branding.phone.templates.test(
-**id:** `str` +**name:** `typing.Optional[EmailProviderNameEnum]`
@@ -21478,7 +27257,7 @@ client.branding.phone.templates.test(
-**to:** `str` — Destination of the testing phone notification +**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false).
@@ -21486,7 +27265,23 @@ client.branding.phone.templates.test(
-**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` — Medium to use to send the notification +**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. + +
+
+ +
+
+ +**credentials:** `typing.Optional[EmailProviderCredentialsSchema]` + +
+
+ +
+
+ +**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]`
@@ -21506,8 +27301,8 @@ client.branding.phone.templates.test(
-## ClientGrants Organizations -
client.client_grants.organizations.list(...) -> ListClientGrantOrganizationsPaginatedResponseContent +## EventStreams Deliveries +
client.event_streams.deliveries.list(...) -> ListEventStreamDeliveriesResponseContent
@@ -21528,8 +27323,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.client_grants.organizations.list( +client.event_streams.deliveries.list( id="id", + statuses="statuses", + event_types="event_types", + date_from="date_from", + date_to="date_to", from_="from", take=1, ) @@ -21548,7 +27347,7 @@ client.client_grants.organizations.list(
-**id:** `str` — ID of the client grant +**id:** `str` — Unique identifier for the event stream.
@@ -21556,7 +27355,7 @@ client.client_grants.organizations.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**statuses:** `typing.Optional[str]` — Comma-separated list of statuses by which to filter
@@ -21564,7 +27363,7 @@ client.client_grants.organizations.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**event_types:** `typing.Optional[str]` — Comma-separated list of event types by which to filter
@@ -21572,38 +27371,53 @@ client.client_grants.organizations.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**date_from:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
-
-
+
+
+**date_to:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision. +
-
-## Clients Credentials -
client.clients.credentials.list(...) -> typing.List[ClientCredential]
-#### 📝 Description +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+
-Get the details of a client credential. - -**Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +
client.event_streams.deliveries.get_history(...) -> GetEventStreamDeliveryHistoryResponseContent +
+
#### 🔌 Usage @@ -21622,8 +27436,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.credentials.list( - client_id="client_id", +client.event_streams.deliveries.get_history( + id="id", + event_id="event_id", ) ``` @@ -21640,7 +27455,15 @@ client.clients.credentials.list(
-**client_id:** `str` — ID of the client. +**id:** `str` — Unique identifier for the event stream. + +
+
+ +
+
+ +**event_id:** `str` — Unique identifier for the event
@@ -21660,80 +27483,11 @@ client.clients.credentials.list(
-
client.clients.credentials.create(...) -> PostClientCredentialResponseContent -
-
- -#### 📝 Description - -
-
- +## EventStreams Redeliveries +
client.event_streams.redeliveries.create(...) -> CreateEventStreamRedeliveryResponseContent
-Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests. - -**Public Key** - -Public Key credentials can be used to set up Private Key JWT client authentication and JWT-secured Authorization requests. - -Sample: - -```json -{ - "credential_type": "public_key", - "name": "string", - "pem": "string", - "alg": "RS256", - "parse_expiry_from_cert": false, - "expires_at": "2022-12-31T23:59:59Z" -} -``` - -**Certificate (CA-signed & self-signed)** - -Certificate credentials can be used to set up mTLS client authentication. CA-signed certificates can be configured either with a signed certificate or with just the certificate Subject DN. - -CA-signed Certificate Sample (pem): - -```json -{ - "credential_type": "x509_cert", - "name": "string", - "pem": "string" -} -``` - -CA-signed Certificate Sample (subject_dn): - -```json -{ - "credential_type": "cert_subject_dn", - "name": "string", - "subject_dn": "string" -} -``` - -Self-signed Certificate Sample: - -```json -{ - "credential_type": "cert_subject_dn", - "name": "string", - "pem": "string" -} -``` - -The credential will be created but not yet enabled for use until you set the corresponding properties in the client: - -- To enable the credential for Private Key JWT or mTLS authentication methods, set the `client_authentication_methods` property on the client. For more information, read [Configure Private Key JWT Authentication](https://auth0.com/docs/get-started/applications/configure-private-key-jwt) and [Configure mTLS Authentication](https://auth0.com/docs/get-started/applications/configure-mtls) -- To enable the credential for JWT-secured Authorization requests, set the `signed_request_object`property on the client. For more information, read [Configure JWT-secured Authorization Requests (JAR)](https://auth0.com/docs/get-started/applications/configure-jar) -
-
-
-
- #### 🔌 Usage
@@ -21751,9 +27505,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.credentials.create( - client_id="client_id", - credential_type="public_key", +client.event_streams.redeliveries.create( + id="id", ) ``` @@ -21770,7 +27523,7 @@ client.clients.credentials.create(
-**client_id:** `str` — ID of the client. +**id:** `str` — Unique identifier for the event stream.
@@ -21778,7 +27531,7 @@ client.clients.credentials.create(
-**credential_type:** `ClientCredentialTypeEnum` +**date_from:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
@@ -21786,7 +27539,7 @@ client.clients.credentials.create(
-**name:** `typing.Optional[str]` — Friendly name for a credential. +**date_to:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision.
@@ -21794,7 +27547,7 @@ client.clients.credentials.create(
-**subject_dn:** `typing.Optional[str]` — Subject Distinguished Name. Mutually exclusive with `pem` property. Applies to `cert_subject_dn` credential type. +**statuses:** `typing.Optional[typing.List[EventStreamDeliveryStatusEnum]]` — Filter by status
@@ -21802,7 +27555,7 @@ client.clients.credentials.create(
-**pem:** `typing.Optional[str]` — PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped. +**event_types:** `typing.Optional[typing.List[EventStreamEventTypeEnum]]` — Filter by event type
@@ -21810,23 +27563,59 @@ client.clients.credentials.create(
-**alg:** `typing.Optional[PublicKeyCredentialAlgorithmEnum]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+ +
client.event_streams.redeliveries.create_by_id(...) +
+
+ +#### 🔌 Usage
-**parse_expiry_from_cert:** `typing.Optional[bool]` — Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. Applies to `public_key` credential type. - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.event_streams.redeliveries.create_by_id( + id="id", + event_id="event_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to `public_key` credential type. +
+
+ +**id:** `str` — Unique identifier for the event stream.
@@ -21834,7 +27623,7 @@ client.clients.credentials.create(
-**kid:** `typing.Optional[str]` — Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64} +**event_id:** `str` — Unique identifier for the event
@@ -21854,7 +27643,8 @@ client.clients.credentials.create(
-
client.clients.credentials.get(...) -> GetClientCredentialResponseContent +## Experimentation Experiments +
client.experimentation.experiments.list(...) -> ListExperimentsResponseContent
@@ -21866,9 +27656,7 @@ client.clients.credentials.create(
-Get the details of a client credential. - -**Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client. +Retrieve a paginated list of experiments for the tenant, with optional filters.
@@ -21891,9 +27679,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.credentials.get( - client_id="client_id", - credential_id="credential_id", +client.experimentation.experiments.list( + from_="from", + take=1, + status="draft", + authentication_flow="authentication_flow", + feature_flag_id="feature_flag_id", ) ``` @@ -21910,7 +27701,7 @@ client.clients.credentials.get(
-**client_id:** `str` — ID of the client. +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -21918,7 +27709,31 @@ client.clients.credentials.get(
-**credential_id:** `str` — ID of the credential. +**take:** `typing.Optional[int]` — Number of experiments to return per page. Defaults to 25, maximum 50. + +
+
+ +
+
+ +**status:** `typing.Optional[ExperimentStatusEnum]` — Filter by status. Exact match. + +
+
+ +
+
+ +**authentication_flow:** `typing.Optional[str]` — Filter by authentication flow. Exact match. + +
+
+ +
+
+ +**feature_flag_id:** `typing.Optional[str]` — Filter by feature flag ID. Exact match.
@@ -21938,7 +27753,7 @@ client.clients.credentials.get(
-
client.clients.credentials.delete(...) +
client.experimentation.experiments.create(...) -> CreateExperimentResponseContent
@@ -21950,7 +27765,7 @@ client.clients.credentials.get(
-Delete a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow. +Create a new experiment for A/B testing.
@@ -21973,9 +27788,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.credentials.delete( - client_id="client_id", - credential_id="credential_id", +client.experimentation.experiments.create( + name="name", + feature_flag_id="feature_flag_id", + authentication_flow="authentication", + allocation_strategy="percentage", ) ``` @@ -21992,7 +27809,7 @@ client.clients.credentials.delete(
-**client_id:** `str` — ID of the client. +**name:** `str` — A human-readable name for the experiment
@@ -22000,7 +27817,7 @@ client.clients.credentials.delete(
-**credential_id:** `str` — ID of the credential to delete. +**feature_flag_id:** `str` — The ID of the feature flag this experiment is based on
@@ -22008,73 +27825,31 @@ client.clients.credentials.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**authentication_flow:** `AuthenticationFlowEnum`
- -
- - - - -
- -
client.clients.credentials.update(...) -> PatchClientCredentialResponseContent -
-
- -#### 📝 Description
-
-
- -Change a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow. -
-
+**allocation_strategy:** `AllocationStrategyEnum` — The traffic allocation strategy for this experiment +
-#### 🔌 Usage -
-
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.clients.credentials.update( - client_id="client_id", - credential_id="credential_id", -) - -``` -
-
+**description:** `typing.Optional[str]` — A description of the experiment +
-#### ⚙️ Parameters - -
-
-
-**client_id:** `str` — ID of the client. +**default_config:** `typing.Optional[DefaultConfigEnum]` — Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags.
@@ -22082,7 +27857,7 @@ client.clients.credentials.update(
-**credential_id:** `str` — ID of the credential. +**allocations:** `typing.Optional[typing.List[AllocationRequestItem]]` — Traffic allocations mapping variations to weights or segments
@@ -22090,7 +27865,7 @@ client.clients.credentials.update(
-**expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential. +**levels:** `typing.Optional[typing.List[int]]` — Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100].
@@ -22110,8 +27885,7 @@ client.clients.credentials.update(
-## Clients Connections -
client.clients.connections.get(...) -> ListClientConnectionsResponseContent +
client.experimentation.experiments.get(...) -> GetExperimentResponseContent
@@ -22123,10 +27897,7 @@ client.clients.credentials.update(
-Retrieve all connections that are enabled for the specified [Application](https://www.auth0.com/docs/get-started/applications), using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified. - -- This endpoint requires the `read:connections` scope and any one of `read:clients` or `read:client_summary`. -- **Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining. +Retrieve a single experiment with its allocations by ID.
@@ -22149,15 +27920,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.clients.connections.get( +client.experimentation.experiments.get( id="id", - strategy=[ - "ad" - ], - from_="from", - take=1, - fields="fields", - include_fields=True, ) ``` @@ -22174,47 +27938,7 @@ client.clients.connections.get(
-**id:** `str` — ID of the client for which to retrieve enabled connections. - -
-
- -
-
- -**strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies - -
-
- -
-
- -**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- -**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — true if the fields specified are to be included in the result, false otherwise (defaults to true) +**id:** `str` — The ID of the experiment to retrieve.
@@ -22234,8 +27958,7 @@ client.clients.connections.get(
-## Connections DirectoryProvisioning -
client.connections.directory_provisioning.list(...) -> ListDirectoryProvisioningsResponseContent +
client.experimentation.experiments.delete(...)
@@ -22247,7 +27970,7 @@ client.clients.connections.get(
-Retrieve a list of directory provisioning configurations of a tenant. +Permanently delete an experiment and its allocations by ID. Active experiments cannot be deleted; pause or complete first. Idempotent: returns 204 even if the experiment does not exist.
@@ -22270,9 +27993,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.list( - from_="from", - take=1, +client.experimentation.experiments.delete( + id="id", ) ``` @@ -22289,15 +28011,7 @@ client.connections.directory_provisioning.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**id:** `str` — The ID of the experiment to delete.
@@ -22317,7 +28031,7 @@ client.connections.directory_provisioning.list(
-
client.connections.directory_provisioning.get(...) -> GetDirectoryProvisioningResponseContent +
client.experimentation.experiments.update(...) -> UpdateExperimentResponseContent
@@ -22329,7 +28043,7 @@ client.connections.directory_provisioning.list(
-Retrieve the directory provisioning configuration of a connection. +Partially update an experiment by ID. Only provided fields are updated. Providing allocations replaces the entire allocations set.
@@ -22352,7 +28066,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.get( +client.experimentation.experiments.update( id="id", ) @@ -22370,7 +28084,7 @@ client.connections.directory_provisioning.get(
-**id:** `str` — The id of the connection to retrieve its directory provisioning configuration +**id:** `str` — The ID of the experiment to update.
@@ -22378,73 +28092,47 @@ client.connections.directory_provisioning.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**name:** `typing.Optional[str]` — A human-readable name for the experiment
- -
+
+
+**description:** `typing.Optional[str]` — A description of the experiment +
-
-
client.connections.directory_provisioning.create(...) -> CreateDirectoryProvisioningResponseContent
-#### 📝 Description - -
-
+**authentication_flow:** `typing.Optional[AuthenticationFlowEnum]` — Specifies the target authentication flow for this experiment. This field can only be modified on draft experiments. Must be one of: authentication, mfa_enrollment, mfa_challenge, password_reset, passkey_enrollment, or all. Note that the all value targets every flow at once, but requires that this is the only active experiment. + +
+
-Create a directory provisioning configuration for a connection. -
-
+**allocations:** `typing.Optional[typing.List[AllocationRequestItem]]` — Replaces all traffic allocations. Cannot be modified while the experiment is active. +
-#### 🔌 Usage - -
-
-
-```python -from auth0.management import Auth0, CreateDirectoryProvisioningRequestContent -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.directory_provisioning.create( - id="id", - request=CreateDirectoryProvisioningRequestContent(), -) - -``` -
-
+**default_config:** `typing.Optional[DefaultConfigEnum]` — Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config, 'flag' uses the flag's frozen defaults. Can only be modified on draft experiments. Rejected for customer-defined flags. +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` — The id of the connection to create its directory provisioning configuration +**levels:** `typing.Optional[typing.List[int]]` — Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments.
@@ -22452,7 +28140,7 @@ client.connections.directory_provisioning.create(
-**request:** `typing.Optional[CreateDirectoryProvisioningRequestContent]` +**status:** `typing.Optional[ExperimentTransitionStatusEnum]`
@@ -22472,7 +28160,7 @@ client.connections.directory_provisioning.create(
-
client.connections.directory_provisioning.delete(...) +
client.experimentation.experiments.advance_ramp(...) -> AdvanceRampResponseContent
@@ -22484,7 +28172,7 @@ client.connections.directory_provisioning.create(
-Delete the directory provisioning configuration of a connection. +Increments the current ramp index to the requested target level. Up-only: the target must be the immediate next level in the schedule. Idempotent: calling with the current level returns success without writing anything.
@@ -22507,8 +28195,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.delete( +client.experimentation.experiments.advance_ramp( id="id", + target_level=1, ) ``` @@ -22525,7 +28214,15 @@ client.connections.directory_provisioning.delete(
-**id:** `str` — The id of the connection to delete its directory provisioning configuration +**id:** `str` — The ID of the experiment to advance. + +
+
+ +
+
+ +**target_level:** `int` — The target percentage level from the experiment schedule. Must be the immediate next level.
@@ -22545,7 +28242,7 @@ client.connections.directory_provisioning.delete(
-
client.connections.directory_provisioning.update(...) -> UpdateDirectoryProvisioningResponseContent +
client.experimentation.experiments.validate(...) -> ValidateExperimentResponseContent
@@ -22557,7 +28254,7 @@ client.connections.directory_provisioning.delete(
-Update the directory provisioning configuration of a connection. +Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing any blockers. Read-only; no state is modified.
@@ -22572,7 +28269,7 @@ Update the directory provisioning configuration of a connection.
```python -from auth0.management import Auth0, UpdateDirectoryProvisioningRequestContent +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -22580,9 +28277,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.update( +client.experimentation.experiments.validate( id="id", - request=UpdateDirectoryProvisioningRequestContent(), ) ``` @@ -22599,15 +28295,7 @@ client.connections.directory_provisioning.update(
-**id:** `str` — The id of the connection to create its directory provisioning configuration - -
-
- -
-
- -**request:** `typing.Optional[UpdateDirectoryProvisioningRequestContent]` +**id:** `str` — The ID of the experiment to validate.
@@ -22627,7 +28315,8 @@ client.connections.directory_provisioning.update(
-
client.connections.directory_provisioning.get_default_mapping(...) -> GetDirectoryProvisioningDefaultMappingResponseContent +## Experimentation FeatureFlags +
client.experimentation.feature_flags.list(...) -> ListFeatureFlagsResponseContent
@@ -22639,7 +28328,7 @@ client.connections.directory_provisioning.update(
-Retrieve the directory provisioning default attribute mapping of a connection. +Retrieve a paginated list of feature flags for the tenant.
@@ -22662,8 +28351,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.get_default_mapping( - id="id", +client.experimentation.feature_flags.list( + from_="from", + take=1, + type="auth0", + status="draft", ) ``` @@ -22680,7 +28372,31 @@ client.connections.directory_provisioning.get_default_mapping(
-**id:** `str` — The id of the connection to retrieve its directory provisioning configuration +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of feature flags to return per page. Defaults to 25, maximum 50. + +
+
+ +
+
+ +**type:** `typing.Optional[FeatureFlagTypeEnum]` — Filter by type. Exact match. + +
+
+ +
+
+ +**status:** `typing.Optional[FeatureFlagStatusEnum]` — Filter by status. Exact match.
@@ -22700,7 +28416,7 @@ client.connections.directory_provisioning.get_default_mapping(
-
client.connections.directory_provisioning.list_synchronized_groups(...) -> ListSynchronizedGroupsResponseContent +
client.experimentation.feature_flags.create(...) -> CreateFeatureFlagResponseContent
@@ -22712,7 +28428,7 @@ client.connections.directory_provisioning.get_default_mapping(
-Retrieve the configured synchronized groups for a connection directory provisioning configuration. +Create a new feature flag with parameters for use in experiments.
@@ -22735,10 +28451,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.list_synchronized_groups( - id="id", - from_="from", - take=1, +client.experimentation.feature_flags.create( + name="name", + parameters={}, ) ``` @@ -22755,7 +28470,7 @@ client.connections.directory_provisioning.list_synchronized_groups(
-**id:** `str` — The id of the connection to list synchronized groups for. +**name:** `str` — A human-readable name for the feature flag
@@ -22763,7 +28478,7 @@ client.connections.directory_provisioning.list_synchronized_groups(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**parameters:** `CreateFeatureFlagParameters`
@@ -22771,7 +28486,7 @@ client.connections.directory_provisioning.list_synchronized_groups(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**description:** `typing.Optional[str]` — A description of what this feature flag controls
@@ -22791,7 +28506,7 @@ client.connections.directory_provisioning.list_synchronized_groups(
-
client.connections.directory_provisioning.set(...) +
client.experimentation.feature_flags.get(...) -> GetFeatureFlagResponseContent
@@ -22803,7 +28518,7 @@ client.connections.directory_provisioning.list_synchronized_groups(
-Create or replace the selected groups for a connection directory provisioning configuration. +Retrieve a single feature flag by its ID.
@@ -22818,7 +28533,7 @@ Create or replace the selected groups for a connection directory provisioning co
```python -from auth0.management import Auth0, SynchronizedGroupPayload +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -22826,13 +28541,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.set( +client.experimentation.feature_flags.get( id="id", - groups=[ - SynchronizedGroupPayload( - id="id", - ) - ], ) ``` @@ -22849,15 +28559,7 @@ client.connections.directory_provisioning.set(
-**id:** `str` — The id of the connection to create or replace synchronized groups for - -
-
- -
-
- -**groups:** `typing.List[SynchronizedGroupPayload]` — Array of Google Workspace Directory group objects to synchronize. +**id:** `str` — The ID of the feature flag to retrieve.
@@ -22877,8 +28579,7 @@ client.connections.directory_provisioning.set(
-## Connections ScimConfiguration -
client.connections.scim_configuration.list(...) -> ListScimConfigurationsResponseContent +
client.experimentation.feature_flags.delete(...)
@@ -22890,7 +28591,7 @@ client.connections.directory_provisioning.set(
-Retrieve a list of SCIM configurations of a tenant. +Delete a feature flag by ID. Idempotent: returns 204 even if flag does not exist.
@@ -22913,9 +28614,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.list( - from_="from", - take=1, +client.experimentation.feature_flags.delete( + id="id", ) ``` @@ -22932,15 +28632,7 @@ client.connections.scim_configuration.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**id:** `str` — The ID of the feature flag to delete.
@@ -22960,7 +28652,7 @@ client.connections.scim_configuration.list(
-
client.connections.scim_configuration.get(...) -> GetScimConfigurationResponseContent +
client.experimentation.feature_flags.update(...) -> UpdateFeatureFlagResponseContent
@@ -22972,7 +28664,7 @@ client.connections.scim_configuration.list(
-Retrieves a scim configuration by its `connectionId`. +Partially update a feature flag by ID. Only provided fields are updated.
@@ -22995,7 +28687,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.get( +client.experimentation.feature_flags.update( id="id", ) @@ -23013,7 +28705,7 @@ client.connections.scim_configuration.get(
-**id:** `str` — The id of the connection to retrieve its SCIM configuration +**id:** `str` — The ID of the feature flag to update.
@@ -23021,73 +28713,23 @@ client.connections.scim_configuration.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**name:** `typing.Optional[str]` — A human-readable name for the feature flag
- -
- - - - -
- -
client.connections.scim_configuration.create(...) -> CreateScimConfigurationResponseContent -
-
- -#### 📝 Description - -
-
-Create a scim configuration for a connection. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0, CreateScimConfigurationRequestContent -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.connections.scim_configuration.create( - id="id", - request=CreateScimConfigurationRequestContent(), -) - -``` -
-
+**description:** `typing.Optional[str]` — A description of what this feature flag controls +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` — The id of the connection to create its SCIM configuration +**parameters:** `typing.Optional[UpdateFeatureFlagParameters]`
@@ -23095,7 +28737,7 @@ client.connections.scim_configuration.create(
-**request:** `typing.Optional[CreateScimConfigurationRequestContent]` +**status:** `typing.Optional[FeatureFlagStatusEnum]` — Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied.
@@ -23115,7 +28757,8 @@ client.connections.scim_configuration.create(
-
client.connections.scim_configuration.delete(...) +## Experimentation Segments +
client.experimentation.segments.list(...) -> ListSegmentsResponseContent
@@ -23127,7 +28770,7 @@ client.connections.scim_configuration.create(
-Deletes a scim configuration by its `connectionId`. +Retrieve a paginated list of segments for the tenant.
@@ -23150,8 +28793,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.delete( - id="id", +client.experimentation.segments.list( + from_="from", + take=1, + type="auth0", + status="active", ) ``` @@ -23168,7 +28814,31 @@ client.connections.scim_configuration.delete(
-**id:** `str` — The id of the connection to delete its SCIM configuration +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of segments to return per page. Defaults to 25, maximum 50. + +
+
+ +
+
+ +**type:** `typing.Optional[SegmentTypeFilterEnum]` — Filter by type. Exact match. + +
+
+ +
+
+ +**status:** `typing.Optional[SegmentStatusEnum]` — Filter by status. Exact match.
@@ -23188,7 +28858,7 @@ client.connections.scim_configuration.delete(
-
client.connections.scim_configuration.update(...) -> UpdateScimConfigurationResponseContent +
client.experimentation.segments.create(...) -> CreateSegmentResponseContent
@@ -23200,7 +28870,7 @@ client.connections.scim_configuration.delete(
-Update a scim configuration by its `connectionId`. +Create a new segment with rule-based membership criteria for use in experiments.
@@ -23215,7 +28885,7 @@ Update a scim configuration by its `connectionId`.
```python -from auth0.management import Auth0, ScimMappingItem +from auth0.management import Auth0, SegmentRule from auth0.management.environment import Auth0Environment client = Auth0( @@ -23223,11 +28893,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.update( - id="id", - user_id_attribute="user_id_attribute", - mapping=[ - ScimMappingItem() +client.experimentation.segments.create( + name="name", + rules=[ + SegmentRule() ], ) @@ -23245,7 +28914,7 @@ client.connections.scim_configuration.update(
-**id:** `str` — The id of the connection to update its SCIM configuration +**name:** `str` — A human-readable name for the segment
@@ -23253,7 +28922,7 @@ client.connections.scim_configuration.update(
-**user_id_attribute:** `str` — User ID attribute for generating unique user ids +**rules:** `typing.List[SegmentRule]` — An ordered list of rules. A segment matches if any rule matches. Each rule is limited to 4KB and the whole segment to 10KB (serialized).
@@ -23261,7 +28930,7 @@ client.connections.scim_configuration.update(
-**mapping:** `typing.List[ScimMappingItem]` — The mapping between auth0 and SCIM +**description:** `typing.Optional[str]` — A description of the segment
@@ -23281,7 +28950,7 @@ client.connections.scim_configuration.update(
-
client.connections.scim_configuration.get_default_mapping(...) -> GetScimConfigurationDefaultMappingResponseContent +
client.experimentation.segments.get(...) -> GetSegmentResponseContent
@@ -23293,7 +28962,7 @@ client.connections.scim_configuration.update(
-Retrieves a scim configuration's default mapping by its `connectionId`. +Retrieve a single segment by its ID.
@@ -23316,7 +28985,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.get_default_mapping( +client.experimentation.segments.get( id="id", ) @@ -23334,7 +29003,7 @@ client.connections.scim_configuration.get_default_mapping(
-**id:** `str` — The id of the connection to retrieve its default SCIM mapping +**id:** `str` — The ID of the segment to retrieve.
@@ -23354,8 +29023,7 @@ client.connections.scim_configuration.get_default_mapping(
-## Connections Clients -
client.connections.clients.get(...) -> GetConnectionEnabledClientsResponseContent +
client.experimentation.segments.delete(...)
@@ -23367,9 +29035,7 @@ client.connections.scim_configuration.get_default_mapping(
-Retrieve all clients that have the specified [connection](https://auth0.com/docs/authenticate/identity-providers) enabled. - -**Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining. +Delete a segment by ID. Idempotent: returns 204 even if segment does not exist.
@@ -23392,10 +29058,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.clients.get( +client.experimentation.segments.delete( id="id", - take=1, - from_="from", ) ``` @@ -23412,7 +29076,7 @@ client.connections.clients.get(
-**id:** `str` — The id of the connection for which enabled clients are to be retrieved +**id:** `str` — The ID of the segment to delete.
@@ -23420,38 +29084,36 @@ client.connections.clients.get(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. -
+
+
client.experimentation.segments.update(...) -> UpdateSegmentResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.connections.clients.update(...)
+Partially update a segment by ID. Only provided fields are updated. Sending rules replaces the entire rules array. +
+
+
+
+ #### 🔌 Usage
@@ -23461,7 +29123,7 @@ client.connections.clients.get(
```python -from auth0.management import Auth0, UpdateEnabledClientConnectionsRequestContentItem +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -23469,14 +29131,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.clients.update( +client.experimentation.segments.update( id="id", - request=[ - UpdateEnabledClientConnectionsRequestContentItem( - client_id="client_id", - status=True, - ) - ], ) ``` @@ -23493,7 +29149,7 @@ client.connections.clients.update(
-**id:** `str` — The id of the connection to modify +**id:** `str` — The ID of the segment to update.
@@ -23501,7 +29157,31 @@ client.connections.clients.update(
-**request:** `UpdateEnabledClientConnectionsRequestContent` +**name:** `typing.Optional[str]` — A human-readable name for the segment + +
+
+ +
+
+ +**description:** `typing.Optional[str]` — A description of the segment + +
+
+ +
+
+ +**rules:** `typing.Optional[typing.List[SegmentRule]]` — Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + +
+
+ +
+
+ +**status:** `typing.Optional[SegmentStatusEnum]` — Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows.
@@ -23521,8 +29201,8 @@ client.connections.clients.update(
-## Connections Keys -
client.connections.keys.get(...) -> typing.List[ConnectionKey] +## Experimentation FeatureFlags Variations +
client.experimentation.feature_flags.variations.list(...) -> ListVariationsResponseContent
@@ -23534,7 +29214,7 @@ client.connections.clients.update(
-Gets the connection keys for the Okta or OIDC connection strategy. +Retrieve all variations defined for a specific feature flag.
@@ -23557,7 +29237,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.keys.get( +client.experimentation.feature_flags.variations.list( id="id", ) @@ -23575,7 +29255,7 @@ client.connections.keys.get(
-**id:** `str` — ID of the connection +**id:** `str` — The ID of the parent feature flag.
@@ -23595,7 +29275,7 @@ client.connections.keys.get(
-
client.connections.keys.create(...) -> PostConnectionsKeysResponseContent +
client.experimentation.feature_flags.variations.create(...) -> CreateVariationResponseContent
@@ -23607,7 +29287,7 @@ client.connections.keys.get(
-Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions. +Create a new variation with parameter overrides for a specific feature flag.
@@ -23622,7 +29302,7 @@ Provision initial connection keys for Okta or OIDC connection strategies. This e
```python -from auth0.management import Auth0, PostConnectionKeysRequestContent +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -23630,9 +29310,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.keys.create( +client.experimentation.feature_flags.variations.create( id="id", - request=PostConnectionKeysRequestContent(), + name="name", + overrides={ + "key": "value" + }, ) ``` @@ -23649,7 +29332,7 @@ client.connections.keys.create(
-**id:** `str` — ID of the connection +**id:** `str` — The ID of the parent feature flag.
@@ -23657,7 +29340,23 @@ client.connections.keys.create(
-**request:** `typing.Optional[PostConnectionKeysRequestContent]` +**name:** `str` — A human-readable name for the variation + +
+
+ +
+
+ +**overrides:** `VariationOverridesMap` — Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing. + +
+
+ +
+
+ +**description:** `typing.Optional[str]` — A description of what this variation controls
@@ -23677,7 +29376,7 @@ client.connections.keys.create(
-
client.connections.keys.rotate(...) -> RotateConnectionsKeysResponseContent +
client.experimentation.feature_flags.variations.get(...) -> GetVariationResponseContent
@@ -23689,7 +29388,7 @@ client.connections.keys.create(
-Rotates the connection keys for the Okta or OIDC connection strategies. +Retrieve a single variation by its ID.
@@ -23704,7 +29403,7 @@ Rotates the connection keys for the Okta or OIDC connection strategies.
```python -from auth0.management import Auth0, RotateConnectionKeysRequestContent +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -23712,9 +29411,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.keys.rotate( +client.experimentation.feature_flags.variations.get( id="id", - request=RotateConnectionKeysRequestContent(), + vid="vid", ) ``` @@ -23731,7 +29430,7 @@ client.connections.keys.rotate(
-**id:** `str` — ID of the connection +**id:** `str` — The ID of the parent feature flag.
@@ -23739,7 +29438,7 @@ client.connections.keys.rotate(
-**request:** `typing.Optional[RotateConnectionKeysRequestContent]` +**vid:** `str` — The ID of the variation to retrieve.
@@ -23759,8 +29458,7 @@ client.connections.keys.rotate(
-## Connections Users -
client.connections.users.delete_by_email(...) +
client.experimentation.feature_flags.variations.delete(...)
@@ -23772,7 +29470,7 @@ client.connections.keys.rotate(
-Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported. +Delete a variation by ID. Returns 204 if the variation does not exist. Returns 404 if the parent feature flag does not exist.
@@ -23795,9 +29493,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.users.delete_by_email( +client.experimentation.feature_flags.variations.delete( id="id", - email="email", + vid="vid", ) ``` @@ -23814,7 +29512,7 @@ client.connections.users.delete_by_email(
-**id:** `str` — The id of the connection (currently only database connections are supported) +**id:** `str` — The ID of the parent feature flag.
@@ -23822,7 +29520,7 @@ client.connections.users.delete_by_email(
-**email:** `str` — The email of the user to delete +**vid:** `str` — The ID of the variation to delete.
@@ -23842,8 +29540,7 @@ client.connections.users.delete_by_email(
-## Connections DirectoryProvisioning Synchronizations -
client.connections.directory_provisioning.synchronizations.create(...) -> CreateDirectorySynchronizationResponseContent +
client.experimentation.feature_flags.variations.update(...) -> UpdateVariationResponseContent
@@ -23855,7 +29552,7 @@ client.connections.users.delete_by_email(
-Request an on-demand synchronization of the directory. +Partially update a variation by ID. Only provided fields are updated.
@@ -23878,8 +29575,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.directory_provisioning.synchronizations.create( +client.experimentation.feature_flags.variations.update( id="id", + vid="vid", ) ``` @@ -23896,7 +29594,7 @@ client.connections.directory_provisioning.synchronizations.create(
-**id:** `str` — The id of the connection to trigger synchronization for +**id:** `str` — The ID of the parent feature flag.
@@ -23904,37 +29602,55 @@ client.connections.directory_provisioning.synchronizations.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**vid:** `str` — The ID of the variation to update.
- -
+
+
+**name:** `typing.Optional[str]` — A human-readable name for the variation +
-
-## Connections ScimConfiguration Tokens -
client.connections.scim_configuration.tokens.get(...) -> GetScimTokensResponseContent
-#### 📝 Description +**description:** `typing.Optional[str]` — A description of what this variation controls + +
+
+**overrides:** `typing.Optional[UpdateVariationOverridesMap]` + +
+
+
-Retrieves all scim tokens by its connection `id`. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +## Flows Executions +
client.flows.executions.list(...) -> ListFlowExecutionsPaginatedResponseContent +
+
+ #### 🔌 Usage
@@ -23952,8 +29668,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.tokens.get( - id="id", +client.flows.executions.list( + flow_id="flow_id", + include_totals=True, + from_="from", + take=1, ) ``` @@ -23970,7 +29689,7 @@ client.connections.scim_configuration.tokens.get(
-**id:** `str` — The id of the connection to retrieve its SCIM configuration +**flow_id:** `str` — Flow id
@@ -23978,35 +29697,45 @@ client.connections.scim_configuration.tokens.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
-
-
+
+
+**from:** `typing.Optional[str]` — Optional Id from which to start selection. +
-
-
client.connections.scim_configuration.tokens.create(...) -> CreateScimTokenResponseContent
-#### 📝 Description - -
-
+**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
-Create a scim token for a scim client. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +
client.flows.executions.get(...) -> GetFlowExecutionResponseContent +
+
#### 🔌 Usage @@ -24025,8 +29754,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.tokens.create( - id="id", +client.flows.executions.get( + flow_id="flow_id", + execution_id="execution_id", + hydrate=[ + "debug" + ], ) ``` @@ -24043,7 +29776,7 @@ client.connections.scim_configuration.tokens.create(
-**id:** `str` — The id of the connection to create its SCIM token +**flow_id:** `str` — Flow id
@@ -24051,7 +29784,7 @@ client.connections.scim_configuration.tokens.create(
-**scopes:** `typing.Optional[typing.List[str]]` — The scopes of the scim token +**execution_id:** `str` — Flow execution id
@@ -24059,7 +29792,7 @@ client.connections.scim_configuration.tokens.create(
-**token_lifetime:** `typing.Optional[int]` — Lifetime of the token in seconds. Must be greater than 900 +**hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum]]]]` — Hydration param
@@ -24079,24 +29812,10 @@ client.connections.scim_configuration.tokens.create(
-
client.connections.scim_configuration.tokens.delete(...) -
-
- -#### 📝 Description - -
-
- +
client.flows.executions.delete(...)
-Deletes a scim token by its connection `id` and `tokenId`. -
-
-
-
- #### 🔌 Usage
@@ -24114,9 +29833,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.connections.scim_configuration.tokens.delete( - id="id", - token_id="tokenId", +client.flows.executions.delete( + flow_id="flow_id", + execution_id="execution_id", ) ``` @@ -24133,7 +29852,7 @@ client.connections.scim_configuration.tokens.delete(
-**id:** `str` — The connection id that owns the SCIM token to delete +**flow_id:** `str` — Flows id
@@ -24141,7 +29860,7 @@ client.connections.scim_configuration.tokens.delete(
-**token_id:** `str` — The id of the scim token to delete +**execution_id:** `str` — Flow execution identifier
@@ -24161,25 +29880,11 @@ client.connections.scim_configuration.tokens.delete(
-## Emails Provider -
client.emails.provider.get(...) -> GetEmailProviderResponseContent -
-
- -#### 📝 Description - -
-
- +## Flows Vault Connections +
client.flows.vault.connections.list(...) -> ListFlowsVaultConnectionsOffsetPaginatedResponseContent
-Retrieve details of the [email provider configuration](https://auth0.com/docs/customize/email/smtp-email-providers) in your tenant. A list of fields to include or exclude may also be specified. -
-
-
-
- #### 🔌 Usage
@@ -24197,9 +29902,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.emails.provider.get( - fields="fields", - include_fields=True, +client.flows.vault.connections.list( + page=1, + per_page=1, + include_totals=True, ) ``` @@ -24216,7 +29922,7 @@ client.emails.provider.get(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (dependent upon include_fields) from the result. Leave empty to retrieve `name` and `enabled`. Additional fields available include `credentials`, `default_from_address`, and `settings`. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -24224,7 +29930,15 @@ client.emails.provider.get(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -24244,48 +29958,10 @@ client.emails.provider.get(
-
client.emails.provider.create(...) -> CreateEmailProviderResponseContent -
-
- -#### 📝 Description - -
-
- +
client.flows.vault.connections.create(...) -> CreateFlowsVaultConnectionResponseContent
-Create an [email provider](https://auth0.com/docs/email/providers). The `credentials` object -requires different properties depending on the email provider (which is specified using the `name` property): - -- `mandrill` requires `api_key` -- `sendgrid` requires `api_key` -- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use - the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in - North America. `eu` or `null` are the only valid values for `region`. -- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to - `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or - `null` are the only valid values for `region`. -- `ses` requires `accessKeyId`, `secretAccessKey`, and `region` -- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and - `smtp_pass` - -Depending on the type of provider it is possible to specify `settings` object with different configuration -options, which will be used when sending an email: - -- `smtp` provider, `settings` may contain `headers` object. - - When using AWS SES SMTP host, you may provide a name of configuration set in - `X-SES-Configuration-Set` header. Value must be a string. - - When using Sparkpost host, you may provide value for - `X-MSYS_API` header. Value must be an object. -- For `ses` provider, `settings` may contain `message` object, where you can provide - a name of configuration set in `configuration_set_name` property. Value must be a string. -
-
-
-
- #### 🔌 Usage
@@ -24295,7 +29971,7 @@ options, which will be used when sending an email:
```python -from auth0.management import Auth0, EmailProviderCredentialsSchemaZero +from auth0.management import Auth0, CreateFlowsVaultConnectionActivecampaignApiKey, FlowsVaultConnectioSetupApiKeyWithBaseUrl from auth0.management.environment import Auth0Environment client = Auth0( @@ -24303,10 +29979,15 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.emails.provider.create( - name="mailgun", - credentials=EmailProviderCredentialsSchemaZero( - api_key="api_key", +client.flows.vault.connections.create( + request=CreateFlowsVaultConnectionActivecampaignApiKey( + name="name", + app_id="ACTIVECAMPAIGN", + setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( + type="API_KEY", + api_key="api_key", + base_url="base_url", + ), ), ) @@ -24324,7 +30005,7 @@ client.emails.provider.create(
-**name:** `EmailProviderNameEnum` +**request:** `CreateFlowsVaultConnectionRequestContent`
@@ -24332,31 +30013,58 @@ client.emails.provider.create(
-**credentials:** `EmailProviderCredentialsSchema` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false). -
+
+
client.flows.vault.connections.get(...) -> GetFlowsVaultConnectionResponseContent
-**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. - +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.flows.vault.connections.get( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]` +
+
+ +**id:** `str` — Flows Vault connection ID
@@ -24376,24 +30084,10 @@ client.emails.provider.create(
-
client.emails.provider.delete() -
-
- -#### 📝 Description - -
-
- +
client.flows.vault.connections.delete(...)
-Delete the email provider. -
-
-
-
- #### 🔌 Usage
@@ -24411,7 +30105,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.emails.provider.delete() +client.flows.vault.connections.delete( + id="id", +) ```
@@ -24427,6 +30123,14 @@ client.emails.provider.delete()
+**id:** `str` — Vault connection id + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -24439,49 +30143,10 @@ client.emails.provider.delete()
-
client.emails.provider.update(...) -> UpdateEmailProviderResponseContent -
-
- -#### 📝 Description - -
-
- +
client.flows.vault.connections.update(...) -> UpdateFlowsVaultConnectionResponseContent
-Update an [email provider](https://auth0.com/docs/email/providers). The `credentials` object -requires different properties depending on the email provider (which is specified using the `name` property): - -- `mandrill` requires `api_key` -- `sendgrid` requires `api_key` -- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use - the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in - North America. `eu` or `null` are the only valid values for `region`. -- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to - `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or - `null` are the only valid values for `region`. -- `ses` requires `accessKeyId`, `secretAccessKey`, and `region` -- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and - `smtp_pass` - -Depending on the type of provider it is possible to specify `settings` object with different configuration -options, which will be used when sending an email: - -- `smtp` provider, `settings` may contain `headers` object. - - When using AWS SES SMTP host, you may provide a name of configuration set in - `X-SES-Configuration-Set` header. Value must be a string. - - When using Sparkpost host, you may provide value for - `X-MSYS_API` header. Value must be an object. - - For `ses` provider, `settings` may contain `message` object, where you can provide - a name of configuration set in `configuration_set_name` property. Value must be a string. -
-
-
-
- #### 🔌 Usage
@@ -24499,7 +30164,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.emails.provider.update() +client.flows.vault.connections.update( + id="id", +) ```
@@ -24515,7 +30182,7 @@ client.emails.provider.update()
-**name:** `typing.Optional[EmailProviderNameEnum]` +**id:** `str` — Flows Vault connection ID
@@ -24523,7 +30190,7 @@ client.emails.provider.update()
-**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false). +**name:** `typing.Optional[str]` — Flows Vault Connection name.
@@ -24531,7 +30198,7 @@ client.emails.provider.update()
-**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. +**setup:** `typing.Optional[UpdateFlowsVaultConnectionSetup]`
@@ -24539,39 +30206,37 @@ client.emails.provider.update()
-**credentials:** `typing.Optional[EmailProviderCredentialsSchema]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]` -
+
+## Groups Members +
client.groups.members.get(...) -> GetGroupMembersResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-## EventStreams Deliveries -
client.event_streams.deliveries.list(...) -> typing.List[EventStreamDelivery]
+List all users that are a member of this group. +
+
+
+
+ #### 🔌 Usage
@@ -24589,12 +30254,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.deliveries.list( +client.groups.members.get( id="id", - statuses="statuses", - event_types="event_types", - date_from="date_from", - date_to="date_to", + fields="fields", + include_fields=True, from_="from", take=1, ) @@ -24613,23 +30276,7 @@ client.event_streams.deliveries.list(
-**id:** `str` — Unique identifier for the event stream. - -
-
- -
-
- -**statuses:** `typing.Optional[str]` — Comma-separated list of statuses by which to filter - -
-
- -
-
- -**event_types:** `typing.Optional[str]` — Comma-separated list of event types by which to filter +**id:** `str` — Unique identifier for the group (service-generated).
@@ -24637,7 +30284,7 @@ client.event_streams.deliveries.list(
-**date_from:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision. +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
@@ -24645,7 +30292,7 @@ client.event_streams.deliveries.list(
-**date_to:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision. +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -24681,10 +30328,25 @@ client.event_streams.deliveries.list(
-
client.event_streams.deliveries.get_history(...) -> GetEventStreamDeliveryHistoryResponseContent +## Groups Roles +
client.groups.roles.list(...) -> ListGroupRolesResponseContent +
+
+ +#### 📝 Description + +
+
+
+Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group. +
+
+
+
+ #### 🔌 Usage
@@ -24702,9 +30364,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.deliveries.get_history( +client.groups.roles.list( id="id", - event_id="event_id", + from_="from", + take=1, ) ``` @@ -24721,7 +30384,15 @@ client.event_streams.deliveries.get_history(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — Unique identifier for the group (service-generated). + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -24729,7 +30400,7 @@ client.event_streams.deliveries.get_history(
-**event_id:** `str` — Unique identifier for the event +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -24749,11 +30420,24 @@ client.event_streams.deliveries.get_history(
-## EventStreams Redeliveries -
client.event_streams.redeliveries.create(...) -> CreateEventStreamRedeliveryResponseContent +
client.groups.roles.create(...) +
+
+ +#### 📝 Description + +
+
+
+Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group. +
+
+
+
+ #### 🔌 Usage
@@ -24771,8 +30455,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.redeliveries.create( +client.groups.roles.create( id="id", + roles=[ + "roles" + ], ) ``` @@ -24789,7 +30476,7 @@ client.event_streams.redeliveries.create(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — Unique identifier for the group (service-generated).
@@ -24797,7 +30484,7 @@ client.event_streams.redeliveries.create(
-**date_from:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision. +**roles:** `typing.List[str]` — Array of role IDs to assign to the group.
@@ -24805,45 +30492,35 @@ client.event_streams.redeliveries.create(
-**date_to:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**statuses:** `typing.Optional[typing.List[EventStreamDeliveryStatusEnum]]` — Filter by status -
+
+
client.groups.roles.delete(...)
-**event_types:** `typing.Optional[typing.List[EventStreamEventTypeEnum]]` — Filter by event type - -
-
+#### 📝 Description
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+
+
+ +Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
- - -
- -
client.event_streams.redeliveries.create_by_id(...) -
-
#### 🔌 Usage @@ -24862,9 +30539,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.event_streams.redeliveries.create_by_id( +client.groups.roles.delete( id="id", - event_id="event_id", + roles=[ + "roles" + ], ) ``` @@ -24881,7 +30560,7 @@ client.event_streams.redeliveries.create_by_id(
-**id:** `str` — Unique identifier for the event stream. +**id:** `str` — Unique identifier for the group (service-generated).
@@ -24889,7 +30568,7 @@ client.event_streams.redeliveries.create_by_id(
-**event_id:** `str` — Unique identifier for the event +**roles:** `typing.List[str]` — Array of role IDs to remove from the group.
@@ -24909,11 +30588,25 @@ client.event_streams.redeliveries.create_by_id(
-## Flows Executions -
client.flows.executions.list(...) -> ListFlowExecutionsPaginatedResponseContent +## Guardian Enrollments +
client.guardian.enrollments.create_ticket(...) -> CreateGuardianEnrollmentTicketResponseContent +
+
+ +#### 📝 Description + +
+
+
+Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors. +
+
+
+
+ #### 🔌 Usage
@@ -24931,10 +30624,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.executions.list( - flow_id="flow_id", - from_="from", - take=1, +client.guardian.enrollments.create_ticket( + user_id="user_id", ) ``` @@ -24951,7 +30642,7 @@ client.flows.executions.list(
-**flow_id:** `str` — Flow id +**user_id:** `str` — user_id for the enrollment ticket
@@ -24959,7 +30650,7 @@ client.flows.executions.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**email:** `typing.Optional[str]` — alternate email to which the enrollment email will be sent. Optional - by default, the email will be sent to the user's default address
@@ -24967,7 +30658,31 @@ client.flows.executions.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**send_mail:** `typing.Optional[bool]` — Send an email to the user to start the enrollment + +
+
+ +
+
+ +**email_locale:** `typing.Optional[str]` — Optional. Specify the locale of the enrollment email. Used with send_email. + +
+
+ +
+
+ +**factor:** `typing.Optional[GuardianEnrollmentFactorEnum]` + +
+
+ +
+
+ +**allow_multiple_enrollments:** `typing.Optional[bool]` — Optional. Allows a user who has previously enrolled in MFA to enroll with additional factors.
Note: Parameter can only be used with Universal Login; it cannot be used with Classic Login or custom MFA pages.
@@ -24987,10 +30702,24 @@ client.flows.executions.list(
-
client.flows.executions.get(...) -> GetFlowExecutionResponseContent +
client.guardian.enrollments.get(...) -> GetGuardianEnrollmentResponseContent +
+
+ +#### 📝 Description + +
+
+
+Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account. +
+
+
+
+ #### 🔌 Usage
@@ -25008,12 +30737,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.executions.get( - flow_id="flow_id", - execution_id="execution_id", - hydrate=[ - "debug" - ], +client.guardian.enrollments.get( + id="id", ) ``` @@ -25030,7 +30755,7 @@ client.flows.executions.get(
-**flow_id:** `str` — Flow id +**id:** `str` — ID of the enrollment to be retrieve.
@@ -25038,38 +30763,36 @@ client.flows.executions.get(
-**execution_id:** `str` — Flow execution id +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum]]]]` — Hydration param -
+
+
client.guardian.enrollments.delete(...)
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.flows.executions.delete(...)
+Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa). +
+
+
+
+ #### 🔌 Usage
@@ -25087,9 +30810,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.executions.delete( - flow_id="flow_id", - execution_id="execution_id", +client.guardian.enrollments.delete( + id="id", ) ``` @@ -25106,15 +30828,7 @@ client.flows.executions.delete(
-**flow_id:** `str` — Flows id - -
-
- -
-
- -**execution_id:** `str` — Flow execution identifier +**id:** `str` — ID of the enrollment to be deleted.
@@ -25134,11 +30848,25 @@ client.flows.executions.delete(
-## Flows Vault Connections -
client.flows.vault.connections.list(...) -> ListFlowsVaultConnectionsOffsetPaginatedResponseContent +## Guardian Factors +
client.guardian.factors.list() -> typing.List[GuardianFactor] +
+
+ +#### 📝 Description + +
+
+
+Retrieve details of all multi-factor authentication factors associated with your tenant. +
+
+
+
+ #### 🔌 Usage
@@ -25156,11 +30884,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.vault.connections.list( - page=1, - per_page=1, - include_totals=True, -) +client.guardian.factors.list() ```
@@ -25176,45 +30900,35 @@ client.flows.vault.connections.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. -
+
+
client.guardian.factors.set(...) -> SetGuardianFactorResponseContent
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - -
-
+#### 📝 Description
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+
+
+ +Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor.
- - -
- -
client.flows.vault.connections.create(...) -> CreateFlowsVaultConnectionResponseContent -
-
#### 🔌 Usage @@ -25225,7 +30939,7 @@ client.flows.vault.connections.list(
```python -from auth0.management import Auth0, CreateFlowsVaultConnectionActivecampaignApiKey, FlowsVaultConnectioSetupApiKeyWithBaseUrl +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -25233,16 +30947,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.vault.connections.create( - request=CreateFlowsVaultConnectionActivecampaignApiKey( - name="name", - app_id="ACTIVECAMPAIGN", - setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( - type="API_KEY", - api_key="api_key", - base_url="base_url", - ), - ), +client.guardian.factors.set( + name="push-notification", + enabled=True, ) ``` @@ -25259,7 +30966,15 @@ client.flows.vault.connections.create(
-**request:** `CreateFlowsVaultConnectionRequestContent` +**name:** `GuardianFactorNameEnum` — Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. + +
+
+ +
+
+ +**enabled:** `bool` — Whether this factor is enabled (true) or disabled (false).
@@ -25279,10 +30994,32 @@ client.flows.vault.connections.create(
-
client.flows.vault.connections.get(...) -> GetFlowsVaultConnectionResponseContent +## Guardian Policies +
client.guardian.policies.list() -> ListGuardianPoliciesResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant. + +The following policies are supported: + +- `all-applications` policy prompts with MFA for all logins. +- `confidence-score` policy prompts with MFA only for low confidence logins. + +**Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details. +
+
+
+
+ #### 🔌 Usage
@@ -25300,9 +31037,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.vault.connections.get( - id="id", -) +client.guardian.policies.list() ```
@@ -25318,14 +31053,6 @@ client.flows.vault.connections.get(
-**id:** `str` — Flows Vault connection ID - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25338,10 +31065,31 @@ client.flows.vault.connections.get(
-
client.flows.vault.connections.delete(...) +
client.guardian.policies.set(...) -> SetGuardianPoliciesResponseContent +
+
+ +#### 📝 Description + +
+
+
+Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant. + +The following policies are supported: + +- `all-applications` policy prompts with MFA for all logins. +- `confidence-score` policy prompts with MFA only for low confidence logins. + +**Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details. +
+
+
+
+ #### 🔌 Usage
@@ -25359,8 +31107,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.vault.connections.delete( - id="id", +client.guardian.policies.set( + request=[ + "all-applications" + ], ) ``` @@ -25377,7 +31127,7 @@ client.flows.vault.connections.delete(
-**id:** `str` — Vault connection id +**request:** `SetGuardianPoliciesRequestContent`
@@ -25397,10 +31147,25 @@ client.flows.vault.connections.delete(
-
client.flows.vault.connections.update(...) -> UpdateFlowsVaultConnectionResponseContent +## Guardian Factors Email +
client.guardian.factors.email.get() -> GetEmailFactorSettingsResponseContent +
+
+ +#### 📝 Description + +
+
+
+TODO: Link this endpoint to relevant documentation when available. +
+
+
+
+ #### 🔌 Usage
@@ -25418,9 +31183,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.flows.vault.connections.update( - id="id", -) +client.guardian.factors.email.get() ```
@@ -25436,30 +31199,6 @@ client.flows.vault.connections.update(
-**id:** `str` — Flows Vault connection ID - -
-
- -
-
- -**name:** `typing.Optional[str]` — Flows Vault Connection name. - -
-
- -
-
- -**setup:** `typing.Optional[UpdateFlowsVaultConnectionSetup]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25472,8 +31211,7 @@ client.flows.vault.connections.update(
-## Groups Members -
client.groups.members.get(...) -> GetGroupMembersResponseContent +
client.guardian.factors.email.set(...) -> SetEmailFactorSettingsResponseContent
@@ -25485,7 +31223,7 @@ client.flows.vault.connections.update(
-List all users that are a member of this group. +TODO: Link this endpoint to relevant documentation when available.
@@ -25508,12 +31246,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.members.get( - id="id", - fields="fields", - include_fields=True, - from_="from", - take=1, +client.guardian.factors.email.set( + otp_length=1, + otp_expiration_time=1, ) ``` @@ -25530,31 +31265,7 @@ client.groups.members.get(
-**id:** `str` — Unique identifier for the group (service-generated). - -
-
- -
-
- -**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields - -
-
- -
-
- -**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). - -
-
- -
-
- -**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**otp_length:** `int` — The length of the OTP code.
@@ -25562,7 +31273,7 @@ client.groups.members.get(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**otp_expiration_time:** `int` — The OTP expiration time in seconds.
@@ -25582,8 +31293,8 @@ client.groups.members.get(
-## Groups Roles -
client.groups.roles.list(...) -> ListGroupRolesResponseContent +## Guardian Factors Phone +
client.guardian.factors.phone.get_message_types() -> GetGuardianFactorPhoneMessageTypesResponseContent
@@ -25595,7 +31306,7 @@ client.groups.members.get(
-Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group. +Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.
@@ -25618,11 +31329,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.roles.list( - id="id", - from_="from", - take=1, -) +client.guardian.factors.phone.get_message_types() ``` @@ -25638,30 +31345,6 @@ client.groups.roles.list(
-**id:** `str` — Unique identifier for the group (service-generated). - -
-
- -
-
- -**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25674,7 +31357,7 @@ client.groups.roles.list(
-
client.groups.roles.create(...) +
client.guardian.factors.phone.set_message_types(...) -> SetGuardianFactorPhoneMessageTypesResponseContent
@@ -25686,7 +31369,7 @@ client.groups.roles.list(
-Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group. +Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.
@@ -25709,10 +31392,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.roles.create( - id="id", - roles=[ - "roles" +client.guardian.factors.phone.set_message_types( + message_types=[ + "sms" ], ) @@ -25730,15 +31412,7 @@ client.groups.roles.create(
-**id:** `str` — Unique identifier for the group (service-generated). - -
-
- -
-
- -**roles:** `typing.List[str]` — Array of role IDs to assign to the group. +**message_types:** `typing.List[GuardianFactorPhoneFactorMessageTypeEnum]` — The list of phone factors to enable on the tenant. Can include `sms` and `voice`.
@@ -25758,7 +31432,7 @@ client.groups.roles.create(
-
client.groups.roles.delete(...) +
client.guardian.factors.phone.get_twilio_provider() -> GetGuardianFactorsProviderPhoneTwilioResponseContent
@@ -25770,7 +31444,7 @@ client.groups.roles.create(
-Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group. +Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA.
@@ -25793,12 +31467,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.groups.roles.delete( - id="id", - roles=[ - "roles" - ], -) +client.guardian.factors.phone.get_twilio_provider() ``` @@ -25814,22 +31483,6 @@ client.groups.roles.delete(
-**id:** `str` — Unique identifier for the group (service-generated). - -
-
- -
-
- -**roles:** `typing.List[str]` — Array of role IDs to remove from the group. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25842,8 +31495,7 @@ client.groups.roles.delete(
-## Guardian Enrollments -
client.guardian.enrollments.create_ticket(...) -> CreateGuardianEnrollmentTicketResponseContent +
client.guardian.factors.phone.set_twilio_provider(...) -> SetGuardianFactorsProviderPhoneTwilioResponseContent
@@ -25855,7 +31507,7 @@ client.groups.roles.delete(
-Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors. +Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA.
@@ -25878,9 +31530,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.enrollments.create_ticket( - user_id="user_id", -) +client.guardian.factors.phone.set_twilio_provider() ``` @@ -25896,23 +31546,7 @@ client.guardian.enrollments.create_ticket(
-**user_id:** `str` — user_id for the enrollment ticket - -
-
- -
-
- -**email:** `typing.Optional[str]` — alternate email to which the enrollment email will be sent. Optional - by default, the email will be sent to the user's default address - -
-
- -
-
- -**send_mail:** `typing.Optional[bool]` — Send an email to the user to start the enrollment +**from:** `typing.Optional[str]` — From number
@@ -25920,7 +31554,7 @@ client.guardian.enrollments.create_ticket(
-**email_locale:** `typing.Optional[str]` — Optional. Specify the locale of the enrollment email. Used with send_email. +**messaging_service_sid:** `typing.Optional[str]` — Copilot SID
@@ -25928,7 +31562,7 @@ client.guardian.enrollments.create_ticket(
-**factor:** `typing.Optional[GuardianEnrollmentFactorEnum]` +**auth_token:** `typing.Optional[str]` — Twilio Authentication token
@@ -25936,7 +31570,7 @@ client.guardian.enrollments.create_ticket(
-**allow_multiple_enrollments:** `typing.Optional[bool]` — Optional. Allows a user who has previously enrolled in MFA to enroll with additional factors.
Note: Parameter can only be used with Universal Login; it cannot be used with Classic Login or custom MFA pages. +**sid:** `typing.Optional[str]` — Twilio SID
@@ -25956,7 +31590,7 @@ client.guardian.enrollments.create_ticket(
-
client.guardian.enrollments.get(...) -> GetGuardianEnrollmentResponseContent +
client.guardian.factors.phone.get_selected_provider() -> GetGuardianFactorsProviderPhoneResponseContent
@@ -25968,7 +31602,7 @@ client.guardian.enrollments.create_ticket(
-Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account. +Retrieve details of the multi-factor authentication phone provider configured for your tenant.
@@ -25991,9 +31625,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.enrollments.get( - id="id", -) +client.guardian.factors.phone.get_selected_provider() ``` @@ -26009,14 +31641,6 @@ client.guardian.enrollments.get(
-**id:** `str` — ID of the enrollment to be retrieve. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26029,24 +31653,10 @@ client.guardian.enrollments.get(
-
client.guardian.enrollments.delete(...) -
-
- -#### 📝 Description - -
-
- +
client.guardian.factors.phone.set_provider(...) -> SetGuardianFactorsProviderPhoneResponseContent
-Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa). -
-
-
-
- #### 🔌 Usage
@@ -26064,8 +31674,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.enrollments.delete( - id="id", +client.guardian.factors.phone.set_provider( + provider="auth0", ) ``` @@ -26082,7 +31692,7 @@ client.guardian.enrollments.delete(
-**id:** `str` — ID of the enrollment to be deleted. +**provider:** `GuardianFactorsProviderSmsProviderEnum`
@@ -26102,8 +31712,7 @@ client.guardian.enrollments.delete(
-## Guardian Factors -
client.guardian.factors.list() -> typing.List[GuardianFactor] +
client.guardian.factors.phone.get() -> GetPhoneFactorSettingsResponseContent
@@ -26115,7 +31724,7 @@ client.guardian.enrollments.delete(
-Retrieve details of all multi-factor authentication factors associated with your tenant. +TODO: Link this endpoint to relevant documentation when available.
@@ -26138,7 +31747,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.list() +client.guardian.factors.phone.get() ``` @@ -26166,7 +31775,7 @@ client.guardian.factors.list()
-
client.guardian.factors.set(...) -> SetGuardianFactorResponseContent +
client.guardian.factors.phone.set(...) -> SetPhoneFactorSettingsResponseContent
@@ -26178,7 +31787,7 @@ client.guardian.factors.list()
-Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor. +TODO: Link this endpoint to relevant documentation when available.
@@ -26201,9 +31810,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.set( - name="push-notification", - enabled=True, +client.guardian.factors.phone.set( + otp_length=1, + otp_expiration_time=1, ) ``` @@ -26220,7 +31829,7 @@ client.guardian.factors.set(
-**name:** `GuardianFactorNameEnum` — Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. +**otp_length:** `int` — The length of the OTP code.
@@ -26228,7 +31837,7 @@ client.guardian.factors.set(
-**enabled:** `bool` — Whether this factor is enabled (true) or disabled (false). +**otp_expiration_time:** `int` — The OTP expiration time in seconds.
@@ -26248,8 +31857,7 @@ client.guardian.factors.set(
-## Guardian Policies -
client.guardian.policies.list() -> ListGuardianPoliciesResponseContent +
client.guardian.factors.phone.get_templates() -> GetGuardianFactorPhoneTemplatesResponseContent
@@ -26261,14 +31869,7 @@ client.guardian.factors.set(
-Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant. - -The following policies are supported: - -- `all-applications` policy prompts with MFA for all logins. -- `confidence-score` policy prompts with MFA only for low confidence logins. - -**Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details. +Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.
@@ -26291,7 +31892,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.policies.list() +client.guardian.factors.phone.get_templates() ``` @@ -26319,7 +31920,7 @@ client.guardian.policies.list()
-
client.guardian.policies.set(...) -> SetGuardianPoliciesResponseContent +
client.guardian.factors.phone.set_templates(...) -> SetGuardianFactorPhoneTemplatesResponseContent
@@ -26331,14 +31932,7 @@ client.guardian.policies.list()
-Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant. - -The following policies are supported: - -- `all-applications` policy prompts with MFA for all logins. -- `confidence-score` policy prompts with MFA only for low confidence logins. - -**Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details. +Customize the messages sent to complete phone enrollment and verification (subscription required).
@@ -26361,10 +31955,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.policies.set( - request=[ - "all-applications" - ], +client.guardian.factors.phone.set_templates( + enrollment_message="enrollment_message", + verification_message="verification_message", ) ``` @@ -26381,7 +31974,15 @@ client.guardian.policies.set(
-**request:** `SetGuardianPoliciesRequestContent` +**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number. + +
+
+ +
+
+ +**verification_message:** `str` — Message sent to the user when they are prompted to verify their account.
@@ -26401,8 +32002,8 @@ client.guardian.policies.set(
-## Guardian Factors Phone -
client.guardian.factors.phone.get_message_types() -> GetGuardianFactorPhoneMessageTypesResponseContent +## Guardian Factors PushNotification +
client.guardian.factors.push_notification.get_apns_provider() -> GetGuardianFactorsProviderApnsResponseContent
@@ -26414,7 +32015,7 @@ client.guardian.policies.set(
-Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant. +Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.
@@ -26437,7 +32038,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.get_message_types() +client.guardian.factors.push_notification.get_apns_provider() ``` @@ -26465,7 +32066,7 @@ client.guardian.factors.phone.get_message_types()
-
client.guardian.factors.phone.set_message_types(...) -> SetGuardianFactorPhoneMessageTypesResponseContent +
client.guardian.factors.push_notification.set_apns_provider(...) -> SetGuardianFactorsProviderPushNotificationApnsResponseContent
@@ -26477,7 +32078,7 @@ client.guardian.factors.phone.get_message_types()
-Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant. +Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.
@@ -26500,12 +32101,95 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.set_message_types( - message_types=[ - "sms" - ], +client.guardian.factors.push_notification.set_apns_provider() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**sandbox:** `typing.Optional[bool]` + +
+
+ +
+
+ +**bundle_id:** `typing.Optional[str]` + +
+
+ +
+
+ +**p_12:** `typing.Optional[str]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.guardian.factors.push_notification.update_apns_provider(...) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, ) +client.guardian.factors.push_notification.update_apns_provider() + ```
@@ -26520,7 +32204,23 @@ client.guardian.factors.phone.set_message_types(
-**message_types:** `typing.List[GuardianFactorPhoneFactorMessageTypeEnum]` — The list of phone factors to enable on the tenant. Can include `sms` and `voice`. +**sandbox:** `typing.Optional[bool]` + +
+
+ +
+
+ +**bundle_id:** `typing.Optional[str]` + +
+
+ +
+
+ +**p_12:** `typing.Optional[str]`
@@ -26540,7 +32240,7 @@ client.guardian.factors.phone.set_message_types(
-
client.guardian.factors.phone.get_twilio_provider() -> GetGuardianFactorsProviderPhoneTwilioResponseContent +
client.guardian.factors.push_notification.set_fcm_provider(...) -> SetGuardianFactorsProviderPushNotificationFcmResponseContent
@@ -26552,7 +32252,7 @@ client.guardian.factors.phone.set_message_types(
-Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA. +Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.
@@ -26575,7 +32275,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.get_twilio_provider() +client.guardian.factors.push_notification.set_fcm_provider() ``` @@ -26591,6 +32291,14 @@ client.guardian.factors.phone.get_twilio_provider()
+**server_key:** `typing.Optional[str]` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26603,7 +32311,7 @@ client.guardian.factors.phone.get_twilio_provider()
-
client.guardian.factors.phone.set_twilio_provider(...) -> SetGuardianFactorsProviderPhoneTwilioResponseContent +
client.guardian.factors.push_notification.update_fcm_provider(...) -> UpdateGuardianFactorsProviderPushNotificationFcmResponseContent
@@ -26615,7 +32323,7 @@ client.guardian.factors.phone.get_twilio_provider()
-Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA. +Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.
@@ -26638,7 +32346,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.set_twilio_provider() +client.guardian.factors.push_notification.update_fcm_provider() ``` @@ -26654,31 +32362,7 @@ client.guardian.factors.phone.set_twilio_provider()
-**from:** `typing.Optional[str]` — From number - -
-
- -
-
- -**messaging_service_sid:** `typing.Optional[str]` — Copilot SID - -
-
- -
-
- -**auth_token:** `typing.Optional[str]` — Twilio Authentication token - -
-
- -
-
- -**sid:** `typing.Optional[str]` — Twilio SID +**server_key:** `typing.Optional[str]`
@@ -26698,7 +32382,7 @@ client.guardian.factors.phone.set_twilio_provider()
-
client.guardian.factors.phone.get_selected_provider() -> GetGuardianFactorsProviderPhoneResponseContent +
client.guardian.factors.push_notification.set_fcmv_1_provider(...) -> SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent
@@ -26710,7 +32394,7 @@ client.guardian.factors.phone.set_twilio_provider()
-Retrieve details of the multi-factor authentication phone provider configured for your tenant. +Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
@@ -26733,7 +32417,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.get_selected_provider() +client.guardian.factors.push_notification.set_fcmv_1_provider() ``` @@ -26749,6 +32433,14 @@ client.guardian.factors.phone.get_selected_provider()
+**server_credentials:** `typing.Optional[str]` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26761,10 +32453,24 @@ client.guardian.factors.phone.get_selected_provider()
-
client.guardian.factors.phone.set_provider(...) -> SetGuardianFactorsProviderPhoneResponseContent +
client.guardian.factors.push_notification.update_fcmv_1_provider(...) -> UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent +
+
+ +#### 📝 Description +
+
+
+ +Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. +
+
+
+
+ #### 🔌 Usage
@@ -26782,9 +32488,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.set_provider( - provider="auth0", -) +client.guardian.factors.push_notification.update_fcmv_1_provider() ```
@@ -26800,7 +32504,7 @@ client.guardian.factors.phone.set_provider(
-**provider:** `GuardianFactorsProviderSmsProviderEnum` +**server_credentials:** `typing.Optional[str]`
@@ -26820,7 +32524,7 @@ client.guardian.factors.phone.set_provider(
-
client.guardian.factors.phone.get_templates() -> GetGuardianFactorPhoneTemplatesResponseContent +
client.guardian.factors.push_notification.get_sns_provider() -> GetGuardianFactorsProviderSnsResponseContent
@@ -26832,7 +32536,7 @@ client.guardian.factors.phone.set_provider(
-Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant. +Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
@@ -26855,7 +32559,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.get_templates() +client.guardian.factors.push_notification.get_sns_provider() ``` @@ -26883,7 +32587,7 @@ client.guardian.factors.phone.get_templates()
-
client.guardian.factors.phone.set_templates(...) -> SetGuardianFactorPhoneTemplatesResponseContent +
client.guardian.factors.push_notification.set_sns_provider(...) -> SetGuardianFactorsProviderPushNotificationSnsResponseContent
@@ -26895,7 +32599,7 @@ client.guardian.factors.phone.get_templates()
-Customize the messages sent to complete phone enrollment and verification (subscription required). +Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
@@ -26918,10 +32622,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.phone.set_templates( - enrollment_message="enrollment_message", - verification_message="verification_message", -) +client.guardian.factors.push_notification.set_sns_provider() ``` @@ -26937,7 +32638,7 @@ client.guardian.factors.phone.set_templates(
-**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number. +**aws_access_key_id:** `typing.Optional[str]`
@@ -26945,7 +32646,7 @@ client.guardian.factors.phone.set_templates(
-**verification_message:** `str` — Message sent to the user when they are prompted to verify their account. +**aws_secret_access_key:** `typing.Optional[str]`
@@ -26953,67 +32654,27 @@ client.guardian.factors.phone.set_templates(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**aws_region:** `typing.Optional[str]`
- -
- - - - -
- -## Guardian Factors PushNotification -
client.guardian.factors.push_notification.get_apns_provider() -> GetGuardianFactorsProviderApnsResponseContent -
-
- -#### 📝 Description - -
-
-Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant. -
-
+**sns_apns_platform_application_arn:** `typing.Optional[str]` +
-#### 🔌 Usage -
-
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.guardian.factors.push_notification.get_apns_provider() - -``` -
-
+**sns_gcm_platform_application_arn:** `typing.Optional[str]` +
-#### ⚙️ Parameters - -
-
-
@@ -27029,7 +32690,7 @@ client.guardian.factors.push_notification.get_apns_provider()
-
client.guardian.factors.push_notification.set_apns_provider(...) -> SetGuardianFactorsProviderPushNotificationApnsResponseContent +
client.guardian.factors.push_notification.update_sns_provider(...) -> UpdateGuardianFactorsProviderPushNotificationSnsResponseContent
@@ -27041,7 +32702,7 @@ client.guardian.factors.push_notification.get_apns_provider()
-Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant. +Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
@@ -27064,7 +32725,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.set_apns_provider() +client.guardian.factors.push_notification.update_sns_provider() ``` @@ -27080,7 +32741,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-**sandbox:** `typing.Optional[bool]` +**aws_access_key_id:** `typing.Optional[str]`
@@ -27088,7 +32749,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-**bundle_id:** `typing.Optional[str]` +**aws_secret_access_key:** `typing.Optional[str]`
@@ -27096,7 +32757,23 @@ client.guardian.factors.push_notification.set_apns_provider()
-**p_12:** `typing.Optional[str]` +**aws_region:** `typing.Optional[str]` + +
+
+ +
+
+ +**sns_apns_platform_application_arn:** `typing.Optional[str]` + +
+
+ +
+
+ +**sns_gcm_platform_application_arn:** `typing.Optional[str]`
@@ -27116,7 +32793,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-
client.guardian.factors.push_notification.update_apns_provider(...) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContent +
client.guardian.factors.push_notification.get_selected_provider() -> GetGuardianFactorsProviderPushNotificationResponseContent
@@ -27128,7 +32805,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. +Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA.
@@ -27151,7 +32828,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.update_apns_provider() +client.guardian.factors.push_notification.get_selected_provider() ``` @@ -27167,30 +32844,6 @@ client.guardian.factors.push_notification.update_apns_provider()
-**sandbox:** `typing.Optional[bool]` - -
-
- -
-
- -**bundle_id:** `typing.Optional[str]` - -
-
- -
-
- -**p_12:** `typing.Optional[str]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27203,7 +32856,7 @@ client.guardian.factors.push_notification.update_apns_provider()
-
client.guardian.factors.push_notification.set_fcm_provider(...) -> SetGuardianFactorsProviderPushNotificationFcmResponseContent +
client.guardian.factors.push_notification.set_provider(...) -> SetGuardianFactorsProviderPushNotificationResponseContent
@@ -27215,7 +32868,7 @@ client.guardian.factors.push_notification.update_apns_provider()
-Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant. +Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA.
@@ -27238,7 +32891,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.set_fcm_provider() +client.guardian.factors.push_notification.set_provider( + provider="guardian", +) ``` @@ -27254,7 +32909,7 @@ client.guardian.factors.push_notification.set_fcm_provider()
-**server_key:** `typing.Optional[str]` +**provider:** `GuardianFactorsProviderPushNotificationProviderDataEnum`
@@ -27274,7 +32929,8 @@ client.guardian.factors.push_notification.set_fcm_provider()
-
client.guardian.factors.push_notification.update_fcm_provider(...) -> UpdateGuardianFactorsProviderPushNotificationFcmResponseContent +## Guardian Factors Sms +
client.guardian.factors.sms.get_twilio_provider() -> GetGuardianFactorsProviderSmsTwilioResponseContent
@@ -27286,7 +32942,9 @@ client.guardian.factors.push_notification.set_fcm_provider()
-Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. +Retrieve the Twilio SMS provider configuration (subscription required). + + A new endpoint is available to retrieve the Twilio configuration related to phone factors (phone Twilio configuration). It has the same payload as this one. Please use it instead.
@@ -27309,7 +32967,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.update_fcm_provider() +client.guardian.factors.sms.get_twilio_provider() ``` @@ -27325,14 +32983,6 @@ client.guardian.factors.push_notification.update_fcm_provider()
-**server_key:** `typing.Optional[str]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27345,7 +32995,7 @@ client.guardian.factors.push_notification.update_fcm_provider()
-
client.guardian.factors.push_notification.set_fcmv_1_provider(...) -> SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent +
client.guardian.factors.sms.set_twilio_provider(...) -> SetGuardianFactorsProviderSmsTwilioResponseContent
@@ -27357,7 +33007,9 @@ client.guardian.factors.push_notification.update_fcm_provider()
-Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. +This endpoint has been deprecated. To complete this action, use the Update Twilio phone configuration endpoint. + + Previous functionality: Update the Twilio SMS provider configuration.
@@ -27380,7 +33032,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.set_fcmv_1_provider() +client.guardian.factors.sms.set_twilio_provider() ``` @@ -27396,7 +33048,31 @@ client.guardian.factors.push_notification.set_fcmv_1_provider()
-**server_credentials:** `typing.Optional[str]` +**from:** `typing.Optional[str]` — From number + +
+
+ +
+
+ +**messaging_service_sid:** `typing.Optional[str]` — Copilot SID + +
+
+ +
+
+ +**auth_token:** `typing.Optional[str]` — Twilio Authentication token + +
+
+ +
+
+ +**sid:** `typing.Optional[str]` — Twilio SID
@@ -27416,7 +33092,7 @@ client.guardian.factors.push_notification.set_fcmv_1_provider()
-
client.guardian.factors.push_notification.update_fcmv_1_provider(...) -> UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent +
client.guardian.factors.sms.get_selected_provider() -> GetGuardianFactorsProviderSmsResponseContent
@@ -27428,7 +33104,9 @@ client.guardian.factors.push_notification.set_fcmv_1_provider()
-Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. +This endpoint has been deprecated. To complete this action, use the Retrieve phone configuration endpoint instead. + + Previous functionality: Retrieve details for the multi-factor authentication SMS provider configured for your tenant.
@@ -27451,7 +33129,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.update_fcmv_1_provider() +client.guardian.factors.sms.get_selected_provider() ``` @@ -27467,14 +33145,6 @@ client.guardian.factors.push_notification.update_fcmv_1_provider()
-**server_credentials:** `typing.Optional[str]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27487,7 +33157,7 @@ client.guardian.factors.push_notification.update_fcmv_1_provider()
-
client.guardian.factors.push_notification.get_sns_provider() -> GetGuardianFactorsProviderSnsResponseContent +
client.guardian.factors.sms.set_provider(...) -> SetGuardianFactorsProviderSmsResponseContent
@@ -27499,7 +33169,9 @@ client.guardian.factors.push_notification.update_fcmv_1_provider()
-Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa). +This endpoint has been deprecated. To complete this action, use the Update phone configuration endpoint instead. + + Previous functionality: Update the multi-factor authentication SMS provider configuration in your tenant.
@@ -27522,7 +33194,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.get_sns_provider() +client.guardian.factors.sms.set_provider( + provider="auth0", +) ``` @@ -27538,6 +33212,14 @@ client.guardian.factors.push_notification.get_sns_provider()
+**provider:** `GuardianFactorsProviderSmsProviderEnum` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27550,7 +33232,7 @@ client.guardian.factors.push_notification.get_sns_provider()
-
client.guardian.factors.push_notification.set_sns_provider(...) -> SetGuardianFactorsProviderPushNotificationSnsResponseContent +
client.guardian.factors.sms.get_templates() -> typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]
@@ -27562,7 +33244,9 @@ client.guardian.factors.push_notification.get_sns_provider()
-Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required). +This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. + + Previous function: Retrieve details of SMS enrollment and verification templates configured for your tenant.
@@ -27585,7 +33269,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.set_sns_provider() +client.guardian.factors.sms.get_templates() ``` @@ -27601,46 +33285,6 @@ client.guardian.factors.push_notification.set_sns_provider()
-**aws_access_key_id:** `typing.Optional[str]` - -
-
- -
-
- -**aws_secret_access_key:** `typing.Optional[str]` - -
-
- -
-
- -**aws_region:** `typing.Optional[str]` - -
-
- -
-
- -**sns_apns_platform_application_arn:** `typing.Optional[str]` - -
-
- -
-
- -**sns_gcm_platform_application_arn:** `typing.Optional[str]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27653,7 +33297,7 @@ client.guardian.factors.push_notification.set_sns_provider()
-
client.guardian.factors.push_notification.update_sns_provider(...) -> UpdateGuardianFactorsProviderPushNotificationSnsResponseContent +
client.guardian.factors.sms.set_templates(...) -> SetGuardianFactorSmsTemplatesResponseContent
@@ -27665,7 +33309,9 @@ client.guardian.factors.push_notification.set_sns_provider()
-Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required). +This endpoint has been deprecated. To complete this action, use the Update enrollment and verification phone templates endpoint instead. + + Previous functionality: Customize the messages sent to complete SMS enrollment and verification.
@@ -27688,7 +33334,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.update_sns_provider() +client.guardian.factors.sms.set_templates( + enrollment_message="enrollment_message", + verification_message="verification_message", +) ``` @@ -27704,7 +33353,7 @@ client.guardian.factors.push_notification.update_sns_provider()
-**aws_access_key_id:** `typing.Optional[str]` +**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number.
@@ -27712,7 +33361,7 @@ client.guardian.factors.push_notification.update_sns_provider()
-**aws_secret_access_key:** `typing.Optional[str]` +**verification_message:** `str` — Message sent to the user when they are prompted to verify their account.
@@ -27720,26 +33369,66 @@ client.guardian.factors.push_notification.update_sns_provider()
-**aws_region:** `typing.Optional[str]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Guardian Factors Duo Settings +
client.guardian.factors.duo.settings.get() -> GetGuardianFactorDuoSettingsResponseContent
-**sns_apns_platform_application_arn:** `typing.Optional[str]` - +#### 📝 Description + +
+
+ +
+
+ +Retrieves the DUO account and factor configuration. +
+
+#### 🔌 Usage +
-**sns_gcm_platform_application_arn:** `typing.Optional[str]` - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.guardian.factors.duo.settings.get() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -27756,7 +33445,7 @@ client.guardian.factors.push_notification.update_sns_provider()
-
client.guardian.factors.push_notification.get_selected_provider() -> GetGuardianFactorsProviderPushNotificationResponseContent +
client.guardian.factors.duo.settings.set(...) -> SetGuardianFactorDuoSettingsResponseContent
@@ -27768,7 +33457,7 @@ client.guardian.factors.push_notification.update_sns_provider()
-Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA. +Set the DUO account configuration and other properties specific to this factor.
@@ -27791,7 +33480,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.get_selected_provider() +client.guardian.factors.duo.settings.set() ``` @@ -27807,35 +33496,45 @@ client.guardian.factors.push_notification.get_selected_provider()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**ikey:** `typing.Optional[str]`
- -
+
+
+**skey:** `typing.Optional[str]` +
-
-
client.guardian.factors.push_notification.set_provider(...) -> SetGuardianFactorsProviderPushNotificationResponseContent
-#### 📝 Description - -
-
+**host:** `typing.Optional[str]` + +
+
-Modify the push notification provider configured for your tenant. For more information, review Configure Push Notifications for MFA. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ + +
+ +
client.guardian.factors.duo.settings.update(...) -> UpdateGuardianFactorDuoSettingsResponseContent +
+
#### 🔌 Usage @@ -27854,9 +33553,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.push_notification.set_provider( - provider="guardian", -) +client.guardian.factors.duo.settings.update() ```
@@ -27872,7 +33569,23 @@ client.guardian.factors.push_notification.set_provider(
-**provider:** `GuardianFactorsProviderPushNotificationProviderDataEnum` +**ikey:** `typing.Optional[str]` + +
+
+ +
+
+ +**skey:** `typing.Optional[str]` + +
+
+ +
+
+ +**host:** `typing.Optional[str]`
@@ -27892,8 +33605,8 @@ client.guardian.factors.push_notification.set_provider(
-## Guardian Factors Sms -
client.guardian.factors.sms.get_twilio_provider() -> GetGuardianFactorsProviderSmsTwilioResponseContent +## Hooks Secrets +
client.hooks.secrets.get(...) -> GetHookSecretResponseContent
@@ -27905,9 +33618,7 @@ client.guardian.factors.push_notification.set_provider(
-Retrieve the Twilio SMS provider configuration (subscription required). - - A new endpoint is available to retrieve the Twilio configuration related to phone factors (phone Twilio configuration). It has the same payload as this one. Please use it instead. +Retrieve a hook's secrets by the ID of the hook.
@@ -27930,7 +33641,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.get_twilio_provider() +client.hooks.secrets.get( + id="id", +) ``` @@ -27946,6 +33659,14 @@ client.guardian.factors.sms.get_twilio_provider()
+**id:** `str` — ID of the hook to retrieve secrets from. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27958,7 +33679,7 @@ client.guardian.factors.sms.get_twilio_provider()
-
client.guardian.factors.sms.set_twilio_provider(...) -> SetGuardianFactorsProviderSmsTwilioResponseContent +
client.hooks.secrets.create(...)
@@ -27970,9 +33691,7 @@ client.guardian.factors.sms.get_twilio_provider()
-This endpoint has been deprecated. To complete this action, use the Update Twilio phone configuration endpoint. - - Previous functionality: Update the Twilio SMS provider configuration. +Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
@@ -27995,7 +33714,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.set_twilio_provider() +client.hooks.secrets.create( + id="id", + request={ + "key": "value" + }, +) ``` @@ -28011,23 +33735,7 @@ client.guardian.factors.sms.set_twilio_provider()
-**from:** `typing.Optional[str]` — From number - -
-
- -
-
- -**messaging_service_sid:** `typing.Optional[str]` — Copilot SID - -
-
- -
-
- -**auth_token:** `typing.Optional[str]` — Twilio Authentication token +**id:** `str` — The id of the hook to retrieve
@@ -28035,7 +33743,7 @@ client.guardian.factors.sms.set_twilio_provider()
-**sid:** `typing.Optional[str]` — Twilio SID +**request:** `CreateHookSecretRequestContent`
@@ -28055,7 +33763,7 @@ client.guardian.factors.sms.set_twilio_provider()
-
client.guardian.factors.sms.get_selected_provider() -> GetGuardianFactorsProviderSmsResponseContent +
client.hooks.secrets.delete(...)
@@ -28067,9 +33775,7 @@ client.guardian.factors.sms.set_twilio_provider()
-This endpoint has been deprecated. To complete this action, use the Retrieve phone configuration endpoint instead. - - Previous functionality: Retrieve details for the multi-factor authentication SMS provider configured for your tenant. +Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
@@ -28092,7 +33798,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.get_selected_provider() +client.hooks.secrets.delete( + id="id", + request=[ + "string" + ], +) ``` @@ -28108,6 +33819,22 @@ client.guardian.factors.sms.get_selected_provider()
+**id:** `str` — ID of the hook whose secrets to delete. + +
+
+ +
+
+ +**request:** `DeleteHookSecretRequestContent` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28120,7 +33847,7 @@ client.guardian.factors.sms.get_selected_provider()
-
client.guardian.factors.sms.set_provider(...) -> SetGuardianFactorsProviderSmsResponseContent +
client.hooks.secrets.update(...)
@@ -28132,9 +33859,7 @@ client.guardian.factors.sms.get_selected_provider()
-This endpoint has been deprecated. To complete this action, use the Update phone configuration endpoint instead. - - Previous functionality: Update the multi-factor authentication SMS provider configuration in your tenant. +Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.
@@ -28157,8 +33882,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.set_provider( - provider="auth0", +client.hooks.secrets.update( + id="id", + request={ + "key": "value" + }, ) ``` @@ -28175,7 +33903,15 @@ client.guardian.factors.sms.set_provider(
-**provider:** `GuardianFactorsProviderSmsProviderEnum` +**id:** `str` — ID of the hook whose secrets to update. + +
+
+ +
+
+ +**request:** `UpdateHookSecretRequestContent`
@@ -28195,7 +33931,8 @@ client.guardian.factors.sms.set_provider(
-
client.guardian.factors.sms.get_templates() -> GetGuardianFactorSmsTemplatesResponseContent +## Jobs UsersExports +
client.jobs.users_exports.create(...) -> CreateExportUsersResponseContent
@@ -28207,9 +33944,7 @@ client.guardian.factors.sms.set_provider(
-This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. - - Previous function: Retrieve details of SMS enrollment and verification templates configured for your tenant. +Export all users to a file via a long-running job.
@@ -28232,7 +33967,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.get_templates() +client.jobs.users_exports.create() ``` @@ -28248,6 +33983,38 @@ client.guardian.factors.sms.get_templates()
+**connection_id:** `typing.Optional[str]` — connection_id of the connection from which users will be exported. + +
+
+ +
+
+ +**format:** `typing.Optional[JobFileFormatEnum]` + +
+
+ +
+
+ +**limit:** `typing.Optional[int]` — Limit the number of records. + +
+
+ +
+
+ +**fields:** `typing.Optional[typing.List[CreateExportUsersFields]]` — List of fields to be included in the CSV. Defaults to a predefined set of fields. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28260,7 +34027,8 @@ client.guardian.factors.sms.get_templates()
-
client.guardian.factors.sms.set_templates(...) -> SetGuardianFactorSmsTemplatesResponseContent +## Jobs UsersImports +
client.jobs.users_imports.create(...) -> CreateImportUsersResponseContent
@@ -28272,9 +34040,7 @@ client.guardian.factors.sms.get_templates()
-This endpoint has been deprecated. To complete this action, use the Update enrollment and verification phone templates endpoint instead. - - Previous functionality: Customize the messages sent to complete SMS enrollment and verification. +Import users from a formatted file into a connection via a long-running job. When importing users, with or without upsert, the `email_verified` is set to `false` when the email address is added or updated. Users must verify their email address. To avoid this behavior, set `email_verified` to `true` in the imported data.
@@ -28297,9 +34063,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.sms.set_templates( - enrollment_message="enrollment_message", - verification_message="verification_message", +client.jobs.users_imports.create( + users="example_users", + connection_id="connection_id", ) ``` @@ -28316,7 +34082,7 @@ client.guardian.factors.sms.set_templates(
-**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number. +**users:** `core.File`
@@ -28324,7 +34090,31 @@ client.guardian.factors.sms.set_templates(
-**verification_message:** `str` — Message sent to the user when they are prompted to verify their account. +**connection_id:** `str` — connection_id of the connection to which users will be imported. + +
+
+ +
+
+ +**upsert:** `typing.Optional[bool]` — Whether to update users if they already exist (true) or to ignore them (false). + +
+
+ +
+
+ +**external_id:** `typing.Optional[str]` — Customer-defined ID. + +
+
+ +
+
+ +**send_completion_email:** `typing.Optional[bool]` — Whether to send a completion email to all tenant owners when the job is finished (true) or not (false).
@@ -28344,8 +34134,8 @@ client.guardian.factors.sms.set_templates(
-## Guardian Factors Duo Settings -
client.guardian.factors.duo.settings.get() -> GetGuardianFactorDuoSettingsResponseContent +## Jobs VerificationEmail +
client.jobs.verification_email.create(...) -> CreateVerificationEmailResponseContent
@@ -28357,7 +34147,9 @@ client.guardian.factors.sms.set_templates(
-Retrieves the DUO account and factor configuration. +Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email). + +Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
@@ -28380,7 +34172,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.duo.settings.get() +client.jobs.verification_email.create( + user_id="user_id", +) ``` @@ -28396,6 +34190,38 @@ client.guardian.factors.duo.settings.get()
+**user_id:** `str` — user_id of the user to send the verification email to. + +
+
+ +
+
+ +**client_id:** `typing.Optional[str]` — client_id of the client (application). If no value provided, the global Client ID will be used. + +
+
+ +
+
+ +**identity:** `typing.Optional[Identity]` + +
+
+ +
+
+ +**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28408,7 +34234,8 @@ client.guardian.factors.duo.settings.get()
-
client.guardian.factors.duo.settings.set(...) -> SetGuardianFactorDuoSettingsResponseContent +## Jobs Errors +
client.jobs.errors.get(...) -> typing.Optional[ErrorsGetResponse]
@@ -28420,7 +34247,7 @@ client.guardian.factors.duo.settings.get()
-Set the DUO account configuration and other properties specific to this factor. +Retrieve error details of a failed job.
@@ -28443,7 +34270,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.duo.settings.set() +client.jobs.errors.get( + id="id", +) ``` @@ -28459,7 +34288,7 @@ client.guardian.factors.duo.settings.set()
-**ikey:** `typing.Optional[str]` +**id:** `str` — ID of the job.
@@ -28467,38 +34296,37 @@ client.guardian.factors.duo.settings.set()
-**skey:** `typing.Optional[str]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**host:** `typing.Optional[str]` -
+
+## Keys CustomSigning +
client.keys.custom_signing.get() -> GetCustomSigningKeysResponseContent
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.guardian.factors.duo.settings.update(...) -> UpdateGuardianFactorDuoSettingsResponseContent
+Get entire jwks representation of custom signing keys. +
+
+
+
+ #### 🔌 Usage
@@ -28516,7 +34344,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.guardian.factors.duo.settings.update() +client.keys.custom_signing.get() ``` @@ -28532,30 +34360,6 @@ client.guardian.factors.duo.settings.update()
-**ikey:** `typing.Optional[str]` - -
-
- -
-
- -**skey:** `typing.Optional[str]` - -
-
- -
-
- -**host:** `typing.Optional[str]` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28568,8 +34372,7 @@ client.guardian.factors.duo.settings.update()
-## Hooks Secrets -
client.hooks.secrets.get(...) -> GetHookSecretResponseContent +
client.keys.custom_signing.set(...) -> SetCustomSigningKeysResponseContent
@@ -28581,7 +34384,7 @@ client.guardian.factors.duo.settings.update()
-Retrieve a hook's secrets by the ID of the hook. +Create or replace entire jwks representation of custom signing keys.
@@ -28596,7 +34399,7 @@ Retrieve a hook's secrets by the ID of the hook.
```python -from auth0.management import Auth0 +from auth0.management import Auth0, CustomSigningKeyJwk from auth0.management.environment import Auth0Environment client = Auth0( @@ -28604,8 +34407,12 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.secrets.get( - id="id", +client.keys.custom_signing.set( + keys=[ + CustomSigningKeyJwk( + kty="EC", + ) + ], ) ``` @@ -28622,7 +34429,7 @@ client.hooks.secrets.get(
-**id:** `str` — ID of the hook to retrieve secrets from. +**keys:** `typing.List[CustomSigningKeyJwk]` — An array of custom public signing keys.
@@ -28642,7 +34449,7 @@ client.hooks.secrets.get(
-
client.hooks.secrets.create(...) +
client.keys.custom_signing.delete()
@@ -28654,7 +34461,7 @@ client.hooks.secrets.get(
-Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets. +Delete entire jwks representation of custom signing keys.
@@ -28677,12 +34484,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.secrets.create( - id="id", - request={ - "key": "value" - }, -) +client.keys.custom_signing.delete() ``` @@ -28698,22 +34500,6 @@ client.hooks.secrets.create(
-**id:** `str` — The id of the hook to retrieve - -
-
- -
-
- -**request:** `CreateHookSecretRequestContent` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28726,7 +34512,8 @@ client.hooks.secrets.create(
-
client.hooks.secrets.delete(...) +## Keys Encryption +
client.keys.encryption.list(...) -> ListEncryptionKeyOffsetPaginatedResponseContent
@@ -28738,7 +34525,7 @@ client.hooks.secrets.create(
-Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete. +Retrieve details of all the encryption keys associated with your tenant.
@@ -28761,11 +34548,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.secrets.delete( - id="id", - request=[ - "string" - ], +client.keys.encryption.list( + page=1, + per_page=1, + include_totals=True, ) ``` @@ -28782,7 +34568,7 @@ client.hooks.secrets.delete(
-**id:** `str` — ID of the hook whose secrets to delete. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
@@ -28790,7 +34576,15 @@ client.hooks.secrets.delete(
-**request:** `DeleteHookSecretRequestContent` +**per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -28810,7 +34604,7 @@ client.hooks.secrets.delete(
-
client.hooks.secrets.update(...) +
client.keys.encryption.create(...) -> CreateEncryptionKeyResponseContent
@@ -28822,7 +34616,7 @@ client.hooks.secrets.delete(
-Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret. +Create the new, pre-activated encryption key, without the key material.
@@ -28845,11 +34639,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.hooks.secrets.update( - id="id", - request={ - "key": "value" - }, +client.keys.encryption.create( + type="customer-provided-root-key", ) ``` @@ -28866,15 +34657,7 @@ client.hooks.secrets.update(
-**id:** `str` — ID of the hook whose secrets to update. - -
-
- -
-
- -**request:** `UpdateHookSecretRequestContent` +**type:** `CreateEncryptionKeyType`
@@ -28894,8 +34677,7 @@ client.hooks.secrets.update(
-## Jobs UsersExports -
client.jobs.users_exports.create(...) -> CreateExportUsersResponseContent +
client.keys.encryption.rekey()
@@ -28907,7 +34689,7 @@ client.hooks.secrets.update(
-Export all users to a file via a long-running job. +Perform rekeying operation on the key hierarchy.
@@ -28930,7 +34712,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.jobs.users_exports.create() +client.keys.encryption.rekey() ``` @@ -28946,31 +34728,72 @@ client.jobs.users_exports.create()
-**connection_id:** `typing.Optional[str]` — connection_id of the connection from which users will be exported. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.keys.encryption.get(...) -> GetEncryptionKeyResponseContent
-**format:** `typing.Optional[JobFileFormatEnum]` - +#### 📝 Description + +
+
+ +
+
+ +Retrieve details of the encryption key with the given ID.
+
+
+ +#### 🔌 Usage
-**limit:** `typing.Optional[int]` — Limit the number of records. - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.keys.encryption.get( + kid="kid", +) + +``` +
+
+#### ⚙️ Parameters +
-**fields:** `typing.Optional[typing.List[CreateExportUsersFields]]` — List of fields to be included in the CSV. Defaults to a predefined set of fields. +
+
+ +**kid:** `str` — Encryption key ID
@@ -28990,8 +34813,7 @@ client.jobs.users_exports.create()
-## Jobs UsersImports -
client.jobs.users_imports.create(...) -> CreateImportUsersResponseContent +
client.keys.encryption.import(...) -> ImportEncryptionKeyResponseContent
@@ -29003,7 +34825,7 @@ client.jobs.users_exports.create()
-Import users from a formatted file into a connection via a long-running job. When importing users, with or without upsert, the `email_verified` is set to `false` when the email address is added or updated. Users must verify their email address. To avoid this behavior, set `email_verified` to `true` in the imported data. +Import wrapped key material and activate encryption key.
@@ -29026,9 +34848,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.jobs.users_imports.create( - users="example_users", - connection_id="connection_id", +client.keys.encryption.import_( + kid="kid", + wrapped_key="wrapped_key", ) ``` @@ -29045,31 +34867,7 @@ client.jobs.users_imports.create(
-**users:** `core.File` - -
-
- -
-
- -**connection_id:** `str` — connection_id of the connection to which users will be imported. - -
-
- -
-
- -**upsert:** `typing.Optional[bool]` — Whether to update users if they already exist (true) or to ignore them (false). - -
-
- -
-
- -**external_id:** `typing.Optional[str]` — Customer-defined ID. +**kid:** `str` — Encryption key ID
@@ -29077,7 +34875,7 @@ client.jobs.users_imports.create(
-**send_completion_email:** `typing.Optional[bool]` — Whether to send a completion email to all tenant owners when the job is finished (true) or not (false). +**wrapped_key:** `str` — Base64 encoded ciphertext of key material wrapped by public wrapping key.
@@ -29097,8 +34895,7 @@ client.jobs.users_imports.create(
-## Jobs VerificationEmail -
client.jobs.verification_email.create(...) -> CreateVerificationEmailResponseContent +
client.keys.encryption.delete(...)
@@ -29110,9 +34907,7 @@ client.jobs.users_imports.create(
-Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email). - -Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent. +Delete the custom provided encryption key with the given ID and move back to using native encryption key.
@@ -29135,8 +34930,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.jobs.verification_email.create( - user_id="user_id", +client.keys.encryption.delete( + kid="kid", ) ``` @@ -29153,31 +34948,7 @@ client.jobs.verification_email.create(
-**user_id:** `str` — user_id of the user to send the verification email to. - -
-
- -
-
- -**client_id:** `typing.Optional[str]` — client_id of the client (application). If no value provided, the global Client ID will be used. - -
-
- -
-
- -**identity:** `typing.Optional[Identity]` - -
-
- -
-
- -**organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters. +**kid:** `str` — Encryption key ID
@@ -29197,8 +34968,7 @@ client.jobs.verification_email.create(
-## Jobs Errors -
client.jobs.errors.get(...) -> ErrorsGetResponse +
client.keys.encryption.create_public_wrapping_key(...) -> CreateEncryptionKeyPublicWrappingResponseContent
@@ -29210,7 +34980,7 @@ client.jobs.verification_email.create(
-Retrieve error details of a failed job. +Create the public wrapping key to wrap your own encryption key material.
@@ -29233,8 +35003,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.jobs.errors.get( - id="id", +client.keys.encryption.create_public_wrapping_key( + kid="kid", ) ``` @@ -29251,7 +35021,7 @@ client.jobs.errors.get(
-**id:** `str` — ID of the job. +**kid:** `str` — Encryption key ID
@@ -29271,8 +35041,8 @@ client.jobs.errors.get(
-## Keys CustomSigning -
client.keys.custom_signing.get() -> GetCustomSigningKeysResponseContent +## Keys NetworkAcls +
client.keys.network_acls.list() -> GetAllKeysNetworkAclsResponseContent
@@ -29284,7 +35054,7 @@ client.jobs.errors.get(
-Get entire jwks representation of custom signing keys. +Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending.
@@ -29307,7 +35077,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.custom_signing.get() +client.keys.network_acls.list() ``` @@ -29335,7 +35105,7 @@ client.keys.custom_signing.get()
-
client.keys.custom_signing.set(...) -> SetCustomSigningKeysResponseContent +
client.keys.network_acls.create(...) -> CreateKeysNetworkAclsResponseContent
@@ -29347,7 +35117,7 @@ client.keys.custom_signing.get()
-Create or replace entire jwks representation of custom signing keys. +Create a new key used to verify HTTP Message Signatures on Network ACL rules.
@@ -29362,7 +35132,7 @@ Create or replace entire jwks representation of custom signing keys.
```python -from auth0.management import Auth0, CustomSigningKeyJwk +from auth0.management import Auth0 from auth0.management.environment import Auth0Environment client = Auth0( @@ -29370,12 +35140,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.custom_signing.set( - keys=[ - CustomSigningKeyJwk( - kty="EC", - ) - ], +client.keys.network_acls.create( + name="name", + alg="hmac-sha256", + value="value", ) ``` @@ -29392,7 +35160,23 @@ client.keys.custom_signing.set(
-**keys:** `typing.List[CustomSigningKeyJwk]` — An array of custom public signing keys. +**name:** `str` — Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. + +
+
+ +
+
+ +**alg:** `NetworkAclKeyAlgorithmEnum` + +
+
+ +
+
+ +**value:** `str` — Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported.
@@ -29412,7 +35196,7 @@ client.keys.custom_signing.set(
-
client.keys.custom_signing.delete() +
client.keys.network_acls.get(...) -> NetworkAclKey
@@ -29424,7 +35208,7 @@ client.keys.custom_signing.set(
-Delete entire jwks representation of custom signing keys. +Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules.
@@ -29447,7 +35231,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.custom_signing.delete() +client.keys.network_acls.get( + id="id", +) ``` @@ -29463,6 +35249,14 @@ client.keys.custom_signing.delete()
+**id:** `str` — ID of the Network ACL Key to retrieve. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29475,8 +35269,7 @@ client.keys.custom_signing.delete()
-## Keys Encryption -
client.keys.encryption.list(...) -> ListEncryptionKeyOffsetPaginatedResponseContent +
client.keys.network_acls.delete(...)
@@ -29488,7 +35281,7 @@ client.keys.custom_signing.delete()
-Retrieve details of all the encryption keys associated with your tenant. +Delete a key used to verify HTTP Message Signatures on Network ACL rules
@@ -29511,10 +35304,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.list( - page=1, - per_page=1, - include_totals=True, +client.keys.network_acls.delete( + id="id", ) ``` @@ -29531,23 +35322,7 @@ client.keys.encryption.list(
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - -
-
- -
-
- -**per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100. - -
-
- -
-
- -**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**id:** `str` — ID of the Network ACL Key to delete.
@@ -29567,7 +35342,8 @@ client.keys.encryption.list(
-
client.keys.encryption.create(...) -> CreateEncryptionKeyResponseContent +## Keys Signing +
client.keys.signing.list() -> typing.List[SigningKeys]
@@ -29579,7 +35355,7 @@ client.keys.encryption.list(
-Create the new, pre-activated encryption key, without the key material. +Retrieve details of all the application signing keys associated with your tenant.
@@ -29602,9 +35378,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.create( - type="customer-provided-root-key", -) +client.keys.signing.list() ``` @@ -29620,14 +35394,6 @@ client.keys.encryption.create(
-**type:** `CreateEncryptionKeyType` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29640,7 +35406,7 @@ client.keys.encryption.create(
-
client.keys.encryption.rekey() +
client.keys.signing.rotate() -> RotateSigningKeysResponseContent
@@ -29652,7 +35418,7 @@ client.keys.encryption.create(
-Perform rekeying operation on the key hierarchy. +Rotate the application signing key of your tenant.
@@ -29675,7 +35441,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.rekey() +client.keys.signing.rotate() ``` @@ -29703,7 +35469,7 @@ client.keys.encryption.rekey()
-
client.keys.encryption.get(...) -> GetEncryptionKeyResponseContent +
client.keys.signing.get(...) -> GetSigningKeysResponseContent
@@ -29715,7 +35481,7 @@ client.keys.encryption.rekey()
-Retrieve details of the encryption key with the given ID. +Retrieve details of the application signing key with the given ID.
@@ -29738,7 +35504,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.get( +client.keys.signing.get( kid="kid", ) @@ -29756,7 +35522,7 @@ client.keys.encryption.get(
-**kid:** `str` — Encryption key ID +**kid:** `str` — Key id of the key to retrieve
@@ -29776,7 +35542,7 @@ client.keys.encryption.get(
-
client.keys.encryption.import(...) -> ImportEncryptionKeyResponseContent +
client.keys.signing.revoke(...) -> RevokedSigningKeysResponseContent
@@ -29788,7 +35554,7 @@ client.keys.encryption.get(
-Import wrapped key material and activate encryption key. +Revoke the application signing key with the given ID.
@@ -29811,9 +35577,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.import_( +client.keys.signing.revoke( kid="kid", - wrapped_key="wrapped_key", ) ``` @@ -29830,15 +35595,7 @@ client.keys.encryption.import_(
-**kid:** `str` — Encryption key ID - -
-
- -
-
- -**wrapped_key:** `str` — Base64 encoded ciphertext of key material wrapped by public wrapping key. +**kid:** `str` — Key id of the key to revoke
@@ -29858,24 +35615,11 @@ client.keys.encryption.import_(
-
client.keys.encryption.delete(...) -
-
- -#### 📝 Description - -
-
- +## Organizations ClientGrants +
client.organizations.client_grants.list(...) -> ListOrganizationClientGrantsOffsetPaginatedResponseContent
-Delete the custom provided encryption key with the given ID and move back to using native encryption key. -
-
-
-
- #### 🔌 Usage
@@ -29893,8 +35637,16 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.encryption.delete( - kid="kid", +client.organizations.client_grants.list( + id="id", + audience="audience", + client_id="client_id", + grant_ids=[ + "grant_ids" + ], + page=1, + per_page=1, + include_totals=True, ) ``` @@ -29911,7 +35663,7 @@ client.keys.encryption.delete(
-**kid:** `str` — Encryption key ID +**id:** `str` — Organization identifier.
@@ -29919,72 +35671,47 @@ client.keys.encryption.delete(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**audience:** `typing.Optional[str]` — Optional filter on audience of the client grant.
-
-
+
+
+**client_id:** `typing.Optional[str]` — Optional filter on client_id of the client grant. +
-
-
client.keys.encryption.create_public_wrapping_key(...) -> CreateEncryptionKeyPublicWrappingResponseContent
-#### 📝 Description - -
-
+**grant_ids:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — Optional filter on the ID of the client grant. Must be URL encoded and may be specified multiple times (max 10).
e.g. ../client-grants?grant_ids=id1&grant_ids=id2 + +
+
-Create the public wrapping key to wrap your own encryption key material. -
-
+**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +
-#### 🔌 Usage - -
-
-
-```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.keys.encryption.create_public_wrapping_key( - kid="kid", -) - -``` -
-
+**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +
-#### ⚙️ Parameters - -
-
-
-**kid:** `str` — Encryption key ID +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
@@ -30004,25 +35731,10 @@ client.keys.encryption.create_public_wrapping_key(
-## Keys Signing -
client.keys.signing.list() -> typing.List[SigningKeys] -
-
- -#### 📝 Description - -
-
- +
client.organizations.client_grants.create(...) -> AssociateOrganizationClientGrantResponseContent
-Retrieve details of all the application signing keys associated with your tenant. -
-
-
-
- #### 🔌 Usage
@@ -30040,7 +35752,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.signing.list() +client.organizations.client_grants.create( + id="id", + grant_id="grant_id", +) ```
@@ -30056,66 +35771,19 @@ client.keys.signing.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str` — Organization identifier.
- -
- - - - -
- -
client.keys.signing.rotate() -> RotateSigningKeysResponseContent -
-
- -#### 📝 Description - -
-
-Rotate the application signing key of your tenant. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.keys.signing.rotate() - -``` -
-
+**grant_id:** `str` — A Client Grant ID to add to the organization. +
-#### ⚙️ Parameters - -
-
-
@@ -30131,24 +35799,10 @@ client.keys.signing.rotate()
-
client.keys.signing.get(...) -> GetSigningKeysResponseContent -
-
- -#### 📝 Description - -
-
- +
client.organizations.client_grants.delete(...)
-Retrieve details of the application signing key with the given ID. -
-
-
-
- #### 🔌 Usage
@@ -30166,8 +35820,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.signing.get( - kid="kid", +client.organizations.client_grants.delete( + id="id", + grant_id="grant_id", ) ``` @@ -30184,7 +35839,15 @@ client.keys.signing.get(
-**kid:** `str` — Key id of the key to retrieve +**id:** `str` — Organization identifier. + +
+
+ +
+
+ +**grant_id:** `str` — The Client Grant ID to remove from the organization
@@ -30204,7 +35867,8 @@ client.keys.signing.get(
-
client.keys.signing.revoke(...) -> RevokedSigningKeysResponseContent +## Organizations Clients +
client.organizations.clients.list(...) -> ListOrganizationClientsResponseContent
@@ -30216,7 +35880,12 @@ client.keys.signing.get(
-Revoke the application signing key with the given ID. +List all clients associated with an organization, using checkpoint pagination. +
    +
  • + Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +
  • +
@@ -30239,8 +35908,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.keys.signing.revoke( - kid="kid", +client.organizations.clients.list( + id="id", + from_="from", + take=1, ) ``` @@ -30257,7 +35928,23 @@ client.keys.signing.revoke(
-**kid:** `str` — Key id of the key to revoke +**id:** `str` — ID of the organization. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100.
@@ -30277,11 +35964,24 @@ client.keys.signing.revoke(
-## Organizations ClientGrants -
client.organizations.client_grants.list(...) -> ListOrganizationClientGrantsOffsetPaginatedResponseContent +
client.organizations.clients.create(...) -> CreateOrganizationClientsResponseContent
+#### 📝 Description + +
+
+ +
+
+ +Associate one or more clients with an organization. +
+
+
+
+ #### 🔌 Usage
@@ -30291,7 +35991,7 @@ client.keys.signing.revoke(
```python -from auth0.management import Auth0 +from auth0.management import Auth0, CreateOrganizationClientRequestItem from auth0.management.environment import Auth0Environment client = Auth0( @@ -30299,16 +35999,14 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.client_grants.list( +client.organizations.clients.create( id="id", - audience="audience", - client_id="client_id", - grant_ids=[ - "grant_ids" + clients=[ + CreateOrganizationClientRequestItem( + client_id="client_id", + use_for_member_access=True, + ) ], - page=1, - per_page=1, - include_totals=True, ) ``` @@ -30325,7 +36023,7 @@ client.organizations.client_grants.list(
-**id:** `str` — Organization identifier. +**id:** `str` — ID of the organization.
@@ -30333,7 +36031,7 @@ client.organizations.client_grants.list(
-**audience:** `typing.Optional[str]` — Optional filter on audience of the client grant. +**clients:** `typing.List[CreateOrganizationClientRequestItem]` — List of clients to associate with the organization.
@@ -30341,31 +36039,75 @@ client.organizations.client_grants.list(
-**client_id:** `typing.Optional[str]` — Optional filter on client_id of the client grant. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + +
+
+
+
client.organizations.clients.delete(...)
-**grant_ids:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — Optional filter on the ID of the client grant. Must be URL encoded and may be specified multiple times (max 10).
e.g. ../client-grants?grant_ids=id1&grant_ids=id2 - +#### 📝 Description + +
+
+ +
+
+ +Remove one or more client associations from an organization. +
+
+#### 🔌 Usage +
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. - +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.clients.delete( + id="id", + clients=[ + "clients" + ], +) + +```
+
+
+ +#### ⚙️ Parameters
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +
+
+ +**id:** `str` — ID of the organization.
@@ -30373,7 +36115,7 @@ client.organizations.client_grants.list(
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**clients:** `typing.List[str]` — List of client IDs to disassociate from the organization.
@@ -30393,10 +36135,24 @@ client.organizations.client_grants.list(
-
client.organizations.client_grants.create(...) -> AssociateOrganizationClientGrantResponseContent +
client.organizations.clients.get(...) -> GetOrganizationClientResponseContent
+#### 📝 Description + +
+
+ +
+
+ +Get a specific client association for an organization. +
+
+
+
+ #### 🔌 Usage
@@ -30414,9 +36170,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.client_grants.create( +client.organizations.clients.get( id="id", - grant_id="grant_id", + client_id="client_id", ) ``` @@ -30433,7 +36189,7 @@ client.organizations.client_grants.create(
-**id:** `str` — Organization identifier. +**id:** `str` — ID of the organization.
@@ -30441,7 +36197,7 @@ client.organizations.client_grants.create(
-**grant_id:** `str` — A Client Grant ID to add to the organization. +**client_id:** `str` — ID of the client association to retrieve.
@@ -30461,10 +36217,24 @@ client.organizations.client_grants.create(
-
client.organizations.client_grants.delete(...) +
client.organizations.clients.update(...) -> UpdateOrganizationClientResponseContent +
+
+ +#### 📝 Description + +
+
+
+Update an organization client association. +
+
+
+
+ #### 🔌 Usage
@@ -30482,9 +36252,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.client_grants.delete( +client.organizations.clients.update( id="id", - grant_id="grant_id", + client_id="client_id", ) ``` @@ -30501,7 +36271,7 @@ client.organizations.client_grants.delete(
-**id:** `str` — Organization identifier. +**id:** `str` — ID of the organization.
@@ -30509,7 +36279,15 @@ client.organizations.client_grants.delete(
-**grant_id:** `str` — The Client Grant ID to remove from the organization +**client_id:** `str` — ID of the client association to update. + +
+
+ +
+
+ +**use_for_member_access:** `typing.Optional[bool]` — Whether this client is used for member access to the organization.
@@ -30721,6 +36499,14 @@ client.organizations.connections.create(
+**organization_member_access_level:** `typing.Optional[OrganizationMemberAccessLevelEnum]` + +
+
+ +
+
+ **is_enabled:** `typing.Optional[bool]` — Whether the connection is enabled for the organization.
@@ -30973,6 +36759,14 @@ client.organizations.connections.update(
+**organization_member_access_level:** `typing.Optional[OrganizationMemberAccessLevelEnumWithNull]` + +
+
+ +
+
+ **is_enabled:** `typing.Optional[bool]` — Whether the connection is enabled for the organization.
@@ -32462,7 +38256,7 @@ List organization members. This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it. - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned. -- Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. +- Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. Only directly assigned roles are returned. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. This endpoint supports two types of pagination: @@ -32498,6 +38292,7 @@ client = Auth0( client.organizations.members.list( id="id", + include_totals=True, from_="from", take=1, fields="fields", @@ -32526,6 +38321,14 @@ client.organizations.members.list(
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ **from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -33222,6 +39025,8 @@ client.organizations.members.effective_roles.list( Retrieve detailed list of roles assigned to a given user within the context of a specific Organization. Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included. + +**Note**: Returns only direct role assignments for this member. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`.
@@ -33450,12 +39255,106 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.members.roles.delete( +client.organizations.members.roles.delete( + id="id", + user_id="user_id", + roles=[ + "roles" + ], +) + +``` + + + + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Organization identifier. + +
+
+ +
+
+ +**user_id:** `str` — User ID of the organization member to remove roles from. + +
+
+ +
+
+ +**roles:** `typing.List[str]` — List of roles IDs associated with the organization member to remove. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Organizations Members EffectiveRoles Sources Groups +
client.organizations.members.effective_roles.sources.groups.list(...) -> ListOrganizationMemberRoleSourceGroupsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Lists the groups which grant the org member a given role. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.members.effective_roles.sources.groups.list( id="id", user_id="user_id", - roles=[ - "roles" - ], + from_="from", + take=1, + role_id="role_id", ) ``` @@ -33480,7 +39379,7 @@ client.organizations.members.roles.delete(
-**user_id:** `str` — User ID of the organization member to remove roles from. +**user_id:** `str` — ID of the user to list role source groups for.
@@ -33488,7 +39387,23 @@ client.organizations.members.roles.delete(
-**roles:** `typing.List[str]` — List of roles IDs associated with the organization member to remove. +**role_id:** `str` — The role ID to get group sources for. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -33508,8 +39423,8 @@ client.organizations.members.roles.delete(
-## Organizations Members EffectiveRoles Sources Groups -
client.organizations.members.effective_roles.sources.groups.list(...) -> ListOrganizationMemberRoleSourceGroupsResponseContent +## Organizations Roles Members +
client.organizations.roles.members.list(...) -> ListOrganizationRoleMembersResponseContent
@@ -33521,7 +39436,12 @@ client.organizations.members.roles.delete(
-Lists the groups which grant the org member a given role. +List the organization members assigned a specific role within the context of an organization. +
    +
  • + Note: Returns only members with direct role assignments. For groups assigned to this role within the organization, use GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups. +
  • +
@@ -33544,12 +39464,13 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.organizations.members.effective_roles.sources.groups.list( +client.organizations.roles.members.list( id="id", - user_id="user_id", + role_id="role_id", from_="from", take=1, - role_id="role_id", + fields="fields", + include_fields=True, ) ``` @@ -33566,7 +39487,7 @@ client.organizations.members.effective_roles.sources.groups.list(
-**id:** `str` — Organization identifier. +**id:** `str` — ID of the organization.
@@ -33574,7 +39495,7 @@ client.organizations.members.effective_roles.sources.groups.list(
-**user_id:** `str` — ID of the user to list role source groups for. +**role_id:** `str` — ID of the role to retrieve the assigned members for.
@@ -33582,7 +39503,116 @@ client.organizations.members.effective_roles.sources.groups.list(
-**role_id:** `str` — The role ID to get group sources for. +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. Values above the maximum permitted size are capped. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ +
+ + + + +
+ +## Organizations Roles Groups +
client.organizations.roles.groups.list(...) -> ListOrganizationRoleGroupsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve the list of groups assigned to a role in the context of an organization. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.organizations.roles.groups.list( + organization_id="organization_id", + role_id="role_id", + from_="from", + take=1, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**organization_id:** `str` — ID of the organization. + +
+
+ +
+
+ +**role_id:** `str` — ID of the role.
@@ -35203,6 +41233,8 @@ client.roles.permissions.delete( Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles). +**Note**: Returns only users with direct role assignments. For groups assigned to this role, use `GET /api/v2/roles/{id}/groups`. + This endpoint supports two types of pagination: - Offset pagination @@ -35242,6 +41274,7 @@ client = Auth0( client.roles.users.list( id="id", + include_totals=True, from_="from", take=1, ) @@ -35268,6 +41301,14 @@ client.roles.users.list(
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ **from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -35509,13 +41550,111 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.self_service_profiles.custom_text.set( +client.self_service_profiles.custom_text.set( + id="id", + language="en", + page="get-started", + request={ + "key": "value" + }, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The id of the self-service profile. + +
+
+ +
+
+ +**language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text. + +
+
+ +
+
+ +**page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown. + +
+
+ +
+
+ +**request:** `SetSelfServiceProfileCustomTextRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## SelfServiceProfiles SsoTicket +
client.self_service_profiles.sso_ticket.create(...) -> CreateSelfServiceProfileSsoTicketResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Creates an access ticket to initiate the Self-Service Enterprise Configuration flow using a self-service profile. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0.management import Auth0 +from auth0.management.environment import Auth0Environment + +client = Auth0( + token="", + environment=Auth0Environment.DEFAULT, +) + +client.self_service_profiles.sso_ticket.create( id="id", - language="en", - page="get-started", - request={ - "key": "value" - }, ) ``` @@ -35532,31 +41671,7 @@ client.self_service_profiles.custom_text.set(
-**id:** `str` — The id of the self-service profile. - -
-
- -
-
- -**language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text. - -
-
- -
-
- -**page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown. - -
-
- -
-
- -**request:** `SetSelfServiceProfileCustomTextRequestContent` +**id:** `str` — The id of the self-service profile to retrieve
@@ -35564,73 +41679,15 @@ client.self_service_profiles.custom_text.set(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**connection_id:** `typing.Optional[str]` — If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow
-
-
- - -
-
-
- -## SelfServiceProfiles SsoTicket -
client.self_service_profiles.sso_ticket.create(...) -> CreateSelfServiceProfileSsoTicketResponseContent -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an access ticket to initiate the Self-Service Enterprise Configuration flow using a self-service profile. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.self_service_profiles.sso_ticket.create( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters
-
-
- -**id:** `str` — The id of the self-service profile to retrieve +**connection_config:** `typing.Optional[SelfServiceProfileSsoTicketConnectionConfig]`
@@ -35638,7 +41695,7 @@ client.self_service_profiles.sso_ticket.create(
-**connection_id:** `typing.Optional[str]` — If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow +**enabled_clients:** `typing.Optional[typing.List[str]]` — List of client_ids that the connection will be enabled for.
@@ -35646,7 +41703,7 @@ client.self_service_profiles.sso_ticket.create(
-**connection_config:** `typing.Optional[SelfServiceProfileSsoTicketConnectionConfig]` +**enabled_organizations:** `typing.Optional[typing.List[SelfServiceProfileSsoTicketEnabledOrganization]]` — List of organizations that the connection will be enabled for.
@@ -35654,7 +41711,7 @@ client.self_service_profiles.sso_ticket.create(
-**enabled_clients:** `typing.Optional[typing.List[str]]` — List of client_ids that the connection will be enabled for. +**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).
@@ -35662,7 +41719,7 @@ client.self_service_profiles.sso_ticket.create(
-**enabled_organizations:** `typing.Optional[typing.List[SelfServiceProfileSsoTicketEnabledOrganization]]` — List of organizations that the connection will be enabled for. +**domain_aliases_config:** `typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig]`
@@ -35670,7 +41727,7 @@ client.self_service_profiles.sso_ticket.create(
-**ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days). +**provisioning_config:** `typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig]`
@@ -35678,7 +41735,7 @@ client.self_service_profiles.sso_ticket.create(
-**domain_aliases_config:** `typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig]` +**use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether a verified domain should be used for organization discovery during authentication.
@@ -35686,7 +41743,7 @@ client.self_service_profiles.sso_ticket.create(
-**provisioning_config:** `typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig]` +**third_party_client_access_config:** `typing.Optional[ThirdPartyClientAccessConfig]`
@@ -35694,7 +41751,7 @@ client.self_service_profiles.sso_ticket.create(
-**use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether a verified domain should be used for organization discovery during authentication. +**universal_logout_config:** `typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig]`
@@ -36139,6 +42196,14 @@ client.tenants.settings.update()
+**access_token:** `typing.Optional[ResourceServerAccessToken]` + +
+
+ +
+
+ **security_headers:** `typing.Optional[TenantSettingsNullableSecurityHeaders]`
@@ -36219,6 +42284,14 @@ client.tenants.settings.update()
+**dpop_strict_refresh_token_binding:** `typing.Optional[bool]` — Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + +
+
+ +
+
+ **skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]` Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). @@ -36247,6 +42320,14 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
+**client_id_metadata_document_dynamic_registration_supported:** `typing.Optional[bool]` — Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + +
+
+ +
+
+ **enable_ai_guide:** `typing.Optional[bool]` — Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant.
@@ -36725,150 +42806,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.authentication_methods.delete_all( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` — The ID of the user in question. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.users.authentication_methods.get(...) -> GetUserAuthenticationMethodResponseContent -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.users.authentication_methods.get( - id="id", - authentication_method_id="authentication_method_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` — The ID of the user in question. - -
-
- -
-
- -**authentication_method_id:** `str` — The ID of the authentication methods in question. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.users.authentication_methods.delete(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Remove the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0.management import Auth0 -from auth0.management.environment import Auth0Environment - -client = Auth0( - token="", - environment=Auth0Environment.DEFAULT, -) - -client.users.authentication_methods.delete( +client.users.authentication_methods.delete_all( id="id", - authentication_method_id="authentication_method_id", ) ``` @@ -36893,14 +42832,6 @@ client.users.authentication_methods.delete(
-**authentication_method_id:** `str` — The ID of the authentication method to delete. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -36913,24 +42844,10 @@ client.users.authentication_methods.delete(
-
client.users.authentication_methods.update(...) -> UpdateUserAuthenticationMethodResponseContent -
-
- -#### 📝 Description - -
-
- +
client.users.authentication_methods.get(...) -> GetUserAuthenticationMethodResponseContent
-Modify the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API. -
-
-
-
- #### 🔌 Usage
@@ -36948,7 +42865,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.authentication_methods.update( +client.users.authentication_methods.get( id="id", authentication_method_id="authentication_method_id", ) @@ -36975,23 +42892,7 @@ client.users.authentication_methods.update(
-**authentication_method_id:** `str` — The ID of the authentication method to update. - -
-
- -
-
- -**name:** `typing.Optional[str]` — A human-readable label to identify the authentication method. - -
-
- -
-
- -**preferred_authentication_method:** `typing.Optional[PreferredAuthenticationMethodEnum]` — Preferred phone authentication method +**authentication_method_id:** `str` — The ID of the authentication methods in question.
@@ -37011,8 +42912,7 @@ client.users.authentication_methods.update(
-## Users Authenticators -
client.users.authenticators.delete_all(...) +
client.users.authentication_methods.delete(...)
@@ -37024,7 +42924,7 @@ client.users.authentication_methods.update(
-Remove all authenticators registered to a given user ID, such as OTP, email, phone, and push-notification. This action cannot be undone. For more information, review [Manage Authentication Methods with Management API](https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api). +Remove the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
@@ -37047,8 +42947,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.authenticators.delete_all( +client.users.authentication_methods.delete( id="id", + authentication_method_id="authentication_method_id", ) ``` @@ -37065,7 +42966,15 @@ client.users.authenticators.delete_all(
-**id:** `str` — ID of the user to delete. +**id:** `str` — The ID of the user in question. + +
+
+ +
+
+ +**authentication_method_id:** `str` — The ID of the authentication method to delete.
@@ -37085,8 +42994,7 @@ client.users.authenticators.delete_all(
-## Users ConnectedAccounts -
client.users.connected_accounts.list(...) -> ListUserConnectedAccountsResponseContent +
client.users.authentication_methods.update(...) -> UpdateUserAuthenticationMethodResponseContent
@@ -37098,7 +43006,7 @@ client.users.authenticators.delete_all(
-Retrieve all connected accounts associated with the user. +Modify the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
@@ -37121,10 +43029,9 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.connected_accounts.list( +client.users.authentication_methods.update( id="id", - from_="from", - take=1, + authentication_method_id="authentication_method_id", ) ``` @@ -37141,7 +43048,7 @@ client.users.connected_accounts.list(
-**id:** `str` — ID of the user to list connected accounts for. +**id:** `str` — The ID of the user in question.
@@ -37149,7 +43056,7 @@ client.users.connected_accounts.list(
-**from:** `typing.Optional[str]` — Optional Id from which to start selection. +**authentication_method_id:** `str` — The ID of the authentication method to update.
@@ -37157,7 +43064,15 @@ client.users.connected_accounts.list(
-**take:** `typing.Optional[int]` — Number of results to return. Defaults to 10 with a maximum of 20 +**name:** `typing.Optional[str]` — A human-readable label to identify the authentication method. + +
+
+ +
+
+ +**preferred_authentication_method:** `typing.Optional[PreferredAuthenticationMethodEnum]` — Preferred phone authentication method
@@ -37177,8 +43092,8 @@ client.users.connected_accounts.list(
-## Users EffectivePermissions -
client.users.effective_permissions.list(...) -> ListUserEffectivePermissionsResponseContent +## Users Authenticators +
client.users.authenticators.delete_all(...)
@@ -37190,7 +43105,7 @@ client.users.connected_accounts.list(
-Returns the list of effective permissions for a user, taking into account permissions granted directly to the user, as well as those inherited through roles and group memberships. +Remove all authenticators registered to a given user ID, such as OTP, email, phone, and push-notification. This action cannot be undone. For more information, review [Manage Authentication Methods with Management API](https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api).
@@ -37213,11 +43128,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.effective_permissions.list( +client.users.authenticators.delete_all( id="id", - from_="from", - take=1, - resource_server_identifier="resource_server_identifier", ) ``` @@ -37234,31 +43146,7 @@ client.users.effective_permissions.list(
-**id:** `str` — ID of the user to retrieve the permissions for. - -
-
- -
-
- -**resource_server_identifier:** `str` — The identifier of the resource server for which to calculate user permissions. - -
-
- -
-
- -**from:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**id:** `str` — ID of the user to delete.
@@ -37278,8 +43166,8 @@ client.users.effective_permissions.list(
-## Users EffectiveRoles -
client.users.effective_roles.list(...) -> ListUserEffectiveRolesResponseContent +## Users ConnectedAccounts +
client.users.connected_accounts.list(...) -> ListUserConnectedAccountsResponseContent
@@ -37291,7 +43179,7 @@ client.users.effective_permissions.list(
-Retrieve detailed list of effective roles for a user, including roles assigned directly and through group memberships. +Retrieve all connected accounts associated with the user.
@@ -37314,7 +43202,7 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.effective_roles.list( +client.users.connected_accounts.list( id="id", from_="from", take=1, @@ -37334,7 +43222,7 @@ client.users.effective_roles.list(
-**id:** `str` — ID of the user to list effective roles for. +**id:** `str` — ID of the user to list connected accounts for.
@@ -37350,7 +43238,7 @@ client.users.effective_roles.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**take:** `typing.Optional[int]` — Number of results to return. Defaults to 10 with a maximum of 20
@@ -37370,8 +43258,8 @@ client.users.effective_roles.list(
-## Users Enrollments -
client.users.enrollments.get(...) -> typing.List[UsersEnrollment] +## Users EffectivePermissions +
client.users.effective_permissions.list(...) -> ListUserEffectivePermissionsResponseContent
@@ -37383,7 +43271,7 @@ client.users.effective_roles.list(
-Retrieve the first [multi-factor authentication](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors) enrollment that a specific user has confirmed. +Returns the list of effective permissions for a user, taking into account permissions granted directly to the user, as well as those inherited through roles and group memberships.
@@ -37406,8 +43294,11 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.enrollments.get( +client.users.effective_permissions.list( id="id", + from_="from", + take=1, + resource_server_identifier="resource_server_identifier", ) ``` @@ -37424,7 +43315,31 @@ client.users.enrollments.get(
-**id:** `str` — ID of the user to list enrollments for. +**id:** `str` — ID of the user to retrieve the permissions for. + +
+
+ +
+
+ +**resource_server_identifier:** `str` — The identifier of the resource server for which to calculate user permissions. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -37444,8 +43359,8 @@ client.users.enrollments.get(
-## Users FederatedConnectionsTokensets -
client.users.federated_connections_tokensets.list(...) -> typing.List[FederatedConnectionTokenSet] +## Users EffectiveRoles +
client.users.effective_roles.list(...) -> ListUserEffectiveRolesResponseContent
@@ -37457,7 +43372,7 @@ client.users.enrollments.get(
-List active federated connections tokensets for a provided user +Retrieve detailed list of effective roles for a user, including roles assigned directly and through group memberships.
@@ -37480,8 +43395,10 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.federated_connections_tokensets.list( +client.users.effective_roles.list( id="id", + from_="from", + take=1, ) ``` @@ -37498,7 +43415,23 @@ client.users.federated_connections_tokensets.list(
-**id:** `str` — User identifier +**id:** `str` — ID of the user to list effective roles for. + +
+
+ +
+
+ +**from:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -37518,10 +43451,25 @@ client.users.federated_connections_tokensets.list(
-
client.users.federated_connections_tokensets.delete(...) +## Users Enrollments +
client.users.enrollments.get(...) -> typing.List[UsersEnrollment]
+#### 📝 Description + +
+
+ +
+
+ +Retrieve the first [multi-factor authentication](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors) enrollment that a specific user has confirmed. +
+
+
+
+ #### 🔌 Usage
@@ -37539,9 +43487,8 @@ client = Auth0( environment=Auth0Environment.DEFAULT, ) -client.users.federated_connections_tokensets.delete( +client.users.enrollments.get( id="id", - tokenset_id="tokenset_id", ) ``` @@ -37558,15 +43505,7 @@ client.users.federated_connections_tokensets.delete(
-**id:** `str` — Id of the user that owns the tokenset - -
-
- -
-
- -**tokenset_id:** `str` — The tokenset id +**id:** `str` — ID of the user to list enrollments for.
@@ -37626,6 +43565,7 @@ client.users.groups.get( id="id", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -37668,6 +43608,14 @@ client.users.groups.get(
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + +
+
+ +
+
+ **from:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -38209,6 +44157,22 @@ client.users.multifactor.delete_provider(
Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations). + +This endpoint supports two types of pagination: + +- Offset pagination +- Checkpoint pagination + +Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + +**Checkpoint Pagination** + +To search by checkpoint, use the following parameters: + +- `from`: Optional id from which to start selection. +- `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + +**Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
@@ -38310,6 +44274,8 @@ client.users.organizations.list(
Retrieve all permissions associated with the user. + +**Note**: Returns only permissions from direct assignments and directly assigned roles. For permissions a user has via group-based role assignments, use `GET /api/v2/users/{id}/effective-permissions`.
@@ -38681,6 +44647,8 @@ client.users.risk_assessments.clear( Retrieve detailed list of all user roles currently assigned to a user. **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles). + +**Note**: Returns only direct role assignments. To also include group-based role assignments, use `GET /api/v2/users/{id}/effective-roles`. @@ -38978,6 +44946,7 @@ client = Auth0( client.users.refresh_token.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -39004,6 +44973,14 @@ client.users.refresh_token.list(
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ **from:** `typing.Optional[str]` — An optional cursor from which to start the selection (exclusive).
@@ -39143,6 +45120,7 @@ client = Auth0( client.users.sessions.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -39169,6 +45147,14 @@ client.users.sessions.list(
+**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ **from:** `typing.Optional[str]` — An optional cursor from which to start the selection (exclusive).
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py index e9e7d62c..181237c9 100644 --- a/src/auth0/management/__init__.py +++ b/src/auth0/management/__init__.py @@ -60,7 +60,14 @@ AculOrganizationMetadata, AculRenderingModeEnum, AddOrganizationConnectionResponseContent, + AdvanceRampResponseContent, + AgentMetadata, + AgentResponseContent, + AllocationItem, + AllocationRequestItem, + AllocationStrategyEnum, AnomalyIpFormat, + AnonymousSessions, AppMetadata, AssessorsTypeEnum, AssociateOrganizationClientGrantResponseContent, @@ -79,8 +86,11 @@ AttackProtectionUpdateCaptchaHcaptcha, AttackProtectionUpdateCaptchaRecaptchaEnterprise, AttackProtectionUpdateCaptchaRecaptchaV2, + AuthenticationFlowEnum, AuthenticationMethodTypeEnum, AuthenticationTypeEnum, + B2BIntegrationConfiguration, + B2BIntegrationConfigurationIntegrationTypeEnum, BadRequestSchema, BadRequestSchemaError, BotDetectionAllowlist, @@ -110,6 +120,11 @@ BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemeFonts, + BrandingThemeIdentifiers, + BrandingThemeIdentifiersLoginDisplayEnum, + BrandingThemeIdentifiersPhoneDisplay, + BrandingThemeIdentifiersPhoneDisplayFormattingEnum, + BrandingThemeIdentifiersPhoneDisplayMaskingEnum, BrandingThemePageBackground, BrandingThemePageBackgroundPageLayoutEnum, BrandingThemeWidget, @@ -124,6 +139,7 @@ BreachedPasswordDetectionPreUserRegistrationStage, BreachedPasswordDetectionShieldsEnum, BreachedPasswordDetectionStage, + BruteForceProtectionFormSubmissionModeEnum, BruteForceProtectionModeEnum, BruteForceProtectionShieldsEnum, BulkUpdateAculResponseContent, @@ -131,6 +147,7 @@ CertificateSubjectDnCredentialTypeEnum, ChangePasswordTicketIdentity, ChangePasswordTicketResponseContent, + CimdExternalMetadataCreatedByEnum, CimdMappedClientAuthenticationMethods, CimdMappedClientAuthenticationMethodsPrivateKeyJwt, CimdMappedClientFields, @@ -170,6 +187,7 @@ ClientAddonZendesk, ClientAddonZoom, ClientAddons, + ClientAnonymousSessionTransferNetworkBindingEnum, ClientAppTypeEnum, ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration, ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -193,12 +211,14 @@ ClientDefaultOrganizationFlowsEnum, ClientEncryptionKey, ClientExternalMetadataCreatedByEnum, + ClientExternalMetadataStatusEnum, ClientExternalMetadataTypeEnum, ClientGrantAllowAnyOrganizationEnum, ClientGrantDefaultForEnum, ClientGrantOrganizationNullableUsageEnum, ClientGrantOrganizationUsageEnum, ClientGrantResponseContent, + ClientGrantSortFieldEnum, ClientGrantSubjectTypeEnum, ClientJwtConfiguration, ClientJwtConfigurationScopes, @@ -207,23 +227,53 @@ ClientMobileAndroid, ClientMobileiOs, ClientMyOrganizationConfigurationAllowedStrategiesEnum, + ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum, + ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum, ClientMyOrganizationDeletionBehaviorEnum, ClientMyOrganizationPatchConfiguration, ClientMyOrganizationPostConfiguration, ClientMyOrganizationResponseConfiguration, + ClientMyOrganizationThirdPartyClientAccessConfiguration, ClientOidcBackchannelLogoutInitiators, ClientOidcBackchannelLogoutInitiatorsEnum, ClientOidcBackchannelLogoutInitiatorsModeEnum, ClientOidcBackchannelLogoutSessionMetadata, ClientOidcBackchannelLogoutSettings, + ClientOidcSupport, + ClientOidcSupportAllowedScopesEnum, + ClientOidcSupportPatch, + ClientOidcSupportPost, ClientOrganizationDiscoveryEnum, ClientOrganizationRequireBehaviorEnum, ClientOrganizationRequireBehaviorPatchEnum, ClientOrganizationUsageEnum, ClientOrganizationUsagePatchEnum, + ClientProfile, + ClientProfileApplyPolicy, + ClientProfileApplyPolicyExternalMetadataCreatedByEnum, + ClientProfileApplyPolicyExternalMetadataTypeEnum, + ClientProfileClientConfiguration, + ClientProfileClientConfigurationOidcSupport, + ClientProfileClientConfigurationOidcSupportAllowedScopesEnum, + ClientProfileClientConfigurationOidcSupportDefaultValue, + ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum, + ClientProfileClientConfigurationOrganizationDiscoveryMethods, + ClientProfileClientConfigurationOrganizationRequireBehavior, + ClientProfileClientConfigurationOrganizationRequireBehaviorEnum, + ClientProfileClientConfigurationOrganizationUsage, + ClientProfileClientConfigurationOrganizationUsageEnum, + ClientProfileClientConfigurationRefreshToken, + ClientProfileClientConfigurationRequireProofOfPossession, + ClientProfileDescription, + ClientProfileId, + ClientProfileName, + ClientProfileRefreshTokenIdleTokenLifetime, + ClientProfileRefreshTokenLeeway, + ClientProfileRefreshTokenTokenLifetime, ClientRedirectionPolicyEnum, ClientRefreshTokenConfiguration, ClientRefreshTokenPolicy, + ClientSearchResponse, ClientSessionTransferAllowedAuthenticationMethodsEnum, ClientSessionTransferConfiguration, ClientSessionTransferDelegationConfiguration, @@ -233,6 +283,7 @@ ClientSignedRequestObjectWithPublicKey, ClientSigningKey, ClientSigningKeys, + ClientSortFieldEnum, ClientThirdPartySecurityModeEnum, ClientTokenEndpointAuthMethodEnum, ClientTokenEndpointAuthMethodOrNullEnum, @@ -241,6 +292,8 @@ ClientTokenExchangeTypeEnum, ClientTokenVaultPrivilegedAccessWithCredentialId, ClientTokenVaultPrivilegedAccessWithPublicKey, + ConflictSchema, + ConflictSchemaError, ConnectedAccount, ConnectedAccountAccessTypeEnum, ConnectionAccessTokenUrloAuth1, @@ -260,7 +313,6 @@ ConnectionAppDomainAzureAd, ConnectionAssertionDecryptionAlgorithmProfileEnum, ConnectionAssertionDecryptionSettings, - ConnectionAttributeIdentifier, ConnectionAttributeMapAttributes, ConnectionAttributeMapOidc, ConnectionAttributeMapOkta, @@ -296,6 +348,7 @@ ConnectionClientIdOidc, ConnectionClientIdPaypal, ConnectionClientIdSalesforce, + ConnectionClientIdSamlxaaRequestingApp, ConnectionClientIdWindowsLive, ConnectionClientProtocolSaml, ConnectionClientSecret, @@ -313,6 +366,7 @@ ConnectionClientSecretOidc, ConnectionClientSecretPaypal, ConnectionClientSecretSalesforce, + ConnectionClientSecretSamlxaaRequestingApp, ConnectionClientSecretWindowsLive, ConnectionCommon, ConnectionCommunityBaseUrlSalesforce, @@ -321,6 +375,8 @@ ConnectionConnectedAccountsPurposeXaa, ConnectionConnectionSettings, ConnectionConnectionSettingsPkceEnum, + ConnectionCrossAppAccessResourceApp, + ConnectionCrossAppAccessResourceAppStatusEnum, ConnectionCustomHeadersOAuth2, ConnectionCustomScripts, ConnectionDebugSaml, @@ -350,6 +406,7 @@ ConnectionEmailFromEmail, ConnectionEmailOtpAuthenticationMethod, ConnectionEmailSubjectEmail, + ConnectionEnablePushedAuthorizationRequests, ConnectionEnableScriptContext, ConnectionEnabledClient, ConnectionEnabledClients, @@ -367,7 +424,6 @@ ConnectionExtIsSuspended, ConnectionExtIsSuspendedGoogleApps, ConnectionExtProfile, - ConnectionFederatedConnectionsAccessTokens, ConnectionFieldsMap, ConnectionFieldsMapSaml, ConnectionFieldsMapSamlValue, @@ -503,6 +559,8 @@ ConnectionOptionsWordpress, ConnectionOptionsYahoo, ConnectionOptionsYandex, + ConnectionOtpChannelSettings, + ConnectionOtpSettings, ConnectionPasskeyAuthenticationMethod, ConnectionPasskeyChallengeUiEnum, ConnectionPasskeyOptions, @@ -523,16 +581,31 @@ ConnectionProfile, ConnectionProfileBitbucket, ConnectionProfileConfig, + ConnectionProfileCrossAppAccessResourceApp, + ConnectionProfileCrossAppAccessResourceAppStatus, + ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum, + ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum, + ConnectionProfileCrossAppAccessResourceAppStatusValueEnum, ConnectionProfileEnabledFeatures, ConnectionProfileId, ConnectionProfileName, ConnectionProfileOrganization, ConnectionProfileOrganizationAssignMembershipOnLoginEnum, ConnectionProfileOrganizationShowAsButtonEnum, + ConnectionProfileProvisioning, + ConnectionProfileProvisioningGoogleWorkspace, + ConnectionProfileProvisioningGoogleWorkspaceSyncUsers, + ConnectionProfileProvisioningScim, + ConnectionProfileProvisioningScimTokenDefaultExpiry, + ConnectionProfileProvisioningScimTokenMaxAllowedExpiry, + ConnectionProfileProvisioningScimTokenScopeEnum, + ConnectionProfileProvisioningScimTokenScopes, + ConnectionProfileProvisioningScimTokens, ConnectionProfileStrategyOverride, ConnectionProfileStrategyOverrides, ConnectionProfileStrategyOverridesConnectionConfig, ConnectionProfileStrategyOverridesEnabledFeatures, + ConnectionProfileStrategyOverridesProvisioning, ConnectionProfileTemplate, ConnectionProfileTemplateItem, ConnectionPropertiesOptions, @@ -542,6 +615,7 @@ ConnectionProviderSms, ConnectionProvisioningTicketUrl, ConnectionPurposes, + ConnectionPushedAuthorizationRequestEndpoint, ConnectionRealmFallback, ConnectionRealms, ConnectionRecipientUrlSaml, @@ -553,6 +627,7 @@ ConnectionRequestTemplateSaml, ConnectionRequestTokenUrloAuth1, ConnectionRequestUriParameterSupported, + ConnectionRequirePushedAuthorizationRequests, ConnectionRequireRequestUriRegistration, ConnectionRequiresUsername, ConnectionResponseCommon, @@ -721,6 +796,9 @@ ConnectionThumbprints, ConnectionThumbprintsAd, ConnectionThumbprintsSaml, + ConnectionThumbprintsSha384, + ConnectionThumbprintsSha384Ad, + ConnectionThumbprintsSha384Saml, ConnectionTokenEndpoint, ConnectionTokenEndpointAuthMethodEnum, ConnectionTokenEndpointAuthMethodsSupported, @@ -747,6 +825,7 @@ ConnectionUpstreamParamsFacebook, ConnectionUpstreamValue, ConnectionUseCommonEndpointAzureAd, + ConnectionUseOauthSpecScope, ConnectionUserAuthorizationUrloAuth1, ConnectionUserIdAttributeSaml, ConnectionUseridAttributeAzureAd, @@ -759,11 +838,15 @@ ConnectionValidationOptions, ConnectionWaadProtocol, ConnectionWaadProtocolEnumAzureAd, + ConnectionsDiscoveryUrl, ConnectionsMetadata, + ConnectionsOidcMetadata, + ConsentSigningKey, ContentSecurityPolicyConfig, CreateActionModuleResponseContent, CreateActionModuleVersionResponseContent, CreateActionResponseContent, + CreateAnonymousSessions, CreateBrandingPhoneProviderResponseContent, CreateBrandingThemeResponseContent, CreateClientAuthenticationMethodSelfSignedTlsClientAuth, @@ -883,6 +966,7 @@ CreateConnectionRequestContentYandex, CreateConnectionRequestContentYandexStrategy, CreateConnectionResponseContent, + CreateCrossAppAccessResourceApp, CreateCustomDomainResponseContent, CreateDirectoryProvisioningRequestContent, CreateDirectoryProvisioningResponseContent, @@ -898,8 +982,11 @@ CreateEventStreamResponseContent, CreateEventStreamTestEventResponseContent, CreateEventStreamWebHookRequestContent, + CreateExperimentResponseContent, CreateExportUsersFields, CreateExportUsersResponseContent, + CreateFeatureFlagParameters, + CreateFeatureFlagResponseContent, CreateFlowResponseContent, CreateFlowsVaultConnectionActivecampaign, CreateFlowsVaultConnectionActivecampaignApiKey, @@ -978,7 +1065,9 @@ CreateGuardianEnrollmentTicketResponseContent, CreateHookResponseContent, CreateHookSecretRequestContent, + CreateIdentityAssertionAuthorizationGrant, CreateImportUsersResponseContent, + CreateKeysNetworkAclsResponseContent, CreateLogStreamDatadogRequestBody, CreateLogStreamEventBridgeRequestBody, CreateLogStreamEventGridRequestBody, @@ -990,6 +1079,8 @@ CreateLogStreamSplunkRequestBody, CreateLogStreamSumoRequestBody, CreateOrganizationAllConnectionResponseContent, + CreateOrganizationClientRequestItem, + CreateOrganizationClientsResponseContent, CreateOrganizationDiscoveryDomainResponseContent, CreateOrganizationInvitationResponseContent, CreateOrganizationResponseContent, @@ -1004,6 +1095,7 @@ CreateScimConfigurationRequestContent, CreateScimConfigurationResponseContent, CreateScimTokenResponseContent, + CreateSegmentResponseContent, CreateSelfServiceProfileResponseContent, CreateSelfServiceProfileSsoTicketResponseContent, CreateTokenExchangeProfileResponseContent, @@ -1011,6 +1103,7 @@ CreateUserAttributeProfileResponseContent, CreateUserAuthenticationMethodResponseContent, CreateUserResponseContent, + CreateVariationResponseContent, CreateVerifiableCredentialTemplateResponseContent, CreateVerificationEmailResponseContent, CreatedAuthenticationMethodTypeEnum, @@ -1018,6 +1111,8 @@ CredentialDeviceTypeEnum, CredentialId, CrossAppAccessRequestingApp, + CrossAppAccessResourceApp, + CrossAppAccessResourceAppStatusEnum, CspDirectives, CspFlag, CspFlags, @@ -1048,7 +1143,9 @@ CustomSigningKeyTypeEnum, CustomSigningKeyUseEnum, DailyStats, + DefaultConfigEnum, DefaultMethodEmailIdentifierEnum, + DefaultMethodPhoneNumberIdentifierEnum, DefaultTokenQuota, DeleteHookSecretRequestContent, DeleteUserIdentityResponseContent, @@ -1070,6 +1167,7 @@ DomainVerificationMethodNameEnum, DomainVerificationStatusEnum, EmailAttribute, + EmailAttributeIdentifier, EmailMailgunRegionEnum, EmailProviderCredentials, EmailProviderCredentialsSchema, @@ -1097,6 +1195,735 @@ EventStreamActionResponseContent, EventStreamCloudEvent, EventStreamCloudEventA0PurposeEnum, + EventStreamCloudEventConnectionCreated, + EventStreamCloudEventConnectionCreatedCloudEvent, + EventStreamCloudEventConnectionCreatedCloudEventTypeEnum, + EventStreamCloudEventConnectionCreatedData, + EventStreamCloudEventConnectionCreatedObject, + EventStreamCloudEventConnectionCreatedObject0, + EventStreamCloudEventConnectionCreatedObject0Authentication, + EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject0Metadata, + EventStreamCloudEventConnectionCreatedObject0Options, + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap, + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum, + EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject0StrategyEnum, + EventStreamCloudEventConnectionCreatedObject1, + EventStreamCloudEventConnectionCreatedObject1Authentication, + EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject1Metadata, + EventStreamCloudEventConnectionCreatedObject1Options, + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap, + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum, + EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject1StrategyEnum, + EventStreamCloudEventConnectionCreatedObject2, + EventStreamCloudEventConnectionCreatedObject2Authentication, + EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject2Metadata, + EventStreamCloudEventConnectionCreatedObject2Options, + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap, + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionCreatedObject2OptionsSubject, + EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject2StrategyEnum, + EventStreamCloudEventConnectionCreatedObject3, + EventStreamCloudEventConnectionCreatedObject3Authentication, + EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject3Metadata, + EventStreamCloudEventConnectionCreatedObject3Options, + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionCreatedObject3OptionsSubject, + EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject3StrategyEnum, + EventStreamCloudEventConnectionCreatedObject4, + EventStreamCloudEventConnectionCreatedObject4Authentication, + EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject4Metadata, + EventStreamCloudEventConnectionCreatedObject4Options, + EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject4StrategyEnum, + EventStreamCloudEventConnectionCreatedObject5, + EventStreamCloudEventConnectionCreatedObject5Authentication, + EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject5Metadata, + EventStreamCloudEventConnectionCreatedObject5Options, + EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject5StrategyEnum, + EventStreamCloudEventConnectionCreatedObject6, + EventStreamCloudEventConnectionCreatedObject6Authentication, + EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject6Metadata, + EventStreamCloudEventConnectionCreatedObject6Options, + EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject6StrategyEnum, + EventStreamCloudEventConnectionCreatedObject7, + EventStreamCloudEventConnectionCreatedObject7Authentication, + EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts, + EventStreamCloudEventConnectionCreatedObject7Metadata, + EventStreamCloudEventConnectionCreatedObject7Options, + EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionCreatedObject7StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject, + EventStreamCloudEventConnectionCreatedPreviousObject0, + EventStreamCloudEventConnectionCreatedPreviousObject0Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject0Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject0Options, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum, + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1, + EventStreamCloudEventConnectionCreatedPreviousObject1Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject1Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject1Options, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum, + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2, + EventStreamCloudEventConnectionCreatedPreviousObject2Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject2Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject2Options, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject, + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3, + EventStreamCloudEventConnectionCreatedPreviousObject3Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject3Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject3Options, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject, + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject4, + EventStreamCloudEventConnectionCreatedPreviousObject4Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject4Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject4Options, + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject5, + EventStreamCloudEventConnectionCreatedPreviousObject5Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject5Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject5Options, + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject6, + EventStreamCloudEventConnectionCreatedPreviousObject6Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject6Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject6Options, + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7, + EventStreamCloudEventConnectionCreatedPreviousObject7Authentication, + EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts, + EventStreamCloudEventConnectionCreatedPreviousObject7Metadata, + EventStreamCloudEventConnectionCreatedPreviousObject7Options, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum, + EventStreamCloudEventConnectionCreatedTypeEnum, + EventStreamCloudEventConnectionDeleted, + EventStreamCloudEventConnectionDeletedCloudEvent, + EventStreamCloudEventConnectionDeletedCloudEventTypeEnum, + EventStreamCloudEventConnectionDeletedData, + EventStreamCloudEventConnectionDeletedObject, + EventStreamCloudEventConnectionDeletedObject0, + EventStreamCloudEventConnectionDeletedObject0Authentication, + EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject0Metadata, + EventStreamCloudEventConnectionDeletedObject0Options, + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap, + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum, + EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject0StrategyEnum, + EventStreamCloudEventConnectionDeletedObject1, + EventStreamCloudEventConnectionDeletedObject1Authentication, + EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject1Metadata, + EventStreamCloudEventConnectionDeletedObject1Options, + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap, + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum, + EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject1StrategyEnum, + EventStreamCloudEventConnectionDeletedObject2, + EventStreamCloudEventConnectionDeletedObject2Authentication, + EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject2Metadata, + EventStreamCloudEventConnectionDeletedObject2Options, + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap, + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionDeletedObject2OptionsSubject, + EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject2StrategyEnum, + EventStreamCloudEventConnectionDeletedObject3, + EventStreamCloudEventConnectionDeletedObject3Authentication, + EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject3Metadata, + EventStreamCloudEventConnectionDeletedObject3Options, + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionDeletedObject3OptionsSubject, + EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject3StrategyEnum, + EventStreamCloudEventConnectionDeletedObject4, + EventStreamCloudEventConnectionDeletedObject4Authentication, + EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject4Metadata, + EventStreamCloudEventConnectionDeletedObject4Options, + EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject4StrategyEnum, + EventStreamCloudEventConnectionDeletedObject5, + EventStreamCloudEventConnectionDeletedObject5Authentication, + EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject5Metadata, + EventStreamCloudEventConnectionDeletedObject5Options, + EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject5StrategyEnum, + EventStreamCloudEventConnectionDeletedObject6, + EventStreamCloudEventConnectionDeletedObject6Authentication, + EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject6Metadata, + EventStreamCloudEventConnectionDeletedObject6Options, + EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject6StrategyEnum, + EventStreamCloudEventConnectionDeletedObject7, + EventStreamCloudEventConnectionDeletedObject7Authentication, + EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts, + EventStreamCloudEventConnectionDeletedObject7Metadata, + EventStreamCloudEventConnectionDeletedObject7Options, + EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionDeletedObject7StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject, + EventStreamCloudEventConnectionDeletedPreviousObject0, + EventStreamCloudEventConnectionDeletedPreviousObject0Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject0Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject0Options, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum, + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1, + EventStreamCloudEventConnectionDeletedPreviousObject1Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject1Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject1Options, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum, + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2, + EventStreamCloudEventConnectionDeletedPreviousObject2Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject2Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject2Options, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject, + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3, + EventStreamCloudEventConnectionDeletedPreviousObject3Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject3Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject3Options, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject, + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject4, + EventStreamCloudEventConnectionDeletedPreviousObject4Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject4Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject4Options, + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject5, + EventStreamCloudEventConnectionDeletedPreviousObject5Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject5Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject5Options, + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject6, + EventStreamCloudEventConnectionDeletedPreviousObject6Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject6Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject6Options, + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7, + EventStreamCloudEventConnectionDeletedPreviousObject7Authentication, + EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts, + EventStreamCloudEventConnectionDeletedPreviousObject7Metadata, + EventStreamCloudEventConnectionDeletedPreviousObject7Options, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum, + EventStreamCloudEventConnectionDeletedTypeEnum, + EventStreamCloudEventConnectionUpdated, + EventStreamCloudEventConnectionUpdatedCloudEvent, + EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum, + EventStreamCloudEventConnectionUpdatedData, + EventStreamCloudEventConnectionUpdatedObject, + EventStreamCloudEventConnectionUpdatedObject0, + EventStreamCloudEventConnectionUpdatedObject0Authentication, + EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject0Metadata, + EventStreamCloudEventConnectionUpdatedObject0Options, + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap, + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum, + EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject0StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject1, + EventStreamCloudEventConnectionUpdatedObject1Authentication, + EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject1Metadata, + EventStreamCloudEventConnectionUpdatedObject1Options, + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap, + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum, + EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject1StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject2, + EventStreamCloudEventConnectionUpdatedObject2Authentication, + EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject2Metadata, + EventStreamCloudEventConnectionUpdatedObject2Options, + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap, + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedObject2OptionsSubject, + EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject2StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject3, + EventStreamCloudEventConnectionUpdatedObject3Authentication, + EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject3Metadata, + EventStreamCloudEventConnectionUpdatedObject3Options, + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedObject3OptionsSubject, + EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject3StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject4, + EventStreamCloudEventConnectionUpdatedObject4Authentication, + EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject4Metadata, + EventStreamCloudEventConnectionUpdatedObject4Options, + EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject4StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject5, + EventStreamCloudEventConnectionUpdatedObject5Authentication, + EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject5Metadata, + EventStreamCloudEventConnectionUpdatedObject5Options, + EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject5StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject6, + EventStreamCloudEventConnectionUpdatedObject6Authentication, + EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject6Metadata, + EventStreamCloudEventConnectionUpdatedObject6Options, + EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject6StrategyEnum, + EventStreamCloudEventConnectionUpdatedObject7, + EventStreamCloudEventConnectionUpdatedObject7Authentication, + EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedObject7Metadata, + EventStreamCloudEventConnectionUpdatedObject7Options, + EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionUpdatedObject7StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject, + EventStreamCloudEventConnectionUpdatedPreviousObject0, + EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject0Options, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1, + EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject1Options, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2, + EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject2Options, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject, + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3, + EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject3Options, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject, + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject4, + EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject4Options, + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject5, + EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject5Options, + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject6, + EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject6Options, + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7, + EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication, + EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts, + EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata, + EventStreamCloudEventConnectionUpdatedPreviousObject7Options, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum, + EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum, + EventStreamCloudEventConnectionUpdatedTypeEnum, EventStreamCloudEventContext, EventStreamCloudEventContextClient, EventStreamCloudEventContextClientMetadata, @@ -1104,6 +1931,11 @@ EventStreamCloudEventContextRequest, EventStreamCloudEventContextRequestGeo, EventStreamCloudEventContextTenant, + EventStreamCloudEventContextTransaction, + EventStreamCloudEventContextTransactionProtocolEnum, + EventStreamCloudEventContextTransactionResponseModeEnum, + EventStreamCloudEventContextTransactionResponseTypeItemEnum, + EventStreamCloudEventData, EventStreamCloudEventErrorCodeEnum, EventStreamCloudEventErrorDetail, EventStreamCloudEventErrorMessage, @@ -1119,6 +1951,13 @@ EventStreamCloudEventGroupCreatedObject1TypeEnum, EventStreamCloudEventGroupCreatedObject2, EventStreamCloudEventGroupCreatedObject2TypeEnum, + EventStreamCloudEventGroupCreatedPreviousObject, + EventStreamCloudEventGroupCreatedPreviousObject0, + EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum, + EventStreamCloudEventGroupCreatedPreviousObject1, + EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum, + EventStreamCloudEventGroupCreatedPreviousObject2, + EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum, EventStreamCloudEventGroupCreatedTypeEnum, EventStreamCloudEventGroupDeleted, EventStreamCloudEventGroupDeletedCloudEvent, @@ -1131,6 +1970,13 @@ EventStreamCloudEventGroupDeletedObject1TypeEnum, EventStreamCloudEventGroupDeletedObject2, EventStreamCloudEventGroupDeletedObject2TypeEnum, + EventStreamCloudEventGroupDeletedPreviousObject, + EventStreamCloudEventGroupDeletedPreviousObject0, + EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum, + EventStreamCloudEventGroupDeletedPreviousObject1, + EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum, + EventStreamCloudEventGroupDeletedPreviousObject2, + EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum, EventStreamCloudEventGroupDeletedTypeEnum, EventStreamCloudEventGroupMemberAdded, EventStreamCloudEventGroupMemberAddedCloudEvent, @@ -1149,6 +1995,19 @@ EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum, EventStreamCloudEventGroupMemberAddedObjectMember1, EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum, + EventStreamCloudEventGroupMemberAddedPreviousObject, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum, EventStreamCloudEventGroupMemberAddedTypeEnum, EventStreamCloudEventGroupMemberDeleted, EventStreamCloudEventGroupMemberDeletedCloudEvent, @@ -1167,6 +2026,19 @@ EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum, EventStreamCloudEventGroupMemberDeletedObjectMember1, EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum, + EventStreamCloudEventGroupMemberDeletedPreviousObject, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum, EventStreamCloudEventGroupMemberDeletedTypeEnum, EventStreamCloudEventGroupRoleAssigned, EventStreamCloudEventGroupRoleAssignedCloudEvent, @@ -1181,6 +2053,15 @@ EventStreamCloudEventGroupRoleAssignedObjectGroup2, EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum, EventStreamCloudEventGroupRoleAssignedObjectRole, + EventStreamCloudEventGroupRoleAssignedPreviousObject, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventGroupRoleAssignedPreviousObjectRole, EventStreamCloudEventGroupRoleAssignedTypeEnum, EventStreamCloudEventGroupRoleDeleted, EventStreamCloudEventGroupRoleDeletedCloudEvent, @@ -1195,6 +2076,15 @@ EventStreamCloudEventGroupRoleDeletedObjectGroup2, EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum, EventStreamCloudEventGroupRoleDeletedObjectRole, + EventStreamCloudEventGroupRoleDeletedPreviousObject, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventGroupRoleDeletedPreviousObjectRole, EventStreamCloudEventGroupRoleDeletedTypeEnum, EventStreamCloudEventGroupUpdated, EventStreamCloudEventGroupUpdatedCloudEvent, @@ -1207,6 +2097,13 @@ EventStreamCloudEventGroupUpdatedObject1TypeEnum, EventStreamCloudEventGroupUpdatedObject2, EventStreamCloudEventGroupUpdatedObject2TypeEnum, + EventStreamCloudEventGroupUpdatedPreviousObject, + EventStreamCloudEventGroupUpdatedPreviousObject0, + EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum, + EventStreamCloudEventGroupUpdatedPreviousObject1, + EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum, + EventStreamCloudEventGroupUpdatedPreviousObject2, + EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum, EventStreamCloudEventGroupUpdatedTypeEnum, EventStreamCloudEventOffsetOnlyMessage, EventStreamCloudEventOffsetOnlyMessageTypeEnum, @@ -1217,6 +2114,29 @@ EventStreamCloudEventOrgConnectionAddedObject, EventStreamCloudEventOrgConnectionAddedObjectConnection, EventStreamCloudEventOrgConnectionAddedObjectOrganization, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObject, + EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum, EventStreamCloudEventOrgConnectionAddedTypeEnum, EventStreamCloudEventOrgConnectionRemoved, EventStreamCloudEventOrgConnectionRemovedCloudEvent, @@ -1225,6 +2145,9 @@ EventStreamCloudEventOrgConnectionRemovedObject, EventStreamCloudEventOrgConnectionRemovedObjectConnection, EventStreamCloudEventOrgConnectionRemovedObjectOrganization, + EventStreamCloudEventOrgConnectionRemovedPreviousObject, + EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection, + EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization, EventStreamCloudEventOrgConnectionRemovedTypeEnum, EventStreamCloudEventOrgConnectionUpdated, EventStreamCloudEventOrgConnectionUpdatedCloudEvent, @@ -1233,6 +2156,29 @@ EventStreamCloudEventOrgConnectionUpdatedObject, EventStreamCloudEventOrgConnectionUpdatedObjectConnection, EventStreamCloudEventOrgConnectionUpdatedObjectOrganization, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObject, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum, EventStreamCloudEventOrgConnectionUpdatedTypeEnum, EventStreamCloudEventOrgCreated, EventStreamCloudEventOrgCreatedCloudEvent, @@ -1242,6 +2188,10 @@ EventStreamCloudEventOrgCreatedObjectBranding, EventStreamCloudEventOrgCreatedObjectBrandingColors, EventStreamCloudEventOrgCreatedObjectMetadata, + EventStreamCloudEventOrgCreatedPreviousObject, + EventStreamCloudEventOrgCreatedPreviousObjectBranding, + EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors, + EventStreamCloudEventOrgCreatedPreviousObjectMetadata, EventStreamCloudEventOrgCreatedTypeEnum, EventStreamCloudEventOrgDeleted, EventStreamCloudEventOrgDeletedCloudEvent, @@ -1249,6 +2199,8 @@ EventStreamCloudEventOrgDeletedData, EventStreamCloudEventOrgDeletedObject, EventStreamCloudEventOrgDeletedObjectMetadata, + EventStreamCloudEventOrgDeletedPreviousObject, + EventStreamCloudEventOrgDeletedPreviousObjectMetadata, EventStreamCloudEventOrgDeletedTypeEnum, EventStreamCloudEventOrgGroupRoleAssigned, EventStreamCloudEventOrgGroupRoleAssignedCloudEvent, @@ -1264,6 +2216,16 @@ EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum, EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization, EventStreamCloudEventOrgGroupRoleAssignedObjectRole, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObject, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole, EventStreamCloudEventOrgGroupRoleAssignedTypeEnum, EventStreamCloudEventOrgGroupRoleDeleted, EventStreamCloudEventOrgGroupRoleDeletedCloudEvent, @@ -1279,6 +2241,16 @@ EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum, EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization, EventStreamCloudEventOrgGroupRoleDeletedObjectRole, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObject, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole, EventStreamCloudEventOrgGroupRoleDeletedTypeEnum, EventStreamCloudEventOrgMemberAdded, EventStreamCloudEventOrgMemberAddedCloudEvent, @@ -1287,6 +2259,9 @@ EventStreamCloudEventOrgMemberAddedObject, EventStreamCloudEventOrgMemberAddedObjectOrganization, EventStreamCloudEventOrgMemberAddedObjectUser, + EventStreamCloudEventOrgMemberAddedPreviousObject, + EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization, + EventStreamCloudEventOrgMemberAddedPreviousObjectUser, EventStreamCloudEventOrgMemberAddedTypeEnum, EventStreamCloudEventOrgMemberDeleted, EventStreamCloudEventOrgMemberDeletedCloudEvent, @@ -1295,6 +2270,9 @@ EventStreamCloudEventOrgMemberDeletedObject, EventStreamCloudEventOrgMemberDeletedObjectOrganization, EventStreamCloudEventOrgMemberDeletedObjectUser, + EventStreamCloudEventOrgMemberDeletedPreviousObject, + EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization, + EventStreamCloudEventOrgMemberDeletedPreviousObjectUser, EventStreamCloudEventOrgMemberDeletedTypeEnum, EventStreamCloudEventOrgMemberRoleAssigned, EventStreamCloudEventOrgMemberRoleAssignedCloudEvent, @@ -1304,6 +2282,10 @@ EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization, EventStreamCloudEventOrgMemberRoleAssignedObjectRole, EventStreamCloudEventOrgMemberRoleAssignedObjectUser, + EventStreamCloudEventOrgMemberRoleAssignedPreviousObject, + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization, + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole, + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser, EventStreamCloudEventOrgMemberRoleAssignedTypeEnum, EventStreamCloudEventOrgMemberRoleDeleted, EventStreamCloudEventOrgMemberRoleDeletedCloudEvent, @@ -1313,6 +2295,10 @@ EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization, EventStreamCloudEventOrgMemberRoleDeletedObjectRole, EventStreamCloudEventOrgMemberRoleDeletedObjectUser, + EventStreamCloudEventOrgMemberRoleDeletedPreviousObject, + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization, + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole, + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser, EventStreamCloudEventOrgMemberRoleDeletedTypeEnum, EventStreamCloudEventOrgUpdated, EventStreamCloudEventOrgUpdatedCloudEvent, @@ -1322,7 +2308,12 @@ EventStreamCloudEventOrgUpdatedObjectBranding, EventStreamCloudEventOrgUpdatedObjectBrandingColors, EventStreamCloudEventOrgUpdatedObjectMetadata, + EventStreamCloudEventOrgUpdatedPreviousObject, + EventStreamCloudEventOrgUpdatedPreviousObjectBranding, + EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors, + EventStreamCloudEventOrgUpdatedPreviousObjectMetadata, EventStreamCloudEventOrgUpdatedTypeEnum, + EventStreamCloudEventSpecVersionEnum, EventStreamCloudEventUserCreated, EventStreamCloudEventUserCreatedCloudEvent, EventStreamCloudEventUserCreatedCloudEventTypeEnum, @@ -1356,6 +2347,35 @@ EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum, EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId, EventStreamCloudEventUserCreatedObjectUserMetadata, + EventStreamCloudEventUserCreatedPreviousObject, + EventStreamCloudEventUserCreatedPreviousObjectAppMetadata, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId, + EventStreamCloudEventUserCreatedPreviousObjectUserMetadata, EventStreamCloudEventUserCreatedTypeEnum, EventStreamCloudEventUserDeleted, EventStreamCloudEventUserDeletedCloudEvent, @@ -1390,6 +2410,35 @@ EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum, EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId, EventStreamCloudEventUserDeletedObjectUserMetadata, + EventStreamCloudEventUserDeletedPreviousObject, + EventStreamCloudEventUserDeletedPreviousObjectAppMetadata, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId, + EventStreamCloudEventUserDeletedPreviousObjectUserMetadata, EventStreamCloudEventUserDeletedTypeEnum, EventStreamCloudEventUserUpdated, EventStreamCloudEventUserUpdatedCloudEvent, @@ -1424,6 +2473,35 @@ EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum, EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId, EventStreamCloudEventUserUpdatedObjectUserMetadata, + EventStreamCloudEventUserUpdatedPreviousObject, + EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId, + EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata, EventStreamCloudEventUserUpdatedTypeEnum, EventStreamDelivery, EventStreamDeliveryAttempt, @@ -1441,6 +2519,9 @@ EventStreamSubscribeEventsEventTypeEnum, EventStreamSubscribeEventsEventTypeParam, EventStreamSubscribeEventsResponseContent, + EventStreamSubscribeEventsResponseContent_ConnectionCreated, + EventStreamSubscribeEventsResponseContent_ConnectionDeleted, + EventStreamSubscribeEventsResponseContent_ConnectionUpdated, EventStreamSubscribeEventsResponseContent_Error, EventStreamSubscribeEventsResponseContent_GroupCreated, EventStreamSubscribeEventsResponseContent_GroupDeleted, @@ -1478,14 +2559,23 @@ EventStreamWebhookDestination, EventStreamWebhookDestinationTypeEnum, EventStreamWebhookResponseContent, + ExperimentListItem, + ExperimentStatusEnum, + ExperimentTransitionStatusEnum, + ExperimentValidationError, ExpressConfiguration, ExpressConfigurationOrNull, ExtensibilityEmailProviderCredentials, + FeatureFlag, + FeatureFlagConfigParam, + FeatureFlagConfigParamTypeEnum, + FeatureFlagConfigParams, + FeatureFlagStatusEnum, + FeatureFlagTypeEnum, FedCmLogin, FedCmLoginGoogle, FedCmLoginGooglePatch, FedCmLoginPatch, - FederatedConnectionTokenSet, FlowAction, FlowActionActivecampaign, FlowActionActivecampaignListContacts, @@ -2054,6 +3144,7 @@ GetActionVersionResponseContent, GetActiveUsersCountStatsResponseContent, GetAculResponseContent, + GetAllKeysNetworkAclsResponseContent, GetAttackProtectionCaptchaResponseContent, GetBotDetectionSettingsResponseContent, GetBrandingDefaultThemeResponseContent, @@ -2077,11 +3168,14 @@ GetDefaultDomainResponseContent, GetDirectoryProvisioningDefaultMappingResponseContent, GetDirectoryProvisioningResponseContent, + GetEmailFactorSettingsResponseContent, GetEmailProviderResponseContent, GetEmailTemplateResponseContent, GetEncryptionKeyResponseContent, GetEventStreamDeliveryHistoryResponseContent, GetEventStreamResponseContent, + GetExperimentResponseContent, + GetFeatureFlagResponseContent, GetFlowExecutionRequestParametersHydrateEnum, GetFlowExecutionResponseContent, GetFlowRequestParametersHydrateEnum, @@ -2102,6 +3196,7 @@ GetGuardianFactorsProviderSmsResponseContent, GetGuardianFactorsProviderSmsTwilioResponseContent, GetGuardianFactorsProviderSnsResponseContent, + GetGuardianSettingsResponseContent, GetHookResponseContent, GetHookSecretResponseContent, GetJobErrorResponseContent, @@ -2115,12 +3210,14 @@ GetNetworkAclsResponseContent, GetOrganizationAllConnectionResponseContent, GetOrganizationByNameResponseContent, + GetOrganizationClientResponseContent, GetOrganizationConnectionResponseContent, GetOrganizationDiscoveryDomainByNameResponseContent, GetOrganizationDiscoveryDomainResponseContent, GetOrganizationInvitationResponseContent, GetOrganizationResponseContent, GetPartialsResponseContent, + GetPhoneFactorSettingsResponseContent, GetPhoneProviderProtectionResponseContent, GetPhoneTemplateResponseContent, GetRateLimitPolicyResponseContent, @@ -2134,6 +3231,7 @@ GetScimConfigurationDefaultMappingResponseContent, GetScimConfigurationResponseContent, GetScimTokensResponseContent, + GetSegmentResponseContent, GetSelfServiceProfileResponseContent, GetSessionResponseContent, GetSettingsResponseContent, @@ -2149,7 +3247,11 @@ GetUserAuthenticationMethodResponseContent, GetUserGroupsPaginatedResponseContent, GetUserResponseContent, + GetVariationResponseContent, GetVerifiableCredentialTemplateResponseContent, + GoogleAccountLinkingConfiguration, + GoogleAccountLinkingConfigurationCreate, + GoogleAccountLinkingConfigurationOrNull, Group, GroupMember, GroupMemberTypeEnum, @@ -2160,6 +3262,7 @@ GuardianFactor, GuardianFactorNameEnum, GuardianFactorPhoneFactorMessageTypeEnum, + GuardianFactorSettings, GuardianFactorsProviderPushNotificationProviderDataEnum, GuardianFactorsProviderSmsProviderEnum, Hook, @@ -2167,9 +3270,11 @@ HookTriggerIdEnum, HttpCustomHeader, Identity, + IdentityAssertionAuthorizationGrant, IdentityProviderEnum, IdentityProviderOnlyAuth0Enum, ImportEncryptionKeyResponseContent, + IncludeUserProfileSizeHeaderEnum, Integration, IntegrationFeatureTypeEnum, IntegrationRelease, @@ -2177,6 +3282,8 @@ IntegrationRequiredParamOption, IntegrationRequiredParamTypeEnum, IntegrationSemVer, + InternalServerErrorBody, + InternalServerErrorBodyError, JobFileFormatEnum, LinkedClientConfiguration, ListActionBindingsPaginatedResponseContent, @@ -2185,10 +3292,12 @@ ListActionsPaginatedResponseContent, ListAculsOffsetPaginatedResponseContent, ListAculsResponseContentItem, + ListAgentsResponseContent, ListBrandingPhoneProvidersResponseContent, ListClientConnectionsResponseContent, ListClientGrantOrganizationsPaginatedResponseContent, ListClientGrantPaginatedResponseContent, + ListClientProfilesPaginatedResponseContent, ListClientsOffsetPaginatedResponseContent, ListConnectionProfileTemplateResponseContent, ListConnectionProfilesPaginatedResponseContent, @@ -2197,7 +3306,10 @@ ListDeviceCredentialsOffsetPaginatedResponseContent, ListDirectoryProvisioningsResponseContent, ListEncryptionKeyOffsetPaginatedResponseContent, + ListEventStreamDeliveriesResponseContent, ListEventStreamsResponseContent, + ListExperimentsResponseContent, + ListFeatureFlagsResponseContent, ListFlowExecutionsPaginatedResponseContent, ListFlowsOffsetPaginatedResponseContent, ListFlowsRequestParametersHydrateEnum, @@ -2211,6 +3323,7 @@ ListNetworkAclsOffsetPaginatedResponseContent, ListOrganizationAllConnectionsOffsetPaginatedResponseContent, ListOrganizationClientGrantsOffsetPaginatedResponseContent, + ListOrganizationClientsResponseContent, ListOrganizationConnectionsOffsetPaginatedResponseContent, ListOrganizationDiscoveryDomainsResponseContent, ListOrganizationGroupRolesResponseContent, @@ -2220,8 +3333,11 @@ ListOrganizationMemberRoleSourceGroupsResponseContent, ListOrganizationMemberRolesOffsetPaginatedResponseContent, ListOrganizationMembersPaginatedResponseContent, + ListOrganizationRoleGroupsResponseContent, + ListOrganizationRoleMembersResponseContent, ListOrganizationsPaginatedResponseContent, ListPhoneTemplatesResponseContent, + ListPortalsResponseContent, ListRateLimitPoliciesPaginatedResponseContent, ListRefreshTokensPaginatedResponseContent, ListResourceServerOffsetPaginatedResponseContent, @@ -2231,6 +3347,7 @@ ListRolesOffsetPaginatedResponseContent, ListRulesOffsetPaginatedResponseContent, ListScimConfigurationsResponseContent, + ListSegmentsResponseContent, ListSelfServiceProfileCustomTextResponseContent, ListSelfServiceProfilesPaginatedResponseContent, ListSynchronizedGroupsResponseContent, @@ -2241,6 +3358,7 @@ ListUserBlocksByIdentifierResponseContent, ListUserBlocksResponseContent, ListUserConnectedAccountsResponseContent, + ListUserConsentSigningKeysResponseContent, ListUserEffectivePermissionRoleSourcesResponseContent, ListUserEffectivePermissionsResponseContent, ListUserEffectiveRolesResponseContent, @@ -2251,6 +3369,7 @@ ListUserRolesOffsetPaginatedResponseContent, ListUserSessionsPaginatedResponseContent, ListUsersOffsetPaginatedResponseContent, + ListVariationsResponseContent, ListVerifiableCredentialTemplatesPaginatedResponseContent, Log, LogDate, @@ -2316,14 +3435,24 @@ NetworkAclActionBlockEnum, NetworkAclActionLogEnum, NetworkAclActionRedirectEnum, + NetworkAclHttpMessageSignature, + NetworkAclHttpMessageSignatureKey, + NetworkAclHttpMessageSignatureKeys, + NetworkAclKey, + NetworkAclKeyAlgorithmEnum, NetworkAclMatch, NetworkAclMatchConnectingIpv4Cidr, NetworkAclMatchConnectingIpv6Cidr, NetworkAclMatchIpv4Cidr, NetworkAclMatchIpv6Cidr, NetworkAclRule, + NetworkAclRuleMatchAllEnum, NetworkAclRuleScopeEnum, NetworkAclsResponseContent, + NotFoundErrorBody, + NotFoundErrorBodyError, + NotFoundSchema, + NotFoundSchemaError, OauthScope, Organization, OrganizationAccessLevelEnum, @@ -2331,7 +3460,11 @@ OrganizationAllConnectionPost, OrganizationBranding, OrganizationBrandingColors, + OrganizationClient, + OrganizationClientAssociation, OrganizationClientGrant, + OrganizationClientMetadata, + OrganizationClientMetadataOrganizationUsageEnum, OrganizationConnection, OrganizationConnectionInformation, OrganizationDiscoveryDomain, @@ -2341,16 +3474,69 @@ OrganizationInvitationInvitee, OrganizationInvitationInviter, OrganizationMember, + OrganizationMemberAccessLevelEnum, + OrganizationMemberAccessLevelEnumWithNull, OrganizationMemberEffectiveRole, OrganizationMemberEffectiveRoleSource, OrganizationMemberRole, OrganizationMetadata, + OrganizationSortFieldEnum, + OrganizationThirdPartyClientAccessEnum, OrganizationUsageEnum, + PageComponent, + PageComponentAuth0Form, + PageComponentAuth0FormConfig, + PageComponentAuth0MediaImage, + PageComponentAuth0MediaImageConfig, + PageComponentAuth0MyAccountMfaManagement, + PageComponentAuth0MyAccountMfaManagementConfig, + PageComponentAuth0MyAccountPasskeyManagement, + PageComponentAuth0MyAccountPasskeyManagementConfig, + PageComponentAuth0MyOrganizationDetailsEdit, + PageComponentAuth0MyOrganizationDetailsEditConfig, + PageComponentAuth0MyOrganizationDomainTable, + PageComponentAuth0MyOrganizationDomainTableConfig, + PageComponentAuth0MyOrganizationMemberManagement, + PageComponentAuth0MyOrganizationMemberManagementConfig, + PageComponentAuth0StructureSection, + PageComponentAuth0StructureSectionConfig, + PageComponentAuth0StructureSectionVariantEnum, + PageComponentAuth0StructureSeparator, + PageComponentAuth0StructureSeparatorConfig, + PageComponentAuth0StructureSeparatorVariantEnum, + PageComponentAuth0TypographyHeading, + PageComponentAuth0TypographyHeadingConfig, + PageComponentAuth0TypographyRichText, + PageComponentAuth0TypographyRichTextConfig, + PageComponentNoChildren, + PageComponentNoChildren_PageComponentAuth0Form, + PageComponentNoChildren_PageComponentAuth0MediaImage, + PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement, + PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable, + PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement, + PageComponentNoChildren_PageComponentAuth0StructureSeparator, + PageComponentNoChildren_PageComponentAuth0TypographyHeading, + PageComponentNoChildren_PageComponentAuth0TypographyRichText, + PageComponent_PageComponentAuth0Form, + PageComponent_PageComponentAuth0MediaImage, + PageComponent_PageComponentAuth0MyAccountMfaManagement, + PageComponent_PageComponentAuth0MyAccountPasskeyManagement, + PageComponent_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponent_PageComponentAuth0MyOrganizationDomainTable, + PageComponent_PageComponentAuth0MyOrganizationMemberManagement, + PageComponent_PageComponentAuth0StructureSection, + PageComponent_PageComponentAuth0StructureSeparator, + PageComponent_PageComponentAuth0TypographyHeading, + PageComponent_PageComponentAuth0TypographyRichText, + PageSlug, PartialGroupsEnum, PartialPhoneTemplateContent, PasswordCharacterTypeEnum, PasswordCharacterTypeRulePolicyEnum, PasswordDefaultDictionariesEnum, + PasswordDictionaryMatchTypeEnum, PasswordIdenticalCharactersPolicyEnum, PasswordMaxLengthExceededPolicyEnum, PasswordSequentialCharactersPolicyEnum, @@ -2367,6 +3553,7 @@ PermissionRequestPayload, PermissionsResponsePayload, PhoneAttribute, + PhoneAttributeIdentifier, PhoneProviderChannelEnum, PhoneProviderConfiguration, PhoneProviderCredentials, @@ -2378,6 +3565,24 @@ PhoneTemplateBody, PhoneTemplateContent, PhoneTemplateNotificationTypeEnum, + Portal, + PortalClientSecretPost, + PortalClientSecretPostRequest, + PortalClientSecretPostRequestTokenEndpointAuthMethod, + PortalClientSecretPostTokenEndpointAuthMethod, + PortalCustomCode, + PortalCustomCodeNullable, + PortalDateTime, + PortalId, + PortalName, + PortalNavigation, + PortalNavigationNullable, + PortalPage, + PortalPagesByType, + PortalPagesByTypeNullable, + PortalSlug, + PortalSummary, + Position, PostClientCredentialResponseContent, PostConnectionKeysAlgEnum, PostConnectionKeysRequestContent, @@ -2414,13 +3619,23 @@ ResetPhoneTemplateRequestContent, ResetPhoneTemplateResponseContent, ResourceServer, + ResourceServerAccessToken, + ResourceServerAccessTokenClaimsMapping, + ResourceServerAccessTokenCustomClaimsMapping, + ResourceServerAccessTokenCustomClaimsMappingRule, + ResourceServerAgentSubjectClaimsResponseEnum, + ResourceServerAgentSubjectClaimsSchemaEnum, ResourceServerAuthorizationPolicy, ResourceServerConsentPolicyEnum, ResourceServerProofOfPossession, ResourceServerProofOfPossessionMechanismEnum, ResourceServerProofOfPossessionRequiredForEnum, ResourceServerScope, + ResourceServerSearchResponse, + ResourceServerSortFieldEnum, ResourceServerSubjectTypeAuthorization, + ResourceServerSubjectTypeAuthorizationAnonymousUser, + ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum, ResourceServerSubjectTypeAuthorizationClient, ResourceServerSubjectTypeAuthorizationClientPolicyEnum, ResourceServerSubjectTypeAuthorizationUser, @@ -2431,9 +3646,15 @@ ResourceServerTokenEncryptionAlgorithmEnum, ResourceServerTokenEncryptionFormatEnum, ResourceServerTokenEncryptionKey, + ResourceServerTypeEnum, ResourceServerVerificationKeyPemCertificate, RevokedSigningKeysResponseContent, Role, + RoleGroup, + RoleMember, + RoleOwnerId, + RoleOwnerIdFilter, + RoleTypeEnum, RoleUser, RollbackActionModuleResponseContent, RotateClientSecretResponseContent, @@ -2447,7 +3668,25 @@ ScimMappingItem, ScimTokenItem, ScreenGroupNameEnum, + SearchClientGrantsResponseContent, + SearchClientsResponseContent, SearchEngineVersionsEnum, + SearchOrganization, + SearchOrganizationsPaginatedResponseContent, + SearchParserEnum, + SearchResourceServersResponseContent, + Segment, + SegmentContainsExpression, + SegmentEndsWithExpression, + SegmentExistsExpression, + SegmentMatchConditions, + SegmentMatchExpression, + SegmentNotMatchConditions, + SegmentRule, + SegmentStartsWithExpression, + SegmentStatusEnum, + SegmentTypeEnum, + SegmentTypeFilterEnum, SelfServiceProfile, SelfServiceProfileAllowedStrategyEnum, SelfServiceProfileBranding, @@ -2467,8 +3706,11 @@ SelfServiceProfileSsoTicketIdpInitiatedOptions, SelfServiceProfileSsoTicketProvisioningConfig, SelfServiceProfileSsoTicketProvisioningScopeEnum, + SelfServiceProfileSsoTicketUniversalLogoutConfig, SelfServiceProfileUserAttribute, SelfServiceProfileUserAttributes, + SessionActorClaimValue, + SessionActorMetadata, SessionAuthenticationSignal, SessionAuthenticationSignals, SessionClientMetadata, @@ -2482,6 +3724,7 @@ SessionMetadata, SessionResponseContent, SetCustomSigningKeysResponseContent, + SetEmailFactorSettingsResponseContent, SetEmailTemplateResponseContent, SetGuardianFactorDuoSettingsResponseContent, SetGuardianFactorPhoneMessageTypesResponseContent, @@ -2499,8 +3742,10 @@ SetGuardianFactorsProviderSmsTwilioResponseContent, SetGuardianPoliciesRequestContent, SetGuardianPoliciesResponseContent, + SetGuardianSettingsResponseContent, SetNetworkAclsResponseContent, SetPartialsRequestContent, + SetPhoneFactorSettingsResponseContent, SetRulesConfigResponseContent, SetSelfServiceProfileCustomTextRequestContent, SetSelfServiceProfileCustomTextResponseContent, @@ -2508,6 +3753,20 @@ SetUserAuthenticationMethods, SetUserAuthenticationMethodsRequestContent, SetsCustomTextsByLanguageRequestContent, + Sidebar, + SidebarComponent, + SidebarComponentAuth0ExternalLink, + SidebarComponentAuth0ExternalLinkConfig, + SidebarComponentAuth0ExternalLinkV2, + SidebarComponentAuth0ExternalLinkV2Config, + SidebarComponentAuth0InternalLink, + SidebarComponentAuth0InternalLinkConfig, + SidebarComponentAuth0InternalLinkV2, + SidebarComponentAuth0InternalLinkV2Config, + SidebarComponent_SidebarComponentAuth0ExternalLink, + SidebarComponent_SidebarComponentAuth0ExternalLinkV2, + SidebarComponent_SidebarComponentAuth0InternalLink, + SidebarComponent_SidebarComponentAuth0InternalLinkV2, SigningAlgorithmEnum, SigningKeys, SigningKeysDate, @@ -2518,12 +3777,15 @@ SupportedLocales, SuspiciousIpThrottlingAllowlist, SuspiciousIpThrottlingAllowlistItem, + SuspiciousIpThrottlingPreCustomTokenExchangeStage, SuspiciousIpThrottlingPreLoginStage, SuspiciousIpThrottlingPreUserRegistrationStage, SuspiciousIpThrottlingShieldsEnum, SuspiciousIpThrottlingStage, SynchronizeGroupsEnum, SynchronizedGroupPayload, + SynchronizedGroupSelectionId, + SystemRoleOwnerId, TenantOidcLogoutSettings, TenantSettingsCountryCodes, TenantSettingsCountryCodesMode, @@ -2540,18 +3802,23 @@ TenantSettingsPasswordPage, TenantSettingsResourceParameterProfile, TenantSettingsSessions, + TenantSettingsSessionsAnonymous, TenantSettingsSupportedLocalesEnum, TestActionPayload, TestActionResponseContent, TestActionResultPayload, TestCustomDomainResponseContent, TestEventDataContent, + ThirdPartyClientAccessConfig, TokenExchangeProfileResponseContent, TokenExchangeProfileTypeEnum, TokenQuota, TokenQuotaClientCredentials, TokenQuotaConfiguration, + TokenVaultPrivilegedAccessGrant, TokenVaultPrivilegedAccessIpAllowlistEntry, + TooManyRequestsErrorBody, + TooManyRequestsErrorBodyError, TooManyRequestsSchema, TooManyRequestsSchemaError, TwilioProviderConfiguration, @@ -2564,6 +3831,7 @@ UpdateActionModuleResponseContent, UpdateActionResponseContent, UpdateAculResponseContent, + UpdateAnonymousSessions, UpdateAttackProtectionCaptchaResponseContent, UpdateBotDetectionSettingsResponseContent, UpdateBrandingColors, @@ -2634,6 +3902,7 @@ UpdateConnectionRequestContentYahoo, UpdateConnectionRequestContentYandex, UpdateConnectionResponseContent, + UpdateCrossAppAccessResourceApp, UpdateCustomDomainResponseContent, UpdateDefaultCanonicalDomainResponseContent, UpdateDefaultCustomDomainResponseContent, @@ -2645,6 +3914,9 @@ UpdateEnabledClientConnectionsRequestContent, UpdateEnabledClientConnectionsRequestContentItem, UpdateEventStreamResponseContent, + UpdateExperimentResponseContent, + UpdateFeatureFlagParameters, + UpdateFeatureFlagResponseContent, UpdateFlowResponseContent, UpdateFlowsVaultConnectionResponseContent, UpdateFlowsVaultConnectionSetup, @@ -2656,9 +3928,11 @@ UpdateGuardianFactorsProviderPushNotificationSnsResponseContent, UpdateHookResponseContent, UpdateHookSecretRequestContent, + UpdateIdentityAssertionAuthorizationGrant, UpdateLogStreamResponseContent, UpdateNetworkAclResponseContent, UpdateOrganizationAllConnectionResponseContent, + UpdateOrganizationClientResponseContent, UpdateOrganizationConnectionResponseContent, UpdateOrganizationDiscoveryDomainResponseContent, UpdateOrganizationResponseContent, @@ -2671,6 +3945,7 @@ UpdateRoleResponseContent, UpdateRuleResponseContent, UpdateScimConfigurationResponseContent, + UpdateSegmentResponseContent, UpdateSelfServiceProfileResponseContent, UpdateSessionResponseContent, UpdateSettingsResponseContent, @@ -2682,6 +3957,8 @@ UpdateUserAttributeProfileResponseContent, UpdateUserAuthenticationMethodResponseContent, UpdateUserResponseContent, + UpdateVariationOverridesMap, + UpdateVariationResponseContent, UpdateVerifiableCredentialTemplateResponseContent, UserAppMetadataSchema, UserAttributeProfile, @@ -2729,8 +4006,12 @@ UserResponseSchema, UsernameAllowedTypes, UsernameAttribute, + UsernameAttributeIdentifier, UsernameValidation, UsersEnrollment, + ValidateExperimentResponseContent, + Variation, + VariationOverridesMap, VerifiableCredentialTemplateResponse, VerificationMethodEnum, VerifyCustomDomainResponseContent, @@ -2745,6 +4026,7 @@ ConflictError, ContentTooLargeError, ForbiddenError, + GatewayTimeoutError, GoneError, InternalServerError, NotFoundError, @@ -2753,13 +4035,16 @@ ServiceUnavailableError, TooManyRequestsError, UnauthorizedError, + UnprocessableEntityError, ) from . import ( actions, + agents, anomaly, attack_protection, branding, client_grants, + client_profiles, clients, connection_profiles, connections, @@ -2769,6 +4054,7 @@ emails, event_streams, events, + experimentation, flows, forms, groups, @@ -2780,6 +4066,7 @@ logs, network_acls, organizations, + portals, prompts, rate_limit_policies, refresh_tokens, @@ -2805,9 +4092,9 @@ from .client import AsyncAuth0, Auth0 from .environment import Auth0Environment from .event_streams import EventStreamsCreateRequest - from .version import __version__ from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient from .token_provider import AsyncTokenProvider, TokenProvider + from .version import __version__ _dynamic_imports: typing.Dict[str, str] = { "Action": ".types", "ActionBase": ".types", @@ -2862,7 +4149,14 @@ "AculOrganizationMetadata": ".types", "AculRenderingModeEnum": ".types", "AddOrganizationConnectionResponseContent": ".types", + "AdvanceRampResponseContent": ".types", + "AgentMetadata": ".types", + "AgentResponseContent": ".types", + "AllocationItem": ".types", + "AllocationRequestItem": ".types", + "AllocationStrategyEnum": ".types", "AnomalyIpFormat": ".types", + "AnonymousSessions": ".types", "AppMetadata": ".types", "AssessorsTypeEnum": ".types", "AssociateOrganizationClientGrantResponseContent": ".types", @@ -2886,8 +4180,11 @@ "AttackProtectionUpdateCaptchaRecaptchaV2": ".types", "Auth0": ".client", "Auth0Environment": ".environment", + "AuthenticationFlowEnum": ".types", "AuthenticationMethodTypeEnum": ".types", "AuthenticationTypeEnum": ".types", + "B2BIntegrationConfiguration": ".types", + "B2BIntegrationConfigurationIntegrationTypeEnum": ".types", "BadRequestError": ".errors", "BadRequestSchema": ".types", "BadRequestSchemaError": ".types", @@ -2918,6 +4215,11 @@ "BrandingThemeFontSubtitle": ".types", "BrandingThemeFontTitle": ".types", "BrandingThemeFonts": ".types", + "BrandingThemeIdentifiers": ".types", + "BrandingThemeIdentifiersLoginDisplayEnum": ".types", + "BrandingThemeIdentifiersPhoneDisplay": ".types", + "BrandingThemeIdentifiersPhoneDisplayFormattingEnum": ".types", + "BrandingThemeIdentifiersPhoneDisplayMaskingEnum": ".types", "BrandingThemePageBackground": ".types", "BrandingThemePageBackgroundPageLayoutEnum": ".types", "BrandingThemeWidget": ".types", @@ -2932,6 +4234,7 @@ "BreachedPasswordDetectionPreUserRegistrationStage": ".types", "BreachedPasswordDetectionShieldsEnum": ".types", "BreachedPasswordDetectionStage": ".types", + "BruteForceProtectionFormSubmissionModeEnum": ".types", "BruteForceProtectionModeEnum": ".types", "BruteForceProtectionShieldsEnum": ".types", "BulkUpdateAculResponseContent": ".types", @@ -2939,6 +4242,7 @@ "CertificateSubjectDnCredentialTypeEnum": ".types", "ChangePasswordTicketIdentity": ".types", "ChangePasswordTicketResponseContent": ".types", + "CimdExternalMetadataCreatedByEnum": ".types", "CimdMappedClientAuthenticationMethods": ".types", "CimdMappedClientAuthenticationMethodsPrivateKeyJwt": ".types", "CimdMappedClientFields": ".types", @@ -2978,6 +4282,7 @@ "ClientAddonZendesk": ".types", "ClientAddonZoom": ".types", "ClientAddons": ".types", + "ClientAnonymousSessionTransferNetworkBindingEnum": ".types", "ClientAppTypeEnum": ".types", "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration": ".types", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration": ".types", @@ -3001,12 +4306,14 @@ "ClientDefaultOrganizationFlowsEnum": ".types", "ClientEncryptionKey": ".types", "ClientExternalMetadataCreatedByEnum": ".types", + "ClientExternalMetadataStatusEnum": ".types", "ClientExternalMetadataTypeEnum": ".types", "ClientGrantAllowAnyOrganizationEnum": ".types", "ClientGrantDefaultForEnum": ".types", "ClientGrantOrganizationNullableUsageEnum": ".types", "ClientGrantOrganizationUsageEnum": ".types", "ClientGrantResponseContent": ".types", + "ClientGrantSortFieldEnum": ".types", "ClientGrantSubjectTypeEnum": ".types", "ClientJwtConfiguration": ".types", "ClientJwtConfigurationScopes": ".types", @@ -3015,23 +4322,53 @@ "ClientMobileAndroid": ".types", "ClientMobileiOs": ".types", "ClientMyOrganizationConfigurationAllowedStrategiesEnum": ".types", + "ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum": ".types", + "ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum": ".types", "ClientMyOrganizationDeletionBehaviorEnum": ".types", "ClientMyOrganizationPatchConfiguration": ".types", "ClientMyOrganizationPostConfiguration": ".types", "ClientMyOrganizationResponseConfiguration": ".types", + "ClientMyOrganizationThirdPartyClientAccessConfiguration": ".types", "ClientOidcBackchannelLogoutInitiators": ".types", "ClientOidcBackchannelLogoutInitiatorsEnum": ".types", "ClientOidcBackchannelLogoutInitiatorsModeEnum": ".types", "ClientOidcBackchannelLogoutSessionMetadata": ".types", "ClientOidcBackchannelLogoutSettings": ".types", + "ClientOidcSupport": ".types", + "ClientOidcSupportAllowedScopesEnum": ".types", + "ClientOidcSupportPatch": ".types", + "ClientOidcSupportPost": ".types", "ClientOrganizationDiscoveryEnum": ".types", "ClientOrganizationRequireBehaviorEnum": ".types", "ClientOrganizationRequireBehaviorPatchEnum": ".types", "ClientOrganizationUsageEnum": ".types", "ClientOrganizationUsagePatchEnum": ".types", + "ClientProfile": ".types", + "ClientProfileApplyPolicy": ".types", + "ClientProfileApplyPolicyExternalMetadataCreatedByEnum": ".types", + "ClientProfileApplyPolicyExternalMetadataTypeEnum": ".types", + "ClientProfileClientConfiguration": ".types", + "ClientProfileClientConfigurationOidcSupport": ".types", + "ClientProfileClientConfigurationOidcSupportAllowedScopesEnum": ".types", + "ClientProfileClientConfigurationOidcSupportDefaultValue": ".types", + "ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum": ".types", + "ClientProfileClientConfigurationOrganizationDiscoveryMethods": ".types", + "ClientProfileClientConfigurationOrganizationRequireBehavior": ".types", + "ClientProfileClientConfigurationOrganizationRequireBehaviorEnum": ".types", + "ClientProfileClientConfigurationOrganizationUsage": ".types", + "ClientProfileClientConfigurationOrganizationUsageEnum": ".types", + "ClientProfileClientConfigurationRefreshToken": ".types", + "ClientProfileClientConfigurationRequireProofOfPossession": ".types", + "ClientProfileDescription": ".types", + "ClientProfileId": ".types", + "ClientProfileName": ".types", + "ClientProfileRefreshTokenIdleTokenLifetime": ".types", + "ClientProfileRefreshTokenLeeway": ".types", + "ClientProfileRefreshTokenTokenLifetime": ".types", "ClientRedirectionPolicyEnum": ".types", "ClientRefreshTokenConfiguration": ".types", "ClientRefreshTokenPolicy": ".types", + "ClientSearchResponse": ".types", "ClientSessionTransferAllowedAuthenticationMethodsEnum": ".types", "ClientSessionTransferConfiguration": ".types", "ClientSessionTransferDelegationConfiguration": ".types", @@ -3041,6 +4378,7 @@ "ClientSignedRequestObjectWithPublicKey": ".types", "ClientSigningKey": ".types", "ClientSigningKeys": ".types", + "ClientSortFieldEnum": ".types", "ClientThirdPartySecurityModeEnum": ".types", "ClientTokenEndpointAuthMethodEnum": ".types", "ClientTokenEndpointAuthMethodOrNullEnum": ".types", @@ -3050,6 +4388,8 @@ "ClientTokenVaultPrivilegedAccessWithCredentialId": ".types", "ClientTokenVaultPrivilegedAccessWithPublicKey": ".types", "ConflictError": ".errors", + "ConflictSchema": ".types", + "ConflictSchemaError": ".types", "ConnectedAccount": ".types", "ConnectedAccountAccessTypeEnum": ".types", "ConnectionAccessTokenUrloAuth1": ".types", @@ -3069,7 +4409,6 @@ "ConnectionAppDomainAzureAd": ".types", "ConnectionAssertionDecryptionAlgorithmProfileEnum": ".types", "ConnectionAssertionDecryptionSettings": ".types", - "ConnectionAttributeIdentifier": ".types", "ConnectionAttributeMapAttributes": ".types", "ConnectionAttributeMapOidc": ".types", "ConnectionAttributeMapOkta": ".types", @@ -3105,6 +4444,7 @@ "ConnectionClientIdOidc": ".types", "ConnectionClientIdPaypal": ".types", "ConnectionClientIdSalesforce": ".types", + "ConnectionClientIdSamlxaaRequestingApp": ".types", "ConnectionClientIdWindowsLive": ".types", "ConnectionClientProtocolSaml": ".types", "ConnectionClientSecret": ".types", @@ -3122,6 +4462,7 @@ "ConnectionClientSecretOidc": ".types", "ConnectionClientSecretPaypal": ".types", "ConnectionClientSecretSalesforce": ".types", + "ConnectionClientSecretSamlxaaRequestingApp": ".types", "ConnectionClientSecretWindowsLive": ".types", "ConnectionCommon": ".types", "ConnectionCommunityBaseUrlSalesforce": ".types", @@ -3130,6 +4471,8 @@ "ConnectionConnectedAccountsPurposeXaa": ".types", "ConnectionConnectionSettings": ".types", "ConnectionConnectionSettingsPkceEnum": ".types", + "ConnectionCrossAppAccessResourceApp": ".types", + "ConnectionCrossAppAccessResourceAppStatusEnum": ".types", "ConnectionCustomHeadersOAuth2": ".types", "ConnectionCustomScripts": ".types", "ConnectionDebugSaml": ".types", @@ -3159,6 +4502,7 @@ "ConnectionEmailFromEmail": ".types", "ConnectionEmailOtpAuthenticationMethod": ".types", "ConnectionEmailSubjectEmail": ".types", + "ConnectionEnablePushedAuthorizationRequests": ".types", "ConnectionEnableScriptContext": ".types", "ConnectionEnabledClient": ".types", "ConnectionEnabledClients": ".types", @@ -3176,7 +4520,6 @@ "ConnectionExtIsSuspended": ".types", "ConnectionExtIsSuspendedGoogleApps": ".types", "ConnectionExtProfile": ".types", - "ConnectionFederatedConnectionsAccessTokens": ".types", "ConnectionFieldsMap": ".types", "ConnectionFieldsMapSaml": ".types", "ConnectionFieldsMapSamlValue": ".types", @@ -3312,6 +4655,8 @@ "ConnectionOptionsWordpress": ".types", "ConnectionOptionsYahoo": ".types", "ConnectionOptionsYandex": ".types", + "ConnectionOtpChannelSettings": ".types", + "ConnectionOtpSettings": ".types", "ConnectionPasskeyAuthenticationMethod": ".types", "ConnectionPasskeyChallengeUiEnum": ".types", "ConnectionPasskeyOptions": ".types", @@ -3332,16 +4677,31 @@ "ConnectionProfile": ".types", "ConnectionProfileBitbucket": ".types", "ConnectionProfileConfig": ".types", + "ConnectionProfileCrossAppAccessResourceApp": ".types", + "ConnectionProfileCrossAppAccessResourceAppStatus": ".types", + "ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum": ".types", + "ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum": ".types", + "ConnectionProfileCrossAppAccessResourceAppStatusValueEnum": ".types", "ConnectionProfileEnabledFeatures": ".types", "ConnectionProfileId": ".types", "ConnectionProfileName": ".types", "ConnectionProfileOrganization": ".types", "ConnectionProfileOrganizationAssignMembershipOnLoginEnum": ".types", "ConnectionProfileOrganizationShowAsButtonEnum": ".types", + "ConnectionProfileProvisioning": ".types", + "ConnectionProfileProvisioningGoogleWorkspace": ".types", + "ConnectionProfileProvisioningGoogleWorkspaceSyncUsers": ".types", + "ConnectionProfileProvisioningScim": ".types", + "ConnectionProfileProvisioningScimTokenDefaultExpiry": ".types", + "ConnectionProfileProvisioningScimTokenMaxAllowedExpiry": ".types", + "ConnectionProfileProvisioningScimTokenScopeEnum": ".types", + "ConnectionProfileProvisioningScimTokenScopes": ".types", + "ConnectionProfileProvisioningScimTokens": ".types", "ConnectionProfileStrategyOverride": ".types", "ConnectionProfileStrategyOverrides": ".types", "ConnectionProfileStrategyOverridesConnectionConfig": ".types", "ConnectionProfileStrategyOverridesEnabledFeatures": ".types", + "ConnectionProfileStrategyOverridesProvisioning": ".types", "ConnectionProfileTemplate": ".types", "ConnectionProfileTemplateItem": ".types", "ConnectionPropertiesOptions": ".types", @@ -3351,6 +4711,7 @@ "ConnectionProviderSms": ".types", "ConnectionProvisioningTicketUrl": ".types", "ConnectionPurposes": ".types", + "ConnectionPushedAuthorizationRequestEndpoint": ".types", "ConnectionRealmFallback": ".types", "ConnectionRealms": ".types", "ConnectionRecipientUrlSaml": ".types", @@ -3362,6 +4723,7 @@ "ConnectionRequestTemplateSaml": ".types", "ConnectionRequestTokenUrloAuth1": ".types", "ConnectionRequestUriParameterSupported": ".types", + "ConnectionRequirePushedAuthorizationRequests": ".types", "ConnectionRequireRequestUriRegistration": ".types", "ConnectionRequiresUsername": ".types", "ConnectionResponseCommon": ".types", @@ -3530,6 +4892,9 @@ "ConnectionThumbprints": ".types", "ConnectionThumbprintsAd": ".types", "ConnectionThumbprintsSaml": ".types", + "ConnectionThumbprintsSha384": ".types", + "ConnectionThumbprintsSha384Ad": ".types", + "ConnectionThumbprintsSha384Saml": ".types", "ConnectionTokenEndpoint": ".types", "ConnectionTokenEndpointAuthMethodEnum": ".types", "ConnectionTokenEndpointAuthMethodsSupported": ".types", @@ -3556,6 +4921,7 @@ "ConnectionUpstreamParamsFacebook": ".types", "ConnectionUpstreamValue": ".types", "ConnectionUseCommonEndpointAzureAd": ".types", + "ConnectionUseOauthSpecScope": ".types", "ConnectionUserAuthorizationUrloAuth1": ".types", "ConnectionUserIdAttributeSaml": ".types", "ConnectionUseridAttributeAzureAd": ".types", @@ -3568,12 +4934,16 @@ "ConnectionValidationOptions": ".types", "ConnectionWaadProtocol": ".types", "ConnectionWaadProtocolEnumAzureAd": ".types", + "ConnectionsDiscoveryUrl": ".types", "ConnectionsMetadata": ".types", + "ConnectionsOidcMetadata": ".types", + "ConsentSigningKey": ".types", "ContentSecurityPolicyConfig": ".types", "ContentTooLargeError": ".errors", "CreateActionModuleResponseContent": ".types", "CreateActionModuleVersionResponseContent": ".types", "CreateActionResponseContent": ".types", + "CreateAnonymousSessions": ".types", "CreateBrandingPhoneProviderResponseContent": ".types", "CreateBrandingThemeResponseContent": ".types", "CreateClientAuthenticationMethodSelfSignedTlsClientAuth": ".types", @@ -3693,6 +5063,7 @@ "CreateConnectionRequestContentYandex": ".types", "CreateConnectionRequestContentYandexStrategy": ".types", "CreateConnectionResponseContent": ".types", + "CreateCrossAppAccessResourceApp": ".types", "CreateCustomDomainResponseContent": ".types", "CreateDirectoryProvisioningRequestContent": ".types", "CreateDirectoryProvisioningResponseContent": ".types", @@ -3708,8 +5079,11 @@ "CreateEventStreamResponseContent": ".types", "CreateEventStreamTestEventResponseContent": ".types", "CreateEventStreamWebHookRequestContent": ".types", + "CreateExperimentResponseContent": ".types", "CreateExportUsersFields": ".types", "CreateExportUsersResponseContent": ".types", + "CreateFeatureFlagParameters": ".types", + "CreateFeatureFlagResponseContent": ".types", "CreateFlowResponseContent": ".types", "CreateFlowsVaultConnectionActivecampaign": ".types", "CreateFlowsVaultConnectionActivecampaignApiKey": ".types", @@ -3788,7 +5162,9 @@ "CreateGuardianEnrollmentTicketResponseContent": ".types", "CreateHookResponseContent": ".types", "CreateHookSecretRequestContent": ".types", + "CreateIdentityAssertionAuthorizationGrant": ".types", "CreateImportUsersResponseContent": ".types", + "CreateKeysNetworkAclsResponseContent": ".types", "CreateLogStreamDatadogRequestBody": ".types", "CreateLogStreamEventBridgeRequestBody": ".types", "CreateLogStreamEventGridRequestBody": ".types", @@ -3800,6 +5176,8 @@ "CreateLogStreamSplunkRequestBody": ".types", "CreateLogStreamSumoRequestBody": ".types", "CreateOrganizationAllConnectionResponseContent": ".types", + "CreateOrganizationClientRequestItem": ".types", + "CreateOrganizationClientsResponseContent": ".types", "CreateOrganizationDiscoveryDomainResponseContent": ".types", "CreateOrganizationInvitationResponseContent": ".types", "CreateOrganizationResponseContent": ".types", @@ -3814,6 +5192,7 @@ "CreateScimConfigurationRequestContent": ".types", "CreateScimConfigurationResponseContent": ".types", "CreateScimTokenResponseContent": ".types", + "CreateSegmentResponseContent": ".types", "CreateSelfServiceProfileResponseContent": ".types", "CreateSelfServiceProfileSsoTicketResponseContent": ".types", "CreateTokenExchangeProfileResponseContent": ".types", @@ -3821,6 +5200,7 @@ "CreateUserAttributeProfileResponseContent": ".types", "CreateUserAuthenticationMethodResponseContent": ".types", "CreateUserResponseContent": ".types", + "CreateVariationResponseContent": ".types", "CreateVerifiableCredentialTemplateResponseContent": ".types", "CreateVerificationEmailResponseContent": ".types", "CreatedAuthenticationMethodTypeEnum": ".types", @@ -3828,6 +5208,8 @@ "CredentialDeviceTypeEnum": ".types", "CredentialId": ".types", "CrossAppAccessRequestingApp": ".types", + "CrossAppAccessResourceApp": ".types", + "CrossAppAccessResourceAppStatusEnum": ".types", "CspDirectives": ".types", "CspFlag": ".types", "CspFlags": ".types", @@ -3841,9 +5223,9 @@ "CspReportingEndpoints": ".types", "CspReportingInfrastructure": ".types", "CustomDomain": ".types", - "CustomDomainHeader": ".management_client", "CustomDomainCustomClientIpHeader": ".types", "CustomDomainCustomClientIpHeaderEnum": ".types", + "CustomDomainHeader": ".management_client", "CustomDomainProvisioningTypeEnum": ".types", "CustomDomainStatusFilterEnum": ".types", "CustomDomainTlsPolicyEnum": ".types", @@ -3861,7 +5243,9 @@ "DailyStats": ".types", "DefaultAioHttpClient": "._default_clients", "DefaultAsyncHttpxClient": "._default_clients", + "DefaultConfigEnum": ".types", "DefaultMethodEmailIdentifierEnum": ".types", + "DefaultMethodPhoneNumberIdentifierEnum": ".types", "DefaultTokenQuota": ".types", "DeleteHookSecretRequestContent": ".types", "DeleteUserIdentityResponseContent": ".types", @@ -3883,6 +5267,7 @@ "DomainVerificationMethodNameEnum": ".types", "DomainVerificationStatusEnum": ".types", "EmailAttribute": ".types", + "EmailAttributeIdentifier": ".types", "EmailMailgunRegionEnum": ".types", "EmailProviderCredentials": ".types", "EmailProviderCredentialsSchema": ".types", @@ -3910,6 +5295,735 @@ "EventStreamActionResponseContent": ".types", "EventStreamCloudEvent": ".types", "EventStreamCloudEventA0PurposeEnum": ".types", + "EventStreamCloudEventConnectionCreated": ".types", + "EventStreamCloudEventConnectionCreatedCloudEvent": ".types", + "EventStreamCloudEventConnectionCreatedCloudEventTypeEnum": ".types", + "EventStreamCloudEventConnectionCreatedData": ".types", + "EventStreamCloudEventConnectionCreatedObject": ".types", + "EventStreamCloudEventConnectionCreatedObject0": ".types", + "EventStreamCloudEventConnectionCreatedObject0Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject0Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject0Options": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1": ".types", + "EventStreamCloudEventConnectionCreatedObject1Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject1Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject1Options": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2": ".types", + "EventStreamCloudEventConnectionCreatedObject2Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject2Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject2Options": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3": ".types", + "EventStreamCloudEventConnectionCreatedObject3Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject3Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject3Options": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject4": ".types", + "EventStreamCloudEventConnectionCreatedObject4Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject4Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject4Options": ".types", + "EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject5": ".types", + "EventStreamCloudEventConnectionCreatedObject5Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject5Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject5Options": ".types", + "EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject6": ".types", + "EventStreamCloudEventConnectionCreatedObject6Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject6Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject6Options": ".types", + "EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7": ".types", + "EventStreamCloudEventConnectionCreatedObject7Authentication": ".types", + "EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedObject7Metadata": ".types", + "EventStreamCloudEventConnectionCreatedObject7Options": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7Authentication": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7Metadata": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7Options": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionCreatedTypeEnum": ".types", + "EventStreamCloudEventConnectionDeleted": ".types", + "EventStreamCloudEventConnectionDeletedCloudEvent": ".types", + "EventStreamCloudEventConnectionDeletedCloudEventTypeEnum": ".types", + "EventStreamCloudEventConnectionDeletedData": ".types", + "EventStreamCloudEventConnectionDeletedObject": ".types", + "EventStreamCloudEventConnectionDeletedObject0": ".types", + "EventStreamCloudEventConnectionDeletedObject0Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject0Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject0Options": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1": ".types", + "EventStreamCloudEventConnectionDeletedObject1Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject1Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject1Options": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2": ".types", + "EventStreamCloudEventConnectionDeletedObject2Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject2Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject2Options": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3": ".types", + "EventStreamCloudEventConnectionDeletedObject3Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject3Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject3Options": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject4": ".types", + "EventStreamCloudEventConnectionDeletedObject4Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject4Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject4Options": ".types", + "EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject5": ".types", + "EventStreamCloudEventConnectionDeletedObject5Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject5Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject5Options": ".types", + "EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject6": ".types", + "EventStreamCloudEventConnectionDeletedObject6Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject6Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject6Options": ".types", + "EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7": ".types", + "EventStreamCloudEventConnectionDeletedObject7Authentication": ".types", + "EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedObject7Metadata": ".types", + "EventStreamCloudEventConnectionDeletedObject7Options": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7Authentication": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7Metadata": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7Options": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionDeletedTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdated": ".types", + "EventStreamCloudEventConnectionUpdatedCloudEvent": ".types", + "EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedData": ".types", + "EventStreamCloudEventConnectionUpdatedObject": ".types", + "EventStreamCloudEventConnectionUpdatedObject0": ".types", + "EventStreamCloudEventConnectionUpdatedObject0Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject0Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject0Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1": ".types", + "EventStreamCloudEventConnectionUpdatedObject1Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject1Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject1Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2": ".types", + "EventStreamCloudEventConnectionUpdatedObject2Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject2Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject2Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3": ".types", + "EventStreamCloudEventConnectionUpdatedObject3Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject3Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject3Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject4": ".types", + "EventStreamCloudEventConnectionUpdatedObject4Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject4Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject4Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject5": ".types", + "EventStreamCloudEventConnectionUpdatedObject5Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject5Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject5Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject6": ".types", + "EventStreamCloudEventConnectionUpdatedObject6Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject6Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject6Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7": ".types", + "EventStreamCloudEventConnectionUpdatedObject7Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedObject7Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedObject7Options": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Options": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum": ".types", + "EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum": ".types", + "EventStreamCloudEventConnectionUpdatedTypeEnum": ".types", "EventStreamCloudEventContext": ".types", "EventStreamCloudEventContextClient": ".types", "EventStreamCloudEventContextClientMetadata": ".types", @@ -3917,6 +6031,11 @@ "EventStreamCloudEventContextRequest": ".types", "EventStreamCloudEventContextRequestGeo": ".types", "EventStreamCloudEventContextTenant": ".types", + "EventStreamCloudEventContextTransaction": ".types", + "EventStreamCloudEventContextTransactionProtocolEnum": ".types", + "EventStreamCloudEventContextTransactionResponseModeEnum": ".types", + "EventStreamCloudEventContextTransactionResponseTypeItemEnum": ".types", + "EventStreamCloudEventData": ".types", "EventStreamCloudEventErrorCodeEnum": ".types", "EventStreamCloudEventErrorDetail": ".types", "EventStreamCloudEventErrorMessage": ".types", @@ -3932,6 +6051,13 @@ "EventStreamCloudEventGroupCreatedObject1TypeEnum": ".types", "EventStreamCloudEventGroupCreatedObject2": ".types", "EventStreamCloudEventGroupCreatedObject2TypeEnum": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject0": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject1": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject2": ".types", + "EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum": ".types", "EventStreamCloudEventGroupCreatedTypeEnum": ".types", "EventStreamCloudEventGroupDeleted": ".types", "EventStreamCloudEventGroupDeletedCloudEvent": ".types", @@ -3944,6 +6070,13 @@ "EventStreamCloudEventGroupDeletedObject1TypeEnum": ".types", "EventStreamCloudEventGroupDeletedObject2": ".types", "EventStreamCloudEventGroupDeletedObject2TypeEnum": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject0": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject1": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject2": ".types", + "EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum": ".types", "EventStreamCloudEventGroupDeletedTypeEnum": ".types", "EventStreamCloudEventGroupMemberAdded": ".types", "EventStreamCloudEventGroupMemberAddedCloudEvent": ".types", @@ -3962,6 +6095,19 @@ "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum": ".types", "EventStreamCloudEventGroupMemberAddedObjectMember1": ".types", "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObject": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1": ".types", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum": ".types", "EventStreamCloudEventGroupMemberAddedTypeEnum": ".types", "EventStreamCloudEventGroupMemberDeleted": ".types", "EventStreamCloudEventGroupMemberDeletedCloudEvent": ".types", @@ -3980,6 +6126,19 @@ "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum": ".types", "EventStreamCloudEventGroupMemberDeletedObjectMember1": ".types", "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObject": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1": ".types", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum": ".types", "EventStreamCloudEventGroupMemberDeletedTypeEnum": ".types", "EventStreamCloudEventGroupRoleAssigned": ".types", "EventStreamCloudEventGroupRoleAssignedCloudEvent": ".types", @@ -3994,6 +6153,15 @@ "EventStreamCloudEventGroupRoleAssignedObjectGroup2": ".types", "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum": ".types", "EventStreamCloudEventGroupRoleAssignedObjectRole": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObject": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectRole": ".types", "EventStreamCloudEventGroupRoleAssignedTypeEnum": ".types", "EventStreamCloudEventGroupRoleDeleted": ".types", "EventStreamCloudEventGroupRoleDeletedCloudEvent": ".types", @@ -4008,6 +6176,15 @@ "EventStreamCloudEventGroupRoleDeletedObjectGroup2": ".types", "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum": ".types", "EventStreamCloudEventGroupRoleDeletedObjectRole": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObject": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectRole": ".types", "EventStreamCloudEventGroupRoleDeletedTypeEnum": ".types", "EventStreamCloudEventGroupUpdated": ".types", "EventStreamCloudEventGroupUpdatedCloudEvent": ".types", @@ -4020,6 +6197,13 @@ "EventStreamCloudEventGroupUpdatedObject1TypeEnum": ".types", "EventStreamCloudEventGroupUpdatedObject2": ".types", "EventStreamCloudEventGroupUpdatedObject2TypeEnum": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject0": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject1": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject2": ".types", + "EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum": ".types", "EventStreamCloudEventGroupUpdatedTypeEnum": ".types", "EventStreamCloudEventOffsetOnlyMessage": ".types", "EventStreamCloudEventOffsetOnlyMessageTypeEnum": ".types", @@ -4030,6 +6214,29 @@ "EventStreamCloudEventOrgConnectionAddedObject": ".types", "EventStreamCloudEventOrgConnectionAddedObjectConnection": ".types", "EventStreamCloudEventOrgConnectionAddedObjectOrganization": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObject": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum": ".types", "EventStreamCloudEventOrgConnectionAddedTypeEnum": ".types", "EventStreamCloudEventOrgConnectionRemoved": ".types", "EventStreamCloudEventOrgConnectionRemovedCloudEvent": ".types", @@ -4038,6 +6245,9 @@ "EventStreamCloudEventOrgConnectionRemovedObject": ".types", "EventStreamCloudEventOrgConnectionRemovedObjectConnection": ".types", "EventStreamCloudEventOrgConnectionRemovedObjectOrganization": ".types", + "EventStreamCloudEventOrgConnectionRemovedPreviousObject": ".types", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection": ".types", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization": ".types", "EventStreamCloudEventOrgConnectionRemovedTypeEnum": ".types", "EventStreamCloudEventOrgConnectionUpdated": ".types", "EventStreamCloudEventOrgConnectionUpdatedCloudEvent": ".types", @@ -4046,6 +6256,29 @@ "EventStreamCloudEventOrgConnectionUpdatedObject": ".types", "EventStreamCloudEventOrgConnectionUpdatedObjectConnection": ".types", "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObject": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum": ".types", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum": ".types", "EventStreamCloudEventOrgConnectionUpdatedTypeEnum": ".types", "EventStreamCloudEventOrgCreated": ".types", "EventStreamCloudEventOrgCreatedCloudEvent": ".types", @@ -4055,6 +6288,10 @@ "EventStreamCloudEventOrgCreatedObjectBranding": ".types", "EventStreamCloudEventOrgCreatedObjectBrandingColors": ".types", "EventStreamCloudEventOrgCreatedObjectMetadata": ".types", + "EventStreamCloudEventOrgCreatedPreviousObject": ".types", + "EventStreamCloudEventOrgCreatedPreviousObjectBranding": ".types", + "EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors": ".types", + "EventStreamCloudEventOrgCreatedPreviousObjectMetadata": ".types", "EventStreamCloudEventOrgCreatedTypeEnum": ".types", "EventStreamCloudEventOrgDeleted": ".types", "EventStreamCloudEventOrgDeletedCloudEvent": ".types", @@ -4062,6 +6299,8 @@ "EventStreamCloudEventOrgDeletedData": ".types", "EventStreamCloudEventOrgDeletedObject": ".types", "EventStreamCloudEventOrgDeletedObjectMetadata": ".types", + "EventStreamCloudEventOrgDeletedPreviousObject": ".types", + "EventStreamCloudEventOrgDeletedPreviousObjectMetadata": ".types", "EventStreamCloudEventOrgDeletedTypeEnum": ".types", "EventStreamCloudEventOrgGroupRoleAssigned": ".types", "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent": ".types", @@ -4077,6 +6316,16 @@ "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum": ".types", "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization": ".types", "EventStreamCloudEventOrgGroupRoleAssignedObjectRole": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObject": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole": ".types", "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum": ".types", "EventStreamCloudEventOrgGroupRoleDeleted": ".types", "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent": ".types", @@ -4092,6 +6341,16 @@ "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum": ".types", "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization": ".types", "EventStreamCloudEventOrgGroupRoleDeletedObjectRole": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObject": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole": ".types", "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum": ".types", "EventStreamCloudEventOrgMemberAdded": ".types", "EventStreamCloudEventOrgMemberAddedCloudEvent": ".types", @@ -4100,6 +6359,9 @@ "EventStreamCloudEventOrgMemberAddedObject": ".types", "EventStreamCloudEventOrgMemberAddedObjectOrganization": ".types", "EventStreamCloudEventOrgMemberAddedObjectUser": ".types", + "EventStreamCloudEventOrgMemberAddedPreviousObject": ".types", + "EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgMemberAddedPreviousObjectUser": ".types", "EventStreamCloudEventOrgMemberAddedTypeEnum": ".types", "EventStreamCloudEventOrgMemberDeleted": ".types", "EventStreamCloudEventOrgMemberDeletedCloudEvent": ".types", @@ -4108,6 +6370,9 @@ "EventStreamCloudEventOrgMemberDeletedObject": ".types", "EventStreamCloudEventOrgMemberDeletedObjectOrganization": ".types", "EventStreamCloudEventOrgMemberDeletedObjectUser": ".types", + "EventStreamCloudEventOrgMemberDeletedPreviousObject": ".types", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectUser": ".types", "EventStreamCloudEventOrgMemberDeletedTypeEnum": ".types", "EventStreamCloudEventOrgMemberRoleAssigned": ".types", "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent": ".types", @@ -4117,6 +6382,10 @@ "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization": ".types", "EventStreamCloudEventOrgMemberRoleAssignedObjectRole": ".types", "EventStreamCloudEventOrgMemberRoleAssignedObjectUser": ".types", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObject": ".types", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole": ".types", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser": ".types", "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum": ".types", "EventStreamCloudEventOrgMemberRoleDeleted": ".types", "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent": ".types", @@ -4126,6 +6395,10 @@ "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization": ".types", "EventStreamCloudEventOrgMemberRoleDeletedObjectRole": ".types", "EventStreamCloudEventOrgMemberRoleDeletedObjectUser": ".types", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObject": ".types", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization": ".types", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole": ".types", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser": ".types", "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum": ".types", "EventStreamCloudEventOrgUpdated": ".types", "EventStreamCloudEventOrgUpdatedCloudEvent": ".types", @@ -4135,7 +6408,12 @@ "EventStreamCloudEventOrgUpdatedObjectBranding": ".types", "EventStreamCloudEventOrgUpdatedObjectBrandingColors": ".types", "EventStreamCloudEventOrgUpdatedObjectMetadata": ".types", + "EventStreamCloudEventOrgUpdatedPreviousObject": ".types", + "EventStreamCloudEventOrgUpdatedPreviousObjectBranding": ".types", + "EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors": ".types", + "EventStreamCloudEventOrgUpdatedPreviousObjectMetadata": ".types", "EventStreamCloudEventOrgUpdatedTypeEnum": ".types", + "EventStreamCloudEventSpecVersionEnum": ".types", "EventStreamCloudEventUserCreated": ".types", "EventStreamCloudEventUserCreatedCloudEvent": ".types", "EventStreamCloudEventUserCreatedCloudEventTypeEnum": ".types", @@ -4169,6 +6447,35 @@ "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum": ".types", "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId": ".types", "EventStreamCloudEventUserCreatedObjectUserMetadata": ".types", + "EventStreamCloudEventUserCreatedPreviousObject": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectAppMetadata": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId": ".types", + "EventStreamCloudEventUserCreatedPreviousObjectUserMetadata": ".types", "EventStreamCloudEventUserCreatedTypeEnum": ".types", "EventStreamCloudEventUserDeleted": ".types", "EventStreamCloudEventUserDeletedCloudEvent": ".types", @@ -4203,6 +6510,35 @@ "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum": ".types", "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId": ".types", "EventStreamCloudEventUserDeletedObjectUserMetadata": ".types", + "EventStreamCloudEventUserDeletedPreviousObject": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectAppMetadata": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId": ".types", + "EventStreamCloudEventUserDeletedPreviousObjectUserMetadata": ".types", "EventStreamCloudEventUserDeletedTypeEnum": ".types", "EventStreamCloudEventUserUpdated": ".types", "EventStreamCloudEventUserUpdatedCloudEvent": ".types", @@ -4237,6 +6573,35 @@ "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum": ".types", "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId": ".types", "EventStreamCloudEventUserUpdatedObjectUserMetadata": ".types", + "EventStreamCloudEventUserUpdatedPreviousObject": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId": ".types", + "EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata": ".types", "EventStreamCloudEventUserUpdatedTypeEnum": ".types", "EventStreamDelivery": ".types", "EventStreamDeliveryAttempt": ".types", @@ -4254,6 +6619,9 @@ "EventStreamSubscribeEventsEventTypeEnum": ".types", "EventStreamSubscribeEventsEventTypeParam": ".types", "EventStreamSubscribeEventsResponseContent": ".types", + "EventStreamSubscribeEventsResponseContent_ConnectionCreated": ".types", + "EventStreamSubscribeEventsResponseContent_ConnectionDeleted": ".types", + "EventStreamSubscribeEventsResponseContent_ConnectionUpdated": ".types", "EventStreamSubscribeEventsResponseContent_Error": ".types", "EventStreamSubscribeEventsResponseContent_GroupCreated": ".types", "EventStreamSubscribeEventsResponseContent_GroupDeleted": ".types", @@ -4292,14 +6660,23 @@ "EventStreamWebhookDestinationTypeEnum": ".types", "EventStreamWebhookResponseContent": ".types", "EventStreamsCreateRequest": ".event_streams", + "ExperimentListItem": ".types", + "ExperimentStatusEnum": ".types", + "ExperimentTransitionStatusEnum": ".types", + "ExperimentValidationError": ".types", "ExpressConfiguration": ".types", "ExpressConfigurationOrNull": ".types", "ExtensibilityEmailProviderCredentials": ".types", + "FeatureFlag": ".types", + "FeatureFlagConfigParam": ".types", + "FeatureFlagConfigParamTypeEnum": ".types", + "FeatureFlagConfigParams": ".types", + "FeatureFlagStatusEnum": ".types", + "FeatureFlagTypeEnum": ".types", "FedCmLogin": ".types", "FedCmLoginGoogle": ".types", "FedCmLoginGooglePatch": ".types", "FedCmLoginPatch": ".types", - "FederatedConnectionTokenSet": ".types", "FlowAction": ".types", "FlowActionActivecampaign": ".types", "FlowActionActivecampaignListContacts": ".types", @@ -4859,6 +7236,7 @@ "FormWidgetTypeGMapsAddressConst": ".types", "FormWidgetTypeRecaptchaConst": ".types", "FormsRequestParametersHydrateEnum": ".types", + "GatewayTimeoutError": ".errors", "GetActionExecutionResponseContent": ".types", "GetActionModuleActionsResponseContent": ".types", "GetActionModuleResponseContent": ".types", @@ -4869,6 +7247,7 @@ "GetActionVersionResponseContent": ".types", "GetActiveUsersCountStatsResponseContent": ".types", "GetAculResponseContent": ".types", + "GetAllKeysNetworkAclsResponseContent": ".types", "GetAttackProtectionCaptchaResponseContent": ".types", "GetBotDetectionSettingsResponseContent": ".types", "GetBrandingDefaultThemeResponseContent": ".types", @@ -4892,11 +7271,14 @@ "GetDefaultDomainResponseContent": ".types", "GetDirectoryProvisioningDefaultMappingResponseContent": ".types", "GetDirectoryProvisioningResponseContent": ".types", + "GetEmailFactorSettingsResponseContent": ".types", "GetEmailProviderResponseContent": ".types", "GetEmailTemplateResponseContent": ".types", "GetEncryptionKeyResponseContent": ".types", "GetEventStreamDeliveryHistoryResponseContent": ".types", "GetEventStreamResponseContent": ".types", + "GetExperimentResponseContent": ".types", + "GetFeatureFlagResponseContent": ".types", "GetFlowExecutionRequestParametersHydrateEnum": ".types", "GetFlowExecutionResponseContent": ".types", "GetFlowRequestParametersHydrateEnum": ".types", @@ -4917,6 +7299,7 @@ "GetGuardianFactorsProviderSmsResponseContent": ".types", "GetGuardianFactorsProviderSmsTwilioResponseContent": ".types", "GetGuardianFactorsProviderSnsResponseContent": ".types", + "GetGuardianSettingsResponseContent": ".types", "GetHookResponseContent": ".types", "GetHookSecretResponseContent": ".types", "GetJobErrorResponseContent": ".types", @@ -4930,12 +7313,14 @@ "GetNetworkAclsResponseContent": ".types", "GetOrganizationAllConnectionResponseContent": ".types", "GetOrganizationByNameResponseContent": ".types", + "GetOrganizationClientResponseContent": ".types", "GetOrganizationConnectionResponseContent": ".types", "GetOrganizationDiscoveryDomainByNameResponseContent": ".types", "GetOrganizationDiscoveryDomainResponseContent": ".types", "GetOrganizationInvitationResponseContent": ".types", "GetOrganizationResponseContent": ".types", "GetPartialsResponseContent": ".types", + "GetPhoneFactorSettingsResponseContent": ".types", "GetPhoneProviderProtectionResponseContent": ".types", "GetPhoneTemplateResponseContent": ".types", "GetRateLimitPolicyResponseContent": ".types", @@ -4949,6 +7334,7 @@ "GetScimConfigurationDefaultMappingResponseContent": ".types", "GetScimConfigurationResponseContent": ".types", "GetScimTokensResponseContent": ".types", + "GetSegmentResponseContent": ".types", "GetSelfServiceProfileResponseContent": ".types", "GetSessionResponseContent": ".types", "GetSettingsResponseContent": ".types", @@ -4964,8 +7350,12 @@ "GetUserAuthenticationMethodResponseContent": ".types", "GetUserGroupsPaginatedResponseContent": ".types", "GetUserResponseContent": ".types", + "GetVariationResponseContent": ".types", "GetVerifiableCredentialTemplateResponseContent": ".types", "GoneError": ".errors", + "GoogleAccountLinkingConfiguration": ".types", + "GoogleAccountLinkingConfigurationCreate": ".types", + "GoogleAccountLinkingConfigurationOrNull": ".types", "Group": ".types", "GroupMember": ".types", "GroupMemberTypeEnum": ".types", @@ -4976,6 +7366,7 @@ "GuardianFactor": ".types", "GuardianFactorNameEnum": ".types", "GuardianFactorPhoneFactorMessageTypeEnum": ".types", + "GuardianFactorSettings": ".types", "GuardianFactorsProviderPushNotificationProviderDataEnum": ".types", "GuardianFactorsProviderSmsProviderEnum": ".types", "Hook": ".types", @@ -4983,9 +7374,11 @@ "HookTriggerIdEnum": ".types", "HttpCustomHeader": ".types", "Identity": ".types", + "IdentityAssertionAuthorizationGrant": ".types", "IdentityProviderEnum": ".types", "IdentityProviderOnlyAuth0Enum": ".types", "ImportEncryptionKeyResponseContent": ".types", + "IncludeUserProfileSizeHeaderEnum": ".types", "Integration": ".types", "IntegrationFeatureTypeEnum": ".types", "IntegrationRelease": ".types", @@ -4994,6 +7387,8 @@ "IntegrationRequiredParamTypeEnum": ".types", "IntegrationSemVer": ".types", "InternalServerError": ".errors", + "InternalServerErrorBody": ".types", + "InternalServerErrorBodyError": ".types", "JobFileFormatEnum": ".types", "LinkedClientConfiguration": ".types", "ListActionBindingsPaginatedResponseContent": ".types", @@ -5002,10 +7397,12 @@ "ListActionsPaginatedResponseContent": ".types", "ListAculsOffsetPaginatedResponseContent": ".types", "ListAculsResponseContentItem": ".types", + "ListAgentsResponseContent": ".types", "ListBrandingPhoneProvidersResponseContent": ".types", "ListClientConnectionsResponseContent": ".types", "ListClientGrantOrganizationsPaginatedResponseContent": ".types", "ListClientGrantPaginatedResponseContent": ".types", + "ListClientProfilesPaginatedResponseContent": ".types", "ListClientsOffsetPaginatedResponseContent": ".types", "ListConnectionProfileTemplateResponseContent": ".types", "ListConnectionProfilesPaginatedResponseContent": ".types", @@ -5014,7 +7411,10 @@ "ListDeviceCredentialsOffsetPaginatedResponseContent": ".types", "ListDirectoryProvisioningsResponseContent": ".types", "ListEncryptionKeyOffsetPaginatedResponseContent": ".types", + "ListEventStreamDeliveriesResponseContent": ".types", "ListEventStreamsResponseContent": ".types", + "ListExperimentsResponseContent": ".types", + "ListFeatureFlagsResponseContent": ".types", "ListFlowExecutionsPaginatedResponseContent": ".types", "ListFlowsOffsetPaginatedResponseContent": ".types", "ListFlowsRequestParametersHydrateEnum": ".types", @@ -5028,6 +7428,7 @@ "ListNetworkAclsOffsetPaginatedResponseContent": ".types", "ListOrganizationAllConnectionsOffsetPaginatedResponseContent": ".types", "ListOrganizationClientGrantsOffsetPaginatedResponseContent": ".types", + "ListOrganizationClientsResponseContent": ".types", "ListOrganizationConnectionsOffsetPaginatedResponseContent": ".types", "ListOrganizationDiscoveryDomainsResponseContent": ".types", "ListOrganizationGroupRolesResponseContent": ".types", @@ -5037,8 +7438,11 @@ "ListOrganizationMemberRoleSourceGroupsResponseContent": ".types", "ListOrganizationMemberRolesOffsetPaginatedResponseContent": ".types", "ListOrganizationMembersPaginatedResponseContent": ".types", + "ListOrganizationRoleGroupsResponseContent": ".types", + "ListOrganizationRoleMembersResponseContent": ".types", "ListOrganizationsPaginatedResponseContent": ".types", "ListPhoneTemplatesResponseContent": ".types", + "ListPortalsResponseContent": ".types", "ListRateLimitPoliciesPaginatedResponseContent": ".types", "ListRefreshTokensPaginatedResponseContent": ".types", "ListResourceServerOffsetPaginatedResponseContent": ".types", @@ -5048,6 +7452,7 @@ "ListRolesOffsetPaginatedResponseContent": ".types", "ListRulesOffsetPaginatedResponseContent": ".types", "ListScimConfigurationsResponseContent": ".types", + "ListSegmentsResponseContent": ".types", "ListSelfServiceProfileCustomTextResponseContent": ".types", "ListSelfServiceProfilesPaginatedResponseContent": ".types", "ListSynchronizedGroupsResponseContent": ".types", @@ -5058,6 +7463,7 @@ "ListUserBlocksByIdentifierResponseContent": ".types", "ListUserBlocksResponseContent": ".types", "ListUserConnectedAccountsResponseContent": ".types", + "ListUserConsentSigningKeysResponseContent": ".types", "ListUserEffectivePermissionRoleSourcesResponseContent": ".types", "ListUserEffectivePermissionsResponseContent": ".types", "ListUserEffectiveRolesResponseContent": ".types", @@ -5068,6 +7474,7 @@ "ListUserRolesOffsetPaginatedResponseContent": ".types", "ListUserSessionsPaginatedResponseContent": ".types", "ListUsersOffsetPaginatedResponseContent": ".types", + "ListVariationsResponseContent": ".types", "ListVerifiableCredentialTemplatesPaginatedResponseContent": ".types", "Log": ".types", "LogDate": ".types", @@ -5134,15 +7541,25 @@ "NetworkAclActionBlockEnum": ".types", "NetworkAclActionLogEnum": ".types", "NetworkAclActionRedirectEnum": ".types", + "NetworkAclHttpMessageSignature": ".types", + "NetworkAclHttpMessageSignatureKey": ".types", + "NetworkAclHttpMessageSignatureKeys": ".types", + "NetworkAclKey": ".types", + "NetworkAclKeyAlgorithmEnum": ".types", "NetworkAclMatch": ".types", "NetworkAclMatchConnectingIpv4Cidr": ".types", "NetworkAclMatchConnectingIpv6Cidr": ".types", "NetworkAclMatchIpv4Cidr": ".types", "NetworkAclMatchIpv6Cidr": ".types", "NetworkAclRule": ".types", + "NetworkAclRuleMatchAllEnum": ".types", "NetworkAclRuleScopeEnum": ".types", "NetworkAclsResponseContent": ".types", "NotFoundError": ".errors", + "NotFoundErrorBody": ".types", + "NotFoundErrorBodyError": ".types", + "NotFoundSchema": ".types", + "NotFoundSchemaError": ".types", "OauthScope": ".types", "Organization": ".types", "OrganizationAccessLevelEnum": ".types", @@ -5150,7 +7567,11 @@ "OrganizationAllConnectionPost": ".types", "OrganizationBranding": ".types", "OrganizationBrandingColors": ".types", + "OrganizationClient": ".types", + "OrganizationClientAssociation": ".types", "OrganizationClientGrant": ".types", + "OrganizationClientMetadata": ".types", + "OrganizationClientMetadataOrganizationUsageEnum": ".types", "OrganizationConnection": ".types", "OrganizationConnectionInformation": ".types", "OrganizationDiscoveryDomain": ".types", @@ -5160,16 +7581,69 @@ "OrganizationInvitationInvitee": ".types", "OrganizationInvitationInviter": ".types", "OrganizationMember": ".types", + "OrganizationMemberAccessLevelEnum": ".types", + "OrganizationMemberAccessLevelEnumWithNull": ".types", "OrganizationMemberEffectiveRole": ".types", "OrganizationMemberEffectiveRoleSource": ".types", "OrganizationMemberRole": ".types", "OrganizationMetadata": ".types", + "OrganizationSortFieldEnum": ".types", + "OrganizationThirdPartyClientAccessEnum": ".types", "OrganizationUsageEnum": ".types", + "PageComponent": ".types", + "PageComponentAuth0Form": ".types", + "PageComponentAuth0FormConfig": ".types", + "PageComponentAuth0MediaImage": ".types", + "PageComponentAuth0MediaImageConfig": ".types", + "PageComponentAuth0MyAccountMfaManagement": ".types", + "PageComponentAuth0MyAccountMfaManagementConfig": ".types", + "PageComponentAuth0MyAccountPasskeyManagement": ".types", + "PageComponentAuth0MyAccountPasskeyManagementConfig": ".types", + "PageComponentAuth0MyOrganizationDetailsEdit": ".types", + "PageComponentAuth0MyOrganizationDetailsEditConfig": ".types", + "PageComponentAuth0MyOrganizationDomainTable": ".types", + "PageComponentAuth0MyOrganizationDomainTableConfig": ".types", + "PageComponentAuth0MyOrganizationMemberManagement": ".types", + "PageComponentAuth0MyOrganizationMemberManagementConfig": ".types", + "PageComponentAuth0StructureSection": ".types", + "PageComponentAuth0StructureSectionConfig": ".types", + "PageComponentAuth0StructureSectionVariantEnum": ".types", + "PageComponentAuth0StructureSeparator": ".types", + "PageComponentAuth0StructureSeparatorConfig": ".types", + "PageComponentAuth0StructureSeparatorVariantEnum": ".types", + "PageComponentAuth0TypographyHeading": ".types", + "PageComponentAuth0TypographyHeadingConfig": ".types", + "PageComponentAuth0TypographyRichText": ".types", + "PageComponentAuth0TypographyRichTextConfig": ".types", + "PageComponentNoChildren": ".types", + "PageComponentNoChildren_PageComponentAuth0Form": ".types", + "PageComponentNoChildren_PageComponentAuth0MediaImage": ".types", + "PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement": ".types", + "PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement": ".types", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit": ".types", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable": ".types", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement": ".types", + "PageComponentNoChildren_PageComponentAuth0StructureSeparator": ".types", + "PageComponentNoChildren_PageComponentAuth0TypographyHeading": ".types", + "PageComponentNoChildren_PageComponentAuth0TypographyRichText": ".types", + "PageComponent_PageComponentAuth0Form": ".types", + "PageComponent_PageComponentAuth0MediaImage": ".types", + "PageComponent_PageComponentAuth0MyAccountMfaManagement": ".types", + "PageComponent_PageComponentAuth0MyAccountPasskeyManagement": ".types", + "PageComponent_PageComponentAuth0MyOrganizationDetailsEdit": ".types", + "PageComponent_PageComponentAuth0MyOrganizationDomainTable": ".types", + "PageComponent_PageComponentAuth0MyOrganizationMemberManagement": ".types", + "PageComponent_PageComponentAuth0StructureSection": ".types", + "PageComponent_PageComponentAuth0StructureSeparator": ".types", + "PageComponent_PageComponentAuth0TypographyHeading": ".types", + "PageComponent_PageComponentAuth0TypographyRichText": ".types", + "PageSlug": ".types", "PartialGroupsEnum": ".types", "PartialPhoneTemplateContent": ".types", "PasswordCharacterTypeEnum": ".types", "PasswordCharacterTypeRulePolicyEnum": ".types", "PasswordDefaultDictionariesEnum": ".types", + "PasswordDictionaryMatchTypeEnum": ".types", "PasswordIdenticalCharactersPolicyEnum": ".types", "PasswordMaxLengthExceededPolicyEnum": ".types", "PasswordSequentialCharactersPolicyEnum": ".types", @@ -5187,6 +7661,7 @@ "PermissionRequestPayload": ".types", "PermissionsResponsePayload": ".types", "PhoneAttribute": ".types", + "PhoneAttributeIdentifier": ".types", "PhoneProviderChannelEnum": ".types", "PhoneProviderConfiguration": ".types", "PhoneProviderCredentials": ".types", @@ -5198,6 +7673,24 @@ "PhoneTemplateBody": ".types", "PhoneTemplateContent": ".types", "PhoneTemplateNotificationTypeEnum": ".types", + "Portal": ".types", + "PortalClientSecretPost": ".types", + "PortalClientSecretPostRequest": ".types", + "PortalClientSecretPostRequestTokenEndpointAuthMethod": ".types", + "PortalClientSecretPostTokenEndpointAuthMethod": ".types", + "PortalCustomCode": ".types", + "PortalCustomCodeNullable": ".types", + "PortalDateTime": ".types", + "PortalId": ".types", + "PortalName": ".types", + "PortalNavigation": ".types", + "PortalNavigationNullable": ".types", + "PortalPage": ".types", + "PortalPagesByType": ".types", + "PortalPagesByTypeNullable": ".types", + "PortalSlug": ".types", + "PortalSummary": ".types", + "Position": ".types", "PostClientCredentialResponseContent": ".types", "PostConnectionKeysAlgEnum": ".types", "PostConnectionKeysRequestContent": ".types", @@ -5235,13 +7728,23 @@ "ResetPhoneTemplateRequestContent": ".types", "ResetPhoneTemplateResponseContent": ".types", "ResourceServer": ".types", + "ResourceServerAccessToken": ".types", + "ResourceServerAccessTokenClaimsMapping": ".types", + "ResourceServerAccessTokenCustomClaimsMapping": ".types", + "ResourceServerAccessTokenCustomClaimsMappingRule": ".types", + "ResourceServerAgentSubjectClaimsResponseEnum": ".types", + "ResourceServerAgentSubjectClaimsSchemaEnum": ".types", "ResourceServerAuthorizationPolicy": ".types", "ResourceServerConsentPolicyEnum": ".types", "ResourceServerProofOfPossession": ".types", "ResourceServerProofOfPossessionMechanismEnum": ".types", "ResourceServerProofOfPossessionRequiredForEnum": ".types", "ResourceServerScope": ".types", + "ResourceServerSearchResponse": ".types", + "ResourceServerSortFieldEnum": ".types", "ResourceServerSubjectTypeAuthorization": ".types", + "ResourceServerSubjectTypeAuthorizationAnonymousUser": ".types", + "ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum": ".types", "ResourceServerSubjectTypeAuthorizationClient": ".types", "ResourceServerSubjectTypeAuthorizationClientPolicyEnum": ".types", "ResourceServerSubjectTypeAuthorizationUser": ".types", @@ -5252,9 +7755,15 @@ "ResourceServerTokenEncryptionAlgorithmEnum": ".types", "ResourceServerTokenEncryptionFormatEnum": ".types", "ResourceServerTokenEncryptionKey": ".types", + "ResourceServerTypeEnum": ".types", "ResourceServerVerificationKeyPemCertificate": ".types", "RevokedSigningKeysResponseContent": ".types", "Role": ".types", + "RoleGroup": ".types", + "RoleMember": ".types", + "RoleOwnerId": ".types", + "RoleOwnerIdFilter": ".types", + "RoleTypeEnum": ".types", "RoleUser": ".types", "RollbackActionModuleResponseContent": ".types", "RotateClientSecretResponseContent": ".types", @@ -5268,7 +7777,25 @@ "ScimMappingItem": ".types", "ScimTokenItem": ".types", "ScreenGroupNameEnum": ".types", + "SearchClientGrantsResponseContent": ".types", + "SearchClientsResponseContent": ".types", "SearchEngineVersionsEnum": ".types", + "SearchOrganization": ".types", + "SearchOrganizationsPaginatedResponseContent": ".types", + "SearchParserEnum": ".types", + "SearchResourceServersResponseContent": ".types", + "Segment": ".types", + "SegmentContainsExpression": ".types", + "SegmentEndsWithExpression": ".types", + "SegmentExistsExpression": ".types", + "SegmentMatchConditions": ".types", + "SegmentMatchExpression": ".types", + "SegmentNotMatchConditions": ".types", + "SegmentRule": ".types", + "SegmentStartsWithExpression": ".types", + "SegmentStatusEnum": ".types", + "SegmentTypeEnum": ".types", + "SegmentTypeFilterEnum": ".types", "SelfServiceProfile": ".types", "SelfServiceProfileAllowedStrategyEnum": ".types", "SelfServiceProfileBranding": ".types", @@ -5288,9 +7815,12 @@ "SelfServiceProfileSsoTicketIdpInitiatedOptions": ".types", "SelfServiceProfileSsoTicketProvisioningConfig": ".types", "SelfServiceProfileSsoTicketProvisioningScopeEnum": ".types", + "SelfServiceProfileSsoTicketUniversalLogoutConfig": ".types", "SelfServiceProfileUserAttribute": ".types", "SelfServiceProfileUserAttributes": ".types", "ServiceUnavailableError": ".errors", + "SessionActorClaimValue": ".types", + "SessionActorMetadata": ".types", "SessionAuthenticationSignal": ".types", "SessionAuthenticationSignals": ".types", "SessionClientMetadata": ".types", @@ -5304,6 +7834,7 @@ "SessionMetadata": ".types", "SessionResponseContent": ".types", "SetCustomSigningKeysResponseContent": ".types", + "SetEmailFactorSettingsResponseContent": ".types", "SetEmailTemplateResponseContent": ".types", "SetGuardianFactorDuoSettingsResponseContent": ".types", "SetGuardianFactorPhoneMessageTypesResponseContent": ".types", @@ -5321,8 +7852,10 @@ "SetGuardianFactorsProviderSmsTwilioResponseContent": ".types", "SetGuardianPoliciesRequestContent": ".types", "SetGuardianPoliciesResponseContent": ".types", + "SetGuardianSettingsResponseContent": ".types", "SetNetworkAclsResponseContent": ".types", "SetPartialsRequestContent": ".types", + "SetPhoneFactorSettingsResponseContent": ".types", "SetRulesConfigResponseContent": ".types", "SetSelfServiceProfileCustomTextRequestContent": ".types", "SetSelfServiceProfileCustomTextResponseContent": ".types", @@ -5330,6 +7863,20 @@ "SetUserAuthenticationMethods": ".types", "SetUserAuthenticationMethodsRequestContent": ".types", "SetsCustomTextsByLanguageRequestContent": ".types", + "Sidebar": ".types", + "SidebarComponent": ".types", + "SidebarComponentAuth0ExternalLink": ".types", + "SidebarComponentAuth0ExternalLinkConfig": ".types", + "SidebarComponentAuth0ExternalLinkV2": ".types", + "SidebarComponentAuth0ExternalLinkV2Config": ".types", + "SidebarComponentAuth0InternalLink": ".types", + "SidebarComponentAuth0InternalLinkConfig": ".types", + "SidebarComponentAuth0InternalLinkV2": ".types", + "SidebarComponentAuth0InternalLinkV2Config": ".types", + "SidebarComponent_SidebarComponentAuth0ExternalLink": ".types", + "SidebarComponent_SidebarComponentAuth0ExternalLinkV2": ".types", + "SidebarComponent_SidebarComponentAuth0InternalLink": ".types", + "SidebarComponent_SidebarComponentAuth0InternalLinkV2": ".types", "SigningAlgorithmEnum": ".types", "SigningKeys": ".types", "SigningKeysDate": ".types", @@ -5340,12 +7887,15 @@ "SupportedLocales": ".types", "SuspiciousIpThrottlingAllowlist": ".types", "SuspiciousIpThrottlingAllowlistItem": ".types", + "SuspiciousIpThrottlingPreCustomTokenExchangeStage": ".types", "SuspiciousIpThrottlingPreLoginStage": ".types", "SuspiciousIpThrottlingPreUserRegistrationStage": ".types", "SuspiciousIpThrottlingShieldsEnum": ".types", "SuspiciousIpThrottlingStage": ".types", "SynchronizeGroupsEnum": ".types", "SynchronizedGroupPayload": ".types", + "SynchronizedGroupSelectionId": ".types", + "SystemRoleOwnerId": ".types", "TenantOidcLogoutSettings": ".types", "TenantSettingsCountryCodes": ".types", "TenantSettingsCountryCodesMode": ".types", @@ -5362,20 +7912,25 @@ "TenantSettingsPasswordPage": ".types", "TenantSettingsResourceParameterProfile": ".types", "TenantSettingsSessions": ".types", + "TenantSettingsSessionsAnonymous": ".types", "TenantSettingsSupportedLocalesEnum": ".types", "TestActionPayload": ".types", "TestActionResponseContent": ".types", "TestActionResultPayload": ".types", "TestCustomDomainResponseContent": ".types", "TestEventDataContent": ".types", + "ThirdPartyClientAccessConfig": ".types", "TokenExchangeProfileResponseContent": ".types", "TokenExchangeProfileTypeEnum": ".types", "TokenProvider": ".token_provider", "TokenQuota": ".types", "TokenQuotaClientCredentials": ".types", "TokenQuotaConfiguration": ".types", + "TokenVaultPrivilegedAccessGrant": ".types", "TokenVaultPrivilegedAccessIpAllowlistEntry": ".types", "TooManyRequestsError": ".errors", + "TooManyRequestsErrorBody": ".types", + "TooManyRequestsErrorBodyError": ".types", "TooManyRequestsSchema": ".types", "TooManyRequestsSchemaError": ".types", "TwilioProviderConfiguration": ".types", @@ -5385,10 +7940,12 @@ "UnauthorizedSchema": ".types", "UnauthorizedSchemaError": ".types", "UniversalLoginExperienceEnum": ".types", + "UnprocessableEntityError": ".errors", "UpdateActionBindingsResponseContent": ".types", "UpdateActionModuleResponseContent": ".types", "UpdateActionResponseContent": ".types", "UpdateAculResponseContent": ".types", + "UpdateAnonymousSessions": ".types", "UpdateAttackProtectionCaptchaResponseContent": ".types", "UpdateBotDetectionSettingsResponseContent": ".types", "UpdateBrandingColors": ".types", @@ -5459,6 +8016,7 @@ "UpdateConnectionRequestContentYahoo": ".types", "UpdateConnectionRequestContentYandex": ".types", "UpdateConnectionResponseContent": ".types", + "UpdateCrossAppAccessResourceApp": ".types", "UpdateCustomDomainResponseContent": ".types", "UpdateDefaultCanonicalDomainResponseContent": ".types", "UpdateDefaultCustomDomainResponseContent": ".types", @@ -5470,6 +8028,9 @@ "UpdateEnabledClientConnectionsRequestContent": ".types", "UpdateEnabledClientConnectionsRequestContentItem": ".types", "UpdateEventStreamResponseContent": ".types", + "UpdateExperimentResponseContent": ".types", + "UpdateFeatureFlagParameters": ".types", + "UpdateFeatureFlagResponseContent": ".types", "UpdateFlowResponseContent": ".types", "UpdateFlowsVaultConnectionResponseContent": ".types", "UpdateFlowsVaultConnectionSetup": ".types", @@ -5481,9 +8042,11 @@ "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent": ".types", "UpdateHookResponseContent": ".types", "UpdateHookSecretRequestContent": ".types", + "UpdateIdentityAssertionAuthorizationGrant": ".types", "UpdateLogStreamResponseContent": ".types", "UpdateNetworkAclResponseContent": ".types", "UpdateOrganizationAllConnectionResponseContent": ".types", + "UpdateOrganizationClientResponseContent": ".types", "UpdateOrganizationConnectionResponseContent": ".types", "UpdateOrganizationDiscoveryDomainResponseContent": ".types", "UpdateOrganizationResponseContent": ".types", @@ -5496,6 +8059,7 @@ "UpdateRoleResponseContent": ".types", "UpdateRuleResponseContent": ".types", "UpdateScimConfigurationResponseContent": ".types", + "UpdateSegmentResponseContent": ".types", "UpdateSelfServiceProfileResponseContent": ".types", "UpdateSessionResponseContent": ".types", "UpdateSettingsResponseContent": ".types", @@ -5507,6 +8071,8 @@ "UpdateUserAttributeProfileResponseContent": ".types", "UpdateUserAuthenticationMethodResponseContent": ".types", "UpdateUserResponseContent": ".types", + "UpdateVariationOverridesMap": ".types", + "UpdateVariationResponseContent": ".types", "UpdateVerifiableCredentialTemplateResponseContent": ".types", "UserAppMetadataSchema": ".types", "UserAttributeProfile": ".types", @@ -5554,8 +8120,12 @@ "UserResponseSchema": ".types", "UsernameAllowedTypes": ".types", "UsernameAttribute": ".types", + "UsernameAttributeIdentifier": ".types", "UsernameValidation": ".types", "UsersEnrollment": ".types", + "ValidateExperimentResponseContent": ".types", + "Variation": ".types", + "VariationOverridesMap": ".types", "VerifiableCredentialTemplateResponse": ".types", "VerificationMethodEnum": ".types", "VerifyCustomDomainResponseContent": ".types", @@ -5566,10 +8136,12 @@ "XssProtectionMode": ".types", "__version__": ".version", "actions": ".actions", + "agents": ".agents", "anomaly": ".anomaly", "attack_protection": ".attack_protection", "branding": ".branding", "client_grants": ".client_grants", + "client_profiles": ".client_profiles", "clients": ".clients", "connection_profiles": ".connection_profiles", "connections": ".connections", @@ -5579,6 +8151,7 @@ "emails": ".emails", "event_streams": ".event_streams", "events": ".events", + "experimentation": ".experimentation", "flows": ".flows", "forms": ".forms", "groups": ".groups", @@ -5590,6 +8163,7 @@ "logs": ".logs", "network_acls": ".network_acls", "organizations": ".organizations", + "portals": ".portals", "prompts": ".prompts", "rate_limit_policies": ".rate_limit_policies", "refresh_tokens": ".refresh_tokens", @@ -5688,7 +8262,14 @@ def __dir__(): "AculOrganizationMetadata", "AculRenderingModeEnum", "AddOrganizationConnectionResponseContent", + "AdvanceRampResponseContent", + "AgentMetadata", + "AgentResponseContent", + "AllocationItem", + "AllocationRequestItem", + "AllocationStrategyEnum", "AnomalyIpFormat", + "AnonymousSessions", "AppMetadata", "AssessorsTypeEnum", "AssociateOrganizationClientGrantResponseContent", @@ -5712,8 +8293,11 @@ def __dir__(): "AttackProtectionUpdateCaptchaRecaptchaV2", "Auth0", "Auth0Environment", + "AuthenticationFlowEnum", "AuthenticationMethodTypeEnum", "AuthenticationTypeEnum", + "B2BIntegrationConfiguration", + "B2BIntegrationConfigurationIntegrationTypeEnum", "BadRequestError", "BadRequestSchema", "BadRequestSchemaError", @@ -5744,6 +8328,11 @@ def __dir__(): "BrandingThemeFontSubtitle", "BrandingThemeFontTitle", "BrandingThemeFonts", + "BrandingThemeIdentifiers", + "BrandingThemeIdentifiersLoginDisplayEnum", + "BrandingThemeIdentifiersPhoneDisplay", + "BrandingThemeIdentifiersPhoneDisplayFormattingEnum", + "BrandingThemeIdentifiersPhoneDisplayMaskingEnum", "BrandingThemePageBackground", "BrandingThemePageBackgroundPageLayoutEnum", "BrandingThemeWidget", @@ -5758,6 +8347,7 @@ def __dir__(): "BreachedPasswordDetectionPreUserRegistrationStage", "BreachedPasswordDetectionShieldsEnum", "BreachedPasswordDetectionStage", + "BruteForceProtectionFormSubmissionModeEnum", "BruteForceProtectionModeEnum", "BruteForceProtectionShieldsEnum", "BulkUpdateAculResponseContent", @@ -5765,6 +8355,7 @@ def __dir__(): "CertificateSubjectDnCredentialTypeEnum", "ChangePasswordTicketIdentity", "ChangePasswordTicketResponseContent", + "CimdExternalMetadataCreatedByEnum", "CimdMappedClientAuthenticationMethods", "CimdMappedClientAuthenticationMethodsPrivateKeyJwt", "CimdMappedClientFields", @@ -5804,6 +8395,7 @@ def __dir__(): "ClientAddonZendesk", "ClientAddonZoom", "ClientAddons", + "ClientAnonymousSessionTransferNetworkBindingEnum", "ClientAppTypeEnum", "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration", @@ -5827,12 +8419,14 @@ def __dir__(): "ClientDefaultOrganizationFlowsEnum", "ClientEncryptionKey", "ClientExternalMetadataCreatedByEnum", + "ClientExternalMetadataStatusEnum", "ClientExternalMetadataTypeEnum", "ClientGrantAllowAnyOrganizationEnum", "ClientGrantDefaultForEnum", "ClientGrantOrganizationNullableUsageEnum", "ClientGrantOrganizationUsageEnum", "ClientGrantResponseContent", + "ClientGrantSortFieldEnum", "ClientGrantSubjectTypeEnum", "ClientJwtConfiguration", "ClientJwtConfigurationScopes", @@ -5841,23 +8435,53 @@ def __dir__(): "ClientMobileAndroid", "ClientMobileiOs", "ClientMyOrganizationConfigurationAllowedStrategiesEnum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum", "ClientMyOrganizationDeletionBehaviorEnum", "ClientMyOrganizationPatchConfiguration", "ClientMyOrganizationPostConfiguration", "ClientMyOrganizationResponseConfiguration", + "ClientMyOrganizationThirdPartyClientAccessConfiguration", "ClientOidcBackchannelLogoutInitiators", "ClientOidcBackchannelLogoutInitiatorsEnum", "ClientOidcBackchannelLogoutInitiatorsModeEnum", "ClientOidcBackchannelLogoutSessionMetadata", "ClientOidcBackchannelLogoutSettings", + "ClientOidcSupport", + "ClientOidcSupportAllowedScopesEnum", + "ClientOidcSupportPatch", + "ClientOidcSupportPost", "ClientOrganizationDiscoveryEnum", "ClientOrganizationRequireBehaviorEnum", "ClientOrganizationRequireBehaviorPatchEnum", "ClientOrganizationUsageEnum", "ClientOrganizationUsagePatchEnum", + "ClientProfile", + "ClientProfileApplyPolicy", + "ClientProfileApplyPolicyExternalMetadataCreatedByEnum", + "ClientProfileApplyPolicyExternalMetadataTypeEnum", + "ClientProfileClientConfiguration", + "ClientProfileClientConfigurationOidcSupport", + "ClientProfileClientConfigurationOidcSupportAllowedScopesEnum", + "ClientProfileClientConfigurationOidcSupportDefaultValue", + "ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum", + "ClientProfileClientConfigurationOrganizationDiscoveryMethods", + "ClientProfileClientConfigurationOrganizationRequireBehavior", + "ClientProfileClientConfigurationOrganizationRequireBehaviorEnum", + "ClientProfileClientConfigurationOrganizationUsage", + "ClientProfileClientConfigurationOrganizationUsageEnum", + "ClientProfileClientConfigurationRefreshToken", + "ClientProfileClientConfigurationRequireProofOfPossession", + "ClientProfileDescription", + "ClientProfileId", + "ClientProfileName", + "ClientProfileRefreshTokenIdleTokenLifetime", + "ClientProfileRefreshTokenLeeway", + "ClientProfileRefreshTokenTokenLifetime", "ClientRedirectionPolicyEnum", "ClientRefreshTokenConfiguration", "ClientRefreshTokenPolicy", + "ClientSearchResponse", "ClientSessionTransferAllowedAuthenticationMethodsEnum", "ClientSessionTransferConfiguration", "ClientSessionTransferDelegationConfiguration", @@ -5867,6 +8491,7 @@ def __dir__(): "ClientSignedRequestObjectWithPublicKey", "ClientSigningKey", "ClientSigningKeys", + "ClientSortFieldEnum", "ClientThirdPartySecurityModeEnum", "ClientTokenEndpointAuthMethodEnum", "ClientTokenEndpointAuthMethodOrNullEnum", @@ -5876,6 +8501,8 @@ def __dir__(): "ClientTokenVaultPrivilegedAccessWithCredentialId", "ClientTokenVaultPrivilegedAccessWithPublicKey", "ConflictError", + "ConflictSchema", + "ConflictSchemaError", "ConnectedAccount", "ConnectedAccountAccessTypeEnum", "ConnectionAccessTokenUrloAuth1", @@ -5895,7 +8522,6 @@ def __dir__(): "ConnectionAppDomainAzureAd", "ConnectionAssertionDecryptionAlgorithmProfileEnum", "ConnectionAssertionDecryptionSettings", - "ConnectionAttributeIdentifier", "ConnectionAttributeMapAttributes", "ConnectionAttributeMapOidc", "ConnectionAttributeMapOkta", @@ -5931,6 +8557,7 @@ def __dir__(): "ConnectionClientIdOidc", "ConnectionClientIdPaypal", "ConnectionClientIdSalesforce", + "ConnectionClientIdSamlxaaRequestingApp", "ConnectionClientIdWindowsLive", "ConnectionClientProtocolSaml", "ConnectionClientSecret", @@ -5948,6 +8575,7 @@ def __dir__(): "ConnectionClientSecretOidc", "ConnectionClientSecretPaypal", "ConnectionClientSecretSalesforce", + "ConnectionClientSecretSamlxaaRequestingApp", "ConnectionClientSecretWindowsLive", "ConnectionCommon", "ConnectionCommunityBaseUrlSalesforce", @@ -5956,6 +8584,8 @@ def __dir__(): "ConnectionConnectedAccountsPurposeXaa", "ConnectionConnectionSettings", "ConnectionConnectionSettingsPkceEnum", + "ConnectionCrossAppAccessResourceApp", + "ConnectionCrossAppAccessResourceAppStatusEnum", "ConnectionCustomHeadersOAuth2", "ConnectionCustomScripts", "ConnectionDebugSaml", @@ -5985,6 +8615,7 @@ def __dir__(): "ConnectionEmailFromEmail", "ConnectionEmailOtpAuthenticationMethod", "ConnectionEmailSubjectEmail", + "ConnectionEnablePushedAuthorizationRequests", "ConnectionEnableScriptContext", "ConnectionEnabledClient", "ConnectionEnabledClients", @@ -6002,7 +8633,6 @@ def __dir__(): "ConnectionExtIsSuspended", "ConnectionExtIsSuspendedGoogleApps", "ConnectionExtProfile", - "ConnectionFederatedConnectionsAccessTokens", "ConnectionFieldsMap", "ConnectionFieldsMapSaml", "ConnectionFieldsMapSamlValue", @@ -6138,6 +8768,8 @@ def __dir__(): "ConnectionOptionsWordpress", "ConnectionOptionsYahoo", "ConnectionOptionsYandex", + "ConnectionOtpChannelSettings", + "ConnectionOtpSettings", "ConnectionPasskeyAuthenticationMethod", "ConnectionPasskeyChallengeUiEnum", "ConnectionPasskeyOptions", @@ -6158,16 +8790,31 @@ def __dir__(): "ConnectionProfile", "ConnectionProfileBitbucket", "ConnectionProfileConfig", + "ConnectionProfileCrossAppAccessResourceApp", + "ConnectionProfileCrossAppAccessResourceAppStatus", + "ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum", + "ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum", + "ConnectionProfileCrossAppAccessResourceAppStatusValueEnum", "ConnectionProfileEnabledFeatures", "ConnectionProfileId", "ConnectionProfileName", "ConnectionProfileOrganization", "ConnectionProfileOrganizationAssignMembershipOnLoginEnum", "ConnectionProfileOrganizationShowAsButtonEnum", + "ConnectionProfileProvisioning", + "ConnectionProfileProvisioningGoogleWorkspace", + "ConnectionProfileProvisioningGoogleWorkspaceSyncUsers", + "ConnectionProfileProvisioningScim", + "ConnectionProfileProvisioningScimTokenDefaultExpiry", + "ConnectionProfileProvisioningScimTokenMaxAllowedExpiry", + "ConnectionProfileProvisioningScimTokenScopeEnum", + "ConnectionProfileProvisioningScimTokenScopes", + "ConnectionProfileProvisioningScimTokens", "ConnectionProfileStrategyOverride", "ConnectionProfileStrategyOverrides", "ConnectionProfileStrategyOverridesConnectionConfig", "ConnectionProfileStrategyOverridesEnabledFeatures", + "ConnectionProfileStrategyOverridesProvisioning", "ConnectionProfileTemplate", "ConnectionProfileTemplateItem", "ConnectionPropertiesOptions", @@ -6177,6 +8824,7 @@ def __dir__(): "ConnectionProviderSms", "ConnectionProvisioningTicketUrl", "ConnectionPurposes", + "ConnectionPushedAuthorizationRequestEndpoint", "ConnectionRealmFallback", "ConnectionRealms", "ConnectionRecipientUrlSaml", @@ -6188,6 +8836,7 @@ def __dir__(): "ConnectionRequestTemplateSaml", "ConnectionRequestTokenUrloAuth1", "ConnectionRequestUriParameterSupported", + "ConnectionRequirePushedAuthorizationRequests", "ConnectionRequireRequestUriRegistration", "ConnectionRequiresUsername", "ConnectionResponseCommon", @@ -6356,6 +9005,9 @@ def __dir__(): "ConnectionThumbprints", "ConnectionThumbprintsAd", "ConnectionThumbprintsSaml", + "ConnectionThumbprintsSha384", + "ConnectionThumbprintsSha384Ad", + "ConnectionThumbprintsSha384Saml", "ConnectionTokenEndpoint", "ConnectionTokenEndpointAuthMethodEnum", "ConnectionTokenEndpointAuthMethodsSupported", @@ -6382,6 +9034,7 @@ def __dir__(): "ConnectionUpstreamParamsFacebook", "ConnectionUpstreamValue", "ConnectionUseCommonEndpointAzureAd", + "ConnectionUseOauthSpecScope", "ConnectionUserAuthorizationUrloAuth1", "ConnectionUserIdAttributeSaml", "ConnectionUseridAttributeAzureAd", @@ -6394,12 +9047,16 @@ def __dir__(): "ConnectionValidationOptions", "ConnectionWaadProtocol", "ConnectionWaadProtocolEnumAzureAd", + "ConnectionsDiscoveryUrl", "ConnectionsMetadata", + "ConnectionsOidcMetadata", + "ConsentSigningKey", "ContentSecurityPolicyConfig", "ContentTooLargeError", "CreateActionModuleResponseContent", "CreateActionModuleVersionResponseContent", "CreateActionResponseContent", + "CreateAnonymousSessions", "CreateBrandingPhoneProviderResponseContent", "CreateBrandingThemeResponseContent", "CreateClientAuthenticationMethodSelfSignedTlsClientAuth", @@ -6519,6 +9176,7 @@ def __dir__(): "CreateConnectionRequestContentYandex", "CreateConnectionRequestContentYandexStrategy", "CreateConnectionResponseContent", + "CreateCrossAppAccessResourceApp", "CreateCustomDomainResponseContent", "CreateDirectoryProvisioningRequestContent", "CreateDirectoryProvisioningResponseContent", @@ -6534,8 +9192,11 @@ def __dir__(): "CreateEventStreamResponseContent", "CreateEventStreamTestEventResponseContent", "CreateEventStreamWebHookRequestContent", + "CreateExperimentResponseContent", "CreateExportUsersFields", "CreateExportUsersResponseContent", + "CreateFeatureFlagParameters", + "CreateFeatureFlagResponseContent", "CreateFlowResponseContent", "CreateFlowsVaultConnectionActivecampaign", "CreateFlowsVaultConnectionActivecampaignApiKey", @@ -6614,7 +9275,9 @@ def __dir__(): "CreateGuardianEnrollmentTicketResponseContent", "CreateHookResponseContent", "CreateHookSecretRequestContent", + "CreateIdentityAssertionAuthorizationGrant", "CreateImportUsersResponseContent", + "CreateKeysNetworkAclsResponseContent", "CreateLogStreamDatadogRequestBody", "CreateLogStreamEventBridgeRequestBody", "CreateLogStreamEventGridRequestBody", @@ -6626,6 +9289,8 @@ def __dir__(): "CreateLogStreamSplunkRequestBody", "CreateLogStreamSumoRequestBody", "CreateOrganizationAllConnectionResponseContent", + "CreateOrganizationClientRequestItem", + "CreateOrganizationClientsResponseContent", "CreateOrganizationDiscoveryDomainResponseContent", "CreateOrganizationInvitationResponseContent", "CreateOrganizationResponseContent", @@ -6640,6 +9305,7 @@ def __dir__(): "CreateScimConfigurationRequestContent", "CreateScimConfigurationResponseContent", "CreateScimTokenResponseContent", + "CreateSegmentResponseContent", "CreateSelfServiceProfileResponseContent", "CreateSelfServiceProfileSsoTicketResponseContent", "CreateTokenExchangeProfileResponseContent", @@ -6647,6 +9313,7 @@ def __dir__(): "CreateUserAttributeProfileResponseContent", "CreateUserAuthenticationMethodResponseContent", "CreateUserResponseContent", + "CreateVariationResponseContent", "CreateVerifiableCredentialTemplateResponseContent", "CreateVerificationEmailResponseContent", "CreatedAuthenticationMethodTypeEnum", @@ -6654,6 +9321,8 @@ def __dir__(): "CredentialDeviceTypeEnum", "CredentialId", "CrossAppAccessRequestingApp", + "CrossAppAccessResourceApp", + "CrossAppAccessResourceAppStatusEnum", "CspDirectives", "CspFlag", "CspFlags", @@ -6667,9 +9336,9 @@ def __dir__(): "CspReportingEndpoints", "CspReportingInfrastructure", "CustomDomain", - "CustomDomainHeader", "CustomDomainCustomClientIpHeader", "CustomDomainCustomClientIpHeaderEnum", + "CustomDomainHeader", "CustomDomainProvisioningTypeEnum", "CustomDomainStatusFilterEnum", "CustomDomainTlsPolicyEnum", @@ -6687,7 +9356,9 @@ def __dir__(): "DailyStats", "DefaultAioHttpClient", "DefaultAsyncHttpxClient", + "DefaultConfigEnum", "DefaultMethodEmailIdentifierEnum", + "DefaultMethodPhoneNumberIdentifierEnum", "DefaultTokenQuota", "DeleteHookSecretRequestContent", "DeleteUserIdentityResponseContent", @@ -6709,6 +9380,7 @@ def __dir__(): "DomainVerificationMethodNameEnum", "DomainVerificationStatusEnum", "EmailAttribute", + "EmailAttributeIdentifier", "EmailMailgunRegionEnum", "EmailProviderCredentials", "EmailProviderCredentialsSchema", @@ -6736,6 +9408,735 @@ def __dir__(): "EventStreamActionResponseContent", "EventStreamCloudEvent", "EventStreamCloudEventA0PurposeEnum", + "EventStreamCloudEventConnectionCreated", + "EventStreamCloudEventConnectionCreatedCloudEvent", + "EventStreamCloudEventConnectionCreatedCloudEventTypeEnum", + "EventStreamCloudEventConnectionCreatedData", + "EventStreamCloudEventConnectionCreatedObject", + "EventStreamCloudEventConnectionCreatedObject0", + "EventStreamCloudEventConnectionCreatedObject0Authentication", + "EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject0Metadata", + "EventStreamCloudEventConnectionCreatedObject0Options", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject0StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject1", + "EventStreamCloudEventConnectionCreatedObject1Authentication", + "EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject1Metadata", + "EventStreamCloudEventConnectionCreatedObject1Options", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject1StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject2", + "EventStreamCloudEventConnectionCreatedObject2Authentication", + "EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject2Metadata", + "EventStreamCloudEventConnectionCreatedObject2Options", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSubject", + "EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject2StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject3", + "EventStreamCloudEventConnectionCreatedObject3Authentication", + "EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject3Metadata", + "EventStreamCloudEventConnectionCreatedObject3Options", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSubject", + "EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject3StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject4", + "EventStreamCloudEventConnectionCreatedObject4Authentication", + "EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject4Metadata", + "EventStreamCloudEventConnectionCreatedObject4Options", + "EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject4StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject5", + "EventStreamCloudEventConnectionCreatedObject5Authentication", + "EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject5Metadata", + "EventStreamCloudEventConnectionCreatedObject5Options", + "EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject5StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject6", + "EventStreamCloudEventConnectionCreatedObject6Authentication", + "EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject6Metadata", + "EventStreamCloudEventConnectionCreatedObject6Options", + "EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject6StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject7", + "EventStreamCloudEventConnectionCreatedObject7Authentication", + "EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject7Metadata", + "EventStreamCloudEventConnectionCreatedObject7Options", + "EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject7StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject", + "EventStreamCloudEventConnectionCreatedPreviousObject0", + "EventStreamCloudEventConnectionCreatedPreviousObject0Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject0Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0Options", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1", + "EventStreamCloudEventConnectionCreatedPreviousObject1Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject1Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1Options", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2", + "EventStreamCloudEventConnectionCreatedPreviousObject2Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject2Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2Options", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3", + "EventStreamCloudEventConnectionCreatedPreviousObject3Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject3Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject3Options", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4", + "EventStreamCloudEventConnectionCreatedPreviousObject4Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject4Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject4Options", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject5", + "EventStreamCloudEventConnectionCreatedPreviousObject5Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject5Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject5Options", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject6", + "EventStreamCloudEventConnectionCreatedPreviousObject6Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject6Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject6Options", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7", + "EventStreamCloudEventConnectionCreatedPreviousObject7Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject7Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject7Options", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionCreatedTypeEnum", + "EventStreamCloudEventConnectionDeleted", + "EventStreamCloudEventConnectionDeletedCloudEvent", + "EventStreamCloudEventConnectionDeletedCloudEventTypeEnum", + "EventStreamCloudEventConnectionDeletedData", + "EventStreamCloudEventConnectionDeletedObject", + "EventStreamCloudEventConnectionDeletedObject0", + "EventStreamCloudEventConnectionDeletedObject0Authentication", + "EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject0Metadata", + "EventStreamCloudEventConnectionDeletedObject0Options", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject0StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject1", + "EventStreamCloudEventConnectionDeletedObject1Authentication", + "EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject1Metadata", + "EventStreamCloudEventConnectionDeletedObject1Options", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject1StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject2", + "EventStreamCloudEventConnectionDeletedObject2Authentication", + "EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject2Metadata", + "EventStreamCloudEventConnectionDeletedObject2Options", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSubject", + "EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject2StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject3", + "EventStreamCloudEventConnectionDeletedObject3Authentication", + "EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject3Metadata", + "EventStreamCloudEventConnectionDeletedObject3Options", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSubject", + "EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject3StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject4", + "EventStreamCloudEventConnectionDeletedObject4Authentication", + "EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject4Metadata", + "EventStreamCloudEventConnectionDeletedObject4Options", + "EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject4StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject5", + "EventStreamCloudEventConnectionDeletedObject5Authentication", + "EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject5Metadata", + "EventStreamCloudEventConnectionDeletedObject5Options", + "EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject5StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject6", + "EventStreamCloudEventConnectionDeletedObject6Authentication", + "EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject6Metadata", + "EventStreamCloudEventConnectionDeletedObject6Options", + "EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject6StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject7", + "EventStreamCloudEventConnectionDeletedObject7Authentication", + "EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject7Metadata", + "EventStreamCloudEventConnectionDeletedObject7Options", + "EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject7StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject", + "EventStreamCloudEventConnectionDeletedPreviousObject0", + "EventStreamCloudEventConnectionDeletedPreviousObject0Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject0Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0Options", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1", + "EventStreamCloudEventConnectionDeletedPreviousObject1Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject1Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1Options", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2", + "EventStreamCloudEventConnectionDeletedPreviousObject2Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject2Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2Options", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3", + "EventStreamCloudEventConnectionDeletedPreviousObject3Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject3Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject3Options", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4", + "EventStreamCloudEventConnectionDeletedPreviousObject4Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject4Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject4Options", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject5", + "EventStreamCloudEventConnectionDeletedPreviousObject5Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject5Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject5Options", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject6", + "EventStreamCloudEventConnectionDeletedPreviousObject6Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject6Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject6Options", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7", + "EventStreamCloudEventConnectionDeletedPreviousObject7Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject7Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject7Options", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionDeletedTypeEnum", + "EventStreamCloudEventConnectionUpdated", + "EventStreamCloudEventConnectionUpdatedCloudEvent", + "EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum", + "EventStreamCloudEventConnectionUpdatedData", + "EventStreamCloudEventConnectionUpdatedObject", + "EventStreamCloudEventConnectionUpdatedObject0", + "EventStreamCloudEventConnectionUpdatedObject0Authentication", + "EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject0Metadata", + "EventStreamCloudEventConnectionUpdatedObject0Options", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject0StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject1", + "EventStreamCloudEventConnectionUpdatedObject1Authentication", + "EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject1Metadata", + "EventStreamCloudEventConnectionUpdatedObject1Options", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject1StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject2", + "EventStreamCloudEventConnectionUpdatedObject2Authentication", + "EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject2Metadata", + "EventStreamCloudEventConnectionUpdatedObject2Options", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSubject", + "EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject2StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject3", + "EventStreamCloudEventConnectionUpdatedObject3Authentication", + "EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject3Metadata", + "EventStreamCloudEventConnectionUpdatedObject3Options", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSubject", + "EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject3StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject4", + "EventStreamCloudEventConnectionUpdatedObject4Authentication", + "EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject4Metadata", + "EventStreamCloudEventConnectionUpdatedObject4Options", + "EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject4StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject5", + "EventStreamCloudEventConnectionUpdatedObject5Authentication", + "EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject5Metadata", + "EventStreamCloudEventConnectionUpdatedObject5Options", + "EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject5StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject6", + "EventStreamCloudEventConnectionUpdatedObject6Authentication", + "EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject6Metadata", + "EventStreamCloudEventConnectionUpdatedObject6Options", + "EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject6StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject7", + "EventStreamCloudEventConnectionUpdatedObject7Authentication", + "EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject7Metadata", + "EventStreamCloudEventConnectionUpdatedObject7Options", + "EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject7StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject", + "EventStreamCloudEventConnectionUpdatedPreviousObject0", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionUpdatedTypeEnum", "EventStreamCloudEventContext", "EventStreamCloudEventContextClient", "EventStreamCloudEventContextClientMetadata", @@ -6743,6 +10144,11 @@ def __dir__(): "EventStreamCloudEventContextRequest", "EventStreamCloudEventContextRequestGeo", "EventStreamCloudEventContextTenant", + "EventStreamCloudEventContextTransaction", + "EventStreamCloudEventContextTransactionProtocolEnum", + "EventStreamCloudEventContextTransactionResponseModeEnum", + "EventStreamCloudEventContextTransactionResponseTypeItemEnum", + "EventStreamCloudEventData", "EventStreamCloudEventErrorCodeEnum", "EventStreamCloudEventErrorDetail", "EventStreamCloudEventErrorMessage", @@ -6758,6 +10164,13 @@ def __dir__(): "EventStreamCloudEventGroupCreatedObject1TypeEnum", "EventStreamCloudEventGroupCreatedObject2", "EventStreamCloudEventGroupCreatedObject2TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject", + "EventStreamCloudEventGroupCreatedPreviousObject0", + "EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject1", + "EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject2", + "EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum", "EventStreamCloudEventGroupCreatedTypeEnum", "EventStreamCloudEventGroupDeleted", "EventStreamCloudEventGroupDeletedCloudEvent", @@ -6770,6 +10183,13 @@ def __dir__(): "EventStreamCloudEventGroupDeletedObject1TypeEnum", "EventStreamCloudEventGroupDeletedObject2", "EventStreamCloudEventGroupDeletedObject2TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject", + "EventStreamCloudEventGroupDeletedPreviousObject0", + "EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject1", + "EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject2", + "EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum", "EventStreamCloudEventGroupDeletedTypeEnum", "EventStreamCloudEventGroupMemberAdded", "EventStreamCloudEventGroupMemberAddedCloudEvent", @@ -6788,6 +10208,19 @@ def __dir__(): "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum", "EventStreamCloudEventGroupMemberAddedObjectMember1", "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObject", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum", "EventStreamCloudEventGroupMemberAddedTypeEnum", "EventStreamCloudEventGroupMemberDeleted", "EventStreamCloudEventGroupMemberDeletedCloudEvent", @@ -6806,6 +10239,19 @@ def __dir__(): "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum", "EventStreamCloudEventGroupMemberDeletedObjectMember1", "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObject", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum", "EventStreamCloudEventGroupMemberDeletedTypeEnum", "EventStreamCloudEventGroupRoleAssigned", "EventStreamCloudEventGroupRoleAssignedCloudEvent", @@ -6820,6 +10266,15 @@ def __dir__(): "EventStreamCloudEventGroupRoleAssignedObjectGroup2", "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum", "EventStreamCloudEventGroupRoleAssignedObjectRole", + "EventStreamCloudEventGroupRoleAssignedPreviousObject", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectRole", "EventStreamCloudEventGroupRoleAssignedTypeEnum", "EventStreamCloudEventGroupRoleDeleted", "EventStreamCloudEventGroupRoleDeletedCloudEvent", @@ -6834,6 +10289,15 @@ def __dir__(): "EventStreamCloudEventGroupRoleDeletedObjectGroup2", "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum", "EventStreamCloudEventGroupRoleDeletedObjectRole", + "EventStreamCloudEventGroupRoleDeletedPreviousObject", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectRole", "EventStreamCloudEventGroupRoleDeletedTypeEnum", "EventStreamCloudEventGroupUpdated", "EventStreamCloudEventGroupUpdatedCloudEvent", @@ -6846,6 +10310,13 @@ def __dir__(): "EventStreamCloudEventGroupUpdatedObject1TypeEnum", "EventStreamCloudEventGroupUpdatedObject2", "EventStreamCloudEventGroupUpdatedObject2TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject", + "EventStreamCloudEventGroupUpdatedPreviousObject0", + "EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject1", + "EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject2", + "EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum", "EventStreamCloudEventGroupUpdatedTypeEnum", "EventStreamCloudEventOffsetOnlyMessage", "EventStreamCloudEventOffsetOnlyMessageTypeEnum", @@ -6856,6 +10327,29 @@ def __dir__(): "EventStreamCloudEventOrgConnectionAddedObject", "EventStreamCloudEventOrgConnectionAddedObjectConnection", "EventStreamCloudEventOrgConnectionAddedObjectOrganization", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObject", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum", "EventStreamCloudEventOrgConnectionAddedTypeEnum", "EventStreamCloudEventOrgConnectionRemoved", "EventStreamCloudEventOrgConnectionRemovedCloudEvent", @@ -6864,6 +10358,9 @@ def __dir__(): "EventStreamCloudEventOrgConnectionRemovedObject", "EventStreamCloudEventOrgConnectionRemovedObjectConnection", "EventStreamCloudEventOrgConnectionRemovedObjectOrganization", + "EventStreamCloudEventOrgConnectionRemovedPreviousObject", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization", "EventStreamCloudEventOrgConnectionRemovedTypeEnum", "EventStreamCloudEventOrgConnectionUpdated", "EventStreamCloudEventOrgConnectionUpdatedCloudEvent", @@ -6872,6 +10369,29 @@ def __dir__(): "EventStreamCloudEventOrgConnectionUpdatedObject", "EventStreamCloudEventOrgConnectionUpdatedObjectConnection", "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObject", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum", "EventStreamCloudEventOrgConnectionUpdatedTypeEnum", "EventStreamCloudEventOrgCreated", "EventStreamCloudEventOrgCreatedCloudEvent", @@ -6881,6 +10401,10 @@ def __dir__(): "EventStreamCloudEventOrgCreatedObjectBranding", "EventStreamCloudEventOrgCreatedObjectBrandingColors", "EventStreamCloudEventOrgCreatedObjectMetadata", + "EventStreamCloudEventOrgCreatedPreviousObject", + "EventStreamCloudEventOrgCreatedPreviousObjectBranding", + "EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors", + "EventStreamCloudEventOrgCreatedPreviousObjectMetadata", "EventStreamCloudEventOrgCreatedTypeEnum", "EventStreamCloudEventOrgDeleted", "EventStreamCloudEventOrgDeletedCloudEvent", @@ -6888,6 +10412,8 @@ def __dir__(): "EventStreamCloudEventOrgDeletedData", "EventStreamCloudEventOrgDeletedObject", "EventStreamCloudEventOrgDeletedObjectMetadata", + "EventStreamCloudEventOrgDeletedPreviousObject", + "EventStreamCloudEventOrgDeletedPreviousObjectMetadata", "EventStreamCloudEventOrgDeletedTypeEnum", "EventStreamCloudEventOrgGroupRoleAssigned", "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent", @@ -6903,6 +10429,16 @@ def __dir__(): "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum", "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization", "EventStreamCloudEventOrgGroupRoleAssignedObjectRole", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObject", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole", "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum", "EventStreamCloudEventOrgGroupRoleDeleted", "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent", @@ -6918,6 +10454,16 @@ def __dir__(): "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum", "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization", "EventStreamCloudEventOrgGroupRoleDeletedObjectRole", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObject", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole", "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum", "EventStreamCloudEventOrgMemberAdded", "EventStreamCloudEventOrgMemberAddedCloudEvent", @@ -6926,6 +10472,9 @@ def __dir__(): "EventStreamCloudEventOrgMemberAddedObject", "EventStreamCloudEventOrgMemberAddedObjectOrganization", "EventStreamCloudEventOrgMemberAddedObjectUser", + "EventStreamCloudEventOrgMemberAddedPreviousObject", + "EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberAddedPreviousObjectUser", "EventStreamCloudEventOrgMemberAddedTypeEnum", "EventStreamCloudEventOrgMemberDeleted", "EventStreamCloudEventOrgMemberDeletedCloudEvent", @@ -6934,6 +10483,9 @@ def __dir__(): "EventStreamCloudEventOrgMemberDeletedObject", "EventStreamCloudEventOrgMemberDeletedObjectOrganization", "EventStreamCloudEventOrgMemberDeletedObjectUser", + "EventStreamCloudEventOrgMemberDeletedPreviousObject", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectUser", "EventStreamCloudEventOrgMemberDeletedTypeEnum", "EventStreamCloudEventOrgMemberRoleAssigned", "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent", @@ -6943,6 +10495,10 @@ def __dir__(): "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization", "EventStreamCloudEventOrgMemberRoleAssignedObjectRole", "EventStreamCloudEventOrgMemberRoleAssignedObjectUser", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObject", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser", "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum", "EventStreamCloudEventOrgMemberRoleDeleted", "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent", @@ -6952,6 +10508,10 @@ def __dir__(): "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization", "EventStreamCloudEventOrgMemberRoleDeletedObjectRole", "EventStreamCloudEventOrgMemberRoleDeletedObjectUser", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObject", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser", "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum", "EventStreamCloudEventOrgUpdated", "EventStreamCloudEventOrgUpdatedCloudEvent", @@ -6961,7 +10521,12 @@ def __dir__(): "EventStreamCloudEventOrgUpdatedObjectBranding", "EventStreamCloudEventOrgUpdatedObjectBrandingColors", "EventStreamCloudEventOrgUpdatedObjectMetadata", + "EventStreamCloudEventOrgUpdatedPreviousObject", + "EventStreamCloudEventOrgUpdatedPreviousObjectBranding", + "EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors", + "EventStreamCloudEventOrgUpdatedPreviousObjectMetadata", "EventStreamCloudEventOrgUpdatedTypeEnum", + "EventStreamCloudEventSpecVersionEnum", "EventStreamCloudEventUserCreated", "EventStreamCloudEventUserCreatedCloudEvent", "EventStreamCloudEventUserCreatedCloudEventTypeEnum", @@ -6995,6 +10560,35 @@ def __dir__(): "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserCreatedObjectUserMetadata", + "EventStreamCloudEventUserCreatedPreviousObject", + "EventStreamCloudEventUserCreatedPreviousObjectAppMetadata", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserCreatedPreviousObjectUserMetadata", "EventStreamCloudEventUserCreatedTypeEnum", "EventStreamCloudEventUserDeleted", "EventStreamCloudEventUserDeletedCloudEvent", @@ -7029,6 +10623,35 @@ def __dir__(): "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserDeletedObjectUserMetadata", + "EventStreamCloudEventUserDeletedPreviousObject", + "EventStreamCloudEventUserDeletedPreviousObjectAppMetadata", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserDeletedPreviousObjectUserMetadata", "EventStreamCloudEventUserDeletedTypeEnum", "EventStreamCloudEventUserUpdated", "EventStreamCloudEventUserUpdatedCloudEvent", @@ -7063,6 +10686,35 @@ def __dir__(): "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserUpdatedObjectUserMetadata", + "EventStreamCloudEventUserUpdatedPreviousObject", + "EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata", "EventStreamCloudEventUserUpdatedTypeEnum", "EventStreamDelivery", "EventStreamDeliveryAttempt", @@ -7080,6 +10732,9 @@ def __dir__(): "EventStreamSubscribeEventsEventTypeEnum", "EventStreamSubscribeEventsEventTypeParam", "EventStreamSubscribeEventsResponseContent", + "EventStreamSubscribeEventsResponseContent_ConnectionCreated", + "EventStreamSubscribeEventsResponseContent_ConnectionDeleted", + "EventStreamSubscribeEventsResponseContent_ConnectionUpdated", "EventStreamSubscribeEventsResponseContent_Error", "EventStreamSubscribeEventsResponseContent_GroupCreated", "EventStreamSubscribeEventsResponseContent_GroupDeleted", @@ -7118,14 +10773,23 @@ def __dir__(): "EventStreamWebhookDestinationTypeEnum", "EventStreamWebhookResponseContent", "EventStreamsCreateRequest", + "ExperimentListItem", + "ExperimentStatusEnum", + "ExperimentTransitionStatusEnum", + "ExperimentValidationError", "ExpressConfiguration", "ExpressConfigurationOrNull", "ExtensibilityEmailProviderCredentials", + "FeatureFlag", + "FeatureFlagConfigParam", + "FeatureFlagConfigParamTypeEnum", + "FeatureFlagConfigParams", + "FeatureFlagStatusEnum", + "FeatureFlagTypeEnum", "FedCmLogin", "FedCmLoginGoogle", "FedCmLoginGooglePatch", "FedCmLoginPatch", - "FederatedConnectionTokenSet", "FlowAction", "FlowActionActivecampaign", "FlowActionActivecampaignListContacts", @@ -7685,6 +11349,7 @@ def __dir__(): "FormWidgetTypeGMapsAddressConst", "FormWidgetTypeRecaptchaConst", "FormsRequestParametersHydrateEnum", + "GatewayTimeoutError", "GetActionExecutionResponseContent", "GetActionModuleActionsResponseContent", "GetActionModuleResponseContent", @@ -7695,6 +11360,7 @@ def __dir__(): "GetActionVersionResponseContent", "GetActiveUsersCountStatsResponseContent", "GetAculResponseContent", + "GetAllKeysNetworkAclsResponseContent", "GetAttackProtectionCaptchaResponseContent", "GetBotDetectionSettingsResponseContent", "GetBrandingDefaultThemeResponseContent", @@ -7718,11 +11384,14 @@ def __dir__(): "GetDefaultDomainResponseContent", "GetDirectoryProvisioningDefaultMappingResponseContent", "GetDirectoryProvisioningResponseContent", + "GetEmailFactorSettingsResponseContent", "GetEmailProviderResponseContent", "GetEmailTemplateResponseContent", "GetEncryptionKeyResponseContent", "GetEventStreamDeliveryHistoryResponseContent", "GetEventStreamResponseContent", + "GetExperimentResponseContent", + "GetFeatureFlagResponseContent", "GetFlowExecutionRequestParametersHydrateEnum", "GetFlowExecutionResponseContent", "GetFlowRequestParametersHydrateEnum", @@ -7743,6 +11412,7 @@ def __dir__(): "GetGuardianFactorsProviderSmsResponseContent", "GetGuardianFactorsProviderSmsTwilioResponseContent", "GetGuardianFactorsProviderSnsResponseContent", + "GetGuardianSettingsResponseContent", "GetHookResponseContent", "GetHookSecretResponseContent", "GetJobErrorResponseContent", @@ -7756,12 +11426,14 @@ def __dir__(): "GetNetworkAclsResponseContent", "GetOrganizationAllConnectionResponseContent", "GetOrganizationByNameResponseContent", + "GetOrganizationClientResponseContent", "GetOrganizationConnectionResponseContent", "GetOrganizationDiscoveryDomainByNameResponseContent", "GetOrganizationDiscoveryDomainResponseContent", "GetOrganizationInvitationResponseContent", "GetOrganizationResponseContent", "GetPartialsResponseContent", + "GetPhoneFactorSettingsResponseContent", "GetPhoneProviderProtectionResponseContent", "GetPhoneTemplateResponseContent", "GetRateLimitPolicyResponseContent", @@ -7775,6 +11447,7 @@ def __dir__(): "GetScimConfigurationDefaultMappingResponseContent", "GetScimConfigurationResponseContent", "GetScimTokensResponseContent", + "GetSegmentResponseContent", "GetSelfServiceProfileResponseContent", "GetSessionResponseContent", "GetSettingsResponseContent", @@ -7790,8 +11463,12 @@ def __dir__(): "GetUserAuthenticationMethodResponseContent", "GetUserGroupsPaginatedResponseContent", "GetUserResponseContent", + "GetVariationResponseContent", "GetVerifiableCredentialTemplateResponseContent", "GoneError", + "GoogleAccountLinkingConfiguration", + "GoogleAccountLinkingConfigurationCreate", + "GoogleAccountLinkingConfigurationOrNull", "Group", "GroupMember", "GroupMemberTypeEnum", @@ -7802,6 +11479,7 @@ def __dir__(): "GuardianFactor", "GuardianFactorNameEnum", "GuardianFactorPhoneFactorMessageTypeEnum", + "GuardianFactorSettings", "GuardianFactorsProviderPushNotificationProviderDataEnum", "GuardianFactorsProviderSmsProviderEnum", "Hook", @@ -7809,9 +11487,11 @@ def __dir__(): "HookTriggerIdEnum", "HttpCustomHeader", "Identity", + "IdentityAssertionAuthorizationGrant", "IdentityProviderEnum", "IdentityProviderOnlyAuth0Enum", "ImportEncryptionKeyResponseContent", + "IncludeUserProfileSizeHeaderEnum", "Integration", "IntegrationFeatureTypeEnum", "IntegrationRelease", @@ -7820,6 +11500,8 @@ def __dir__(): "IntegrationRequiredParamTypeEnum", "IntegrationSemVer", "InternalServerError", + "InternalServerErrorBody", + "InternalServerErrorBodyError", "JobFileFormatEnum", "LinkedClientConfiguration", "ListActionBindingsPaginatedResponseContent", @@ -7828,10 +11510,12 @@ def __dir__(): "ListActionsPaginatedResponseContent", "ListAculsOffsetPaginatedResponseContent", "ListAculsResponseContentItem", + "ListAgentsResponseContent", "ListBrandingPhoneProvidersResponseContent", "ListClientConnectionsResponseContent", "ListClientGrantOrganizationsPaginatedResponseContent", "ListClientGrantPaginatedResponseContent", + "ListClientProfilesPaginatedResponseContent", "ListClientsOffsetPaginatedResponseContent", "ListConnectionProfileTemplateResponseContent", "ListConnectionProfilesPaginatedResponseContent", @@ -7840,7 +11524,10 @@ def __dir__(): "ListDeviceCredentialsOffsetPaginatedResponseContent", "ListDirectoryProvisioningsResponseContent", "ListEncryptionKeyOffsetPaginatedResponseContent", + "ListEventStreamDeliveriesResponseContent", "ListEventStreamsResponseContent", + "ListExperimentsResponseContent", + "ListFeatureFlagsResponseContent", "ListFlowExecutionsPaginatedResponseContent", "ListFlowsOffsetPaginatedResponseContent", "ListFlowsRequestParametersHydrateEnum", @@ -7854,6 +11541,7 @@ def __dir__(): "ListNetworkAclsOffsetPaginatedResponseContent", "ListOrganizationAllConnectionsOffsetPaginatedResponseContent", "ListOrganizationClientGrantsOffsetPaginatedResponseContent", + "ListOrganizationClientsResponseContent", "ListOrganizationConnectionsOffsetPaginatedResponseContent", "ListOrganizationDiscoveryDomainsResponseContent", "ListOrganizationGroupRolesResponseContent", @@ -7863,8 +11551,11 @@ def __dir__(): "ListOrganizationMemberRoleSourceGroupsResponseContent", "ListOrganizationMemberRolesOffsetPaginatedResponseContent", "ListOrganizationMembersPaginatedResponseContent", + "ListOrganizationRoleGroupsResponseContent", + "ListOrganizationRoleMembersResponseContent", "ListOrganizationsPaginatedResponseContent", "ListPhoneTemplatesResponseContent", + "ListPortalsResponseContent", "ListRateLimitPoliciesPaginatedResponseContent", "ListRefreshTokensPaginatedResponseContent", "ListResourceServerOffsetPaginatedResponseContent", @@ -7874,6 +11565,7 @@ def __dir__(): "ListRolesOffsetPaginatedResponseContent", "ListRulesOffsetPaginatedResponseContent", "ListScimConfigurationsResponseContent", + "ListSegmentsResponseContent", "ListSelfServiceProfileCustomTextResponseContent", "ListSelfServiceProfilesPaginatedResponseContent", "ListSynchronizedGroupsResponseContent", @@ -7884,6 +11576,7 @@ def __dir__(): "ListUserBlocksByIdentifierResponseContent", "ListUserBlocksResponseContent", "ListUserConnectedAccountsResponseContent", + "ListUserConsentSigningKeysResponseContent", "ListUserEffectivePermissionRoleSourcesResponseContent", "ListUserEffectivePermissionsResponseContent", "ListUserEffectiveRolesResponseContent", @@ -7894,6 +11587,7 @@ def __dir__(): "ListUserRolesOffsetPaginatedResponseContent", "ListUserSessionsPaginatedResponseContent", "ListUsersOffsetPaginatedResponseContent", + "ListVariationsResponseContent", "ListVerifiableCredentialTemplatesPaginatedResponseContent", "Log", "LogDate", @@ -7960,15 +11654,25 @@ def __dir__(): "NetworkAclActionBlockEnum", "NetworkAclActionLogEnum", "NetworkAclActionRedirectEnum", + "NetworkAclHttpMessageSignature", + "NetworkAclHttpMessageSignatureKey", + "NetworkAclHttpMessageSignatureKeys", + "NetworkAclKey", + "NetworkAclKeyAlgorithmEnum", "NetworkAclMatch", "NetworkAclMatchConnectingIpv4Cidr", "NetworkAclMatchConnectingIpv6Cidr", "NetworkAclMatchIpv4Cidr", "NetworkAclMatchIpv6Cidr", "NetworkAclRule", + "NetworkAclRuleMatchAllEnum", "NetworkAclRuleScopeEnum", "NetworkAclsResponseContent", "NotFoundError", + "NotFoundErrorBody", + "NotFoundErrorBodyError", + "NotFoundSchema", + "NotFoundSchemaError", "OauthScope", "Organization", "OrganizationAccessLevelEnum", @@ -7976,7 +11680,11 @@ def __dir__(): "OrganizationAllConnectionPost", "OrganizationBranding", "OrganizationBrandingColors", + "OrganizationClient", + "OrganizationClientAssociation", "OrganizationClientGrant", + "OrganizationClientMetadata", + "OrganizationClientMetadataOrganizationUsageEnum", "OrganizationConnection", "OrganizationConnectionInformation", "OrganizationDiscoveryDomain", @@ -7986,16 +11694,69 @@ def __dir__(): "OrganizationInvitationInvitee", "OrganizationInvitationInviter", "OrganizationMember", + "OrganizationMemberAccessLevelEnum", + "OrganizationMemberAccessLevelEnumWithNull", "OrganizationMemberEffectiveRole", "OrganizationMemberEffectiveRoleSource", "OrganizationMemberRole", "OrganizationMetadata", + "OrganizationSortFieldEnum", + "OrganizationThirdPartyClientAccessEnum", "OrganizationUsageEnum", + "PageComponent", + "PageComponentAuth0Form", + "PageComponentAuth0FormConfig", + "PageComponentAuth0MediaImage", + "PageComponentAuth0MediaImageConfig", + "PageComponentAuth0MyAccountMfaManagement", + "PageComponentAuth0MyAccountMfaManagementConfig", + "PageComponentAuth0MyAccountPasskeyManagement", + "PageComponentAuth0MyAccountPasskeyManagementConfig", + "PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponentAuth0MyOrganizationDetailsEditConfig", + "PageComponentAuth0MyOrganizationDomainTable", + "PageComponentAuth0MyOrganizationDomainTableConfig", + "PageComponentAuth0MyOrganizationMemberManagement", + "PageComponentAuth0MyOrganizationMemberManagementConfig", + "PageComponentAuth0StructureSection", + "PageComponentAuth0StructureSectionConfig", + "PageComponentAuth0StructureSectionVariantEnum", + "PageComponentAuth0StructureSeparator", + "PageComponentAuth0StructureSeparatorConfig", + "PageComponentAuth0StructureSeparatorVariantEnum", + "PageComponentAuth0TypographyHeading", + "PageComponentAuth0TypographyHeadingConfig", + "PageComponentAuth0TypographyRichText", + "PageComponentAuth0TypographyRichTextConfig", + "PageComponentNoChildren", + "PageComponentNoChildren_PageComponentAuth0Form", + "PageComponentNoChildren_PageComponentAuth0MediaImage", + "PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement", + "PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement", + "PageComponentNoChildren_PageComponentAuth0StructureSeparator", + "PageComponentNoChildren_PageComponentAuth0TypographyHeading", + "PageComponentNoChildren_PageComponentAuth0TypographyRichText", + "PageComponent_PageComponentAuth0Form", + "PageComponent_PageComponentAuth0MediaImage", + "PageComponent_PageComponentAuth0MyAccountMfaManagement", + "PageComponent_PageComponentAuth0MyAccountPasskeyManagement", + "PageComponent_PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponent_PageComponentAuth0MyOrganizationDomainTable", + "PageComponent_PageComponentAuth0MyOrganizationMemberManagement", + "PageComponent_PageComponentAuth0StructureSection", + "PageComponent_PageComponentAuth0StructureSeparator", + "PageComponent_PageComponentAuth0TypographyHeading", + "PageComponent_PageComponentAuth0TypographyRichText", + "PageSlug", "PartialGroupsEnum", "PartialPhoneTemplateContent", "PasswordCharacterTypeEnum", "PasswordCharacterTypeRulePolicyEnum", "PasswordDefaultDictionariesEnum", + "PasswordDictionaryMatchTypeEnum", "PasswordIdenticalCharactersPolicyEnum", "PasswordMaxLengthExceededPolicyEnum", "PasswordSequentialCharactersPolicyEnum", @@ -8013,6 +11774,7 @@ def __dir__(): "PermissionRequestPayload", "PermissionsResponsePayload", "PhoneAttribute", + "PhoneAttributeIdentifier", "PhoneProviderChannelEnum", "PhoneProviderConfiguration", "PhoneProviderCredentials", @@ -8024,6 +11786,24 @@ def __dir__(): "PhoneTemplateBody", "PhoneTemplateContent", "PhoneTemplateNotificationTypeEnum", + "Portal", + "PortalClientSecretPost", + "PortalClientSecretPostRequest", + "PortalClientSecretPostRequestTokenEndpointAuthMethod", + "PortalClientSecretPostTokenEndpointAuthMethod", + "PortalCustomCode", + "PortalCustomCodeNullable", + "PortalDateTime", + "PortalId", + "PortalName", + "PortalNavigation", + "PortalNavigationNullable", + "PortalPage", + "PortalPagesByType", + "PortalPagesByTypeNullable", + "PortalSlug", + "PortalSummary", + "Position", "PostClientCredentialResponseContent", "PostConnectionKeysAlgEnum", "PostConnectionKeysRequestContent", @@ -8061,13 +11841,23 @@ def __dir__(): "ResetPhoneTemplateRequestContent", "ResetPhoneTemplateResponseContent", "ResourceServer", + "ResourceServerAccessToken", + "ResourceServerAccessTokenClaimsMapping", + "ResourceServerAccessTokenCustomClaimsMapping", + "ResourceServerAccessTokenCustomClaimsMappingRule", + "ResourceServerAgentSubjectClaimsResponseEnum", + "ResourceServerAgentSubjectClaimsSchemaEnum", "ResourceServerAuthorizationPolicy", "ResourceServerConsentPolicyEnum", "ResourceServerProofOfPossession", "ResourceServerProofOfPossessionMechanismEnum", "ResourceServerProofOfPossessionRequiredForEnum", "ResourceServerScope", + "ResourceServerSearchResponse", + "ResourceServerSortFieldEnum", "ResourceServerSubjectTypeAuthorization", + "ResourceServerSubjectTypeAuthorizationAnonymousUser", + "ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum", "ResourceServerSubjectTypeAuthorizationClient", "ResourceServerSubjectTypeAuthorizationClientPolicyEnum", "ResourceServerSubjectTypeAuthorizationUser", @@ -8078,9 +11868,15 @@ def __dir__(): "ResourceServerTokenEncryptionAlgorithmEnum", "ResourceServerTokenEncryptionFormatEnum", "ResourceServerTokenEncryptionKey", + "ResourceServerTypeEnum", "ResourceServerVerificationKeyPemCertificate", "RevokedSigningKeysResponseContent", "Role", + "RoleGroup", + "RoleMember", + "RoleOwnerId", + "RoleOwnerIdFilter", + "RoleTypeEnum", "RoleUser", "RollbackActionModuleResponseContent", "RotateClientSecretResponseContent", @@ -8094,7 +11890,25 @@ def __dir__(): "ScimMappingItem", "ScimTokenItem", "ScreenGroupNameEnum", + "SearchClientGrantsResponseContent", + "SearchClientsResponseContent", "SearchEngineVersionsEnum", + "SearchOrganization", + "SearchOrganizationsPaginatedResponseContent", + "SearchParserEnum", + "SearchResourceServersResponseContent", + "Segment", + "SegmentContainsExpression", + "SegmentEndsWithExpression", + "SegmentExistsExpression", + "SegmentMatchConditions", + "SegmentMatchExpression", + "SegmentNotMatchConditions", + "SegmentRule", + "SegmentStartsWithExpression", + "SegmentStatusEnum", + "SegmentTypeEnum", + "SegmentTypeFilterEnum", "SelfServiceProfile", "SelfServiceProfileAllowedStrategyEnum", "SelfServiceProfileBranding", @@ -8114,9 +11928,12 @@ def __dir__(): "SelfServiceProfileSsoTicketIdpInitiatedOptions", "SelfServiceProfileSsoTicketProvisioningConfig", "SelfServiceProfileSsoTicketProvisioningScopeEnum", + "SelfServiceProfileSsoTicketUniversalLogoutConfig", "SelfServiceProfileUserAttribute", "SelfServiceProfileUserAttributes", "ServiceUnavailableError", + "SessionActorClaimValue", + "SessionActorMetadata", "SessionAuthenticationSignal", "SessionAuthenticationSignals", "SessionClientMetadata", @@ -8130,6 +11947,7 @@ def __dir__(): "SessionMetadata", "SessionResponseContent", "SetCustomSigningKeysResponseContent", + "SetEmailFactorSettingsResponseContent", "SetEmailTemplateResponseContent", "SetGuardianFactorDuoSettingsResponseContent", "SetGuardianFactorPhoneMessageTypesResponseContent", @@ -8147,8 +11965,10 @@ def __dir__(): "SetGuardianFactorsProviderSmsTwilioResponseContent", "SetGuardianPoliciesRequestContent", "SetGuardianPoliciesResponseContent", + "SetGuardianSettingsResponseContent", "SetNetworkAclsResponseContent", "SetPartialsRequestContent", + "SetPhoneFactorSettingsResponseContent", "SetRulesConfigResponseContent", "SetSelfServiceProfileCustomTextRequestContent", "SetSelfServiceProfileCustomTextResponseContent", @@ -8156,6 +11976,20 @@ def __dir__(): "SetUserAuthenticationMethods", "SetUserAuthenticationMethodsRequestContent", "SetsCustomTextsByLanguageRequestContent", + "Sidebar", + "SidebarComponent", + "SidebarComponentAuth0ExternalLink", + "SidebarComponentAuth0ExternalLinkConfig", + "SidebarComponentAuth0ExternalLinkV2", + "SidebarComponentAuth0ExternalLinkV2Config", + "SidebarComponentAuth0InternalLink", + "SidebarComponentAuth0InternalLinkConfig", + "SidebarComponentAuth0InternalLinkV2", + "SidebarComponentAuth0InternalLinkV2Config", + "SidebarComponent_SidebarComponentAuth0ExternalLink", + "SidebarComponent_SidebarComponentAuth0ExternalLinkV2", + "SidebarComponent_SidebarComponentAuth0InternalLink", + "SidebarComponent_SidebarComponentAuth0InternalLinkV2", "SigningAlgorithmEnum", "SigningKeys", "SigningKeysDate", @@ -8166,12 +12000,15 @@ def __dir__(): "SupportedLocales", "SuspiciousIpThrottlingAllowlist", "SuspiciousIpThrottlingAllowlistItem", + "SuspiciousIpThrottlingPreCustomTokenExchangeStage", "SuspiciousIpThrottlingPreLoginStage", "SuspiciousIpThrottlingPreUserRegistrationStage", "SuspiciousIpThrottlingShieldsEnum", "SuspiciousIpThrottlingStage", "SynchronizeGroupsEnum", "SynchronizedGroupPayload", + "SynchronizedGroupSelectionId", + "SystemRoleOwnerId", "TenantOidcLogoutSettings", "TenantSettingsCountryCodes", "TenantSettingsCountryCodesMode", @@ -8188,20 +12025,25 @@ def __dir__(): "TenantSettingsPasswordPage", "TenantSettingsResourceParameterProfile", "TenantSettingsSessions", + "TenantSettingsSessionsAnonymous", "TenantSettingsSupportedLocalesEnum", "TestActionPayload", "TestActionResponseContent", "TestActionResultPayload", "TestCustomDomainResponseContent", "TestEventDataContent", + "ThirdPartyClientAccessConfig", "TokenExchangeProfileResponseContent", "TokenExchangeProfileTypeEnum", "TokenProvider", "TokenQuota", "TokenQuotaClientCredentials", "TokenQuotaConfiguration", + "TokenVaultPrivilegedAccessGrant", "TokenVaultPrivilegedAccessIpAllowlistEntry", "TooManyRequestsError", + "TooManyRequestsErrorBody", + "TooManyRequestsErrorBodyError", "TooManyRequestsSchema", "TooManyRequestsSchemaError", "TwilioProviderConfiguration", @@ -8211,10 +12053,12 @@ def __dir__(): "UnauthorizedSchema", "UnauthorizedSchemaError", "UniversalLoginExperienceEnum", + "UnprocessableEntityError", "UpdateActionBindingsResponseContent", "UpdateActionModuleResponseContent", "UpdateActionResponseContent", "UpdateAculResponseContent", + "UpdateAnonymousSessions", "UpdateAttackProtectionCaptchaResponseContent", "UpdateBotDetectionSettingsResponseContent", "UpdateBrandingColors", @@ -8285,6 +12129,7 @@ def __dir__(): "UpdateConnectionRequestContentYahoo", "UpdateConnectionRequestContentYandex", "UpdateConnectionResponseContent", + "UpdateCrossAppAccessResourceApp", "UpdateCustomDomainResponseContent", "UpdateDefaultCanonicalDomainResponseContent", "UpdateDefaultCustomDomainResponseContent", @@ -8296,6 +12141,9 @@ def __dir__(): "UpdateEnabledClientConnectionsRequestContent", "UpdateEnabledClientConnectionsRequestContentItem", "UpdateEventStreamResponseContent", + "UpdateExperimentResponseContent", + "UpdateFeatureFlagParameters", + "UpdateFeatureFlagResponseContent", "UpdateFlowResponseContent", "UpdateFlowsVaultConnectionResponseContent", "UpdateFlowsVaultConnectionSetup", @@ -8307,9 +12155,11 @@ def __dir__(): "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent", "UpdateHookResponseContent", "UpdateHookSecretRequestContent", + "UpdateIdentityAssertionAuthorizationGrant", "UpdateLogStreamResponseContent", "UpdateNetworkAclResponseContent", "UpdateOrganizationAllConnectionResponseContent", + "UpdateOrganizationClientResponseContent", "UpdateOrganizationConnectionResponseContent", "UpdateOrganizationDiscoveryDomainResponseContent", "UpdateOrganizationResponseContent", @@ -8322,6 +12172,7 @@ def __dir__(): "UpdateRoleResponseContent", "UpdateRuleResponseContent", "UpdateScimConfigurationResponseContent", + "UpdateSegmentResponseContent", "UpdateSelfServiceProfileResponseContent", "UpdateSessionResponseContent", "UpdateSettingsResponseContent", @@ -8333,6 +12184,8 @@ def __dir__(): "UpdateUserAttributeProfileResponseContent", "UpdateUserAuthenticationMethodResponseContent", "UpdateUserResponseContent", + "UpdateVariationOverridesMap", + "UpdateVariationResponseContent", "UpdateVerifiableCredentialTemplateResponseContent", "UserAppMetadataSchema", "UserAttributeProfile", @@ -8380,8 +12233,12 @@ def __dir__(): "UserResponseSchema", "UsernameAllowedTypes", "UsernameAttribute", + "UsernameAttributeIdentifier", "UsernameValidation", "UsersEnrollment", + "ValidateExperimentResponseContent", + "Variation", + "VariationOverridesMap", "VerifiableCredentialTemplateResponse", "VerificationMethodEnum", "VerifyCustomDomainResponseContent", @@ -8392,10 +12249,12 @@ def __dir__(): "XssProtectionMode", "__version__", "actions", + "agents", "anomaly", "attack_protection", "branding", "client_grants", + "client_profiles", "clients", "connection_profiles", "connections", @@ -8405,6 +12264,7 @@ def __dir__(): "emails", "event_streams", "events", + "experimentation", "flows", "forms", "groups", @@ -8416,6 +12276,7 @@ def __dir__(): "logs", "network_acls", "organizations", + "portals", "prompts", "rate_limit_policies", "refresh_tokens", diff --git a/src/auth0/management/actions/executions/raw_client.py b/src/auth0/management/actions/executions/raw_client.py index ce5e35f1..477a0029 100644 --- a/src/auth0/management/actions/executions/raw_client.py +++ b/src/auth0/management/actions/executions/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -43,7 +43,7 @@ def get( The execution was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"actions/executions/{encode_path_param(id)}", + f"actions/executions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -146,7 +146,7 @@ async def get( The execution was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/executions/{encode_path_param(id)}", + f"actions/executions/{quote_path_param(id)}", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/actions/modules/raw_client.py b/src/auth0/management/actions/modules/raw_client.py index 16c67be2..19e32303 100644 --- a/src/auth0/management/actions/modules/raw_client.py +++ b/src/auth0/management/actions/modules/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -86,7 +86,7 @@ def list( ), ) _items = _parsed_response.modules - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -303,7 +303,7 @@ def get( The action module was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -398,7 +398,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -515,7 +515,7 @@ def update( The action module was updated. """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="PATCH", json={ "code": code, @@ -650,7 +650,7 @@ def list_actions( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/actions", + f"actions/modules/{quote_path_param(id)}/actions", method="GET", params={ "page": page, @@ -668,7 +668,7 @@ def list_actions( ), ) _items = _parsed_response.actions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list_actions( id, page=page + 1, @@ -763,7 +763,7 @@ def rollback( The rollback was successful. """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/rollback", + f"actions/modules/{quote_path_param(id)}/rollback", method="POST", json={ "module_version_id": module_version_id, @@ -911,7 +911,7 @@ async def list( ), ) _items = _parsed_response.modules - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1131,7 +1131,7 @@ async def get( The action module was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1228,7 +1228,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1345,7 +1345,7 @@ async def update( The action module was updated. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}", + f"actions/modules/{quote_path_param(id)}", method="PATCH", json={ "code": code, @@ -1480,7 +1480,7 @@ async def list_actions( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/actions", + f"actions/modules/{quote_path_param(id)}/actions", method="GET", params={ "page": page, @@ -1498,7 +1498,7 @@ async def list_actions( ), ) _items = _parsed_response.actions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list_actions( @@ -1596,7 +1596,7 @@ async def rollback( The rollback was successful. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/rollback", + f"actions/modules/{quote_path_param(id)}/rollback", method="POST", json={ "module_version_id": module_version_id, diff --git a/src/auth0/management/actions/modules/versions/raw_client.py b/src/auth0/management/actions/modules/versions/raw_client.py index 044a9696..824f8aa3 100644 --- a/src/auth0/management/actions/modules/versions/raw_client.py +++ b/src/auth0/management/actions/modules/versions/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -62,7 +62,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions", + f"actions/modules/{quote_path_param(id)}/versions", method="GET", params={ "page": page, @@ -80,7 +80,7 @@ def list( ), ) _items = _parsed_response.versions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -172,7 +172,7 @@ def create( The action module version was created. """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions", + f"actions/modules/{quote_path_param(id)}/versions", method="POST", request_options=request_options, ) @@ -284,7 +284,7 @@ def get( The module version was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions/{encode_path_param(version_id)}", + f"actions/modules/{quote_path_param(id)}/versions/{quote_path_param(version_id)}", method="GET", request_options=request_options, ) @@ -400,7 +400,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions", + f"actions/modules/{quote_path_param(id)}/versions", method="GET", params={ "page": page, @@ -418,7 +418,7 @@ async def list( ), ) _items = _parsed_response.versions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -513,7 +513,7 @@ async def create( The action module version was created. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions", + f"actions/modules/{quote_path_param(id)}/versions", method="POST", request_options=request_options, ) @@ -625,7 +625,7 @@ async def get( The module version was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/modules/{encode_path_param(id)}/versions/{encode_path_param(version_id)}", + f"actions/modules/{quote_path_param(id)}/versions/{quote_path_param(version_id)}", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/actions/raw_client.py b/src/auth0/management/actions/raw_client.py index 9f632a3c..0264259d 100644 --- a/src/auth0/management/actions/raw_client.py +++ b/src/auth0/management/actions/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -107,7 +107,7 @@ def list( ), ) _items = _parsed_response.actions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( trigger_id=trigger_id, action_name=action_name, @@ -331,7 +331,7 @@ def get( The action was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -431,7 +431,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="DELETE", params={ "force": force, @@ -556,7 +556,7 @@ def update( Action successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -675,7 +675,7 @@ def deploy( Request to create action version was accepted. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}/deploy", + f"actions/actions/{quote_path_param(id)}/deploy", method="POST", request_options=request_options, ) @@ -764,7 +764,7 @@ def test( Test action version successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}/test", + f"actions/actions/{quote_path_param(id)}/test", method="POST", json={ "payload": payload, @@ -910,7 +910,7 @@ async def list( ), ) _items = _parsed_response.actions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1137,7 +1137,7 @@ async def get( The action was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1237,7 +1237,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="DELETE", params={ "force": force, @@ -1362,7 +1362,7 @@ async def update( Action successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1481,7 +1481,7 @@ async def deploy( Request to create action version was accepted. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}/deploy", + f"actions/actions/{quote_path_param(id)}/deploy", method="POST", request_options=request_options, ) @@ -1570,7 +1570,7 @@ async def test( Test action version successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(id)}/test", + f"actions/actions/{quote_path_param(id)}/test", method="POST", json={ "payload": payload, diff --git a/src/auth0/management/actions/triggers/bindings/raw_client.py b/src/auth0/management/actions/triggers/bindings/raw_client.py index 16874af1..c02b193f 100644 --- a/src/auth0/management/actions/triggers/bindings/raw_client.py +++ b/src/auth0/management/actions/triggers/bindings/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -64,7 +64,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"actions/triggers/{encode_path_param(trigger_id)}/bindings", + f"actions/triggers/{quote_path_param(trigger_id)}/bindings", method="GET", params={ "page": page, @@ -82,7 +82,7 @@ def list( ), ) _items = _parsed_response.bindings - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( trigger_id, page=page + 1, @@ -170,7 +170,7 @@ def update_many( The bindings were updated. """ _response = self._client_wrapper.httpx_client.request( - f"actions/triggers/{encode_path_param(trigger_id)}/bindings", + f"actions/triggers/{quote_path_param(trigger_id)}/bindings", method="PATCH", json={ "bindings": convert_and_respect_annotation_metadata( @@ -284,7 +284,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"actions/triggers/{encode_path_param(trigger_id)}/bindings", + f"actions/triggers/{quote_path_param(trigger_id)}/bindings", method="GET", params={ "page": page, @@ -302,7 +302,7 @@ async def list( ), ) _items = _parsed_response.bindings - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -393,7 +393,7 @@ async def update_many( The bindings were updated. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/triggers/{encode_path_param(trigger_id)}/bindings", + f"actions/triggers/{quote_path_param(trigger_id)}/bindings", method="PATCH", json={ "bindings": convert_and_respect_annotation_metadata( diff --git a/src/auth0/management/actions/versions/raw_client.py b/src/auth0/management/actions/versions/raw_client.py index b8c15694..b3fe0859 100644 --- a/src/auth0/management/actions/versions/raw_client.py +++ b/src/auth0/management/actions/versions/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -65,7 +65,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions", + f"actions/actions/{quote_path_param(action_id)}/versions", method="GET", params={ "page": page, @@ -83,7 +83,7 @@ def list( ), ) _items = _parsed_response.versions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( action_id, page=page + 1, @@ -167,7 +167,7 @@ def get( The action version was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -275,7 +275,7 @@ def deploy( Request to create action version was accepted. """ _response = self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}/deploy", + f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}/deploy", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[DeployActionVersionRequestContent], direction="write" @@ -384,7 +384,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions", + f"actions/actions/{quote_path_param(action_id)}/versions", method="GET", params={ "page": page, @@ -402,7 +402,7 @@ async def list( ), ) _items = _parsed_response.versions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -489,7 +489,7 @@ async def get( The action version was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}", + f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -597,7 +597,7 @@ async def deploy( Request to create action version was accepted. """ _response = await self._client_wrapper.httpx_client.request( - f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}/deploy", + f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}/deploy", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[DeployActionVersionRequestContent], direction="write" diff --git a/src/auth0/management/users/federated_connections_tokensets/__init__.py b/src/auth0/management/agents/__init__.py similarity index 100% rename from src/auth0/management/users/federated_connections_tokensets/__init__.py rename to src/auth0/management/agents/__init__.py diff --git a/src/auth0/management/agents/client.py b/src/auth0/management/agents/client.py new file mode 100644 index 00000000..9b444742 --- /dev/null +++ b/src/auth0/management/agents/client.py @@ -0,0 +1,493 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.pagination import AsyncPager, SyncPager +from ..core.request_options import RequestOptions +from ..types.agent_metadata import AgentMetadata +from ..types.agent_response_content import AgentResponseContent +from ..types.list_agents_response_content import ListAgentsResponseContent +from .raw_client import AsyncRawAgentsClient, RawAgentsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class AgentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawAgentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawAgentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawAgentsClient + """ + return self._raw_client + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AgentResponseContent, ListAgentsResponseContent]: + """ + Get agents + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AgentResponseContent, ListAgentsResponseContent] + Agents successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.agents.list( + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(from_=from_, take=take, request_options=request_options) + + def create( + self, + *, + name: str, + client_id: typing.Optional[str] = OMIT, + external_agent_id: typing.Optional[str] = OMIT, + metadata: typing.Optional[AgentMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AgentResponseContent: + """ + Create an agent + + Parameters + ---------- + name : str + The agent name. Cannot contain <, >, or null bytes. + + client_id : typing.Optional[str] + Optional client ID to associate with the agent + + external_agent_id : typing.Optional[str] + Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant. + + metadata : typing.Optional[AgentMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.agents.create( + name="name", + ) + """ + _response = self._raw_client.create( + name=name, + client_id=client_id, + external_agent_id=external_agent_id, + metadata=metadata, + request_options=request_options, + ) + return _response.data + + def read(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AgentResponseContent: + """ + Get an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.agents.read( + id="id", + ) + """ + _response = self._raw_client.read(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.agents.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + metadata: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AgentResponseContent: + """ + Update an agent + + Parameters + ---------- + id : str + The agent ID + + name : typing.Optional[str] + The agent name. Cannot contain <, >, or null bytes. + + metadata : typing.Optional[typing.Dict[str, typing.Any]] + Arbitrary key-value metadata for the agent. Pass null to clear all metadata. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.agents.update( + id="id", + ) + """ + _response = self._raw_client.update(id, name=name, metadata=metadata, request_options=request_options) + return _response.data + + +class AsyncAgentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawAgentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawAgentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawAgentsClient + """ + return self._raw_client + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AgentResponseContent, ListAgentsResponseContent]: + """ + Get agents + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AgentResponseContent, ListAgentsResponseContent] + Agents successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.agents.list( + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(from_=from_, take=take, request_options=request_options) + + async def create( + self, + *, + name: str, + client_id: typing.Optional[str] = OMIT, + external_agent_id: typing.Optional[str] = OMIT, + metadata: typing.Optional[AgentMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AgentResponseContent: + """ + Create an agent + + Parameters + ---------- + name : str + The agent name. Cannot contain <, >, or null bytes. + + client_id : typing.Optional[str] + Optional client ID to associate with the agent + + external_agent_id : typing.Optional[str] + Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant. + + metadata : typing.Optional[AgentMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.agents.create( + name="name", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, + client_id=client_id, + external_agent_id=external_agent_id, + metadata=metadata, + request_options=request_options, + ) + return _response.data + + async def read(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AgentResponseContent: + """ + Get an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.agents.read( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.read(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.agents.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + metadata: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AgentResponseContent: + """ + Update an agent + + Parameters + ---------- + id : str + The agent ID + + name : typing.Optional[str] + The agent name. Cannot contain <, >, or null bytes. + + metadata : typing.Optional[typing.Dict[str, typing.Any]] + Arbitrary key-value metadata for the agent. Pass null to clear all metadata. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AgentResponseContent + Agent successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.agents.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update(id, name=name, metadata=metadata, request_options=request_options) + return _response.data diff --git a/src/auth0/management/agents/raw_client.py b/src/auth0/management/agents/raw_client.py new file mode 100644 index 00000000..40b8abd5 --- /dev/null +++ b/src/auth0/management/agents/raw_client.py @@ -0,0 +1,1059 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ..core.api_error import ApiError +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.jsonable_encoder import quote_path_param +from ..core.pagination import AsyncPager, SyncPager +from ..core.parse_error import ParsingError +from ..core.pydantic_utilities import parse_obj_as +from ..core.request_options import RequestOptions +from ..errors.bad_request_error import BadRequestError +from ..errors.conflict_error import ConflictError +from ..errors.forbidden_error import ForbiddenError +from ..errors.not_found_error import NotFoundError +from ..errors.too_many_requests_error import TooManyRequestsError +from ..errors.unauthorized_error import UnauthorizedError +from ..types.agent_metadata import AgentMetadata +from ..types.agent_response_content import AgentResponseContent +from ..types.list_agents_response_content import ListAgentsResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawAgentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[AgentResponseContent, ListAgentsResponseContent]: + """ + Get agents + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[AgentResponseContent, ListAgentsResponseContent] + Agents successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "agents", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListAgentsResponseContent, + parse_obj_as( + type_=ListAgentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.agents + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + client_id: typing.Optional[str] = OMIT, + external_agent_id: typing.Optional[str] = OMIT, + metadata: typing.Optional[AgentMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AgentResponseContent]: + """ + Create an agent + + Parameters + ---------- + name : str + The agent name. Cannot contain <, >, or null bytes. + + client_id : typing.Optional[str] + Optional client ID to associate with the agent + + external_agent_id : typing.Optional[str] + Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant. + + metadata : typing.Optional[AgentMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AgentResponseContent] + Agent successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "agents", + method="POST", + json={ + "name": name, + "client_id": client_id, + "external_agent_id": external_agent_id, + "metadata": metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def read( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[AgentResponseContent]: + """ + Get an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AgentResponseContent] + Agent successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Delete an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + metadata: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AgentResponseContent]: + """ + Update an agent + + Parameters + ---------- + id : str + The agent ID + + name : typing.Optional[str] + The agent name. Cannot contain <, >, or null bytes. + + metadata : typing.Optional[typing.Dict[str, typing.Any]] + Arbitrary key-value metadata for the agent. Pass null to clear all metadata. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AgentResponseContent] + Agent successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "metadata": metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawAgentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[AgentResponseContent, ListAgentsResponseContent]: + """ + Get agents + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[AgentResponseContent, ListAgentsResponseContent] + Agents successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "agents", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListAgentsResponseContent, + parse_obj_as( + type_=ListAgentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.agents + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + client_id: typing.Optional[str] = OMIT, + external_agent_id: typing.Optional[str] = OMIT, + metadata: typing.Optional[AgentMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AgentResponseContent]: + """ + Create an agent + + Parameters + ---------- + name : str + The agent name. Cannot contain <, >, or null bytes. + + client_id : typing.Optional[str] + Optional client ID to associate with the agent + + external_agent_id : typing.Optional[str] + Optional external identifier for the agent. Immutable after creation. Must be unique within the tenant. + + metadata : typing.Optional[AgentMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AgentResponseContent] + Agent successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "agents", + method="POST", + json={ + "name": name, + "client_id": client_id, + "external_agent_id": external_agent_id, + "metadata": metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def read( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[AgentResponseContent]: + """ + Get an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AgentResponseContent] + Agent successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete an agent + + Parameters + ---------- + id : str + The agent ID + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + metadata: typing.Optional[typing.Dict[str, typing.Any]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AgentResponseContent]: + """ + Update an agent + + Parameters + ---------- + id : str + The agent ID + + name : typing.Optional[str] + The agent name. Cannot contain <, >, or null bytes. + + metadata : typing.Optional[typing.Dict[str, typing.Any]] + Arbitrary key-value metadata for the agent. Pass null to clear all metadata. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AgentResponseContent] + Agent successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"agents/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "metadata": metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AgentResponseContent, + parse_obj_as( + type_=AgentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/anomaly/blocks/raw_client.py b/src/auth0/management/anomaly/blocks/raw_client.py index eb5bd533..6bda16a6 100644 --- a/src/auth0/management/anomaly/blocks/raw_client.py +++ b/src/auth0/management/anomaly/blocks/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -42,7 +42,7 @@ def check_ip( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"anomaly/blocks/ips/{encode_path_param(id)}", + f"anomaly/blocks/ips/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -132,7 +132,7 @@ def unblock_ip( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"anomaly/blocks/ips/{encode_path_param(id)}", + f"anomaly/blocks/ips/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -216,7 +216,7 @@ async def check_ip( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"anomaly/blocks/ips/{encode_path_param(id)}", + f"anomaly/blocks/ips/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -306,7 +306,7 @@ async def unblock_ip( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"anomaly/blocks/ips/{encode_path_param(id)}", + f"anomaly/blocks/ips/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/attack_protection/brute_force_protection/client.py b/src/auth0/management/attack_protection/brute_force_protection/client.py index 3aaab7a9..a23617d3 100644 --- a/src/auth0/management/attack_protection/brute_force_protection/client.py +++ b/src/auth0/management/attack_protection/brute_force_protection/client.py @@ -4,6 +4,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.request_options import RequestOptions +from ...types.brute_force_protection_form_submission_mode_enum import BruteForceProtectionFormSubmissionModeEnum from ...types.brute_force_protection_mode_enum import BruteForceProtectionModeEnum from ...types.brute_force_protection_shields_enum import BruteForceProtectionShieldsEnum from ...types.get_brute_force_settings_response_content import GetBruteForceSettingsResponseContent @@ -62,6 +63,7 @@ def update( shields: typing.Optional[typing.Sequence[BruteForceProtectionShieldsEnum]] = OMIT, allowlist: typing.Optional[typing.Sequence[str]] = OMIT, mode: typing.Optional[BruteForceProtectionModeEnum] = OMIT, + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = OMIT, max_attempts: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateBruteForceSettingsResponseContent: @@ -82,6 +84,8 @@ def update( mode : typing.Optional[BruteForceProtectionModeEnum] + form_submission_mode : typing.Optional[BruteForceProtectionFormSubmissionModeEnum] + max_attempts : typing.Optional[int] Maximum number of unsuccessful attempts. @@ -107,6 +111,7 @@ def update( shields=shields, allowlist=allowlist, mode=mode, + form_submission_mode=form_submission_mode, max_attempts=max_attempts, request_options=request_options, ) @@ -171,6 +176,7 @@ async def update( shields: typing.Optional[typing.Sequence[BruteForceProtectionShieldsEnum]] = OMIT, allowlist: typing.Optional[typing.Sequence[str]] = OMIT, mode: typing.Optional[BruteForceProtectionModeEnum] = OMIT, + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = OMIT, max_attempts: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateBruteForceSettingsResponseContent: @@ -191,6 +197,8 @@ async def update( mode : typing.Optional[BruteForceProtectionModeEnum] + form_submission_mode : typing.Optional[BruteForceProtectionFormSubmissionModeEnum] + max_attempts : typing.Optional[int] Maximum number of unsuccessful attempts. @@ -224,6 +232,7 @@ async def main() -> None: shields=shields, allowlist=allowlist, mode=mode, + form_submission_mode=form_submission_mode, max_attempts=max_attempts, request_options=request_options, ) diff --git a/src/auth0/management/attack_protection/brute_force_protection/raw_client.py b/src/auth0/management/attack_protection/brute_force_protection/raw_client.py index 3945aa20..a3c074b4 100644 --- a/src/auth0/management/attack_protection/brute_force_protection/raw_client.py +++ b/src/auth0/management/attack_protection/brute_force_protection/raw_client.py @@ -13,6 +13,7 @@ from ...errors.forbidden_error import ForbiddenError from ...errors.too_many_requests_error import TooManyRequestsError from ...errors.unauthorized_error import UnauthorizedError +from ...types.brute_force_protection_form_submission_mode_enum import BruteForceProtectionFormSubmissionModeEnum from ...types.brute_force_protection_mode_enum import BruteForceProtectionModeEnum from ...types.brute_force_protection_shields_enum import BruteForceProtectionShieldsEnum from ...types.get_brute_force_settings_response_content import GetBruteForceSettingsResponseContent @@ -107,6 +108,7 @@ def update( shields: typing.Optional[typing.Sequence[BruteForceProtectionShieldsEnum]] = OMIT, allowlist: typing.Optional[typing.Sequence[str]] = OMIT, mode: typing.Optional[BruteForceProtectionModeEnum] = OMIT, + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = OMIT, max_attempts: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateBruteForceSettingsResponseContent]: @@ -127,6 +129,8 @@ def update( mode : typing.Optional[BruteForceProtectionModeEnum] + form_submission_mode : typing.Optional[BruteForceProtectionFormSubmissionModeEnum] + max_attempts : typing.Optional[int] Maximum number of unsuccessful attempts. @@ -146,6 +150,7 @@ def update( "shields": shields, "allowlist": allowlist, "mode": mode, + "form_submission_mode": form_submission_mode, "max_attempts": max_attempts, }, headers={ @@ -302,6 +307,7 @@ async def update( shields: typing.Optional[typing.Sequence[BruteForceProtectionShieldsEnum]] = OMIT, allowlist: typing.Optional[typing.Sequence[str]] = OMIT, mode: typing.Optional[BruteForceProtectionModeEnum] = OMIT, + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = OMIT, max_attempts: typing.Optional[int] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateBruteForceSettingsResponseContent]: @@ -322,6 +328,8 @@ async def update( mode : typing.Optional[BruteForceProtectionModeEnum] + form_submission_mode : typing.Optional[BruteForceProtectionFormSubmissionModeEnum] + max_attempts : typing.Optional[int] Maximum number of unsuccessful attempts. @@ -341,6 +349,7 @@ async def update( "shields": shields, "allowlist": allowlist, "mode": mode, + "form_submission_mode": form_submission_mode, "max_attempts": max_attempts, }, headers={ diff --git a/src/auth0/management/branding/phone/providers/raw_client.py b/src/auth0/management/branding/phone/providers/raw_client.py index 209ca430..1fbde63b 100644 --- a/src/auth0/management/branding/phone/providers/raw_client.py +++ b/src/auth0/management/branding/phone/providers/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as from ....core.request_options import RequestOptions @@ -270,7 +270,7 @@ def get( Phone provider successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -364,7 +364,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -460,7 +460,7 @@ def update( Phone provider successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -590,7 +590,7 @@ def test( Phone notification sent. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}/try", + f"branding/phone/providers/{quote_path_param(id)}/try", method="POST", json={ "to": to, @@ -926,7 +926,7 @@ async def get( Phone provider successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1022,7 +1022,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1118,7 +1118,7 @@ async def update( Phone provider successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}", + f"branding/phone/providers/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1248,7 +1248,7 @@ async def test( Phone notification sent. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/providers/{encode_path_param(id)}/try", + f"branding/phone/providers/{quote_path_param(id)}/try", method="POST", json={ "to": to, diff --git a/src/auth0/management/branding/phone/templates/raw_client.py b/src/auth0/management/branding/phone/templates/raw_client.py index 9258e6ec..a676cfd1 100644 --- a/src/auth0/management/branding/phone/templates/raw_client.py +++ b/src/auth0/management/branding/phone/templates/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as from ....core.request_options import RequestOptions @@ -261,7 +261,7 @@ def get( The phone notification template were retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -353,7 +353,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -451,7 +451,7 @@ def update( The phone notification template was updated. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="PATCH", json={ "content": convert_and_respect_annotation_metadata( @@ -562,7 +562,7 @@ def reset( The phone notification template was reset. """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}/reset", + f"branding/phone/templates/{quote_path_param(id)}/reset", method="PATCH", json=request, request_options=request_options, @@ -659,7 +659,7 @@ def test( The phone testing notification for the template was sent """ _response = self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}/try", + f"branding/phone/templates/{quote_path_param(id)}/try", method="POST", json={ "to": to, @@ -971,7 +971,7 @@ async def get( The phone notification template were retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1065,7 +1065,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1163,7 +1163,7 @@ async def update( The phone notification template was updated. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}", + f"branding/phone/templates/{quote_path_param(id)}", method="PATCH", json={ "content": convert_and_respect_annotation_metadata( @@ -1274,7 +1274,7 @@ async def reset( The phone notification template was reset. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}/reset", + f"branding/phone/templates/{quote_path_param(id)}/reset", method="PATCH", json=request, request_options=request_options, @@ -1371,7 +1371,7 @@ async def test( The phone testing notification for the template was sent """ _response = await self._client_wrapper.httpx_client.request( - f"branding/phone/templates/{encode_path_param(id)}/try", + f"branding/phone/templates/{quote_path_param(id)}/try", method="POST", json={ "to": to, diff --git a/src/auth0/management/branding/themes/client.py b/src/auth0/management/branding/themes/client.py index d062a473..6cac9674 100644 --- a/src/auth0/management/branding/themes/client.py +++ b/src/auth0/management/branding/themes/client.py @@ -7,6 +7,7 @@ from ...types.branding_theme_borders import BrandingThemeBorders from ...types.branding_theme_colors import BrandingThemeColors from ...types.branding_theme_fonts import BrandingThemeFonts +from ...types.branding_theme_identifiers import BrandingThemeIdentifiers from ...types.branding_theme_page_background import BrandingThemePageBackground from ...types.branding_theme_widget import BrandingThemeWidget from ...types.create_branding_theme_response_content import CreateBrandingThemeResponseContent @@ -43,6 +44,7 @@ def create( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateBrandingThemeResponseContent: """ @@ -63,6 +65,8 @@ def create( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -171,6 +175,7 @@ def create( page_background=page_background, widget=widget, display_name=display_name, + identifiers=identifiers, request_options=request_options, ) return _response.data @@ -276,6 +281,7 @@ def update( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateBrandingThemeResponseContent: """ @@ -299,6 +305,8 @@ def update( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -409,6 +417,7 @@ def update( page_background=page_background, widget=widget, display_name=display_name, + identifiers=identifiers, request_options=request_options, ) return _response.data @@ -438,6 +447,7 @@ async def create( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateBrandingThemeResponseContent: """ @@ -458,6 +468,8 @@ async def create( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -574,6 +586,7 @@ async def main() -> None: page_background=page_background, widget=widget, display_name=display_name, + identifiers=identifiers, request_options=request_options, ) return _response.data @@ -703,6 +716,7 @@ async def update( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateBrandingThemeResponseContent: """ @@ -726,6 +740,8 @@ async def update( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -844,6 +860,7 @@ async def main() -> None: page_background=page_background, widget=widget, display_name=display_name, + identifiers=identifiers, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/branding/themes/raw_client.py b/src/auth0/management/branding/themes/raw_client.py index 870535ce..068fa138 100644 --- a/src/auth0/management/branding/themes/raw_client.py +++ b/src/auth0/management/branding/themes/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -20,6 +20,7 @@ from ...types.branding_theme_borders import BrandingThemeBorders from ...types.branding_theme_colors import BrandingThemeColors from ...types.branding_theme_fonts import BrandingThemeFonts +from ...types.branding_theme_identifiers import BrandingThemeIdentifiers from ...types.branding_theme_page_background import BrandingThemePageBackground from ...types.branding_theme_widget import BrandingThemeWidget from ...types.create_branding_theme_response_content import CreateBrandingThemeResponseContent @@ -45,6 +46,7 @@ def create( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateBrandingThemeResponseContent]: """ @@ -65,6 +67,8 @@ def create( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -87,6 +91,9 @@ def create( "fonts": convert_and_respect_annotation_metadata( object_=fonts, annotation=BrandingThemeFonts, direction="write" ), + "identifiers": convert_and_respect_annotation_metadata( + object_=identifiers, annotation=BrandingThemeIdentifiers, direction="write" + ), "page_background": convert_and_respect_annotation_metadata( object_=page_background, annotation=BrandingThemePageBackground, direction="write" ), @@ -278,7 +285,7 @@ def get( Branding theme successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="GET", request_options=request_options, ) @@ -362,7 +369,7 @@ def delete(self, theme_id: str, *, request_options: typing.Optional[RequestOptio HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="DELETE", request_options=request_options, ) @@ -432,6 +439,7 @@ def update( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateBrandingThemeResponseContent]: """ @@ -455,6 +463,8 @@ def update( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -464,7 +474,7 @@ def update( Branding settings successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="PATCH", json={ "borders": convert_and_respect_annotation_metadata( @@ -477,6 +487,9 @@ def update( "fonts": convert_and_respect_annotation_metadata( object_=fonts, annotation=BrandingThemeFonts, direction="write" ), + "identifiers": convert_and_respect_annotation_metadata( + object_=identifiers, annotation=BrandingThemeIdentifiers, direction="write" + ), "page_background": convert_and_respect_annotation_metadata( object_=page_background, annotation=BrandingThemePageBackground, direction="write" ), @@ -578,6 +591,7 @@ async def create( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateBrandingThemeResponseContent]: """ @@ -598,6 +612,8 @@ async def create( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -620,6 +636,9 @@ async def create( "fonts": convert_and_respect_annotation_metadata( object_=fonts, annotation=BrandingThemeFonts, direction="write" ), + "identifiers": convert_and_respect_annotation_metadata( + object_=identifiers, annotation=BrandingThemeIdentifiers, direction="write" + ), "page_background": convert_and_respect_annotation_metadata( object_=page_background, annotation=BrandingThemePageBackground, direction="write" ), @@ -811,7 +830,7 @@ async def get( Branding theme successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="GET", request_options=request_options, ) @@ -897,7 +916,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="DELETE", request_options=request_options, ) @@ -967,6 +986,7 @@ async def update( page_background: BrandingThemePageBackground, widget: BrandingThemeWidget, display_name: typing.Optional[str] = OMIT, + identifiers: typing.Optional[BrandingThemeIdentifiers] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateBrandingThemeResponseContent]: """ @@ -990,6 +1010,8 @@ async def update( display_name : typing.Optional[str] Display Name + identifiers : typing.Optional[BrandingThemeIdentifiers] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -999,7 +1021,7 @@ async def update( Branding settings successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"branding/themes/{encode_path_param(theme_id)}", + f"branding/themes/{quote_path_param(theme_id)}", method="PATCH", json={ "borders": convert_and_respect_annotation_metadata( @@ -1012,6 +1034,9 @@ async def update( "fonts": convert_and_respect_annotation_metadata( object_=fonts, annotation=BrandingThemeFonts, direction="write" ), + "identifiers": convert_and_respect_annotation_metadata( + object_=identifiers, annotation=BrandingThemeIdentifiers, direction="write" + ), "page_background": convert_and_respect_annotation_metadata( object_=page_background, annotation=BrandingThemePageBackground, direction="write" ), diff --git a/src/auth0/management/client.py b/src/auth0/management/client.py index 387c92b1..f8ac86aa 100644 --- a/src/auth0/management/client.py +++ b/src/auth0/management/client.py @@ -11,10 +11,12 @@ if typing.TYPE_CHECKING: from .actions.client import ActionsClient, AsyncActionsClient + from .agents.client import AgentsClient, AsyncAgentsClient from .anomaly.client import AnomalyClient, AsyncAnomalyClient from .attack_protection.client import AsyncAttackProtectionClient, AttackProtectionClient from .branding.client import AsyncBrandingClient, BrandingClient from .client_grants.client import AsyncClientGrantsClient, ClientGrantsClient + from .client_profiles.client import AsyncClientProfilesClient, ClientProfilesClient from .clients.client import AsyncClientsClient, ClientsClient from .connection_profiles.client import AsyncConnectionProfilesClient, ConnectionProfilesClient from .connections.client import AsyncConnectionsClient, ConnectionsClient @@ -24,6 +26,7 @@ from .emails.client import AsyncEmailsClient, EmailsClient from .event_streams.client import AsyncEventStreamsClient, EventStreamsClient from .events.client import AsyncEventsClient, EventsClient + from .experimentation.client import AsyncExperimentationClient, ExperimentationClient from .flows.client import AsyncFlowsClient, FlowsClient from .forms.client import AsyncFormsClient, FormsClient from .groups.client import AsyncGroupsClient, GroupsClient @@ -35,6 +38,7 @@ from .logs.client import AsyncLogsClient, LogsClient from .network_acls.client import AsyncNetworkAclsClient, NetworkAclsClient from .organizations.client import AsyncOrganizationsClient, OrganizationsClient + from .portals.client import AsyncPortalsClient, PortalsClient from .prompts.client import AsyncPromptsClient, PromptsClient from .rate_limit_policies.client import AsyncRateLimitPoliciesClient, RateLimitPoliciesClient from .refresh_tokens.client import AsyncRefreshTokensClient, RefreshTokensClient @@ -88,6 +92,12 @@ class Auth0: max_retries : typing.Optional[int] The default maximum number of retries for failed requests. Defaults to 2. Per-request `max_retries` in `request_options` takes precedence over this value. + stream_reconnection_enabled : typing.Optional[bool] + Whether to automatically reconnect on stream disconnection for resumable streaming endpoints. Defaults to True. Per-request `stream_reconnection_enabled` in `request_options` takes precedence over this value. + + max_stream_reconnection_attempts : typing.Optional[int] + The maximum number of reconnection attempts for resumable streaming endpoints. Defaults to no limit. Per-request `max_stream_reconnection_attempts` in `request_options` takes precedence over this value. + follow_redirects : typing.Optional[bool] Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in. @@ -116,17 +126,22 @@ def __init__( headers: typing.Optional[typing.Dict[str, str]] = None, timeout: typing.Optional[float] = None, max_retries: typing.Optional[int] = None, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, follow_redirects: typing.Optional[bool] = True, httpx_client: typing.Optional[httpx.Client] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): - _defaulted_timeout = ( - timeout if timeout is not None else 60 if httpx_client is None else httpx_client.timeout.read - ) + _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None _defaulted_max_retries = max_retries if max_retries is not None else 2 if tenant_domain is not None: _tenant_domain = tenant_domain if tenant_domain is not None else "{TENANT}.auth0.com" - base_url = "https://{tenantDomain}/api/v2".format(tenantDomain=_tenant_domain) + _environment_url_templates = { + Auth0Environment.DEFAULT: "https://{tenantDomain}/api/v2", + } + _url_template = _environment_url_templates.get(environment, "https://{tenantDomain}/api/v2") + if base_url is None: + base_url = _url_template.format(tenantDomain=_tenant_domain) self._client_wrapper = SyncClientWrapper( base_url=_get_base_url(base_url=base_url, environment=environment), token=token, @@ -138,11 +153,15 @@ def __init__( else httpx.Client(timeout=_defaulted_timeout), timeout=_defaulted_timeout, max_retries=_defaulted_max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, logging=logging, ) self._actions: typing.Optional[ActionsClient] = None + self._agents: typing.Optional[AgentsClient] = None self._branding: typing.Optional[BrandingClient] = None self._client_grants: typing.Optional[ClientGrantsClient] = None + self._client_profiles: typing.Optional[ClientProfilesClient] = None self._clients: typing.Optional[ClientsClient] = None self._connection_profiles: typing.Optional[ConnectionProfilesClient] = None self._connections: typing.Optional[ConnectionsClient] = None @@ -155,12 +174,14 @@ def __init__( self._forms: typing.Optional[FormsClient] = None self._user_grants: typing.Optional[UserGrantsClient] = None self._groups: typing.Optional[GroupsClient] = None + self._guardian: typing.Optional[GuardianClient] = None self._hooks: typing.Optional[HooksClient] = None self._jobs: typing.Optional[JobsClient] = None self._log_streams: typing.Optional[LogStreamsClient] = None self._logs: typing.Optional[LogsClient] = None self._network_acls: typing.Optional[NetworkAclsClient] = None self._organizations: typing.Optional[OrganizationsClient] = None + self._portals: typing.Optional[PortalsClient] = None self._prompts: typing.Optional[PromptsClient] = None self._rate_limit_policies: typing.Optional[RateLimitPoliciesClient] = None self._refresh_tokens: typing.Optional[RefreshTokensClient] = None @@ -180,7 +201,7 @@ def __init__( self._anomaly: typing.Optional[AnomalyClient] = None self._attack_protection: typing.Optional[AttackProtectionClient] = None self._emails: typing.Optional[EmailsClient] = None - self._guardian: typing.Optional[GuardianClient] = None + self._experimentation: typing.Optional[ExperimentationClient] = None self._keys: typing.Optional[KeysClient] = None self._risk_assessments: typing.Optional[RiskAssessmentsClient] = None self._tenants: typing.Optional[TenantsClient] = None @@ -194,6 +215,14 @@ def actions(self): self._actions = ActionsClient(client_wrapper=self._client_wrapper) return self._actions + @property + def agents(self): + if self._agents is None: + from .agents.client import AgentsClient # noqa: E402 + + self._agents = AgentsClient(client_wrapper=self._client_wrapper) + return self._agents + @property def branding(self): if self._branding is None: @@ -210,6 +239,14 @@ def client_grants(self): self._client_grants = ClientGrantsClient(client_wrapper=self._client_wrapper) return self._client_grants + @property + def client_profiles(self): + if self._client_profiles is None: + from .client_profiles.client import ClientProfilesClient # noqa: E402 + + self._client_profiles = ClientProfilesClient(client_wrapper=self._client_wrapper) + return self._client_profiles + @property def clients(self): if self._clients is None: @@ -306,6 +343,14 @@ def groups(self): self._groups = GroupsClient(client_wrapper=self._client_wrapper) return self._groups + @property + def guardian(self): + if self._guardian is None: + from .guardian.client import GuardianClient # noqa: E402 + + self._guardian = GuardianClient(client_wrapper=self._client_wrapper) + return self._guardian + @property def hooks(self): if self._hooks is None: @@ -354,6 +399,14 @@ def organizations(self): self._organizations = OrganizationsClient(client_wrapper=self._client_wrapper) return self._organizations + @property + def portals(self): + if self._portals is None: + from .portals.client import PortalsClient # noqa: E402 + + self._portals = PortalsClient(client_wrapper=self._client_wrapper) + return self._portals + @property def prompts(self): if self._prompts is None: @@ -507,12 +560,12 @@ def emails(self): return self._emails @property - def guardian(self): - if self._guardian is None: - from .guardian.client import GuardianClient # noqa: E402 + def experimentation(self): + if self._experimentation is None: + from .experimentation.client import ExperimentationClient # noqa: E402 - self._guardian = GuardianClient(client_wrapper=self._client_wrapper) - return self._guardian + self._experimentation = ExperimentationClient(client_wrapper=self._client_wrapper) + return self._experimentation @property def keys(self): @@ -599,6 +652,12 @@ class AsyncAuth0: max_retries : typing.Optional[int] The default maximum number of retries for failed requests. Defaults to 2. Per-request `max_retries` in `request_options` takes precedence over this value. + stream_reconnection_enabled : typing.Optional[bool] + Whether to automatically reconnect on stream disconnection for resumable streaming endpoints. Defaults to True. Per-request `stream_reconnection_enabled` in `request_options` takes precedence over this value. + + max_stream_reconnection_attempts : typing.Optional[int] + The maximum number of reconnection attempts for resumable streaming endpoints. Defaults to no limit. Per-request `max_stream_reconnection_attempts` in `request_options` takes precedence over this value. + follow_redirects : typing.Optional[bool] Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in. @@ -628,17 +687,22 @@ def __init__( async_token: typing.Optional[typing.Callable[[], typing.Awaitable[str]]] = None, timeout: typing.Optional[float] = None, max_retries: typing.Optional[int] = None, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, follow_redirects: typing.Optional[bool] = True, httpx_client: typing.Optional[httpx.AsyncClient] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): - _defaulted_timeout = ( - timeout if timeout is not None else 60 if httpx_client is None else httpx_client.timeout.read - ) + _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None _defaulted_max_retries = max_retries if max_retries is not None else 2 if tenant_domain is not None: _tenant_domain = tenant_domain if tenant_domain is not None else "{TENANT}.auth0.com" - base_url = "https://{tenantDomain}/api/v2".format(tenantDomain=_tenant_domain) + _environment_url_templates = { + Auth0Environment.DEFAULT: "https://{tenantDomain}/api/v2", + } + _url_template = _environment_url_templates.get(environment, "https://{tenantDomain}/api/v2") + if base_url is None: + base_url = _url_template.format(tenantDomain=_tenant_domain) self._client_wrapper = AsyncClientWrapper( base_url=_get_base_url(base_url=base_url, environment=environment), token=token, @@ -649,11 +713,15 @@ def __init__( else _make_default_async_client(timeout=_defaulted_timeout, follow_redirects=follow_redirects), timeout=_defaulted_timeout, max_retries=_defaulted_max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, logging=logging, ) self._actions: typing.Optional[AsyncActionsClient] = None + self._agents: typing.Optional[AsyncAgentsClient] = None self._branding: typing.Optional[AsyncBrandingClient] = None self._client_grants: typing.Optional[AsyncClientGrantsClient] = None + self._client_profiles: typing.Optional[AsyncClientProfilesClient] = None self._clients: typing.Optional[AsyncClientsClient] = None self._connection_profiles: typing.Optional[AsyncConnectionProfilesClient] = None self._connections: typing.Optional[AsyncConnectionsClient] = None @@ -666,12 +734,14 @@ def __init__( self._forms: typing.Optional[AsyncFormsClient] = None self._user_grants: typing.Optional[AsyncUserGrantsClient] = None self._groups: typing.Optional[AsyncGroupsClient] = None + self._guardian: typing.Optional[AsyncGuardianClient] = None self._hooks: typing.Optional[AsyncHooksClient] = None self._jobs: typing.Optional[AsyncJobsClient] = None self._log_streams: typing.Optional[AsyncLogStreamsClient] = None self._logs: typing.Optional[AsyncLogsClient] = None self._network_acls: typing.Optional[AsyncNetworkAclsClient] = None self._organizations: typing.Optional[AsyncOrganizationsClient] = None + self._portals: typing.Optional[AsyncPortalsClient] = None self._prompts: typing.Optional[AsyncPromptsClient] = None self._rate_limit_policies: typing.Optional[AsyncRateLimitPoliciesClient] = None self._refresh_tokens: typing.Optional[AsyncRefreshTokensClient] = None @@ -691,7 +761,7 @@ def __init__( self._anomaly: typing.Optional[AsyncAnomalyClient] = None self._attack_protection: typing.Optional[AsyncAttackProtectionClient] = None self._emails: typing.Optional[AsyncEmailsClient] = None - self._guardian: typing.Optional[AsyncGuardianClient] = None + self._experimentation: typing.Optional[AsyncExperimentationClient] = None self._keys: typing.Optional[AsyncKeysClient] = None self._risk_assessments: typing.Optional[AsyncRiskAssessmentsClient] = None self._tenants: typing.Optional[AsyncTenantsClient] = None @@ -705,6 +775,14 @@ def actions(self): self._actions = AsyncActionsClient(client_wrapper=self._client_wrapper) return self._actions + @property + def agents(self): + if self._agents is None: + from .agents.client import AsyncAgentsClient # noqa: E402 + + self._agents = AsyncAgentsClient(client_wrapper=self._client_wrapper) + return self._agents + @property def branding(self): if self._branding is None: @@ -721,6 +799,14 @@ def client_grants(self): self._client_grants = AsyncClientGrantsClient(client_wrapper=self._client_wrapper) return self._client_grants + @property + def client_profiles(self): + if self._client_profiles is None: + from .client_profiles.client import AsyncClientProfilesClient # noqa: E402 + + self._client_profiles = AsyncClientProfilesClient(client_wrapper=self._client_wrapper) + return self._client_profiles + @property def clients(self): if self._clients is None: @@ -817,6 +903,14 @@ def groups(self): self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) return self._groups + @property + def guardian(self): + if self._guardian is None: + from .guardian.client import AsyncGuardianClient # noqa: E402 + + self._guardian = AsyncGuardianClient(client_wrapper=self._client_wrapper) + return self._guardian + @property def hooks(self): if self._hooks is None: @@ -865,6 +959,14 @@ def organizations(self): self._organizations = AsyncOrganizationsClient(client_wrapper=self._client_wrapper) return self._organizations + @property + def portals(self): + if self._portals is None: + from .portals.client import AsyncPortalsClient # noqa: E402 + + self._portals = AsyncPortalsClient(client_wrapper=self._client_wrapper) + return self._portals + @property def prompts(self): if self._prompts is None: @@ -1018,12 +1120,12 @@ def emails(self): return self._emails @property - def guardian(self): - if self._guardian is None: - from .guardian.client import AsyncGuardianClient # noqa: E402 + def experimentation(self): + if self._experimentation is None: + from .experimentation.client import AsyncExperimentationClient # noqa: E402 - self._guardian = AsyncGuardianClient(client_wrapper=self._client_wrapper) - return self._guardian + self._experimentation = AsyncExperimentationClient(client_wrapper=self._client_wrapper) + return self._experimentation @property def keys(self): diff --git a/src/auth0/management/client_grants/client.py b/src/auth0/management/client_grants/client.py index 0cca5438..bfe3e8a4 100644 --- a/src/auth0/management/client_grants/client.py +++ b/src/auth0/management/client_grants/client.py @@ -12,10 +12,13 @@ from ..types.client_grant_organization_nullable_usage_enum import ClientGrantOrganizationNullableUsageEnum from ..types.client_grant_organization_usage_enum import ClientGrantOrganizationUsageEnum from ..types.client_grant_response_content import ClientGrantResponseContent +from ..types.client_grant_sort_field_enum import ClientGrantSortFieldEnum from ..types.client_grant_subject_type_enum import ClientGrantSubjectTypeEnum from ..types.create_client_grant_response_content import CreateClientGrantResponseContent from ..types.get_client_grant_response_content import GetClientGrantResponseContent from ..types.list_client_grant_paginated_response_content import ListClientGrantPaginatedResponseContent +from ..types.search_client_grants_response_content import SearchClientGrantsResponseContent +from ..types.search_parser_enum import SearchParserEnum from ..types.update_client_grant_response_content import UpdateClientGrantResponseContent from .raw_client import AsyncRawClientGrantsClient, RawClientGrantsClient @@ -45,6 +48,7 @@ def with_raw_response(self) -> RawClientGrantsClient: def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, audience: typing.Optional[str] = None, @@ -59,6 +63,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -96,6 +103,7 @@ def list( token="YOUR_TOKEN", ) response = client.client_grants.list( + include_totals=True, from_="from", take=1, audience="audience", @@ -111,6 +119,7 @@ def list( yield page """ return self._raw_client.list( + include_totals=include_totals, from_=from_, take=take, audience=audience, @@ -197,6 +206,86 @@ def create( ) return _response.data + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientGrantSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent]: + """ + Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • audience - Filter by audience (eq, ne, sw, co, ew, pr)
  • client_id - Filter by client ID (eq, ne, sw, pr)
  • subject_type - Filter by subject type (eq, ne, sw, pr)
  • allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
  • organization_id - Filter by organization ID (eq, ne, sw, pr)
  • updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
  • default_for - Filter by default grant group (eq, ne, sw, pr)
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientGrantSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent] + Client grants successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.client_grants.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="audience", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetClientGrantResponseContent: """ Retrieve a single [client grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the @@ -351,6 +440,7 @@ def with_raw_response(self) -> AsyncRawClientGrantsClient: async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, audience: typing.Optional[str] = None, @@ -365,6 +455,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -407,6 +500,7 @@ async def list( async def main() -> None: response = await client.client_grants.list( + include_totals=True, from_="from", take=1, audience="audience", @@ -426,6 +520,7 @@ async def main() -> None: asyncio.run(main()) """ return await self._raw_client.list( + include_totals=include_totals, from_=from_, take=take, audience=audience, @@ -520,6 +615,95 @@ async def main() -> None: ) return _response.data + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientGrantSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent]: + """ + Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • audience - Filter by audience (eq, ne, sw, co, ew, pr)
  • client_id - Filter by client ID (eq, ne, sw, pr)
  • subject_type - Filter by subject type (eq, ne, sw, pr)
  • allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
  • organization_id - Filter by organization ID (eq, ne, sw, pr)
  • updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
  • default_for - Filter by default grant group (eq, ne, sw, pr)
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientGrantSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent] + Client grants successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.client_grants.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="audience", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetClientGrantResponseContent: diff --git a/src/auth0/management/client_grants/organizations/client.py b/src/auth0/management/client_grants/organizations/client.py index 2ae35c4e..a5ca5bd9 100644 --- a/src/auth0/management/client_grants/organizations/client.py +++ b/src/auth0/management/client_grants/organizations/client.py @@ -31,6 +31,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( id : str ID of the client grant + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -64,6 +68,7 @@ def list( ) response = client.client_grants.organizations.list( id="id", + include_totals=True, from_="from", take=1, ) @@ -73,7 +78,9 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list( + id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) class AsyncOrganizationsClient: @@ -95,6 +102,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -105,6 +113,9 @@ async def list( id : str ID of the client grant + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -133,6 +144,7 @@ async def list( async def main() -> None: response = await client.client_grants.organizations.list( id="id", + include_totals=True, from_="from", take=1, ) @@ -146,4 +158,6 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + return await self._raw_client.list( + id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) diff --git a/src/auth0/management/client_grants/organizations/raw_client.py b/src/auth0/management/client_grants/organizations/raw_client.py index 92dcd42b..42412267 100644 --- a/src/auth0/management/client_grants/organizations/raw_client.py +++ b/src/auth0/management/client_grants/organizations/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -30,6 +30,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -40,6 +41,9 @@ def list( id : str ID of the client grant + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -55,9 +59,10 @@ def list( Organizations successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}/organizations", + f"client-grants/{quote_path_param(id)}/organizations", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -77,6 +82,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -155,6 +161,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -165,6 +172,9 @@ async def list( id : str ID of the client grant + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -180,9 +190,10 @@ async def list( Organizations successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}/organizations", + f"client-grants/{quote_path_param(id)}/organizations", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -204,6 +215,7 @@ async def list( async def _get_next(): return await self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, diff --git a/src/auth0/management/client_grants/raw_client.py b/src/auth0/management/client_grants/raw_client.py index fc8bfe10..8966dd87 100644 --- a/src/auth0/management/client_grants/raw_client.py +++ b/src/auth0/management/client_grants/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -14,6 +14,8 @@ from ..errors.bad_request_error import BadRequestError from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError +from ..errors.gateway_timeout_error import GatewayTimeoutError +from ..errors.internal_server_error import InternalServerError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError @@ -22,10 +24,13 @@ from ..types.client_grant_organization_nullable_usage_enum import ClientGrantOrganizationNullableUsageEnum from ..types.client_grant_organization_usage_enum import ClientGrantOrganizationUsageEnum from ..types.client_grant_response_content import ClientGrantResponseContent +from ..types.client_grant_sort_field_enum import ClientGrantSortFieldEnum from ..types.client_grant_subject_type_enum import ClientGrantSubjectTypeEnum from ..types.create_client_grant_response_content import CreateClientGrantResponseContent from ..types.get_client_grant_response_content import GetClientGrantResponseContent from ..types.list_client_grant_paginated_response_content import ListClientGrantPaginatedResponseContent +from ..types.search_client_grants_response_content import SearchClientGrantsResponseContent +from ..types.search_parser_enum import SearchParserEnum from ..types.update_client_grant_response_content import UpdateClientGrantResponseContent from pydantic import ValidationError @@ -40,6 +45,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, audience: typing.Optional[str] = None, @@ -54,6 +60,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -87,6 +96,7 @@ def list( "client-grants", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "audience": audience, @@ -110,6 +120,7 @@ def list( _parsed_next = _parsed_response.next _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( + include_totals=include_totals, from_=_parsed_next, take=take, audience=audience, @@ -318,6 +329,176 @@ def create( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientGrantSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent]: + """ + Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • audience - Filter by audience (eq, ne, sw, co, ew, pr)
  • client_id - Filter by client ID (eq, ne, sw, pr)
  • subject_type - Filter by subject type (eq, ne, sw, pr)
  • allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
  • organization_id - Filter by organization ID (eq, ne, sw, pr)
  • updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
  • default_for - Filter by default grant group (eq, ne, sw, pr)
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientGrantSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent] + Client grants successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "client-grants/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchClientGrantsResponseContent, + parse_obj_as( + type_=SearchClientGrantsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.client_grants + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetClientGrantResponseContent]: @@ -339,7 +520,7 @@ def get( Client grant successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -423,7 +604,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -525,7 +706,7 @@ def update( Client grant successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="PATCH", json={ "scope": scope, @@ -622,6 +803,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, audience: typing.Optional[str] = None, @@ -636,6 +818,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -669,6 +854,7 @@ async def list( "client-grants", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "audience": audience, @@ -694,6 +880,7 @@ async def list( async def _get_next(): return await self.list( + include_totals=include_totals, from_=_parsed_next, take=take, audience=audience, @@ -903,6 +1090,179 @@ async def create( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientGrantSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent]: + """ + Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • audience - Filter by audience (eq, ne, sw, co, ew, pr)
  • client_id - Filter by client ID (eq, ne, sw, pr)
  • subject_type - Filter by subject type (eq, ne, sw, pr)
  • allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
  • organization_id - Filter by organization ID (eq, ne, sw, pr)
  • updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
  • default_for - Filter by default grant group (eq, ne, sw, pr)
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientGrantSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientGrantResponseContent, SearchClientGrantsResponseContent] + Client grants successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "client-grants/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchClientGrantsResponseContent, + parse_obj_as( + type_=SearchClientGrantsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.client_grants + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetClientGrantResponseContent]: @@ -924,7 +1284,7 @@ async def get( Client grant successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1010,7 +1370,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1112,7 +1472,7 @@ async def update( Client grant successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"client-grants/{encode_path_param(id)}", + f"client-grants/{quote_path_param(id)}", method="PATCH", json={ "scope": scope, diff --git a/src/auth0/management/client_profiles/__init__.py b/src/auth0/management/client_profiles/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/client_profiles/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/client_profiles/client.py b/src/auth0/management/client_profiles/client.py new file mode 100644 index 00000000..b9bb08ea --- /dev/null +++ b/src/auth0/management/client_profiles/client.py @@ -0,0 +1,533 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.pagination import AsyncPager, SyncPager +from ..core.request_options import RequestOptions +from ..types.client_profile import ClientProfile +from ..types.client_profile_apply_policy import ClientProfileApplyPolicy +from ..types.client_profile_client_configuration import ClientProfileClientConfiguration +from ..types.client_profile_description import ClientProfileDescription +from ..types.client_profile_id import ClientProfileId +from ..types.client_profile_name import ClientProfileName +from ..types.list_client_profiles_paginated_response_content import ListClientProfilesPaginatedResponseContent +from .raw_client import AsyncRawClientProfilesClient, RawClientProfilesClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ClientProfilesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawClientProfilesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawClientProfilesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawClientProfilesClient + """ + return self._raw_client + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent]: + """ + Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the next cursor from a previous response as the from query parameter to retrieve the following page. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent] + Client profiles successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.client_profiles.list( + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(from_=from_, take=take, request_options=request_options) + + def create( + self, + *, + name: ClientProfileName, + client_configuration: ClientProfileClientConfiguration, + apply_policy: ClientProfileApplyPolicy, + description: typing.Optional[ClientProfileDescription] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> ClientProfile: + """ + Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime. + + Parameters + ---------- + name : ClientProfileName + + client_configuration : ClientProfileClientConfiguration + + apply_policy : ClientProfileApplyPolicy + + description : typing.Optional[ClientProfileDescription] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Client profile successfully created. + + Examples + -------- + from auth0 import ( + Auth0, + ClientProfileApplyPolicy, + ClientProfileClientConfiguration, + ) + + client = Auth0( + token="YOUR_TOKEN", + ) + client.client_profiles.create( + name="name", + client_configuration=ClientProfileClientConfiguration(), + apply_policy=ClientProfileApplyPolicy( + external_metadata_type="cimd", + external_metadata_created_by="client", + ), + ) + """ + _response = self._raw_client.create( + name=name, + client_configuration=client_configuration, + apply_policy=apply_policy, + description=description, + request_options=request_options, + ) + return _response.data + + def get(self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None) -> ClientProfile: + """ + Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID exists for the tenant. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Record for existing client profile. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.client_profiles.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.client_profiles.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: ClientProfileId, + *, + name: typing.Optional[ClientProfileName] = OMIT, + description: typing.Optional[ClientProfileDescription] = OMIT, + client_configuration: typing.Optional[ClientProfileClientConfiguration] = OMIT, + apply_policy: typing.Optional[ClientProfileApplyPolicy] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> ClientProfile: + """ + Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as client_configuration must be supplied in full. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + name : typing.Optional[ClientProfileName] + + description : typing.Optional[ClientProfileDescription] + + client_configuration : typing.Optional[ClientProfileClientConfiguration] + + apply_policy : typing.Optional[ClientProfileApplyPolicy] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Client profile successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.client_profiles.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, + name=name, + description=description, + client_configuration=client_configuration, + apply_policy=apply_policy, + request_options=request_options, + ) + return _response.data + + +class AsyncClientProfilesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawClientProfilesClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawClientProfilesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawClientProfilesClient + """ + return self._raw_client + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent]: + """ + Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the next cursor from a previous response as the from query parameter to retrieve the following page. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent] + Client profiles successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.client_profiles.list( + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(from_=from_, take=take, request_options=request_options) + + async def create( + self, + *, + name: ClientProfileName, + client_configuration: ClientProfileClientConfiguration, + apply_policy: ClientProfileApplyPolicy, + description: typing.Optional[ClientProfileDescription] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> ClientProfile: + """ + Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime. + + Parameters + ---------- + name : ClientProfileName + + client_configuration : ClientProfileClientConfiguration + + apply_policy : ClientProfileApplyPolicy + + description : typing.Optional[ClientProfileDescription] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Client profile successfully created. + + Examples + -------- + import asyncio + + from auth0 import ( + AsyncAuth0, + ClientProfileApplyPolicy, + ClientProfileClientConfiguration, + ) + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.client_profiles.create( + name="name", + client_configuration=ClientProfileClientConfiguration(), + apply_policy=ClientProfileApplyPolicy( + external_metadata_type="cimd", + external_metadata_created_by="client", + ), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, + client_configuration=client_configuration, + apply_policy=apply_policy, + description=description, + request_options=request_options, + ) + return _response.data + + async def get( + self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None + ) -> ClientProfile: + """ + Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID exists for the tenant. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Record for existing client profile. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.client_profiles.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.client_profiles.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: ClientProfileId, + *, + name: typing.Optional[ClientProfileName] = OMIT, + description: typing.Optional[ClientProfileDescription] = OMIT, + client_configuration: typing.Optional[ClientProfileClientConfiguration] = OMIT, + apply_policy: typing.Optional[ClientProfileApplyPolicy] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> ClientProfile: + """ + Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as client_configuration must be supplied in full. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + name : typing.Optional[ClientProfileName] + + description : typing.Optional[ClientProfileDescription] + + client_configuration : typing.Optional[ClientProfileClientConfiguration] + + apply_policy : typing.Optional[ClientProfileApplyPolicy] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ClientProfile + Client profile successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.client_profiles.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, + name=name, + description=description, + client_configuration=client_configuration, + apply_policy=apply_policy, + request_options=request_options, + ) + return _response.data diff --git a/src/auth0/management/client_profiles/raw_client.py b/src/auth0/management/client_profiles/raw_client.py new file mode 100644 index 00000000..e8a484f5 --- /dev/null +++ b/src/auth0/management/client_profiles/raw_client.py @@ -0,0 +1,1110 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ..core.api_error import ApiError +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.jsonable_encoder import quote_path_param +from ..core.pagination import AsyncPager, SyncPager +from ..core.parse_error import ParsingError +from ..core.pydantic_utilities import parse_obj_as +from ..core.request_options import RequestOptions +from ..core.serialization import convert_and_respect_annotation_metadata +from ..errors.bad_request_error import BadRequestError +from ..errors.conflict_error import ConflictError +from ..errors.forbidden_error import ForbiddenError +from ..errors.not_found_error import NotFoundError +from ..errors.too_many_requests_error import TooManyRequestsError +from ..errors.unauthorized_error import UnauthorizedError +from ..types.client_profile import ClientProfile +from ..types.client_profile_apply_policy import ClientProfileApplyPolicy +from ..types.client_profile_client_configuration import ClientProfileClientConfiguration +from ..types.client_profile_description import ClientProfileDescription +from ..types.client_profile_id import ClientProfileId +from ..types.client_profile_name import ClientProfileName +from ..types.list_client_profiles_paginated_response_content import ListClientProfilesPaginatedResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawClientProfilesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent]: + """ + Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the next cursor from a previous response as the from query parameter to retrieve the following page. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent] + Client profiles successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "client-profiles", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListClientProfilesPaginatedResponseContent, + parse_obj_as( + type_=ListClientProfilesPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.client_profiles + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: ClientProfileName, + client_configuration: ClientProfileClientConfiguration, + apply_policy: ClientProfileApplyPolicy, + description: typing.Optional[ClientProfileDescription] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ClientProfile]: + """ + Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime. + + Parameters + ---------- + name : ClientProfileName + + client_configuration : ClientProfileClientConfiguration + + apply_policy : ClientProfileApplyPolicy + + description : typing.Optional[ClientProfileDescription] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ClientProfile] + Client profile successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "client-profiles", + method="POST", + json={ + "name": name, + "description": description, + "client_configuration": convert_and_respect_annotation_metadata( + object_=client_configuration, annotation=ClientProfileClientConfiguration, direction="write" + ), + "apply_policy": convert_and_respect_annotation_metadata( + object_=apply_policy, annotation=ClientProfileApplyPolicy, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ClientProfile]: + """ + Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID exists for the tenant. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ClientProfile] + Record for existing client profile. + """ + _response = self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete( + self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[None]: + """ + Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: ClientProfileId, + *, + name: typing.Optional[ClientProfileName] = OMIT, + description: typing.Optional[ClientProfileDescription] = OMIT, + client_configuration: typing.Optional[ClientProfileClientConfiguration] = OMIT, + apply_policy: typing.Optional[ClientProfileApplyPolicy] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ClientProfile]: + """ + Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as client_configuration must be supplied in full. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + name : typing.Optional[ClientProfileName] + + description : typing.Optional[ClientProfileDescription] + + client_configuration : typing.Optional[ClientProfileClientConfiguration] + + apply_policy : typing.Optional[ClientProfileApplyPolicy] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ClientProfile] + Client profile successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "client_configuration": convert_and_respect_annotation_metadata( + object_=client_configuration, annotation=ClientProfileClientConfiguration, direction="write" + ), + "apply_policy": convert_and_respect_annotation_metadata( + object_=apply_policy, annotation=ClientProfileApplyPolicy, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawClientProfilesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent]: + """ + Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the next cursor from a previous response as the from query parameter to retrieve the following page. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientProfile, ListClientProfilesPaginatedResponseContent] + Client profiles successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "client-profiles", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListClientProfilesPaginatedResponseContent, + parse_obj_as( + type_=ListClientProfilesPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.client_profiles + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: ClientProfileName, + client_configuration: ClientProfileClientConfiguration, + apply_policy: ClientProfileApplyPolicy, + description: typing.Optional[ClientProfileDescription] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ClientProfile]: + """ + Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime. + + Parameters + ---------- + name : ClientProfileName + + client_configuration : ClientProfileClientConfiguration + + apply_policy : ClientProfileApplyPolicy + + description : typing.Optional[ClientProfileDescription] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ClientProfile] + Client profile successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "client-profiles", + method="POST", + json={ + "name": name, + "description": description, + "client_configuration": convert_and_respect_annotation_metadata( + object_=client_configuration, annotation=ClientProfileClientConfiguration, direction="write" + ), + "apply_policy": convert_and_respect_annotation_metadata( + object_=apply_policy, annotation=ClientProfileApplyPolicy, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ClientProfile]: + """ + Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID exists for the tenant. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ClientProfile] + Record for existing client profile. + """ + _response = await self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: ClientProfileId, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: ClientProfileId, + *, + name: typing.Optional[ClientProfileName] = OMIT, + description: typing.Optional[ClientProfileDescription] = OMIT, + client_configuration: typing.Optional[ClientProfileClientConfiguration] = OMIT, + apply_policy: typing.Optional[ClientProfileApplyPolicy] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ClientProfile]: + """ + Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as client_configuration must be supplied in full. + + Parameters + ---------- + id : ClientProfileId + ID of the client profile. + + name : typing.Optional[ClientProfileName] + + description : typing.Optional[ClientProfileDescription] + + client_configuration : typing.Optional[ClientProfileClientConfiguration] + + apply_policy : typing.Optional[ClientProfileApplyPolicy] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ClientProfile] + Client profile successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"client-profiles/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "client_configuration": convert_and_respect_annotation_metadata( + object_=client_configuration, annotation=ClientProfileClientConfiguration, direction="write" + ), + "apply_policy": convert_and_respect_annotation_metadata( + object_=apply_policy, annotation=ClientProfileApplyPolicy, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ClientProfile, + parse_obj_as( + type_=ClientProfile, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/clients/client.py b/src/auth0/management/clients/client.py index c5848d9b..c1d0b5bd 100644 --- a/src/auth0/management/clients/client.py +++ b/src/auth0/management/clients/client.py @@ -7,8 +7,12 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.pagination import AsyncPager, SyncPager from ..core.request_options import RequestOptions +from ..types.b_2_b_integration_configuration import B2BIntegrationConfiguration from ..types.client import Client from ..types.client_addons import ClientAddons +from ..types.client_anonymous_session_transfer_network_binding_enum import ( + ClientAnonymousSessionTransferNetworkBindingEnum, +) from ..types.client_app_type_enum import ClientAppTypeEnum from ..types.client_async_approval_notifications_channels_api_patch_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration, @@ -27,6 +31,8 @@ from ..types.client_my_organization_patch_configuration import ClientMyOrganizationPatchConfiguration from ..types.client_my_organization_post_configuration import ClientMyOrganizationPostConfiguration from ..types.client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from ..types.client_oidc_support_patch import ClientOidcSupportPatch +from ..types.client_oidc_support_post import ClientOidcSupportPost from ..types.client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from ..types.client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from ..types.client_organization_require_behavior_patch_enum import ClientOrganizationRequireBehaviorPatchEnum @@ -34,9 +40,11 @@ from ..types.client_organization_usage_patch_enum import ClientOrganizationUsagePatchEnum from ..types.client_redirection_policy_enum import ClientRedirectionPolicyEnum from ..types.client_refresh_token_configuration import ClientRefreshTokenConfiguration +from ..types.client_search_response import ClientSearchResponse from ..types.client_session_transfer_configuration import ClientSessionTransferConfiguration from ..types.client_signed_request_object_with_credential_id import ClientSignedRequestObjectWithCredentialId from ..types.client_signed_request_object_with_public_key import ClientSignedRequestObjectWithPublicKey +from ..types.client_sort_field_enum import ClientSortFieldEnum from ..types.client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum from ..types.client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum from ..types.client_token_endpoint_auth_method_or_null_enum import ClientTokenEndpointAuthMethodOrNullEnum @@ -46,20 +54,28 @@ ClientTokenVaultPrivilegedAccessWithCredentialId, ) from ..types.client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey +from ..types.create_anonymous_sessions import CreateAnonymousSessions from ..types.create_client_response_content import CreateClientResponseContent +from ..types.create_identity_assertion_authorization_grant import CreateIdentityAssertionAuthorizationGrant from ..types.create_token_quota import CreateTokenQuota from ..types.express_configuration import ExpressConfiguration from ..types.express_configuration_or_null import ExpressConfigurationOrNull from ..types.fed_cm_login import FedCmLogin from ..types.fed_cm_login_patch import FedCmLoginPatch from ..types.get_client_response_content import GetClientResponseContent +from ..types.google_account_linking_configuration_create import GoogleAccountLinkingConfigurationCreate +from ..types.google_account_linking_configuration_or_null import GoogleAccountLinkingConfigurationOrNull from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent from ..types.native_social_login import NativeSocialLogin from ..types.native_social_login_patch import NativeSocialLoginPatch from ..types.preview_cimd_metadata_response_content import PreviewCimdMetadataResponseContent from ..types.register_cimd_client_response_content import RegisterCimdClientResponseContent from ..types.rotate_client_secret_response_content import RotateClientSecretResponseContent +from ..types.search_clients_response_content import SearchClientsResponseContent +from ..types.search_parser_enum import SearchParserEnum +from ..types.update_anonymous_sessions import UpdateAnonymousSessions from ..types.update_client_response_content import UpdateClientResponseContent +from ..types.update_identity_assertion_authorization_grant import UpdateIdentityAssertionAuthorizationGrant from ..types.update_token_quota import UpdateTokenQuota from .raw_client import AsyncRawClientsClient, RawClientsClient @@ -100,6 +116,7 @@ def list( is_first_party: typing.Optional[bool] = None, app_type: typing.Optional[str] = None, external_client_id: typing.Optional[str] = None, + agent_id: typing.Optional[str] = None, q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Client, ListClientsOffsetPaginatedResponseContent]: @@ -117,7 +134,7 @@ def list( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -157,7 +174,10 @@ def list( Optional filter by a comma-separated list of application types. external_client_id : typing.Optional[str] - Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + + agent_id : typing.Optional[str] + Optional filter by the agent associated with the client.
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Only fields, include_fields, page, per_page, and include_totals are supported alongside it
  • Checkpoint pagination (from, take) is not supported
q : typing.Optional[str] Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results @@ -187,6 +207,7 @@ def list( is_first_party=True, app_type="app_type", external_client_id="external_client_id", + agent_id="agent_id", q="q", ) for item in response: @@ -205,6 +226,7 @@ def list( is_first_party=is_first_party, app_type=app_type, external_client_id=external_client_id, + agent_id=agent_id, q=q, request_options=request_options, ) @@ -262,13 +284,22 @@ def create( par_request_expiry: typing.Optional[int] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, resource_server_identifier: typing.Optional[str] = OMIT, + identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, express_configuration: typing.Optional[ExpressConfiguration] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationCreate] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration ] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPost] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateClientResponseContent: """ @@ -420,16 +451,31 @@ def create( resource_server_identifier : typing.Optional[str] The identifier of the resource server that this client is linked to. + identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[CreateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] express_configuration : typing.Optional[ExpressConfiguration] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationCreate] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration] + agent_id : typing.Optional[str] + ID of the agent to associate with this client. + + oidc_support : typing.Optional[ClientOidcSupportPost] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -500,11 +546,18 @@ def create( par_request_expiry=par_request_expiry, token_quota=token_quota, resource_server_identifier=resource_server_identifier, + identity_assertion_authorization_grant=identity_assertion_authorization_grant, + anonymous_sessions=anonymous_sessions, + enforce_anon_session_transfer_network_binding=enforce_anon_session_transfer_network_binding, third_party_security_mode=third_party_security_mode, redirection_policy=redirection_policy, express_configuration=express_configuration, + b_2_b_integration_configuration=b_2_b_integration_configuration, my_organization_configuration=my_organization_configuration, + google_account_linking=google_account_linking, async_approval_notification_channels=async_approval_notification_channels, + agent_id=agent_id, + oidc_support=oidc_support, request_options=request_options, ) return _response.data @@ -593,6 +646,96 @@ def register_cimd_client( ) return _response.data + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientSearchResponse, SearchClientsResponseContent]: + """ + Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. + Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). + This endpoint provides an alternative to the standard GET /clients endpoint with better performance + for complex queries. Results may not reflect recent updates immediately. + + - This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and `read:client_credentials` scopes are not supported. + - The following fields are never returned by this endpoint: + - `client_secret` + - `encryption_key` + - `signing_keys` + - `owners` + - `addons` + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "Auth0"`, `name sw "auth" and app_type eq "spa"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • client_id - Auth0 client ID (case-sensitive, exact match)
  • external_client_id - URL of the Client ID Metadata Document (CIMD); case-sensitive, exact match
  • name - Client name (supports contains, starts-with, ends-with operators; sortable)
  • app_type - Application type (e.g. "spa", "native", "non_interactive")
  • is_first_party - Whether the client is first-party (boolean)
  • updated_at - Last update timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by client metadata key-value pairs (max 2-level key depth, values indexed up to 64 characters)
  • client_grant.organization_id - Filter by associated organization ID
  • client_grant.allow_any_organization - Filter by allow any organization setting
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. Maximum 50 fields. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientSearchResponse, SearchClientsResponseContent] + Clients successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.clients.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="name", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + def get( self, id: str, @@ -615,7 +758,7 @@ def get( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -727,6 +870,11 @@ def update( custom_login_page: typing.Optional[str] = OMIT, custom_login_page_preview: typing.Optional[str] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, form_template: typing.Optional[str] = OMIT, addons: typing.Optional[ClientAddons] = OMIT, client_metadata: typing.Optional[ClientMetadata] = OMIT, @@ -749,12 +897,16 @@ def update( token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT, par_request_expiry: typing.Optional[int] = OMIT, express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationOrNull] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPatch] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateClientResponseContent: """ @@ -854,6 +1006,12 @@ def update( token_quota : typing.Optional[UpdateTokenQuota] + identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[UpdateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + form_template : typing.Optional[str] Form template for WS-Federation protocol @@ -908,14 +1066,23 @@ def update( express_configuration : typing.Optional[ExpressConfigurationOrNull] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationOrNull] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration] third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] + agent_id : typing.Optional[str] + ID of the agent to associate with this client, or null to remove the association. + + oidc_support : typing.Optional[ClientOidcSupportPatch] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -966,6 +1133,9 @@ def update( custom_login_page=custom_login_page, custom_login_page_preview=custom_login_page_preview, token_quota=token_quota, + identity_assertion_authorization_grant=identity_assertion_authorization_grant, + anonymous_sessions=anonymous_sessions, + enforce_anon_session_transfer_network_binding=enforce_anon_session_transfer_network_binding, form_template=form_template, addons=addons, client_metadata=client_metadata, @@ -988,10 +1158,14 @@ def update( token_exchange=token_exchange, par_request_expiry=par_request_expiry, express_configuration=express_configuration, + b_2_b_integration_configuration=b_2_b_integration_configuration, my_organization_configuration=my_organization_configuration, + google_account_linking=google_account_linking, async_approval_notification_channels=async_approval_notification_channels, third_party_security_mode=third_party_security_mode, redirection_policy=redirection_policy, + agent_id=agent_id, + oidc_support=oidc_support, request_options=request_options, ) return _response.data @@ -1080,6 +1254,7 @@ async def list( is_first_party: typing.Optional[bool] = None, app_type: typing.Optional[str] = None, external_client_id: typing.Optional[str] = None, + agent_id: typing.Optional[str] = None, q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Client, ListClientsOffsetPaginatedResponseContent]: @@ -1097,7 +1272,7 @@ async def list( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -1137,7 +1312,10 @@ async def list( Optional filter by a comma-separated list of application types. external_client_id : typing.Optional[str] - Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + + agent_id : typing.Optional[str] + Optional filter by the agent associated with the client.
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Only fields, include_fields, page, per_page, and include_totals are supported alongside it
  • Checkpoint pagination (from, take) is not supported
q : typing.Optional[str] Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results @@ -1172,6 +1350,7 @@ async def main() -> None: is_first_party=True, app_type="app_type", external_client_id="external_client_id", + agent_id="agent_id", q="q", ) async for item in response: @@ -1194,6 +1373,7 @@ async def main() -> None: is_first_party=is_first_party, app_type=app_type, external_client_id=external_client_id, + agent_id=agent_id, q=q, request_options=request_options, ) @@ -1251,13 +1431,22 @@ async def create( par_request_expiry: typing.Optional[int] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, resource_server_identifier: typing.Optional[str] = OMIT, + identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, express_configuration: typing.Optional[ExpressConfiguration] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationCreate] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration ] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPost] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateClientResponseContent: """ @@ -1409,16 +1598,31 @@ async def create( resource_server_identifier : typing.Optional[str] The identifier of the resource server that this client is linked to. + identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[CreateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] express_configuration : typing.Optional[ExpressConfiguration] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationCreate] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration] + agent_id : typing.Optional[str] + ID of the agent to associate with this client. + + oidc_support : typing.Optional[ClientOidcSupportPost] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1497,11 +1701,18 @@ async def main() -> None: par_request_expiry=par_request_expiry, token_quota=token_quota, resource_server_identifier=resource_server_identifier, + identity_assertion_authorization_grant=identity_assertion_authorization_grant, + anonymous_sessions=anonymous_sessions, + enforce_anon_session_transfer_network_binding=enforce_anon_session_transfer_network_binding, third_party_security_mode=third_party_security_mode, redirection_policy=redirection_policy, express_configuration=express_configuration, + b_2_b_integration_configuration=b_2_b_integration_configuration, my_organization_configuration=my_organization_configuration, + google_account_linking=google_account_linking, async_approval_notification_channels=async_approval_notification_channels, + agent_id=agent_id, + oidc_support=oidc_support, request_options=request_options, ) return _response.data @@ -1606,6 +1817,105 @@ async def main() -> None: ) return _response.data + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientSearchResponse, SearchClientsResponseContent]: + """ + Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. + Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). + This endpoint provides an alternative to the standard GET /clients endpoint with better performance + for complex queries. Results may not reflect recent updates immediately. + + - This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and `read:client_credentials` scopes are not supported. + - The following fields are never returned by this endpoint: + - `client_secret` + - `encryption_key` + - `signing_keys` + - `owners` + - `addons` + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "Auth0"`, `name sw "auth" and app_type eq "spa"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • client_id - Auth0 client ID (case-sensitive, exact match)
  • external_client_id - URL of the Client ID Metadata Document (CIMD); case-sensitive, exact match
  • name - Client name (supports contains, starts-with, ends-with operators; sortable)
  • app_type - Application type (e.g. "spa", "native", "non_interactive")
  • is_first_party - Whether the client is first-party (boolean)
  • updated_at - Last update timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by client metadata key-value pairs (max 2-level key depth, values indexed up to 64 characters)
  • client_grant.organization_id - Filter by associated organization ID
  • client_grant.allow_any_organization - Filter by allow any organization setting
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. Maximum 50 fields. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientSearchResponse, SearchClientsResponseContent] + Clients successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.clients.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="name", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + async def get( self, id: str, @@ -1628,7 +1938,7 @@ async def get( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -1756,6 +2066,11 @@ async def update( custom_login_page: typing.Optional[str] = OMIT, custom_login_page_preview: typing.Optional[str] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, form_template: typing.Optional[str] = OMIT, addons: typing.Optional[ClientAddons] = OMIT, client_metadata: typing.Optional[ClientMetadata] = OMIT, @@ -1778,12 +2093,16 @@ async def update( token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT, par_request_expiry: typing.Optional[int] = OMIT, express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationOrNull] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPatch] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateClientResponseContent: """ @@ -1883,6 +2202,12 @@ async def update( token_quota : typing.Optional[UpdateTokenQuota] + identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[UpdateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + form_template : typing.Optional[str] Form template for WS-Federation protocol @@ -1937,14 +2262,23 @@ async def update( express_configuration : typing.Optional[ExpressConfigurationOrNull] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationOrNull] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration] third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] + agent_id : typing.Optional[str] + ID of the agent to associate with this client, or null to remove the association. + + oidc_support : typing.Optional[ClientOidcSupportPatch] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -2003,6 +2337,9 @@ async def main() -> None: custom_login_page=custom_login_page, custom_login_page_preview=custom_login_page_preview, token_quota=token_quota, + identity_assertion_authorization_grant=identity_assertion_authorization_grant, + anonymous_sessions=anonymous_sessions, + enforce_anon_session_transfer_network_binding=enforce_anon_session_transfer_network_binding, form_template=form_template, addons=addons, client_metadata=client_metadata, @@ -2025,10 +2362,14 @@ async def main() -> None: token_exchange=token_exchange, par_request_expiry=par_request_expiry, express_configuration=express_configuration, + b_2_b_integration_configuration=b_2_b_integration_configuration, my_organization_configuration=my_organization_configuration, + google_account_linking=google_account_linking, async_approval_notification_channels=async_approval_notification_channels, third_party_security_mode=third_party_security_mode, redirection_policy=redirection_policy, + agent_id=agent_id, + oidc_support=oidc_support, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/clients/connections/raw_client.py b/src/auth0/management/clients/connections/raw_client.py index 02efc71a..f74240e8 100644 --- a/src/auth0/management/clients/connections/raw_client.py +++ b/src/auth0/management/clients/connections/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -71,7 +71,7 @@ def get( Success """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}/connections", + f"clients/{quote_path_param(id)}/connections", method="GET", params={ "strategy": strategy, @@ -219,7 +219,7 @@ async def get( Success """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}/connections", + f"clients/{quote_path_param(id)}/connections", method="GET", params={ "strategy": strategy, diff --git a/src/auth0/management/clients/credentials/raw_client.py b/src/auth0/management/clients/credentials/raw_client.py index 2da62c66..bc41108b 100644 --- a/src/auth0/management/clients/credentials/raw_client.py +++ b/src/auth0/management/clients/credentials/raw_client.py @@ -7,7 +7,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -54,7 +54,7 @@ def list( Credentials successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials", + f"clients/{quote_path_param(client_id)}/credentials", method="GET", request_options=request_options, ) @@ -230,7 +230,7 @@ def create( Credential successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials", + f"clients/{quote_path_param(client_id)}/credentials", method="POST", json={ "credential_type": credential_type, @@ -347,7 +347,7 @@ def get( Credential successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="GET", request_options=request_options, ) @@ -436,7 +436,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="DELETE", request_options=request_options, ) @@ -527,7 +527,7 @@ def update( Credential successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="PATCH", json={ "expires_at": expires_at, @@ -639,7 +639,7 @@ async def list( Credentials successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials", + f"clients/{quote_path_param(client_id)}/credentials", method="GET", request_options=request_options, ) @@ -815,7 +815,7 @@ async def create( Credential successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials", + f"clients/{quote_path_param(client_id)}/credentials", method="POST", json={ "credential_type": credential_type, @@ -932,7 +932,7 @@ async def get( Credential successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="GET", request_options=request_options, ) @@ -1021,7 +1021,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="DELETE", request_options=request_options, ) @@ -1112,7 +1112,7 @@ async def update( Credential successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(client_id)}/credentials/{encode_path_param(credential_id)}", + f"clients/{quote_path_param(client_id)}/credentials/{quote_path_param(credential_id)}", method="PATCH", json={ "expires_at": expires_at, diff --git a/src/auth0/management/clients/raw_client.py b/src/auth0/management/clients/raw_client.py index b6580517..218baffc 100644 --- a/src/auth0/management/clients/raw_client.py +++ b/src/auth0/management/clients/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -15,12 +15,17 @@ from ..errors.bad_request_error import BadRequestError from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError +from ..errors.gateway_timeout_error import GatewayTimeoutError from ..errors.internal_server_error import InternalServerError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError +from ..types.b_2_b_integration_configuration import B2BIntegrationConfiguration from ..types.client import Client from ..types.client_addons import ClientAddons +from ..types.client_anonymous_session_transfer_network_binding_enum import ( + ClientAnonymousSessionTransferNetworkBindingEnum, +) from ..types.client_app_type_enum import ClientAppTypeEnum from ..types.client_async_approval_notifications_channels_api_patch_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration, @@ -39,6 +44,8 @@ from ..types.client_my_organization_patch_configuration import ClientMyOrganizationPatchConfiguration from ..types.client_my_organization_post_configuration import ClientMyOrganizationPostConfiguration from ..types.client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from ..types.client_oidc_support_patch import ClientOidcSupportPatch +from ..types.client_oidc_support_post import ClientOidcSupportPost from ..types.client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from ..types.client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from ..types.client_organization_require_behavior_patch_enum import ClientOrganizationRequireBehaviorPatchEnum @@ -46,9 +53,11 @@ from ..types.client_organization_usage_patch_enum import ClientOrganizationUsagePatchEnum from ..types.client_redirection_policy_enum import ClientRedirectionPolicyEnum from ..types.client_refresh_token_configuration import ClientRefreshTokenConfiguration +from ..types.client_search_response import ClientSearchResponse from ..types.client_session_transfer_configuration import ClientSessionTransferConfiguration from ..types.client_signed_request_object_with_credential_id import ClientSignedRequestObjectWithCredentialId from ..types.client_signed_request_object_with_public_key import ClientSignedRequestObjectWithPublicKey +from ..types.client_sort_field_enum import ClientSortFieldEnum from ..types.client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum from ..types.client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum from ..types.client_token_endpoint_auth_method_or_null_enum import ClientTokenEndpointAuthMethodOrNullEnum @@ -58,20 +67,28 @@ ClientTokenVaultPrivilegedAccessWithCredentialId, ) from ..types.client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey +from ..types.create_anonymous_sessions import CreateAnonymousSessions from ..types.create_client_response_content import CreateClientResponseContent +from ..types.create_identity_assertion_authorization_grant import CreateIdentityAssertionAuthorizationGrant from ..types.create_token_quota import CreateTokenQuota from ..types.express_configuration import ExpressConfiguration from ..types.express_configuration_or_null import ExpressConfigurationOrNull from ..types.fed_cm_login import FedCmLogin from ..types.fed_cm_login_patch import FedCmLoginPatch from ..types.get_client_response_content import GetClientResponseContent +from ..types.google_account_linking_configuration_create import GoogleAccountLinkingConfigurationCreate +from ..types.google_account_linking_configuration_or_null import GoogleAccountLinkingConfigurationOrNull from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent from ..types.native_social_login import NativeSocialLogin from ..types.native_social_login_patch import NativeSocialLoginPatch from ..types.preview_cimd_metadata_response_content import PreviewCimdMetadataResponseContent from ..types.register_cimd_client_response_content import RegisterCimdClientResponseContent from ..types.rotate_client_secret_response_content import RotateClientSecretResponseContent +from ..types.search_clients_response_content import SearchClientsResponseContent +from ..types.search_parser_enum import SearchParserEnum +from ..types.update_anonymous_sessions import UpdateAnonymousSessions from ..types.update_client_response_content import UpdateClientResponseContent +from ..types.update_identity_assertion_authorization_grant import UpdateIdentityAssertionAuthorizationGrant from ..types.update_token_quota import UpdateTokenQuota from pydantic import ValidationError @@ -95,6 +112,7 @@ def list( is_first_party: typing.Optional[bool] = None, app_type: typing.Optional[str] = None, external_client_id: typing.Optional[str] = None, + agent_id: typing.Optional[str] = None, q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Client, ListClientsOffsetPaginatedResponseContent]: @@ -112,7 +130,7 @@ def list( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -152,7 +170,10 @@ def list( Optional filter by a comma-separated list of application types. external_client_id : typing.Optional[str] - Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + + agent_id : typing.Optional[str] + Optional filter by the agent associated with the client.
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Only fields, include_fields, page, per_page, and include_totals are supported alongside it
  • Checkpoint pagination (from, take) is not supported
q : typing.Optional[str] Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results @@ -180,6 +201,7 @@ def list( "is_first_party": is_first_party, "app_type": app_type, "external_client_id": external_client_id, + "agent_id": agent_id, "q": q, }, request_options=request_options, @@ -194,7 +216,7 @@ def list( ), ) _items = _parsed_response.clients - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( fields=fields, include_fields=include_fields, @@ -205,6 +227,7 @@ def list( is_first_party=is_first_party, app_type=app_type, external_client_id=external_client_id, + agent_id=agent_id, q=q, request_options=request_options, ) @@ -315,13 +338,22 @@ def create( par_request_expiry: typing.Optional[int] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, resource_server_identifier: typing.Optional[str] = OMIT, + identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, express_configuration: typing.Optional[ExpressConfiguration] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationCreate] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration ] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPost] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateClientResponseContent]: """ @@ -473,16 +505,31 @@ def create( resource_server_identifier : typing.Optional[str] The identifier of the resource server that this client is linked to. + identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[CreateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] express_configuration : typing.Optional[ExpressConfiguration] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationCreate] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration] + agent_id : typing.Optional[str] + ID of the agent to associate with this client. + + oidc_support : typing.Optional[ClientOidcSupportPost] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -587,17 +634,38 @@ def create( object_=token_quota, annotation=CreateTokenQuota, direction="write" ), "resource_server_identifier": resource_server_identifier, + "identity_assertion_authorization_grant": convert_and_respect_annotation_metadata( + object_=identity_assertion_authorization_grant, + annotation=CreateIdentityAssertionAuthorizationGrant, + direction="write", + ), + "anonymous_sessions": convert_and_respect_annotation_metadata( + object_=anonymous_sessions, annotation=CreateAnonymousSessions, direction="write" + ), + "enforce_anon_session_transfer_network_binding": enforce_anon_session_transfer_network_binding, "third_party_security_mode": third_party_security_mode, "redirection_policy": redirection_policy, "express_configuration": convert_and_respect_annotation_metadata( object_=express_configuration, annotation=ExpressConfiguration, direction="write" ), + "b2b_integration_configuration": convert_and_respect_annotation_metadata( + object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write" + ), "my_organization_configuration": convert_and_respect_annotation_metadata( object_=my_organization_configuration, annotation=ClientMyOrganizationPostConfiguration, direction="write", ), + "google_account_linking": convert_and_respect_annotation_metadata( + object_=google_account_linking, + annotation=GoogleAccountLinkingConfigurationCreate, + direction="write", + ), "async_approval_notification_channels": async_approval_notification_channels, + "agent_id": agent_id, + "oidc_support": convert_and_respect_annotation_metadata( + object_=oidc_support, annotation=ClientOidcSupportPost, direction="write" + ), }, headers={ "content-type": "application/json", @@ -883,6 +951,186 @@ def register_cimd_client( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ClientSearchResponse, SearchClientsResponseContent]: + """ + Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. + Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). + This endpoint provides an alternative to the standard GET /clients endpoint with better performance + for complex queries. Results may not reflect recent updates immediately. + + - This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and `read:client_credentials` scopes are not supported. + - The following fields are never returned by this endpoint: + - `client_secret` + - `encryption_key` + - `signing_keys` + - `owners` + - `addons` + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "Auth0"`, `name sw "auth" and app_type eq "spa"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • client_id - Auth0 client ID (case-sensitive, exact match)
  • external_client_id - URL of the Client ID Metadata Document (CIMD); case-sensitive, exact match
  • name - Client name (supports contains, starts-with, ends-with operators; sortable)
  • app_type - Application type (e.g. "spa", "native", "non_interactive")
  • is_first_party - Whether the client is first-party (boolean)
  • updated_at - Last update timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by client metadata key-value pairs (max 2-level key depth, values indexed up to 64 characters)
  • client_grant.organization_id - Filter by associated organization ID
  • client_grant.allow_any_organization - Filter by allow any organization setting
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. Maximum 50 fields. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ClientSearchResponse, SearchClientsResponseContent] + Clients successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "clients/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchClientsResponseContent, + parse_obj_as( + type_=SearchClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.clients + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -905,6 +1153,17 @@ def register_cimd_client( ), ), ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -936,7 +1195,7 @@ def get( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -968,7 +1227,7 @@ def get( Client successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -1067,7 +1326,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1160,6 +1419,11 @@ def update( custom_login_page: typing.Optional[str] = OMIT, custom_login_page_preview: typing.Optional[str] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, form_template: typing.Optional[str] = OMIT, addons: typing.Optional[ClientAddons] = OMIT, client_metadata: typing.Optional[ClientMetadata] = OMIT, @@ -1182,12 +1446,16 @@ def update( token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT, par_request_expiry: typing.Optional[int] = OMIT, express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationOrNull] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPatch] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateClientResponseContent]: """ @@ -1287,6 +1555,12 @@ def update( token_quota : typing.Optional[UpdateTokenQuota] + identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[UpdateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + form_template : typing.Optional[str] Form template for WS-Federation protocol @@ -1341,14 +1615,23 @@ def update( express_configuration : typing.Optional[ExpressConfigurationOrNull] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationOrNull] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration] third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] + agent_id : typing.Optional[str] + ID of the agent to associate with this client, or null to remove the association. + + oidc_support : typing.Optional[ClientOidcSupportPatch] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1358,7 +1641,7 @@ def update( Client successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1404,6 +1687,15 @@ def update( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=typing.Optional[UpdateTokenQuota], direction="write" ), + "identity_assertion_authorization_grant": convert_and_respect_annotation_metadata( + object_=identity_assertion_authorization_grant, + annotation=typing.Optional[UpdateIdentityAssertionAuthorizationGrant], + direction="write", + ), + "anonymous_sessions": convert_and_respect_annotation_metadata( + object_=anonymous_sessions, annotation=typing.Optional[UpdateAnonymousSessions], direction="write" + ), + "enforce_anon_session_transfer_network_binding": enforce_anon_session_transfer_network_binding, "form_template": form_template, "addons": convert_and_respect_annotation_metadata( object_=addons, annotation=ClientAddons, direction="write" @@ -1462,14 +1754,26 @@ def update( annotation=typing.Optional[ExpressConfigurationOrNull], direction="write", ), + "b2b_integration_configuration": convert_and_respect_annotation_metadata( + object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write" + ), "my_organization_configuration": convert_and_respect_annotation_metadata( object_=my_organization_configuration, annotation=typing.Optional[ClientMyOrganizationPatchConfiguration], direction="write", ), + "google_account_linking": convert_and_respect_annotation_metadata( + object_=google_account_linking, + annotation=typing.Optional[GoogleAccountLinkingConfigurationOrNull], + direction="write", + ), "async_approval_notification_channels": async_approval_notification_channels, "third_party_security_mode": third_party_security_mode, "redirection_policy": redirection_policy, + "agent_id": agent_id, + "oidc_support": convert_and_respect_annotation_metadata( + object_=oidc_support, annotation=typing.Optional[ClientOidcSupportPatch], direction="write" + ), }, headers={ "content-type": "application/json", @@ -1575,7 +1879,7 @@ def rotate_secret( Secret successfully rotated. """ _response = self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}/rotate-secret", + f"clients/{quote_path_param(id)}/rotate-secret", method="POST", request_options=request_options, ) @@ -1670,6 +1974,7 @@ async def list( is_first_party: typing.Optional[bool] = None, app_type: typing.Optional[str] = None, external_client_id: typing.Optional[str] = None, + agent_id: typing.Optional[str] = None, q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Client, ListClientsOffsetPaginatedResponseContent]: @@ -1687,7 +1992,7 @@ async def list( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -1727,7 +2032,10 @@ async def list( Optional filter by a comma-separated list of application types. external_client_id : typing.Optional[str] - Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + Optional filter by the Client ID Metadata Document URI for CIMD-registered clients. + + agent_id : typing.Optional[str] + Optional filter by the agent associated with the client.
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Only fields, include_fields, page, per_page, and include_totals are supported alongside it
  • Checkpoint pagination (from, take) is not supported
q : typing.Optional[str] Advanced Query in Lucene syntax.
Permitted Queries:
  • client_grant.organization_id:{organization_id}
  • client_grant.allow_any_organization:true
Additional Restrictions:
  • Cannot be used in combination with other filters
  • Requires use of the from and take paging parameters (checkpoint paginatinon)
  • Reduced rate limits apply. See Rate Limit Configurations
Note: Recent updates may not be immediately reflected in query results @@ -1755,6 +2063,7 @@ async def list( "is_first_party": is_first_party, "app_type": app_type, "external_client_id": external_client_id, + "agent_id": agent_id, "q": q, }, request_options=request_options, @@ -1769,7 +2078,7 @@ async def list( ), ) _items = _parsed_response.clients - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1782,6 +2091,7 @@ async def _get_next(): is_first_party=is_first_party, app_type=app_type, external_client_id=external_client_id, + agent_id=agent_id, q=q, request_options=request_options, ) @@ -1893,13 +2203,22 @@ async def create( par_request_expiry: typing.Optional[int] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, resource_server_identifier: typing.Optional[str] = OMIT, + identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, express_configuration: typing.Optional[ExpressConfiguration] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationCreate] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration ] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPost] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateClientResponseContent]: """ @@ -2051,16 +2370,31 @@ async def create( resource_server_identifier : typing.Optional[str] The identifier of the resource server that this client is linked to. + identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[CreateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] express_configuration : typing.Optional[ExpressConfiguration] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationCreate] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration] + agent_id : typing.Optional[str] + ID of the agent to associate with this client. + + oidc_support : typing.Optional[ClientOidcSupportPost] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -2165,17 +2499,38 @@ async def create( object_=token_quota, annotation=CreateTokenQuota, direction="write" ), "resource_server_identifier": resource_server_identifier, + "identity_assertion_authorization_grant": convert_and_respect_annotation_metadata( + object_=identity_assertion_authorization_grant, + annotation=CreateIdentityAssertionAuthorizationGrant, + direction="write", + ), + "anonymous_sessions": convert_and_respect_annotation_metadata( + object_=anonymous_sessions, annotation=CreateAnonymousSessions, direction="write" + ), + "enforce_anon_session_transfer_network_binding": enforce_anon_session_transfer_network_binding, "third_party_security_mode": third_party_security_mode, "redirection_policy": redirection_policy, "express_configuration": convert_and_respect_annotation_metadata( object_=express_configuration, annotation=ExpressConfiguration, direction="write" ), + "b2b_integration_configuration": convert_and_respect_annotation_metadata( + object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write" + ), "my_organization_configuration": convert_and_respect_annotation_metadata( object_=my_organization_configuration, annotation=ClientMyOrganizationPostConfiguration, direction="write", ), + "google_account_linking": convert_and_respect_annotation_metadata( + object_=google_account_linking, + annotation=GoogleAccountLinkingConfigurationCreate, + direction="write", + ), "async_approval_notification_channels": async_approval_notification_channels, + "agent_id": agent_id, + "oidc_support": convert_and_respect_annotation_metadata( + object_=oidc_support, annotation=ClientOidcSupportPost, direction="write" + ), }, headers={ "content-type": "application/json", @@ -2461,6 +2816,189 @@ async def register_cimd_client( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ClientSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ClientSearchResponse, SearchClientsResponseContent]: + """ + Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. + Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). + This endpoint provides an alternative to the standard GET /clients endpoint with better performance + for complex queries. Results may not reflect recent updates immediately. + + - This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and `read:client_credentials` scopes are not supported. + - The following fields are never returned by this endpoint: + - `client_secret` + - `encryption_key` + - `signing_keys` + - `owners` + - `addons` + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "Auth0"`, `name sw "auth" and app_type eq "spa"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • client_id - Auth0 client ID (case-sensitive, exact match)
  • external_client_id - URL of the Client ID Metadata Document (CIMD); case-sensitive, exact match
  • name - Client name (supports contains, starts-with, ends-with operators; sortable)
  • app_type - Application type (e.g. "spa", "native", "non_interactive")
  • is_first_party - Whether the client is first-party (boolean)
  • updated_at - Last update timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by client metadata key-value pairs (max 2-level key depth, values indexed up to 64 characters)
  • client_grant.organization_id - Filter by associated organization ID
  • client_grant.allow_any_organization - Filter by allow any organization setting
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. Maximum 50 fields. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ClientSortFieldEnum] + Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ClientSearchResponse, SearchClientsResponseContent] + Clients successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "clients/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchClientsResponseContent, + parse_obj_as( + type_=SearchClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.clients + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -2483,6 +3021,17 @@ async def register_cimd_client( ), ), ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -2514,7 +3063,7 @@ async def get( `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`, `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`, `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`, - `custom_login_page_off`, `sso`, `addons`, `form_template`, + `custom_login_page_on`, `sso`, `addons`, `form_template`, `custom_login_page_codeview`, `resource_servers`, `client_metadata`, `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`, `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`, @@ -2546,7 +3095,7 @@ async def get( Client successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -2647,7 +3196,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -2740,6 +3289,11 @@ async def update( custom_login_page: typing.Optional[str] = OMIT, custom_login_page_preview: typing.Optional[str] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT, + anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT, + enforce_anon_session_transfer_network_binding: typing.Optional[ + ClientAnonymousSessionTransferNetworkBindingEnum + ] = OMIT, form_template: typing.Optional[str] = OMIT, addons: typing.Optional[ClientAddons] = OMIT, client_metadata: typing.Optional[ClientMetadata] = OMIT, @@ -2762,12 +3316,16 @@ async def update( token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT, par_request_expiry: typing.Optional[int] = OMIT, express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT, + b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT, my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT, + google_account_linking: typing.Optional[GoogleAccountLinkingConfigurationOrNull] = OMIT, async_approval_notification_channels: typing.Optional[ ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration ] = OMIT, third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT, redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT, + agent_id: typing.Optional[str] = OMIT, + oidc_support: typing.Optional[ClientOidcSupportPatch] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateClientResponseContent]: """ @@ -2867,6 +3425,12 @@ async def update( token_quota : typing.Optional[UpdateTokenQuota] + identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant] + + anonymous_sessions : typing.Optional[UpdateAnonymousSessions] + + enforce_anon_session_transfer_network_binding : typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] + form_template : typing.Optional[str] Form template for WS-Federation protocol @@ -2921,14 +3485,23 @@ async def update( express_configuration : typing.Optional[ExpressConfigurationOrNull] + b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration] + my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration] + google_account_linking : typing.Optional[GoogleAccountLinkingConfigurationOrNull] + async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration] third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum] redirection_policy : typing.Optional[ClientRedirectionPolicyEnum] + agent_id : typing.Optional[str] + ID of the agent to associate with this client, or null to remove the association. + + oidc_support : typing.Optional[ClientOidcSupportPatch] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -2938,7 +3511,7 @@ async def update( Client successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}", + f"clients/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -2984,6 +3557,15 @@ async def update( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=typing.Optional[UpdateTokenQuota], direction="write" ), + "identity_assertion_authorization_grant": convert_and_respect_annotation_metadata( + object_=identity_assertion_authorization_grant, + annotation=typing.Optional[UpdateIdentityAssertionAuthorizationGrant], + direction="write", + ), + "anonymous_sessions": convert_and_respect_annotation_metadata( + object_=anonymous_sessions, annotation=typing.Optional[UpdateAnonymousSessions], direction="write" + ), + "enforce_anon_session_transfer_network_binding": enforce_anon_session_transfer_network_binding, "form_template": form_template, "addons": convert_and_respect_annotation_metadata( object_=addons, annotation=ClientAddons, direction="write" @@ -3042,14 +3624,26 @@ async def update( annotation=typing.Optional[ExpressConfigurationOrNull], direction="write", ), + "b2b_integration_configuration": convert_and_respect_annotation_metadata( + object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write" + ), "my_organization_configuration": convert_and_respect_annotation_metadata( object_=my_organization_configuration, annotation=typing.Optional[ClientMyOrganizationPatchConfiguration], direction="write", ), + "google_account_linking": convert_and_respect_annotation_metadata( + object_=google_account_linking, + annotation=typing.Optional[GoogleAccountLinkingConfigurationOrNull], + direction="write", + ), "async_approval_notification_channels": async_approval_notification_channels, "third_party_security_mode": third_party_security_mode, "redirection_policy": redirection_policy, + "agent_id": agent_id, + "oidc_support": convert_and_respect_annotation_metadata( + object_=oidc_support, annotation=typing.Optional[ClientOidcSupportPatch], direction="write" + ), }, headers={ "content-type": "application/json", @@ -3155,7 +3749,7 @@ async def rotate_secret( Secret successfully rotated. """ _response = await self._client_wrapper.httpx_client.request( - f"clients/{encode_path_param(id)}/rotate-secret", + f"clients/{quote_path_param(id)}/rotate-secret", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/connection_profiles/client.py b/src/auth0/management/connection_profiles/client.py index cc31e3cc..b18679ff 100644 --- a/src/auth0/management/connection_profiles/client.py +++ b/src/auth0/management/connection_profiles/client.py @@ -8,9 +8,11 @@ from ..types.connection_name_prefix_template import ConnectionNamePrefixTemplate from ..types.connection_profile import ConnectionProfile from ..types.connection_profile_config import ConnectionProfileConfig +from ..types.connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from ..types.connection_profile_enabled_features import ConnectionProfileEnabledFeatures from ..types.connection_profile_name import ConnectionProfileName from ..types.connection_profile_organization import ConnectionProfileOrganization +from ..types.connection_profile_provisioning import ConnectionProfileProvisioning from ..types.connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides from ..types.create_connection_profile_response_content import CreateConnectionProfileResponseContent from ..types.get_connection_profile_response_content import GetConnectionProfileResponseContent @@ -93,6 +95,8 @@ def create( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionProfileResponseContent: """ @@ -112,6 +116,10 @@ def create( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -138,6 +146,8 @@ def create( enabled_features=enabled_features, connection_config=connection_config, strategy_overrides=strategy_overrides, + provisioning=provisioning, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -276,6 +286,8 @@ def update( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateConnectionProfileResponseContent: """ @@ -298,6 +310,10 @@ def update( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -325,6 +341,8 @@ def update( enabled_features=enabled_features, connection_config=connection_config, strategy_overrides=strategy_overrides, + provisioning=provisioning, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -408,6 +426,8 @@ async def create( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionProfileResponseContent: """ @@ -427,6 +447,10 @@ async def create( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -461,6 +485,8 @@ async def main() -> None: enabled_features=enabled_features, connection_config=connection_config, strategy_overrides=strategy_overrides, + provisioning=provisioning, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -631,6 +657,8 @@ async def update( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateConnectionProfileResponseContent: """ @@ -653,6 +681,10 @@ async def update( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -688,6 +720,8 @@ async def main() -> None: enabled_features=enabled_features, connection_config=connection_config, strategy_overrides=strategy_overrides, + provisioning=provisioning, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/connection_profiles/raw_client.py b/src/auth0/management/connection_profiles/raw_client.py index b656a610..4c0e2313 100644 --- a/src/auth0/management/connection_profiles/raw_client.py +++ b/src/auth0/management/connection_profiles/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -21,9 +21,11 @@ from ..types.connection_name_prefix_template import ConnectionNamePrefixTemplate from ..types.connection_profile import ConnectionProfile from ..types.connection_profile_config import ConnectionProfileConfig +from ..types.connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from ..types.connection_profile_enabled_features import ConnectionProfileEnabledFeatures from ..types.connection_profile_name import ConnectionProfileName from ..types.connection_profile_organization import ConnectionProfileOrganization +from ..types.connection_profile_provisioning import ConnectionProfileProvisioning from ..types.connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides from ..types.create_connection_profile_response_content import CreateConnectionProfileResponseContent from ..types.get_connection_profile_response_content import GetConnectionProfileResponseContent @@ -156,6 +158,8 @@ def create( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateConnectionProfileResponseContent]: """ @@ -175,6 +179,10 @@ def create( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -199,6 +207,14 @@ def create( "strategy_overrides": convert_and_respect_annotation_metadata( object_=strategy_overrides, annotation=ConnectionProfileStrategyOverrides, direction="write" ), + "provisioning": convert_and_respect_annotation_metadata( + object_=provisioning, annotation=ConnectionProfileProvisioning, direction="write" + ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=ConnectionProfileCrossAppAccessResourceApp, + direction="write", + ), }, headers={ "content-type": "application/json", @@ -373,7 +389,7 @@ def get_template( Connection Profile Template successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"connection-profiles/templates/{encode_path_param(id)}", + f"connection-profiles/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -460,7 +476,7 @@ def get( Record for existing connection profile. """ _response = self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -544,7 +560,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -603,6 +619,8 @@ def update( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateConnectionProfileResponseContent]: """ @@ -625,6 +643,10 @@ def update( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -634,7 +656,7 @@ def update( Connection profile successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -649,6 +671,14 @@ def update( "strategy_overrides": convert_and_respect_annotation_metadata( object_=strategy_overrides, annotation=ConnectionProfileStrategyOverrides, direction="write" ), + "provisioning": convert_and_respect_annotation_metadata( + object_=provisioning, annotation=ConnectionProfileProvisioning, direction="write" + ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=ConnectionProfileCrossAppAccessResourceApp, + direction="write", + ), }, headers={ "content-type": "application/json", @@ -853,6 +883,8 @@ async def create( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateConnectionProfileResponseContent]: """ @@ -872,6 +904,10 @@ async def create( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -896,6 +932,14 @@ async def create( "strategy_overrides": convert_and_respect_annotation_metadata( object_=strategy_overrides, annotation=ConnectionProfileStrategyOverrides, direction="write" ), + "provisioning": convert_and_respect_annotation_metadata( + object_=provisioning, annotation=ConnectionProfileProvisioning, direction="write" + ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=ConnectionProfileCrossAppAccessResourceApp, + direction="write", + ), }, headers={ "content-type": "application/json", @@ -1070,7 +1114,7 @@ async def get_template( Connection Profile Template successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"connection-profiles/templates/{encode_path_param(id)}", + f"connection-profiles/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1157,7 +1201,7 @@ async def get( Record for existing connection profile. """ _response = await self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1243,7 +1287,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1302,6 +1346,8 @@ async def update( enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = OMIT, connection_config: typing.Optional[ConnectionProfileConfig] = OMIT, strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = OMIT, + provisioning: typing.Optional[ConnectionProfileProvisioning] = OMIT, + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateConnectionProfileResponseContent]: """ @@ -1324,6 +1370,10 @@ async def update( strategy_overrides : typing.Optional[ConnectionProfileStrategyOverrides] + provisioning : typing.Optional[ConnectionProfileProvisioning] + + cross_app_access_resource_app : typing.Optional[ConnectionProfileCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1333,7 +1383,7 @@ async def update( Connection profile successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"connection-profiles/{encode_path_param(id)}", + f"connection-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1348,6 +1398,14 @@ async def update( "strategy_overrides": convert_and_respect_annotation_metadata( object_=strategy_overrides, annotation=ConnectionProfileStrategyOverrides, direction="write" ), + "provisioning": convert_and_respect_annotation_metadata( + object_=provisioning, annotation=ConnectionProfileProvisioning, direction="write" + ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=ConnectionProfileCrossAppAccessResourceApp, + direction="write", + ), }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/connections/client.py b/src/auth0/management/connections/client.py index 8a7c2567..99eb98fe 100644 --- a/src/auth0/management/connections/client.py +++ b/src/auth0/management/connections/client.py @@ -15,6 +15,7 @@ from ..types.connection_strategy_enum import ConnectionStrategyEnum from ..types.connections_metadata import ConnectionsMetadata from ..types.create_connection_response_content import CreateConnectionResponseContent +from ..types.create_cross_app_access_resource_app import CreateCrossAppAccessResourceApp from ..types.cross_app_access_requesting_app import CrossAppAccessRequestingApp from ..types.get_connection_response_content import GetConnectionResponseContent from ..types.list_connections_checkpoint_paginated_response_content import ( @@ -22,6 +23,7 @@ ) from ..types.update_connection_options import UpdateConnectionOptions from ..types.update_connection_response_content import UpdateConnectionResponseContent +from ..types.update_cross_app_access_resource_app import UpdateCrossAppAccessResourceApp from .raw_client import AsyncRawConnectionsClient, RawConnectionsClient if typing.TYPE_CHECKING: @@ -58,6 +60,7 @@ def with_raw_response(self) -> RawConnectionsClient: def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, strategy: typing.Optional[typing.Union[ConnectionStrategyEnum, typing.Sequence[ConnectionStrategyEnum]]] = None, @@ -87,6 +90,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default false. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -121,6 +127,7 @@ def list( token="YOUR_TOKEN", ) response = client.connections.list( + include_totals=True, from_="from", take=1, strategy=["ad"], @@ -135,6 +142,7 @@ def list( yield page """ return self._raw_client.list( + include_totals=include_totals, from_=from_, take=take, strategy=strategy, @@ -159,6 +167,7 @@ def create( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[CreateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionResponseContent: """ @@ -198,6 +207,8 @@ def create( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[CreateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -231,6 +242,7 @@ def create( authentication=authentication, connected_accounts=connected_accounts, cross_app_access_requesting_app=cross_app_access_requesting_app, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -329,12 +341,13 @@ def update( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[UpdateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateConnectionResponseContent: """ Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. - **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. + **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value. Parameters ---------- @@ -366,6 +379,8 @@ def update( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[UpdateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -397,6 +412,7 @@ def update( authentication=authentication, connected_accounts=connected_accounts, cross_app_access_requesting_app=cross_app_access_requesting_app, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -496,6 +512,7 @@ def with_raw_response(self) -> AsyncRawConnectionsClient: async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, strategy: typing.Optional[typing.Union[ConnectionStrategyEnum, typing.Sequence[ConnectionStrategyEnum]]] = None, @@ -525,6 +542,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default false. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -564,6 +584,7 @@ async def list( async def main() -> None: response = await client.connections.list( + include_totals=True, from_="from", take=1, strategy=["ad"], @@ -582,6 +603,7 @@ async def main() -> None: asyncio.run(main()) """ return await self._raw_client.list( + include_totals=include_totals, from_=from_, take=take, strategy=strategy, @@ -606,6 +628,7 @@ async def create( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[CreateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionResponseContent: """ @@ -645,6 +668,8 @@ async def create( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[CreateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -686,6 +711,7 @@ async def main() -> None: authentication=authentication, connected_accounts=connected_accounts, cross_app_access_requesting_app=cross_app_access_requesting_app, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data @@ -800,12 +826,13 @@ async def update( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[UpdateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateConnectionResponseContent: """ Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. - **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. + **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value. Parameters ---------- @@ -837,6 +864,8 @@ async def update( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[UpdateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -876,6 +905,7 @@ async def main() -> None: authentication=authentication, connected_accounts=connected_accounts, cross_app_access_requesting_app=cross_app_access_requesting_app, + cross_app_access_resource_app=cross_app_access_resource_app, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/connections/clients/raw_client.py b/src/auth0/management/connections/clients/raw_client.py index c5b74c7e..ab48082a 100644 --- a/src/auth0/management/connections/clients/raw_client.py +++ b/src/auth0/management/connections/clients/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -63,7 +63,7 @@ def get( Success """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/clients", + f"connections/{quote_path_param(id)}/clients", method="GET", params={ "take": take, @@ -177,7 +177,7 @@ def update( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/clients", + f"connections/{quote_path_param(id)}/clients", method="PATCH", json=convert_and_respect_annotation_metadata( object_=request, annotation=UpdateEnabledClientConnectionsRequestContent, direction="write" @@ -290,7 +290,7 @@ async def get( Success """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/clients", + f"connections/{quote_path_param(id)}/clients", method="GET", params={ "take": take, @@ -407,7 +407,7 @@ async def update( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/clients", + f"connections/{quote_path_param(id)}/clients", method="PATCH", json=convert_and_respect_annotation_metadata( object_=request, annotation=UpdateEnabledClientConnectionsRequestContent, direction="write" diff --git a/src/auth0/management/connections/directory_provisioning/client.py b/src/auth0/management/connections/directory_provisioning/client.py index 99513651..21472ff1 100644 --- a/src/auth0/management/connections/directory_provisioning/client.py +++ b/src/auth0/management/connections/directory_provisioning/client.py @@ -17,6 +17,7 @@ from ...types.list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from ...types.list_synchronized_groups_response_content import ListSynchronizedGroupsResponseContent from ...types.synchronized_group_payload import SynchronizedGroupPayload +from ...types.synchronized_group_selection_id import SynchronizedGroupSelectionId from ...types.update_directory_provisioning_request_content import UpdateDirectoryProvisioningRequestContent from ...types.update_directory_provisioning_response_content import UpdateDirectoryProvisioningResponseContent from .raw_client import AsyncRawDirectoryProvisioningClient, RawDirectoryProvisioningClient @@ -271,6 +272,7 @@ def list_synchronized_groups( *, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, + q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[SynchronizedGroupPayload, ListSynchronizedGroupsResponseContent]: """ @@ -287,6 +289,9 @@ def list_synchronized_groups( take : typing.Optional[int] Number of results per page. Defaults to 50. + q : typing.Optional[str] + Query in Lucene query string syntax. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -306,6 +311,7 @@ def list_synchronized_groups( id="id", from_="from", take=1, + q="q", ) for item in response: yield item @@ -313,7 +319,55 @@ def list_synchronized_groups( for page in response.iter_pages(): yield page """ - return self._raw_client.list_synchronized_groups(id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list_synchronized_groups( + id, from_=from_, take=take, q=q, request_options=request_options + ) + + def add_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupPayload], + request_options: typing.Optional[RequestOptions] = None, + ) -> None: + """ + Add synchronized group selections to a directory provisioning configuration. + + Parameters + ---------- + id : str + The id of the connection to add synchronized groups to + + groups : typing.Sequence[SynchronizedGroupPayload] + Array of Google Workspace Directory group objects to synchronize. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0, SynchronizedGroupPayload + + client = Auth0( + token="YOUR_TOKEN", + ) + client.connections.directory_provisioning.add_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupPayload( + id="id", + ) + ], + ) + """ + _response = self._raw_client.add_synchronized_group_selections( + id, groups=groups, request_options=request_options + ) + return _response.data def set( self, @@ -359,6 +413,52 @@ def set( _response = self._raw_client.set(id, groups=groups, request_options=request_options) return _response.data + def delete_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupSelectionId], + request_options: typing.Optional[RequestOptions] = None, + ) -> None: + """ + Delete synchronized group selections for a directory provisioning configuration + + Parameters + ---------- + id : str + The id of the connection to delete synchronized group selections for + + groups : typing.Sequence[SynchronizedGroupSelectionId] + Array of groups to remove from the selection set. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0, SynchronizedGroupSelectionId + + client = Auth0( + token="YOUR_TOKEN", + ) + client.connections.directory_provisioning.delete_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupSelectionId( + id="id", + ) + ], + ) + """ + _response = self._raw_client.delete_synchronized_group_selections( + id, groups=groups, request_options=request_options + ) + return _response.data + @property def synchronizations(self): if self._synchronizations is None: @@ -661,6 +761,7 @@ async def list_synchronized_groups( *, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, + q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[SynchronizedGroupPayload, ListSynchronizedGroupsResponseContent]: """ @@ -677,6 +778,9 @@ async def list_synchronized_groups( take : typing.Optional[int] Number of results per page. Defaults to 50. + q : typing.Optional[str] + Query in Lucene query string syntax. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -701,6 +805,7 @@ async def main() -> None: id="id", from_="from", take=1, + q="q", ) async for item in response: yield item @@ -713,9 +818,63 @@ async def main() -> None: asyncio.run(main()) """ return await self._raw_client.list_synchronized_groups( - id, from_=from_, take=take, request_options=request_options + id, from_=from_, take=take, q=q, request_options=request_options ) + async def add_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupPayload], + request_options: typing.Optional[RequestOptions] = None, + ) -> None: + """ + Add synchronized group selections to a directory provisioning configuration. + + Parameters + ---------- + id : str + The id of the connection to add synchronized groups to + + groups : typing.Sequence[SynchronizedGroupPayload] + Array of Google Workspace Directory group objects to synchronize. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0, SynchronizedGroupPayload + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.connections.directory_provisioning.add_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupPayload( + id="id", + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.add_synchronized_group_selections( + id, groups=groups, request_options=request_options + ) + return _response.data + async def set( self, id: str, @@ -768,6 +927,60 @@ async def main() -> None: _response = await self._raw_client.set(id, groups=groups, request_options=request_options) return _response.data + async def delete_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupSelectionId], + request_options: typing.Optional[RequestOptions] = None, + ) -> None: + """ + Delete synchronized group selections for a directory provisioning configuration + + Parameters + ---------- + id : str + The id of the connection to delete synchronized group selections for + + groups : typing.Sequence[SynchronizedGroupSelectionId] + Array of groups to remove from the selection set. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0, SynchronizedGroupSelectionId + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.connections.directory_provisioning.delete_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupSelectionId( + id="id", + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete_synchronized_group_selections( + id, groups=groups, request_options=request_options + ) + return _response.data + @property def synchronizations(self): if self._synchronizations is None: diff --git a/src/auth0/management/connections/directory_provisioning/raw_client.py b/src/auth0/management/connections/directory_provisioning/raw_client.py index 4704fdad..0525737e 100644 --- a/src/auth0/management/connections/directory_provisioning/raw_client.py +++ b/src/auth0/management/connections/directory_provisioning/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -28,6 +28,7 @@ from ...types.list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from ...types.list_synchronized_groups_response_content import ListSynchronizedGroupsResponseContent from ...types.synchronized_group_payload import SynchronizedGroupPayload +from ...types.synchronized_group_selection_id import SynchronizedGroupSelectionId from ...types.update_directory_provisioning_request_content import UpdateDirectoryProvisioningRequestContent from ...types.update_directory_provisioning_response_content import UpdateDirectoryProvisioningResponseContent from pydantic import ValidationError @@ -166,7 +167,7 @@ def get( The connection's directory provisioning configuration. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="GET", request_options=request_options, ) @@ -270,7 +271,7 @@ def create( The connection's directory provisioning configuration was created. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="POST", json=convert_and_respect_annotation_metadata( object_=request, @@ -382,7 +383,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="DELETE", request_options=request_options, ) @@ -479,7 +480,7 @@ def update( The connection's directory provisioning configuration was updated. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="PATCH", json=convert_and_respect_annotation_metadata( object_=request, @@ -583,7 +584,7 @@ def get_default_mapping( The connection's directory provisioning default mapping. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/default-mapping", + f"connections/{quote_path_param(id)}/directory-provisioning/default-mapping", method="GET", request_options=request_options, ) @@ -667,6 +668,7 @@ def list_synchronized_groups( *, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, + q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[SynchronizedGroupPayload, ListSynchronizedGroupsResponseContent]: """ @@ -683,6 +685,9 @@ def list_synchronized_groups( take : typing.Optional[int] Number of results per page. Defaults to 50. + q : typing.Optional[str] + Query in Lucene query string syntax. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -692,11 +697,12 @@ def list_synchronized_groups( The connection's synchronized groups. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronized-groups", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", method="GET", params={ "from": from_, "take": take, + "q": q, }, request_options=request_options, ) @@ -716,6 +722,7 @@ def list_synchronized_groups( id, from_=_parsed_next, take=take, + q=q, request_options=request_options, ) return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) @@ -783,6 +790,112 @@ def list_synchronized_groups( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def add_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupPayload], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[None]: + """ + Add synchronized group selections to a directory provisioning configuration. + + Parameters + ---------- + id : str + The id of the connection to add synchronized groups to + + groups : typing.Sequence[SynchronizedGroupPayload] + Array of Google Workspace Directory group objects to synchronize. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", + method="POST", + json={ + "groups": convert_and_respect_annotation_metadata( + object_=groups, annotation=typing.Sequence[SynchronizedGroupPayload], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def set( self, id: str, @@ -809,7 +922,7 @@ def set( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronized-groups", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", method="PUT", json={ "groups": convert_and_respect_annotation_metadata( @@ -900,6 +1013,112 @@ def set( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def delete_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupSelectionId], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[None]: + """ + Delete synchronized group selections for a directory provisioning configuration + + Parameters + ---------- + id : str + The id of the connection to delete synchronized group selections for + + groups : typing.Sequence[SynchronizedGroupSelectionId] + Array of groups to remove from the selection set. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", + method="DELETE", + json={ + "groups": convert_and_respect_annotation_metadata( + object_=groups, annotation=typing.Sequence[SynchronizedGroupSelectionId], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawDirectoryProvisioningClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -1034,7 +1253,7 @@ async def get( The connection's directory provisioning configuration. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="GET", request_options=request_options, ) @@ -1138,7 +1357,7 @@ async def create( The connection's directory provisioning configuration was created. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="POST", json=convert_and_respect_annotation_metadata( object_=request, @@ -1252,7 +1471,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="DELETE", request_options=request_options, ) @@ -1349,7 +1568,7 @@ async def update( The connection's directory provisioning configuration was updated. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning", + f"connections/{quote_path_param(id)}/directory-provisioning", method="PATCH", json=convert_and_respect_annotation_metadata( object_=request, @@ -1453,7 +1672,7 @@ async def get_default_mapping( The connection's directory provisioning default mapping. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/default-mapping", + f"connections/{quote_path_param(id)}/directory-provisioning/default-mapping", method="GET", request_options=request_options, ) @@ -1537,6 +1756,7 @@ async def list_synchronized_groups( *, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, + q: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[SynchronizedGroupPayload, ListSynchronizedGroupsResponseContent]: """ @@ -1553,6 +1773,9 @@ async def list_synchronized_groups( take : typing.Optional[int] Number of results per page. Defaults to 50. + q : typing.Optional[str] + Query in Lucene query string syntax. Only prefix search on "name" or "email" fields are allowed, with a single wildcard suffix. Operators, modifiers, and groupings are not allowed. Terms are treated as case-insensitive. Example query: "name:engineering*". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1562,11 +1785,12 @@ async def list_synchronized_groups( The connection's synchronized groups. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronized-groups", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", method="GET", params={ "from": from_, "take": take, + "q": q, }, request_options=request_options, ) @@ -1588,6 +1812,7 @@ async def _get_next(): id, from_=_parsed_next, take=take, + q=q, request_options=request_options, ) @@ -1656,6 +1881,112 @@ async def _get_next(): ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def add_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupPayload], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[None]: + """ + Add synchronized group selections to a directory provisioning configuration. + + Parameters + ---------- + id : str + The id of the connection to add synchronized groups to + + groups : typing.Sequence[SynchronizedGroupPayload] + Array of Google Workspace Directory group objects to synchronize. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", + method="POST", + json={ + "groups": convert_and_respect_annotation_metadata( + object_=groups, annotation=typing.Sequence[SynchronizedGroupPayload], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def set( self, id: str, @@ -1682,7 +2013,7 @@ async def set( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronized-groups", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", method="PUT", json={ "groups": convert_and_respect_annotation_metadata( @@ -1772,3 +2103,109 @@ async def set( status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete_synchronized_group_selections( + self, + id: str, + *, + groups: typing.Sequence[SynchronizedGroupSelectionId], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[None]: + """ + Delete synchronized group selections for a directory provisioning configuration + + Parameters + ---------- + id : str + The id of the connection to delete synchronized group selections for + + groups : typing.Sequence[SynchronizedGroupSelectionId] + Array of groups to remove from the selection set. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"connections/{quote_path_param(id)}/directory-provisioning/synchronized-groups", + method="DELETE", + json={ + "groups": convert_and_respect_annotation_metadata( + object_=groups, annotation=typing.Sequence[SynchronizedGroupSelectionId], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/connections/directory_provisioning/synchronizations/raw_client.py b/src/auth0/management/connections/directory_provisioning/synchronizations/raw_client.py index 6811302c..f688d127 100644 --- a/src/auth0/management/connections/directory_provisioning/synchronizations/raw_client.py +++ b/src/auth0/management/connections/directory_provisioning/synchronizations/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as from ....core.request_options import RequestOptions @@ -44,7 +44,7 @@ def create( The directory synchronization was triggered. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronizations", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronizations", method="POST", request_options=request_options, ) @@ -158,7 +158,7 @@ async def create( The directory synchronization was triggered. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/directory-provisioning/synchronizations", + f"connections/{quote_path_param(id)}/directory-provisioning/synchronizations", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/connections/keys/client.py b/src/auth0/management/connections/keys/client.py index 48da760b..f22c5f2a 100644 --- a/src/auth0/management/connections/keys/client.py +++ b/src/auth0/management/connections/keys/client.py @@ -32,7 +32,7 @@ def with_raw_response(self) -> RawKeysClient: def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[ConnectionKey]: """ - Gets the connection keys for the Okta or OIDC connection strategy. + Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections. Parameters ---------- @@ -69,7 +69,9 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> PostConnectionsKeysResponseContent: """ - Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions. + Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions. + + Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys. Parameters ---------- @@ -109,7 +111,9 @@ def rotate( request_options: typing.Optional[RequestOptions] = None, ) -> RotateConnectionsKeysResponseContent: """ - Rotates the connection keys for the Okta or OIDC connection strategies. + Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies. + + Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`. Parameters ---------- @@ -161,7 +165,7 @@ async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.List[ConnectionKey]: """ - Gets the connection keys for the Okta or OIDC connection strategy. + Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections. Parameters ---------- @@ -206,7 +210,9 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> PostConnectionsKeysResponseContent: """ - Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions. + Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions. + + Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys. Parameters ---------- @@ -254,7 +260,9 @@ async def rotate( request_options: typing.Optional[RequestOptions] = None, ) -> RotateConnectionsKeysResponseContent: """ - Rotates the connection keys for the Okta or OIDC connection strategies. + Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies. + + Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`. Parameters ---------- diff --git a/src/auth0/management/connections/keys/raw_client.py b/src/auth0/management/connections/keys/raw_client.py index 575c96a0..8383974e 100644 --- a/src/auth0/management/connections/keys/raw_client.py +++ b/src/auth0/management/connections/keys/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -36,7 +36,7 @@ def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[typing.List[ConnectionKey]]: """ - Gets the connection keys for the Okta or OIDC connection strategy. + Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections. Parameters ---------- @@ -52,7 +52,7 @@ def get( Connection keys successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys", + f"connections/{quote_path_param(id)}/keys", method="GET", request_options=request_options, ) @@ -138,7 +138,9 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PostConnectionsKeysResponseContent]: """ - Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions. + Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions. + + Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys. Parameters ---------- @@ -156,7 +158,7 @@ def create( Connection keys successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys", + f"connections/{quote_path_param(id)}/keys", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[PostConnectionKeysRequestContent], direction="write" @@ -257,7 +259,9 @@ def rotate( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[RotateConnectionsKeysResponseContent]: """ - Rotates the connection keys for the Okta or OIDC connection strategies. + Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies. + + Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`. Parameters ---------- @@ -275,7 +279,7 @@ def rotate( Connection keys successfully rotated. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys/rotate", + f"connections/{quote_path_param(id)}/keys/rotate", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[RotateConnectionKeysRequestContent], direction="write" @@ -366,7 +370,7 @@ async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[typing.List[ConnectionKey]]: """ - Gets the connection keys for the Okta or OIDC connection strategy. + Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy. The response includes both signing keys and encryption keys, told apart by `key_use`. Encryption keys apply only to OIDC and Okta connections. Parameters ---------- @@ -382,7 +386,7 @@ async def get( Connection keys successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys", + f"connections/{quote_path_param(id)}/keys", method="GET", request_options=request_options, ) @@ -468,7 +472,9 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PostConnectionsKeysResponseContent]: """ - Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions. + Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication or encrypted ID tokens, enabling zero-downtime transitions. + + Set `key_use` to `signing` (default) to provision signing keys, optionally choosing `signing_alg`, or to `encryption` to provision encryption keys, optionally choosing `encryption_alg`. `signing_alg` and `encryption_alg` each apply only to their own key use. Encryption keys and encrypted ID tokens apply only to OIDC and Okta connections. The response lists all of the connection's keys. Parameters ---------- @@ -486,7 +492,7 @@ async def create( Connection keys successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys", + f"connections/{quote_path_param(id)}/keys", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[PostConnectionKeysRequestContent], direction="write" @@ -587,7 +593,9 @@ async def rotate( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[RotateConnectionsKeysResponseContent]: """ - Rotates the connection keys for the Okta or OIDC connection strategies. + Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies. + + Set `key_use` to `signing` (default) to rotate the signing key, optionally choosing `signing_alg`, or to `encryption` to rotate the encryption key, optionally choosing `encryption_alg`. Rotating signing keys requires the connection to be configured to use JWT Client Authentication. Rotating encryption keys requires the connection to be configured to use encrypted ID tokens (`id_token_encrypted_response_alg` set), which applies only to OIDC and Okta connections. When `encryption_alg` is omitted, the new encryption key uses `id_token_encrypted_response_alg`. Parameters ---------- @@ -605,7 +613,7 @@ async def rotate( Connection keys successfully rotated. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/keys/rotate", + f"connections/{quote_path_param(id)}/keys/rotate", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[RotateConnectionKeysRequestContent], direction="write" diff --git a/src/auth0/management/connections/raw_client.py b/src/auth0/management/connections/raw_client.py index ff6597a3..26632440 100644 --- a/src/auth0/management/connections/raw_client.py +++ b/src/auth0/management/connections/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -18,6 +18,7 @@ from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError +from ..errors.unprocessable_entity_error import UnprocessableEntityError from ..types.connection_authentication_purpose import ConnectionAuthenticationPurpose from ..types.connection_connected_accounts_purpose import ConnectionConnectedAccountsPurpose from ..types.connection_for_list import ConnectionForList @@ -26,6 +27,7 @@ from ..types.connection_strategy_enum import ConnectionStrategyEnum from ..types.connections_metadata import ConnectionsMetadata from ..types.create_connection_response_content import CreateConnectionResponseContent +from ..types.create_cross_app_access_resource_app import CreateCrossAppAccessResourceApp from ..types.cross_app_access_requesting_app import CrossAppAccessRequestingApp from ..types.get_connection_response_content import GetConnectionResponseContent from ..types.list_connections_checkpoint_paginated_response_content import ( @@ -33,6 +35,7 @@ ) from ..types.update_connection_options import UpdateConnectionOptions from ..types.update_connection_response_content import UpdateConnectionResponseContent +from ..types.update_cross_app_access_resource_app import UpdateCrossAppAccessResourceApp from pydantic import ValidationError # this is used as the default value for optional parameters @@ -46,6 +49,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, strategy: typing.Optional[typing.Union[ConnectionStrategyEnum, typing.Sequence[ConnectionStrategyEnum]]] = None, @@ -75,6 +79,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default false. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -105,6 +112,7 @@ def list( "connections", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "strategy": strategy, @@ -127,6 +135,7 @@ def list( _parsed_next = _parsed_response.next _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( + include_totals=include_totals, from_=_parsed_next, take=take, strategy=strategy, @@ -204,6 +213,7 @@ def create( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[CreateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateConnectionResponseContent]: """ @@ -243,6 +253,8 @@ def create( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[CreateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -275,6 +287,9 @@ def create( "cross_app_access_requesting_app": convert_and_respect_annotation_metadata( object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write" ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, annotation=CreateCrossAppAccessResourceApp, direction="write" + ), }, headers={ "content-type": "application/json", @@ -336,6 +351,17 @@ def create( ), ), ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -387,7 +413,7 @@ def get( The connection was retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -488,7 +514,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -562,12 +588,13 @@ def update( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[UpdateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateConnectionResponseContent]: """ Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. - **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. + **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value. Parameters ---------- @@ -599,6 +626,8 @@ def update( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[UpdateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -608,7 +637,7 @@ def update( The connection was updated. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="PATCH", json={ "display_name": display_name, @@ -629,6 +658,11 @@ def update( "cross_app_access_requesting_app": convert_and_respect_annotation_metadata( object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write" ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=typing.Optional[UpdateCrossAppAccessResourceApp], + direction="write", + ), }, headers={ "content-type": "application/json", @@ -701,6 +735,17 @@ def update( ), ), ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -738,7 +783,7 @@ def check_status(self, id: str, *, request_options: typing.Optional[RequestOptio HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/status", + f"connections/{quote_path_param(id)}/status", method="GET", request_options=request_options, ) @@ -817,6 +862,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, strategy: typing.Optional[typing.Union[ConnectionStrategyEnum, typing.Sequence[ConnectionStrategyEnum]]] = None, @@ -846,6 +892,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + true if a query summary must be included in the result, false otherwise. Not returned when using checkpoint pagination. Default false. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -876,6 +925,7 @@ async def list( "connections", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "strategy": strategy, @@ -900,6 +950,7 @@ async def list( async def _get_next(): return await self.list( + include_totals=include_totals, from_=_parsed_next, take=take, strategy=strategy, @@ -978,6 +1029,7 @@ async def create( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[CreateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateConnectionResponseContent]: """ @@ -1017,6 +1069,8 @@ async def create( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[CreateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1049,6 +1103,9 @@ async def create( "cross_app_access_requesting_app": convert_and_respect_annotation_metadata( object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write" ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, annotation=CreateCrossAppAccessResourceApp, direction="write" + ), }, headers={ "content-type": "application/json", @@ -1110,6 +1167,17 @@ async def create( ), ), ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -1161,7 +1229,7 @@ async def get( The connection was retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -1264,7 +1332,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1338,12 +1406,13 @@ async def update( authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT, connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT, cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT, + cross_app_access_resource_app: typing.Optional[UpdateCrossAppAccessResourceApp] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateConnectionResponseContent]: """ Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration. - **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. + **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value. Parameters ---------- @@ -1375,6 +1444,8 @@ async def update( cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp] + cross_app_access_resource_app : typing.Optional[UpdateCrossAppAccessResourceApp] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1384,7 +1455,7 @@ async def update( The connection was updated. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}", + f"connections/{quote_path_param(id)}", method="PATCH", json={ "display_name": display_name, @@ -1405,6 +1476,11 @@ async def update( "cross_app_access_requesting_app": convert_and_respect_annotation_metadata( object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write" ), + "cross_app_access_resource_app": convert_and_respect_annotation_metadata( + object_=cross_app_access_resource_app, + annotation=typing.Optional[UpdateCrossAppAccessResourceApp], + direction="write", + ), }, headers={ "content-type": "application/json", @@ -1477,6 +1553,17 @@ async def update( ), ), ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -1516,7 +1603,7 @@ async def check_status( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/status", + f"connections/{quote_path_param(id)}/status", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/connections/scim_configuration/raw_client.py b/src/auth0/management/connections/scim_configuration/raw_client.py index 3fd10470..a22e1baa 100644 --- a/src/auth0/management/connections/scim_configuration/raw_client.py +++ b/src/auth0/management/connections/scim_configuration/raw_client.py @@ -6,13 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError from ...errors.forbidden_error import ForbiddenError from ...errors.not_found_error import NotFoundError from ...errors.too_many_requests_error import TooManyRequestsError @@ -163,7 +164,7 @@ def get( The connection's SCIM configuration was retrieved. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="GET", request_options=request_options, ) @@ -234,7 +235,7 @@ def create( The connection's SCIM configuration was created. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[CreateScimConfigurationRequestContent], direction="write" @@ -274,6 +275,17 @@ def create( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -300,7 +312,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="DELETE", request_options=request_options, ) @@ -369,7 +381,7 @@ def update( The connection's SCIM configuration was updated. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="PATCH", json={ "user_id_attribute": user_id_attribute, @@ -444,7 +456,7 @@ def get_default_mapping( The connection's default SCIM mapping was retrieved. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/default-mapping", + f"connections/{quote_path_param(id)}/scim-configuration/default-mapping", method="GET", request_options=request_options, ) @@ -623,7 +635,7 @@ async def get( The connection's SCIM configuration was retrieved. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="GET", request_options=request_options, ) @@ -694,7 +706,7 @@ async def create( The connection's SCIM configuration was created. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="POST", json=convert_and_respect_annotation_metadata( object_=request, annotation=typing.Optional[CreateScimConfigurationRequestContent], direction="write" @@ -734,6 +746,17 @@ async def create( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -762,7 +785,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="DELETE", request_options=request_options, ) @@ -831,7 +854,7 @@ async def update( The connection's SCIM configuration was updated. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration", + f"connections/{quote_path_param(id)}/scim-configuration", method="PATCH", json={ "user_id_attribute": user_id_attribute, @@ -906,7 +929,7 @@ async def get_default_mapping( The connection's default SCIM mapping was retrieved. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/default-mapping", + f"connections/{quote_path_param(id)}/scim-configuration/default-mapping", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/connections/scim_configuration/tokens/raw_client.py b/src/auth0/management/connections/scim_configuration/tokens/raw_client.py index 1d44256b..cc16b815 100644 --- a/src/auth0/management/connections/scim_configuration/tokens/raw_client.py +++ b/src/auth0/management/connections/scim_configuration/tokens/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as from ....core.request_options import RequestOptions @@ -45,7 +45,7 @@ def get( The connection's SCIM tokens were retrieved. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens", + f"connections/{quote_path_param(id)}/scim-configuration/tokens", method="GET", request_options=request_options, ) @@ -121,7 +121,7 @@ def create( The connection's SCIM token was created. See Response Schemas for schema. """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens", + f"connections/{quote_path_param(id)}/scim-configuration/tokens", method="POST", json={ "scopes": scopes, @@ -207,7 +207,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens/{encode_path_param(token_id)}", + f"connections/{quote_path_param(id)}/scim-configuration/tokens/{quote_path_param(token_id)}", method="DELETE", request_options=request_options, ) @@ -270,7 +270,7 @@ async def get( The connection's SCIM tokens were retrieved. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens", + f"connections/{quote_path_param(id)}/scim-configuration/tokens", method="GET", request_options=request_options, ) @@ -346,7 +346,7 @@ async def create( The connection's SCIM token was created. See Response Schemas for schema. """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens", + f"connections/{quote_path_param(id)}/scim-configuration/tokens", method="POST", json={ "scopes": scopes, @@ -432,7 +432,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/scim-configuration/tokens/{encode_path_param(token_id)}", + f"connections/{quote_path_param(id)}/scim-configuration/tokens/{quote_path_param(token_id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/connections/users/raw_client.py b/src/auth0/management/connections/users/raw_client.py index 98bcadd9..c48fa8e6 100644 --- a/src/auth0/management/connections/users/raw_client.py +++ b/src/auth0/management/connections/users/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -44,7 +44,7 @@ def delete_by_email( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/users", + f"connections/{quote_path_param(id)}/users", method="DELETE", params={ "email": email, @@ -145,7 +145,7 @@ async def delete_by_email( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"connections/{encode_path_param(id)}/users", + f"connections/{quote_path_param(id)}/users", method="DELETE", params={ "email": email, diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py index 60ebc5a6..fd991f52 100644 --- a/src/auth0/management/core/client_wrapper.py +++ b/src/auth0/management/core/client_wrapper.py @@ -21,6 +21,8 @@ def __init__( base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, ): self._token = token @@ -28,6 +30,8 @@ def __init__( self._base_url = base_url self._timeout = timeout self._max_retries = max_retries + self._stream_reconnection_enabled = stream_reconnection_enabled + self._max_stream_reconnection_attempts = max_stream_reconnection_attempts self._logging = logging def get_headers(self) -> typing.Dict[str, str]: @@ -66,6 +70,12 @@ def get_timeout(self) -> typing.Optional[float]: def get_max_retries(self) -> int: return self._max_retries + def get_stream_reconnection_enabled(self) -> bool: + return self._stream_reconnection_enabled if self._stream_reconnection_enabled is not None else True + + def get_max_stream_reconnection_attempts(self) -> typing.Optional[int]: + return self._max_stream_reconnection_attempts + class SyncClientWrapper(BaseClientWrapper): def __init__( @@ -76,11 +86,20 @@ def __init__( base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, httpx_client: httpx.Client, ): super().__init__( - token=token, headers=headers, base_url=base_url, timeout=timeout, max_retries=max_retries, logging=logging + token=token, + headers=headers, + base_url=base_url, + timeout=timeout, + max_retries=max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, + logging=logging, ) self.httpx_client = HttpClient( httpx_client=httpx_client, @@ -101,12 +120,21 @@ def __init__( base_url: str, timeout: typing.Optional[float] = None, max_retries: int = 2, + stream_reconnection_enabled: typing.Optional[bool] = None, + max_stream_reconnection_attempts: typing.Optional[int] = None, logging: typing.Optional[typing.Union[LogConfig, Logger]] = None, async_token: typing.Optional[typing.Callable[[], typing.Awaitable[str]]] = None, httpx_client: httpx.AsyncClient, ): super().__init__( - token=token, headers=headers, base_url=base_url, timeout=timeout, max_retries=max_retries, logging=logging + token=token, + headers=headers, + base_url=base_url, + timeout=timeout, + max_retries=max_retries, + stream_reconnection_enabled=stream_reconnection_enabled, + max_stream_reconnection_attempts=max_stream_reconnection_attempts, + logging=logging, ) self._async_token = async_token self.httpx_client = AsyncHttpClient( diff --git a/src/auth0/management/core/http_client.py b/src/auth0/management/core/http_client.py index f686c571..409d2670 100644 --- a/src/auth0/management/core/http_client.py +++ b/src/auth0/management/core/http_client.py @@ -3,6 +3,7 @@ import asyncio import email.utils import re +import socket import time import typing from contextlib import asynccontextmanager, contextmanager @@ -23,6 +24,39 @@ JITTER_FACTOR = 0.2 # 20% random jitter +def get_keepalive_socket_options( + idle: int = 60, + intvl: int = 30, + cnt: int = 5, +) -> typing.List[typing.Tuple[int, int, int]]: + """ + Build TCP keepalive socket options for the current platform. + + Keepalive probes keep otherwise-idle connections alive so that long, + non-streaming requests survive idle-connection reaping by a firewall, + load balancer, or NAT. The available socket constants are OS-dependent, + so each option is guarded and only emitted when the platform defines it: + + - ``SO_KEEPALIVE`` is portable (Linux/macOS/Windows). + - The idle-before-first-probe knob is ``TCP_KEEPIDLE`` on Linux and modern + Windows, but ``TCP_KEEPALIVE`` on macOS. + - ``TCP_KEEPINTVL`` / ``TCP_KEEPCNT`` exist on Linux/macOS/modern Windows. + + Passing these tuples to ``httpx.HTTPTransport(socket_options=...)`` / + ``httpx.AsyncHTTPTransport(socket_options=...)`` applies them to every + connection the transport opens. + """ + opts: typing.List[typing.Tuple[int, int, int]] = [(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)] + idle_const = getattr(socket, "TCP_KEEPIDLE", None) or getattr(socket, "TCP_KEEPALIVE", None) + if idle_const: + opts.append((socket.IPPROTO_TCP, idle_const, idle)) + if hasattr(socket, "TCP_KEEPINTVL"): + opts.append((socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, intvl)) + if hasattr(socket, "TCP_KEEPCNT"): + opts.append((socket.IPPROTO_TCP, socket.TCP_KEEPCNT, cnt)) + return opts + + def _parse_retry_after(response_headers: httpx.Headers) -> typing.Optional[float]: """ This function parses the `Retry-After` header in a HTTP response and returns the number of seconds to wait. @@ -312,11 +346,14 @@ def request( force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: base_url = self.get_base_url(base_url) - timeout = ( - request_options.get("timeout_in_seconds") + _timeout = ( + request_options.get("timeout") + if request_options is not None and request_options.get("timeout") is not None + else request_options.get("timeout_in_seconds") if request_options is not None and request_options.get("timeout_in_seconds") is not None else self.base_timeout() ) + timeout = _timeout if _timeout is not None else httpx.USE_CLIENT_DEFAULT json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit) @@ -472,11 +509,14 @@ def stream( force_multipart: typing.Optional[bool] = None, ) -> typing.Iterator[httpx.Response]: base_url = self.get_base_url(base_url) - timeout = ( - request_options.get("timeout_in_seconds") + _timeout = ( + request_options.get("timeout") + if request_options is not None and request_options.get("timeout") is not None + else request_options.get("timeout_in_seconds") if request_options is not None and request_options.get("timeout_in_seconds") is not None else self.base_timeout() ) + timeout = _timeout if _timeout is not None else httpx.USE_CLIENT_DEFAULT request_files: typing.Optional[RequestFiles] = ( convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) @@ -601,11 +641,14 @@ async def request( force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: base_url = self.get_base_url(base_url) - timeout = ( - request_options.get("timeout_in_seconds") + _timeout = ( + request_options.get("timeout") + if request_options is not None and request_options.get("timeout") is not None + else request_options.get("timeout_in_seconds") if request_options is not None and request_options.get("timeout_in_seconds") is not None else self.base_timeout() ) + timeout = _timeout if _timeout is not None else httpx.USE_CLIENT_DEFAULT request_files: typing.Optional[RequestFiles] = ( convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) @@ -764,11 +807,14 @@ async def stream( force_multipart: typing.Optional[bool] = None, ) -> typing.AsyncIterator[httpx.Response]: base_url = self.get_base_url(base_url) - timeout = ( - request_options.get("timeout_in_seconds") + _timeout = ( + request_options.get("timeout") + if request_options is not None and request_options.get("timeout") is not None + else request_options.get("timeout_in_seconds") if request_options is not None and request_options.get("timeout_in_seconds") is not None else self.base_timeout() ) + timeout = _timeout if _timeout is not None else httpx.USE_CLIENT_DEFAULT request_files: typing.Optional[RequestFiles] = ( convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) diff --git a/src/auth0/management/core/http_sse/_api.py b/src/auth0/management/core/http_sse/_api.py index b3753991..9ca5602c 100644 --- a/src/auth0/management/core/http_sse/_api.py +++ b/src/auth0/management/core/http_sse/_api.py @@ -2,29 +2,81 @@ import codecs import re +import time from contextlib import asynccontextmanager, contextmanager -from typing import Any, AsyncGenerator, AsyncIterator, Iterator +from typing import ( + Any, + AsyncContextManager, + AsyncGenerator, + AsyncIterator, + Callable, + ContextManager, + Iterator, + Optional, +) +import anyio import httpx from ._decoders import SSEDecoder from ._exceptions import SSEError from ._models import ServerSentEvent +MAX_LINE_SIZE: int = 1_048_576 # 1 MiB +# Reconnection defaults, mirroring the TypeScript SDK's Stream implementation. +DEFAULT_MAX_RECONNECTION_ATTEMPTS: int = 5 +DEFAULT_RECONNECT_DELAY_MS: int = 1_000 +MAX_RECONNECT_DELAY_MS: int = 30_000 + + +# A reconnect callback re-issues the original request (with a ``Last-Event-ID`` +# header set to the supplied event id) and returns a *context manager* yielding +# a fresh streaming ``httpx.Response``. Sync clients supply a sync context +# manager; async clients supply an async one. class EventSource: - def __init__(self, response: httpx.Response) -> None: + def __init__( + self, + response: httpx.Response, + *, + resumable: bool = False, + stream_reconnection_enabled: bool = True, + max_stream_reconnection_attempts: Optional[int] = None, + stream_terminator: Optional[str] = None, + reconnect: Optional[Callable[[str], Any]] = None, + ) -> None: self._response = response + self._resumable = resumable + self._stream_reconnection_enabled = stream_reconnection_enabled + self._max_stream_reconnection_attempts = max_stream_reconnection_attempts + self._stream_terminator = stream_terminator + self._reconnect = reconnect + + @staticmethod + def _is_event_stream(response: httpx.Response) -> bool: + content_type = response.headers.get("content-type", "").partition(";")[0] + return "text/event-stream" in content_type def _check_content_type(self) -> None: - content_type = self._response.headers.get("content-type", "").partition(";")[0] - if "text/event-stream" not in content_type: + if not self._is_event_stream(self._response): + content_type = self._response.headers.get("content-type", "").partition(";")[0] raise SSEError( f"Expected response header Content-Type to contain 'text/event-stream', got {content_type!r}" ) - def _get_charset(self) -> str: + def _is_reconnect_response_usable(self, response: httpx.Response) -> bool: + """Whether a reconnected response can be resumed as an SSE stream. + + ``httpx.stream`` does not raise on non-success status, so a resume that + returns an error page (e.g. ``200 text/html`` or a ``500`` body) would + otherwise be parsed as SSE and yield garbage/zero events. Such a + response is treated as a failed attempt (back off and retry) instead. + """ + return response.status_code < 400 and self._is_event_stream(response) + + def _get_charset(self, response: Optional[httpx.Response] = None) -> str: """Extract charset from Content-Type header, fallback to UTF-8.""" - content_type = self._response.headers.get("content-type", "") + resolved = response if response is not None else self._response + content_type = resolved.headers.get("content-type", "") # Parse charset parameter using regex charset_match = re.search(r"charset=([^;\s]+)", content_type, re.IGNORECASE) @@ -58,14 +110,83 @@ def _normalize_sse_line_endings(buf: str) -> str: return buf[:-1].replace("\r", "\n") + "\r" return buf.replace("\r", "\n") - def iter_sse(self) -> Iterator[ServerSentEvent]: - self._check_content_type() - decoder = SSEDecoder() - charset = self._get_charset() - text_decoder = codecs.getincrementaldecoder(charset)(errors="replace") + def _new_text_decoder(self, response: Optional[httpx.Response] = None) -> "codecs.IncrementalDecoder": + return codecs.getincrementaldecoder(self._get_charset(response))(errors="replace") + + def _reconnect_applicable(self) -> bool: + """Whether reconnection is configured for this stream at all. + + This is the terminator-gating half of the reconnect decision, kept + separate from :meth:`_should_reconnect` (which additionally requires a + last *dispatched* id and an unexhausted attempt budget). The split lets + a mid-stream transport error terminate consistently: + - a stream that can never reconnect (non-resumable, no terminator, + disabled, or no callback) must re-raise the error to the caller, so a + truncated stream is not mistaken for a clean completion; + - a resumable stream that has merely run out of attempts (or has no id + to resume from) ends cleanly — the same way an exhausted empty/error + -body resume already does, matching the TypeScript ``return``. + """ + return ( + self._resumable + and self._stream_terminator is not None + and self._stream_reconnection_enabled + and self._reconnect is not None + ) + + def _should_reconnect(self, last_dispatched_id: Optional[str], reconnect_attempts: int) -> bool: + """Decide whether a prematurely-ended stream should be reconnected. + + Mirrors the TypeScript ``shouldReconnect`` gating: + - only resumable SSE endpoints with a configured terminator, reconnect + enabled, and a reconnect callback are eligible (see + :meth:`_reconnect_applicable`); + - a last *dispatched* event id must exist to resume from; + - the consecutive-failed-attempt cap must not be exceeded. + """ + if not self._reconnect_applicable(): + return False + if not last_dispatched_id: + return False + max_attempts = ( + self._max_stream_reconnection_attempts + if self._max_stream_reconnection_attempts is not None + else DEFAULT_MAX_RECONNECTION_ATTEMPTS + ) + if reconnect_attempts >= max_attempts: + return False + return True + + def _reconnect_delay_seconds(self, last_retry: Optional[int]) -> float: + """Backoff before a reconnect. + Uses the server's most recent ``retry:`` directive (milliseconds) when + present, otherwise a default of ``DEFAULT_RECONNECT_DELAY_MS``, clamped + to ``MAX_RECONNECT_DELAY_MS``. + """ + base_ms = last_retry if (last_retry is not None and last_retry > 0) else DEFAULT_RECONNECT_DELAY_MS + return min(base_ms, MAX_RECONNECT_DELAY_MS) / 1000.0 + + def _sleep_before_reconnect(self, last_retry: Optional[int]) -> None: + # ``time.sleep`` blocks the calling thread but remains interruptible by + # signals (e.g. ``KeyboardInterrupt``), which propagate out and abort + # the reconnect without issuing another request. + time.sleep(self._reconnect_delay_seconds(last_retry)) + + async def _asleep_before_reconnect(self, last_retry: Optional[int]) -> None: + # ``anyio.sleep`` is cancellation-aware: if the consumer cancels the task + # or closes the async generator mid-delay, this raises (and no further + # request is issued) instead of blocking for the whole interval. + await anyio.sleep(self._reconnect_delay_seconds(last_retry)) + + def _decode_response( + self, + response: httpx.Response, + decoder: SSEDecoder, + text_decoder: "codecs.IncrementalDecoder", + ) -> Iterator[ServerSentEvent]: buf = "" - for chunk in self._response.iter_bytes(): + for chunk in response.iter_bytes(): buf += text_decoder.decode(chunk) buf = self._normalize_sse_line_endings(buf) @@ -75,29 +196,21 @@ def iter_sse(self) -> Iterator[ServerSentEvent]: if sse is not None: yield sse - # Flush any remaining bytes from the incremental decoder - buf += text_decoder.decode(b"", final=True) - buf = buf.replace("\r\n", "\n").replace("\r", "\n") + if len(buf) > MAX_LINE_SIZE: + raise SSEError( + f"SSE line exceeded maximum size of {MAX_LINE_SIZE} characters without encountering a newline" + ) - while "\n" in buf: - line, buf = buf.split("\n", 1) - sse = decoder.decode(line) - if sse is not None: - yield sse - - if buf.strip(): - sse = decoder.decode(buf) - if sse is not None: - yield sse - - async def aiter_sse(self) -> AsyncGenerator[ServerSentEvent, None]: - self._check_content_type() - decoder = SSEDecoder() - charset = self._get_charset() - text_decoder = codecs.getincrementaldecoder(charset)(errors="replace") + yield from self._flush_decoder(buf, decoder, text_decoder) + async def _adecode_response( + self, + response: httpx.Response, + decoder: SSEDecoder, + text_decoder: "codecs.IncrementalDecoder", + ) -> AsyncGenerator[ServerSentEvent, None]: buf = "" - async for chunk in self._response.aiter_bytes(): + async for chunk in response.aiter_bytes(): buf += text_decoder.decode(chunk) buf = self._normalize_sse_line_endings(buf) @@ -107,10 +220,29 @@ async def aiter_sse(self) -> AsyncGenerator[ServerSentEvent, None]: if sse is not None: yield sse + if len(buf) > MAX_LINE_SIZE: + raise SSEError( + f"SSE line exceeded maximum size of {MAX_LINE_SIZE} characters without encountering a newline" + ) + + for sse in self._flush_decoder(buf, decoder, text_decoder): + yield sse + + def _flush_decoder( + self, + buf: str, + decoder: SSEDecoder, + text_decoder: "codecs.IncrementalDecoder", + ) -> Iterator[ServerSentEvent]: # Flush any remaining bytes from the incremental decoder buf += text_decoder.decode(b"", final=True) buf = buf.replace("\r\n", "\n").replace("\r", "\n") + if len(buf) > MAX_LINE_SIZE: + raise SSEError( + f"SSE line exceeded maximum size of {MAX_LINE_SIZE} characters without encountering a newline" + ) + while "\n" in buf: line, buf = buf.split("\n", 1) sse = decoder.decode(line) @@ -122,6 +254,181 @@ async def aiter_sse(self) -> AsyncGenerator[ServerSentEvent, None]: if sse is not None: yield sse + def iter_sse(self) -> Iterator[ServerSentEvent]: + self._check_content_type() + decoder = SSEDecoder() + text_decoder = self._new_text_decoder() + + last_dispatched_id: Optional[str] = None + last_retry: Optional[int] = None + # Consecutive failed reconnection attempts. Reset to 0 whenever an event + # is successfully dispatched (reset-on-progress) — matching browser + # `EventSource` semantics: a server that emits >=1 event then drops on + # every connection can reconnect indefinitely. + reconnect_attempts = 0 + + # ``None`` means there is no live stream to read this iteration (e.g. a + # failed reconnect); the loop then re-evaluates the reconnect decision + # without re-reading an exhausted response. + response: Optional[httpx.Response] = self._response + # Context manager for a response we opened ourselves and must close. + # The initial response is owned by the caller, so it starts as None. + owned_cm: Optional[ContextManager[httpx.Response]] = None + try: + while True: + if response is not None: + events = self._decode_response(response, decoder, text_decoder) + while True: + try: + sse = next(events) + except StopIteration: + break + except SSEError: + # A protocol violation (e.g. an oversized line) is a + # genuine error, not a dropped connection; propagate it. + # Listed first because ``SSEError`` subclasses + # ``httpx.TransportError``. + raise + except httpx.TransportError: + # A transport error mid-stream (e.g. the server dropped + # the connection: ``ReadError``/``RemoteProtocolError``) + # is a premature end. Only swallow it when reconnection + # is configured for this stream; otherwise re-raise so a + # non-resumable stream still surfaces the error to the + # caller instead of looking like a clean completion. + # When reconnection is applicable but the attempt budget + # is exhausted, we ``break`` and end cleanly below — the + # same way an exhausted empty/error-body resume does, so + # give-up is consistent regardless of failure shape. + # ``next`` is used rather than ``for`` so this cannot + # swallow a ``GeneratorExit`` raised at a ``yield``. + if not self._reconnect_applicable(): + raise + break + yield sse + if sse.id: + last_dispatched_id = sse.id + if sse.retry is not None: + last_retry = sse.retry + reconnect_attempts = 0 + + if not self._should_reconnect(last_dispatched_id, reconnect_attempts): + return + reconnect_attempts += 1 + + self._sleep_before_reconnect(last_retry) + + # Close the previously-opened reconnect response before opening + # a new one so we never hold more than one extra connection. + if owned_cm is not None: + owned_cm.__exit__(None, None, None) + owned_cm = None + + assert self._reconnect is not None # guaranteed by _should_reconnect + try: + cm: ContextManager[httpx.Response] = self._reconnect(last_dispatched_id or "") + new_response = cm.__enter__() + except Exception: + # A failed reconnect consumes an attempt; back off and retry. + response = None + continue + owned_cm = cm + if new_response is None or not self._is_reconnect_response_usable(new_response): + # Null/empty body or a non-SSE/error response (e.g. 204/304, + # a 500, or an HTML error page): treat as a failed attempt. + response = None + continue + + response = new_response + # Drop any partial event left over from the dropped stream, but + # keep the last event id (per the SSE spec) and start a fresh + # incremental text decoder for the new connection. + decoder.reset_in_progress_event() + text_decoder = self._new_text_decoder(new_response) + finally: + if owned_cm is not None: + owned_cm.__exit__(None, None, None) + + async def aiter_sse(self) -> AsyncGenerator[ServerSentEvent, None]: + self._check_content_type() + decoder = SSEDecoder() + text_decoder = self._new_text_decoder() + + last_dispatched_id: Optional[str] = None + last_retry: Optional[int] = None + reconnect_attempts = 0 + + response: Optional[httpx.Response] = self._response + owned_cm: Optional[AsyncContextManager[httpx.Response]] = None + try: + while True: + if response is not None: + events = self._adecode_response(response, decoder, text_decoder) + while True: + try: + sse = await events.__anext__() + except StopAsyncIteration: + break + except SSEError: + # A protocol violation (e.g. an oversized line) is a + # genuine error, not a dropped connection; propagate it. + # Listed first because ``SSEError`` subclasses + # ``httpx.TransportError``. + raise + except httpx.TransportError: + # A transport error mid-stream (e.g. the server dropped + # the connection: ``ReadError``/``RemoteProtocolError``) + # is a premature end. Only swallow it when reconnection + # is configured for this stream; otherwise re-raise so a + # non-resumable stream still surfaces the error to the + # caller instead of looking like a clean completion. + # When reconnection is applicable but the attempt budget + # is exhausted, we ``break`` and end cleanly below — the + # same way an exhausted empty/error-body resume does, so + # give-up is consistent regardless of failure shape. + if not self._reconnect_applicable(): + raise + break + yield sse + if sse.id: + last_dispatched_id = sse.id + if sse.retry is not None: + last_retry = sse.retry + reconnect_attempts = 0 + + if not self._should_reconnect(last_dispatched_id, reconnect_attempts): + return + reconnect_attempts += 1 + + await self._asleep_before_reconnect(last_retry) + + if owned_cm is not None: + await owned_cm.__aexit__(None, None, None) + owned_cm = None + + assert self._reconnect is not None # guaranteed by _should_reconnect + try: + cm: AsyncContextManager[httpx.Response] = self._reconnect(last_dispatched_id or "") + new_response = await cm.__aenter__() + except Exception: + response = None + continue + owned_cm = cm + if new_response is None or not self._is_reconnect_response_usable(new_response): + response = None + continue + + response = new_response + decoder.reset_in_progress_event() + text_decoder = self._new_text_decoder(new_response) + finally: + if owned_cm is not None: + # Shield the close so a cancellation delivered while reading a + # reconnected response still fully tears the connection down + # instead of leaking it until the client is closed. + with anyio.CancelScope(shield=True): + await owned_cm.__aexit__(None, None, None) + @contextmanager def connect_sse(client: httpx.Client, method: str, url: str, **kwargs: Any) -> Iterator[EventSource]: diff --git a/src/auth0/management/core/http_sse/_decoders.py b/src/auth0/management/core/http_sse/_decoders.py index 339b0890..1f6b35ec 100644 --- a/src/auth0/management/core/http_sse/_decoders.py +++ b/src/auth0/management/core/http_sse/_decoders.py @@ -12,6 +12,19 @@ def __init__(self) -> None: self._last_event_id = "" self._retry: Optional[int] = None + def reset_in_progress_event(self) -> None: + """Discard any partially-parsed (undispatched) event. + + Used when a stream ends mid-event before reconnecting: the buffered + ``event``/``data``/``retry`` fields of the never-dispatched event must + be dropped so they do not corrupt the first event of the reconnected + stream. Per the SSE spec the last event id is *not* reset here — it + persists across connections. + """ + self._event = "" + self._data = [] + self._retry = None + def decode(self, line: str) -> Optional[ServerSentEvent]: # See: https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation # noqa: E501 diff --git a/src/auth0/management/core/jsonable_encoder.py b/src/auth0/management/core/jsonable_encoder.py index 5b0902eb..f638cc9a 100644 --- a/src/auth0/management/core/jsonable_encoder.py +++ b/src/auth0/management/core/jsonable_encoder.py @@ -15,6 +15,7 @@ from pathlib import PurePath from types import GeneratorType from typing import Any, Callable, Dict, List, Optional, Set, Union +from urllib.parse import quote import pydantic from .datetime_utils import serialize_datetime @@ -118,3 +119,15 @@ def encode_path_param(obj: Any) -> str: if isinstance(obj, bool): return "true" if obj else "false" return str(jsonable_encoder(obj)) + + +def quote_path_param(obj: Any) -> str: + """Encode a value for use in a URL path segment, percent-encoding it. + + Same as encode_path_param, except the result is percent-encoded so + that a value containing "/" or ".." cannot change which endpoint + the request resolves to. + """ + if isinstance(obj, bool): + return "true" if obj else "false" + return quote(str(jsonable_encoder(obj)), safe="") diff --git a/src/auth0/management/core/pydantic_utilities.py b/src/auth0/management/core/pydantic_utilities.py index df3e720d..6587f5e1 100644 --- a/src/auth0/management/core/pydantic_utilities.py +++ b/src/auth0/management/core/pydantic_utilities.py @@ -135,111 +135,21 @@ def _decimal_encoder(dec_value: Any) -> Any: Model = TypeVar("Model", bound=pydantic.BaseModel) -def _get_discriminator_and_variants(type_: Type[Any]) -> Tuple[Optional[str], Optional[List[Type[Any]]]]: - """ - Extract the discriminator field name and union variants from a discriminated union type. - Supports Annotated[Union[...], Field(discriminator=...)] patterns. - Returns (discriminator, variants) or (None, None) if not a discriminated union. - """ - origin = typing_extensions.get_origin(type_) - - if origin is typing_extensions.Annotated: - args = typing_extensions.get_args(type_) - if len(args) >= 2: - inner_type = args[0] - # Check annotations for discriminator - discriminator = None - for annotation in args[1:]: - if hasattr(annotation, "discriminator"): - discriminator = getattr(annotation, "discriminator", None) - break - - if discriminator: - inner_origin = typing_extensions.get_origin(inner_type) - if inner_origin is Union: - variants = list(typing_extensions.get_args(inner_type)) - return discriminator, variants - return None, None - - -def _get_field_annotation(model: Type[Any], field_name: str) -> Optional[Type[Any]]: - """Get the type annotation of a field from a Pydantic model.""" - if IS_PYDANTIC_V2: - fields = getattr(model, "model_fields", {}) - field_info = fields.get(field_name) - if field_info: - return cast(Optional[Type[Any]], field_info.annotation) - else: - fields = getattr(model, "__fields__", {}) - field_info = fields.get(field_name) - if field_info: - return cast(Optional[Type[Any]], field_info.outer_type_) - return None - - -def _find_variant_by_discriminator( - variants: List[Type[Any]], - discriminator: str, - discriminator_value: Any, -) -> Optional[Type[Any]]: - """Find the union variant that matches the discriminator value.""" - for variant in variants: - if not (inspect.isclass(variant) and issubclass(variant, pydantic.BaseModel)): - continue - - disc_annotation = _get_field_annotation(variant, discriminator) - if disc_annotation and is_literal_type(disc_annotation): - literal_args = get_args(disc_annotation) - if literal_args and literal_args[0] == discriminator_value: - return variant - return None - - -def _is_string_type(type_: Type[Any]) -> bool: - """Check if a type is str or Optional[str].""" - if type_ is str: - return True - - origin = typing_extensions.get_origin(type_) - if origin is Union: - args = typing_extensions.get_args(type_) - # Optional[str] = Union[str, None] - non_none_args = [a for a in args if a is not type(None)] - if len(non_none_args) == 1 and non_none_args[0] is str: - return True - - return False - - def parse_sse_obj(sse: "ServerSentEvent", type_: Type[T]) -> T: """ Parse a ServerSentEvent into the appropriate type. - Handles two scenarios based on where the discriminator field is located: + This function handles data-level discrimination where the discriminator + (e.g., 'type') is inside the 'data' payload. It parses the SSE data field + as JSON and deserializes it into the target type. - 1. Data-level discrimination: The discriminator (e.g., 'type') is inside the 'data' payload. - The union describes the data content, not the SSE envelope. - -> Returns: json.loads(data) parsed into the type - - Example: ChatStreamResponse with discriminator='type' - Input: ServerSentEvent(event="message", data='{"type": "content-delta", ...}', id="") - Output: ContentDeltaEvent (parsed from data, SSE envelope stripped) - - 2. Event-level discrimination: The discriminator (e.g., 'event') is at the SSE event level. - The union describes the full SSE event structure. - -> Returns: SSE envelope with 'data' field JSON-parsed only if the variant expects non-string - - Example: JobStreamResponse with discriminator='event' - Input: ServerSentEvent(event="ERROR", data='{"code": "FAILED", ...}', id="123") - Output: JobStreamResponse_Error with data as ErrorData object - - But for variants where data is str (like STATUS_UPDATE): - Input: ServerSentEvent(event="STATUS_UPDATE", data='{"status": "processing"}', id="1") - Output: JobStreamResponse_StatusUpdate with data as string (not parsed) + Note: Protocol-level discrimination (where the discriminator comes from + the SSE event: field) is handled at code-generation time and does not + use this function. Args: sse: The ServerSentEvent object to parse - type_: The target discriminated union type + type_: The target type to deserialize into Returns: The parsed object of type T @@ -248,66 +158,18 @@ def parse_sse_obj(sse: "ServerSentEvent", type_: Type[T]) -> T: This function is only available in SDK contexts where http_sse module exists. """ sse_event = asdict(sse) - discriminator, variants = _get_discriminator_and_variants(type_) - - if discriminator is None or variants is None: - # Not a discriminated union - parse the data field as JSON - data_value = sse_event.get("data") - if isinstance(data_value, str) and data_value: - try: - parsed_data = json.loads(data_value) - return parse_obj_as(type_, parsed_data) - except json.JSONDecodeError as e: - _logger.warning( - "Failed to parse SSE data field as JSON: %s, data: %s", - e, - data_value[:100] if len(data_value) > 100 else data_value, - ) - return parse_obj_as(type_, sse_event) - data_value = sse_event.get("data") - - # Check if discriminator is at the top level (event-level discrimination) - if discriminator in sse_event: - # Case 2: Event-level discrimination - # Find the matching variant to check if 'data' field needs JSON parsing - disc_value = sse_event.get(discriminator) - matching_variant = _find_variant_by_discriminator(variants, discriminator, disc_value) - - if matching_variant is not None: - # Check what type the variant expects for 'data' - data_type = _get_field_annotation(matching_variant, "data") - if data_type is not None and not _is_string_type(data_type): - # Variant expects non-string data - parse JSON - if isinstance(data_value, str) and data_value: - try: - parsed_data = json.loads(data_value) - new_object = dict(sse_event) - new_object["data"] = parsed_data - return parse_obj_as(type_, new_object) - except json.JSONDecodeError as e: - _logger.warning( - "Failed to parse SSE data field as JSON for event-level discrimination: %s, data: %s", - e, - data_value[:100] if len(data_value) > 100 else data_value, - ) - # Either no matching variant, data is string type, or JSON parse failed - return parse_obj_as(type_, sse_event) - - else: - # Case 1: Data-level discrimination - # The discriminator is inside the data payload - extract and parse data only - if isinstance(data_value, str) and data_value: - try: - parsed_data = json.loads(data_value) - return parse_obj_as(type_, parsed_data) - except json.JSONDecodeError as e: - _logger.warning( - "Failed to parse SSE data field as JSON for data-level discrimination: %s, data: %s", - e, - data_value[:100] if len(data_value) > 100 else data_value, - ) - return parse_obj_as(type_, sse_event) + if isinstance(data_value, str) and data_value: + try: + parsed_data = json.loads(data_value) + return parse_obj_as(type_, parsed_data) + except json.JSONDecodeError as e: + _logger.warning( + "Failed to parse SSE data field as JSON: %s, data: %s", + e, + data_value[:100] if len(data_value) > 100 else data_value, + ) + return parse_obj_as(type_, sse_event) _type_adapter_cache: Dict[int, Any] = {} diff --git a/src/auth0/management/core/request_options.py b/src/auth0/management/core/request_options.py index 1b388044..caa6f669 100644 --- a/src/auth0/management/core/request_options.py +++ b/src/auth0/management/core/request_options.py @@ -14,7 +14,9 @@ class RequestOptions(typing.TypedDict, total=False): This is used primarily as an optional final parameter for service functions. Attributes: - - timeout_in_seconds: int. The number of seconds to await an API call before timing out. + - timeout: float. The number of seconds to await an API call before timing out. + + - timeout_in_seconds: int. Deprecated alias for `timeout`; both are in seconds. Prefer `timeout`. - max_retries: int. The max number of retries to attempt if the API call fails. @@ -27,9 +29,12 @@ class RequestOptions(typing.TypedDict, total=False): - chunk_size: int. The size, in bytes, to process each chunk of data being streamed back within the response. This equates to leveraging `chunk_size` within `requests` or `httpx`, and is only leveraged for file downloads. """ + timeout: NotRequired[float] timeout_in_seconds: NotRequired[int] max_retries: NotRequired[int] additional_headers: NotRequired[typing.Dict[str, typing.Any]] additional_query_parameters: NotRequired[typing.Dict[str, typing.Any]] additional_body_parameters: NotRequired[typing.Dict[str, typing.Any]] chunk_size: NotRequired[int] + stream_reconnection_enabled: NotRequired[bool] + max_stream_reconnection_attempts: NotRequired[int] diff --git a/src/auth0/management/core/serialization.py b/src/auth0/management/core/serialization.py index c36e865c..1d753e26 100644 --- a/src/auth0/management/core/serialization.py +++ b/src/auth0/management/core/serialization.py @@ -26,6 +26,75 @@ def __init__(self, *, alias: str) -> None: self.alias = alias +# Resolving type hints (typing.get_type_hints) is expensive because it eval/compiles +# forward-reference annotations. The result is constant for a given type, so we cache it. +# This is critical for hot paths like SSE event parsing, where the same (often large +# discriminated-union) type is converted on every single event. +_type_hints_cache: typing.Dict[typing.Any, typing.Dict[str, typing.Any]] = {} + + +def _get_cached_type_hints(expected_type: typing.Any) -> typing.Dict[str, typing.Any]: + try: + cached = _type_hints_cache.get(expected_type) + except TypeError: + # Unhashable type; resolve without caching. + return _resolve_type_hints(expected_type) + if cached is None: + cached = _resolve_type_hints(expected_type) + _type_hints_cache[expected_type] = cached + return cached + + +def _resolve_type_hints(expected_type: typing.Any) -> typing.Dict[str, typing.Any]: + try: + return typing_extensions.get_type_hints(expected_type, include_extras=True) + except NameError: + # The type contains a circular reference, so we use the __annotations__ attribute directly. + return getattr(expected_type, "__annotations__", {}) + + +# Whether convert_and_respect_annotation_metadata can possibly rewrite anything for a given +# annotation, i.e. whether any reachable model/TypedDict field carries a FieldMetadata alias. +# This is constant per type, so we cache it and use it to short-circuit the recursive walk. +_requires_conversion_cache: typing.Dict[typing.Any, bool] = {} + + +def _requires_conversion(type_: typing.Any) -> bool: + try: + cached = _requires_conversion_cache.get(type_) + except TypeError: + # Unhashable annotation; compute without caching. + return _compute_requires_conversion(type_, set()) + if cached is None: + cached = _compute_requires_conversion(type_, set()) + _requires_conversion_cache[type_] = cached + return cached + + +def _compute_requires_conversion(type_: typing.Any, seen: typing.Set[typing.Any]) -> bool: + clean_type = _remove_annotations(type_) + + try: + if clean_type in seen: + return False + seen = seen | {clean_type} + except TypeError: + # Unhashable type; skip cycle tracking (the type graph is finite in practice). + pass + + # Models / TypedDicts: a field alias here means we must dealias; otherwise recurse into fields. + if (inspect.isclass(clean_type) and issubclass(clean_type, pydantic.BaseModel)) or typing_extensions.is_typeddict( + clean_type + ): + annotations = _get_cached_type_hints(clean_type) + if _get_alias_to_field_name(annotations): + return True + return any(_compute_requires_conversion(hint, seen) for hint in annotations.values()) + + # Containers / unions: recurse into the type arguments (List/Set/Sequence/Dict/Union/etc.). + return any(_compute_requires_conversion(arg, seen) for arg in typing_extensions.get_args(clean_type)) + + def convert_and_respect_annotation_metadata( *, object_: typing.Any, @@ -57,6 +126,13 @@ def convert_and_respect_annotation_metadata( return None if inner_type is None: inner_type = annotation + # The only thing this function ever rewrites is keys that carry a FieldMetadata + # alias. If nothing in the (cached) type graph has such an alias, the conversion is + # a content-identity transform, so we can skip the entire recursive walk. This is + # the hot path for SSE streaming, where a large discriminated union would otherwise + # be traversed on every single event. + if not _requires_conversion(annotation): + return object_ clean_type = _remove_annotations(inner_type) # Pydantic models @@ -160,12 +236,7 @@ def _convert_mapping( direction: typing.Literal["read", "write"], ) -> typing.Mapping[str, object]: converted_object: typing.Dict[str, object] = {} - try: - annotations = typing_extensions.get_type_hints(expected_type, include_extras=True) - except NameError: - # The TypedDict contains a circular reference, so - # we use the __annotations__ attribute directly. - annotations = getattr(expected_type, "__annotations__", {}) + annotations = _get_cached_type_hints(expected_type) aliases_to_field_names = _get_alias_to_field_name(annotations) for key, value in object_.items(): if direction == "read" and key in aliases_to_field_names: @@ -221,12 +292,12 @@ def _remove_annotations(type_: typing.Any) -> typing.Any: def get_alias_to_field_mapping(type_: typing.Any) -> typing.Dict[str, str]: - annotations = typing_extensions.get_type_hints(type_, include_extras=True) + annotations = _get_cached_type_hints(type_) return _get_alias_to_field_name(annotations) def get_field_to_alias_mapping(type_: typing.Any) -> typing.Dict[str, str]: - annotations = typing_extensions.get_type_hints(type_, include_extras=True) + annotations = _get_cached_type_hints(type_) return _get_field_to_alias_name(annotations) diff --git a/src/auth0/management/custom_domains/raw_client.py b/src/auth0/management/custom_domains/raw_client.py index 6d6fc82c..05b4c3c8 100644 --- a/src/auth0/management/custom_domains/raw_client.py +++ b/src/auth0/management/custom_domains/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -446,7 +446,7 @@ def get( Custom domain successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -541,7 +541,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -680,7 +680,7 @@ def update( Custom domain updated. """ _response = self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="PATCH", json={ "tls_policy": tls_policy, @@ -777,7 +777,7 @@ def test( Custom domain test successfully completed. """ _response = self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}/test", + f"custom-domains/{quote_path_param(id)}/test", method="POST", request_options=request_options, ) @@ -882,7 +882,7 @@ def verify( Custom domain successfully verified. """ _response = self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}/verify", + f"custom-domains/{quote_path_param(id)}/verify", method="POST", request_options=request_options, ) @@ -1372,7 +1372,7 @@ async def get( Custom domain successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1469,7 +1469,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1608,7 +1608,7 @@ async def update( Custom domain updated. """ _response = await self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}", + f"custom-domains/{quote_path_param(id)}", method="PATCH", json={ "tls_policy": tls_policy, @@ -1705,7 +1705,7 @@ async def test( Custom domain test successfully completed. """ _response = await self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}/test", + f"custom-domains/{quote_path_param(id)}/test", method="POST", request_options=request_options, ) @@ -1810,7 +1810,7 @@ async def verify( Custom domain successfully verified. """ _response = await self._client_wrapper.httpx_client.request( - f"custom-domains/{encode_path_param(id)}/verify", + f"custom-domains/{quote_path_param(id)}/verify", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/device_credentials/client.py b/src/auth0/management/device_credentials/client.py index e813868e..f5ebdc82 100644 --- a/src/auth0/management/device_credentials/client.py +++ b/src/auth0/management/device_credentials/client.py @@ -73,7 +73,7 @@ def list( client_id of the devices to retrieve. type : typing.Optional[DeviceCredentialTypeEnum] - Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested + Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. If none is provided a combined list of `refresh_tokens` and `public_keys` will be returned (and no `rotating_refresh_token`), in this case `page`, `per_page` and `include_totals` will be ignored. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -267,7 +267,7 @@ async def list( client_id of the devices to retrieve. type : typing.Optional[DeviceCredentialTypeEnum] - Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested + Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. If none is provided a combined list of `refresh_tokens` and `public_keys` will be returned (and no `rotating_refresh_token`), in this case `page`, `per_page` and `include_totals` will be ignored. request_options : typing.Optional[RequestOptions] Request-specific configuration. diff --git a/src/auth0/management/device_credentials/raw_client.py b/src/auth0/management/device_credentials/raw_client.py index b895495b..8a8d025d 100644 --- a/src/auth0/management/device_credentials/raw_client.py +++ b/src/auth0/management/device_credentials/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -73,7 +73,7 @@ def list( client_id of the devices to retrieve. type : typing.Optional[DeviceCredentialTypeEnum] - Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested + Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. If none is provided a combined list of `refresh_tokens` and `public_keys` will be returned (and no `rotating_refresh_token`), in this case `page`, `per_page` and `include_totals` will be ignored. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -110,7 +110,7 @@ def list( ), ) _items = _parsed_response.device_credentials - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -322,7 +322,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"device-credentials/{encode_path_param(id)}", + f"device-credentials/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -427,7 +427,7 @@ async def list( client_id of the devices to retrieve. type : typing.Optional[DeviceCredentialTypeEnum] - Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested + Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. If none is provided a combined list of `refresh_tokens` and `public_keys` will be returned (and no `rotating_refresh_token`), in this case `page`, `per_page` and `include_totals` will be ignored. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -464,7 +464,7 @@ async def list( ), ) _items = _parsed_response.device_credentials - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -681,7 +681,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"device-credentials/{encode_path_param(id)}", + f"device-credentials/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/email_templates/raw_client.py b/src/auth0/management/email_templates/raw_client.py index 95892e84..f7d53650 100644 --- a/src/auth0/management/email_templates/raw_client.py +++ b/src/auth0/management/email_templates/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -198,7 +198,7 @@ def get( Template successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="GET", request_options=request_options, ) @@ -323,7 +323,7 @@ def set( Template successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="PUT", json={ "template": template, @@ -474,7 +474,7 @@ def update( Template successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="PATCH", json={ "template": template, @@ -739,7 +739,7 @@ async def get( Template successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="GET", request_options=request_options, ) @@ -864,7 +864,7 @@ async def set( Template successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="PUT", json={ "template": template, @@ -1015,7 +1015,7 @@ async def update( Template successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"email-templates/{encode_path_param(template_name)}", + f"email-templates/{quote_path_param(template_name)}", method="PATCH", json={ "template": template, diff --git a/src/auth0/management/emails/provider/client.py b/src/auth0/management/emails/provider/client.py index 38dadccc..1b7784d6 100644 --- a/src/auth0/management/emails/provider/client.py +++ b/src/auth0/management/emails/provider/client.py @@ -78,9 +78,9 @@ def create( self, *, name: EmailProviderNameEnum, - credentials: EmailProviderCredentialsSchema, enabled: typing.Optional[bool] = OMIT, default_from_address: typing.Optional[str] = OMIT, + credentials: typing.Optional[EmailProviderCredentialsSchema] = OMIT, settings: typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateEmailProviderResponseContent: @@ -115,14 +115,14 @@ def create( ---------- name : EmailProviderNameEnum - credentials : EmailProviderCredentialsSchema - enabled : typing.Optional[bool] Whether the provider is enabled (true) or disabled (false). default_from_address : typing.Optional[str] Email address to use as "from" when no other address specified. + credentials : typing.Optional[EmailProviderCredentialsSchema] + settings : typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] request_options : typing.Optional[RequestOptions] @@ -135,23 +135,20 @@ def create( Examples -------- - from auth0 import Auth0, EmailProviderCredentialsSchemaZero + from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) client.emails.provider.create( name="mailgun", - credentials=EmailProviderCredentialsSchemaZero( - api_key="api_key", - ), ) """ _response = self._raw_client.create( name=name, - credentials=credentials, enabled=enabled, default_from_address=default_from_address, + credentials=credentials, settings=settings, request_options=request_options, ) @@ -332,9 +329,9 @@ async def create( self, *, name: EmailProviderNameEnum, - credentials: EmailProviderCredentialsSchema, enabled: typing.Optional[bool] = OMIT, default_from_address: typing.Optional[str] = OMIT, + credentials: typing.Optional[EmailProviderCredentialsSchema] = OMIT, settings: typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateEmailProviderResponseContent: @@ -369,14 +366,14 @@ async def create( ---------- name : EmailProviderNameEnum - credentials : EmailProviderCredentialsSchema - enabled : typing.Optional[bool] Whether the provider is enabled (true) or disabled (false). default_from_address : typing.Optional[str] Email address to use as "from" when no other address specified. + credentials : typing.Optional[EmailProviderCredentialsSchema] + settings : typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] request_options : typing.Optional[RequestOptions] @@ -391,7 +388,7 @@ async def create( -------- import asyncio - from auth0 import AsyncAuth0, EmailProviderCredentialsSchemaZero + from auth0 import AsyncAuth0 client = AsyncAuth0( token="YOUR_TOKEN", @@ -401,9 +398,6 @@ async def create( async def main() -> None: await client.emails.provider.create( name="mailgun", - credentials=EmailProviderCredentialsSchemaZero( - api_key="api_key", - ), ) @@ -411,9 +405,9 @@ async def main() -> None: """ _response = await self._raw_client.create( name=name, - credentials=credentials, enabled=enabled, default_from_address=default_from_address, + credentials=credentials, settings=settings, request_options=request_options, ) diff --git a/src/auth0/management/emails/provider/raw_client.py b/src/auth0/management/emails/provider/raw_client.py index 625e2617..5434452e 100644 --- a/src/auth0/management/emails/provider/raw_client.py +++ b/src/auth0/management/emails/provider/raw_client.py @@ -147,9 +147,9 @@ def create( self, *, name: EmailProviderNameEnum, - credentials: EmailProviderCredentialsSchema, enabled: typing.Optional[bool] = OMIT, default_from_address: typing.Optional[str] = OMIT, + credentials: typing.Optional[EmailProviderCredentialsSchema] = OMIT, settings: typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateEmailProviderResponseContent]: @@ -184,14 +184,14 @@ def create( ---------- name : EmailProviderNameEnum - credentials : EmailProviderCredentialsSchema - enabled : typing.Optional[bool] Whether the provider is enabled (true) or disabled (false). default_from_address : typing.Optional[str] Email address to use as "from" when no other address specified. + credentials : typing.Optional[EmailProviderCredentialsSchema] + settings : typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] request_options : typing.Optional[RequestOptions] @@ -660,9 +660,9 @@ async def create( self, *, name: EmailProviderNameEnum, - credentials: EmailProviderCredentialsSchema, enabled: typing.Optional[bool] = OMIT, default_from_address: typing.Optional[str] = OMIT, + credentials: typing.Optional[EmailProviderCredentialsSchema] = OMIT, settings: typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateEmailProviderResponseContent]: @@ -697,14 +697,14 @@ async def create( ---------- name : EmailProviderNameEnum - credentials : EmailProviderCredentialsSchema - enabled : typing.Optional[bool] Whether the provider is enabled (true) or disabled (false). default_from_address : typing.Optional[str] Email address to use as "from" when no other address specified. + credentials : typing.Optional[EmailProviderCredentialsSchema] + settings : typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties] request_options : typing.Optional[RequestOptions] diff --git a/src/auth0/management/errors/__init__.py b/src/auth0/management/errors/__init__.py index cee2e5a9..11a6e4ce 100644 --- a/src/auth0/management/errors/__init__.py +++ b/src/auth0/management/errors/__init__.py @@ -10,6 +10,7 @@ from .conflict_error import ConflictError from .content_too_large_error import ContentTooLargeError from .forbidden_error import ForbiddenError + from .gateway_timeout_error import GatewayTimeoutError from .gone_error import GoneError from .internal_server_error import InternalServerError from .not_found_error import NotFoundError @@ -18,11 +19,13 @@ from .service_unavailable_error import ServiceUnavailableError from .too_many_requests_error import TooManyRequestsError from .unauthorized_error import UnauthorizedError + from .unprocessable_entity_error import UnprocessableEntityError _dynamic_imports: typing.Dict[str, str] = { "BadRequestError": ".bad_request_error", "ConflictError": ".conflict_error", "ContentTooLargeError": ".content_too_large_error", "ForbiddenError": ".forbidden_error", + "GatewayTimeoutError": ".gateway_timeout_error", "GoneError": ".gone_error", "InternalServerError": ".internal_server_error", "NotFoundError": ".not_found_error", @@ -31,6 +34,7 @@ "ServiceUnavailableError": ".service_unavailable_error", "TooManyRequestsError": ".too_many_requests_error", "UnauthorizedError": ".unauthorized_error", + "UnprocessableEntityError": ".unprocessable_entity_error", } @@ -60,6 +64,7 @@ def __dir__(): "ConflictError", "ContentTooLargeError", "ForbiddenError", + "GatewayTimeoutError", "GoneError", "InternalServerError", "NotFoundError", @@ -68,4 +73,5 @@ def __dir__(): "ServiceUnavailableError", "TooManyRequestsError", "UnauthorizedError", + "UnprocessableEntityError", ] diff --git a/src/auth0/management/errors/gateway_timeout_error.py b/src/auth0/management/errors/gateway_timeout_error.py new file mode 100644 index 00000000..b4a41342 --- /dev/null +++ b/src/auth0/management/errors/gateway_timeout_error.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.api_error import ApiError + + +class GatewayTimeoutError(ApiError): + def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None): + super().__init__(status_code=504, headers=headers, body=body) diff --git a/src/auth0/management/errors/unprocessable_entity_error.py b/src/auth0/management/errors/unprocessable_entity_error.py new file mode 100644 index 00000000..1c801a4b --- /dev/null +++ b/src/auth0/management/errors/unprocessable_entity_error.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.api_error import ApiError + + +class UnprocessableEntityError(ApiError): + def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None): + super().__init__(status_code=422, headers=headers, body=body) diff --git a/src/auth0/management/event_streams/client.py b/src/auth0/management/event_streams/client.py index 5c108d50..f146337b 100644 --- a/src/auth0/management/event_streams/client.py +++ b/src/auth0/management/event_streams/client.py @@ -283,7 +283,7 @@ def test( ) client.event_streams.test( id="id", - event_type="group.created", + event_type="connection.created", ) """ _response = self._raw_client.test(id, event_type=event_type, data=data, request_options=request_options) @@ -609,7 +609,7 @@ async def test( async def main() -> None: await client.event_streams.test( id="id", - event_type="group.created", + event_type="connection.created", ) diff --git a/src/auth0/management/event_streams/deliveries/client.py b/src/auth0/management/event_streams/deliveries/client.py index 76dcdf2c..72699bc6 100644 --- a/src/auth0/management/event_streams/deliveries/client.py +++ b/src/auth0/management/event_streams/deliveries/client.py @@ -3,9 +3,11 @@ import typing from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager from ...core.request_options import RequestOptions from ...types.event_stream_delivery import EventStreamDelivery from ...types.get_event_stream_delivery_history_response_content import GetEventStreamDeliveryHistoryResponseContent +from ...types.list_event_stream_deliveries_response_content import ListEventStreamDeliveriesResponseContent from .raw_client import AsyncRawDeliveriesClient, RawDeliveriesClient @@ -35,7 +37,7 @@ def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> typing.List[EventStreamDelivery]: + ) -> SyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent]: """ Parameters ---------- @@ -65,7 +67,7 @@ def list( Returns ------- - typing.List[EventStreamDelivery] + SyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent] Event stream deliveries successfully retrieved. Examples @@ -75,7 +77,7 @@ def list( client = Auth0( token="YOUR_TOKEN", ) - client.event_streams.deliveries.list( + response = client.event_streams.deliveries.list( id="id", statuses="statuses", event_types="event_types", @@ -84,8 +86,13 @@ def list( from_="from", take=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( id, statuses=statuses, event_types=event_types, @@ -95,7 +102,6 @@ def list( take=take, request_options=request_options, ) - return _response.data def get_history( self, id: str, event_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -159,7 +165,7 @@ async def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> typing.List[EventStreamDelivery]: + ) -> AsyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent]: """ Parameters ---------- @@ -189,7 +195,7 @@ async def list( Returns ------- - typing.List[EventStreamDelivery] + AsyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent] Event stream deliveries successfully retrieved. Examples @@ -204,7 +210,7 @@ async def list( async def main() -> None: - await client.event_streams.deliveries.list( + response = await client.event_streams.deliveries.list( id="id", statuses="statuses", event_types="event_types", @@ -213,11 +219,17 @@ async def main() -> None: from_="from", take=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( id, statuses=statuses, event_types=event_types, @@ -227,7 +239,6 @@ async def main() -> None: take=take, request_options=request_options, ) - return _response.data async def get_history( self, id: str, event_id: str, *, request_options: typing.Optional[RequestOptions] = None diff --git a/src/auth0/management/event_streams/deliveries/raw_client.py b/src/auth0/management/event_streams/deliveries/raw_client.py index b0efd6d6..8eb2642f 100644 --- a/src/auth0/management/event_streams/deliveries/raw_client.py +++ b/src/auth0/management/event_streams/deliveries/raw_client.py @@ -6,7 +6,8 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param +from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -17,6 +18,7 @@ from ...errors.unauthorized_error import UnauthorizedError from ...types.event_stream_delivery import EventStreamDelivery from ...types.get_event_stream_delivery_history_response_content import GetEventStreamDeliveryHistoryResponseContent +from ...types.list_event_stream_deliveries_response_content import ListEventStreamDeliveriesResponseContent from pydantic import ValidationError @@ -35,7 +37,7 @@ def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[typing.List[EventStreamDelivery]]: + ) -> SyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent]: """ Parameters ---------- @@ -65,11 +67,11 @@ def list( Returns ------- - HttpResponse[typing.List[EventStreamDelivery]] + SyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent] Event stream deliveries successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/deliveries", + f"event-streams/{quote_path_param(id)}/deliveries", method="GET", params={ "statuses": statuses, @@ -83,14 +85,27 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[EventStreamDelivery], + _parsed_response = typing.cast( + ListEventStreamDeliveriesResponseContent, parse_obj_as( - type_=typing.List[EventStreamDelivery], # type: ignore + type_=ListEventStreamDeliveriesResponseContent, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.deliveries + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + id, + statuses=statuses, + event_types=event_types, + date_from=date_from, + date_to=date_to, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), @@ -176,7 +191,7 @@ def get_history( Delivery history for event successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/deliveries/{encode_path_param(event_id)}", + f"event-streams/{quote_path_param(id)}/deliveries/{quote_path_param(event_id)}", method="GET", request_options=request_options, ) @@ -259,7 +274,7 @@ async def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[typing.List[EventStreamDelivery]]: + ) -> AsyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent]: """ Parameters ---------- @@ -289,11 +304,11 @@ async def list( Returns ------- - AsyncHttpResponse[typing.List[EventStreamDelivery]] + AsyncPager[EventStreamDelivery, ListEventStreamDeliveriesResponseContent] Event stream deliveries successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/deliveries", + f"event-streams/{quote_path_param(id)}/deliveries", method="GET", params={ "statuses": statuses, @@ -307,14 +322,30 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[EventStreamDelivery], + _parsed_response = typing.cast( + ListEventStreamDeliveriesResponseContent, parse_obj_as( - type_=typing.List[EventStreamDelivery], # type: ignore + type_=ListEventStreamDeliveriesResponseContent, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.deliveries + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + id, + statuses=statuses, + event_types=event_types, + date_from=date_from, + date_to=date_to, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), @@ -400,7 +431,7 @@ async def get_history( Delivery history for event successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/deliveries/{encode_path_param(event_id)}", + f"event-streams/{quote_path_param(id)}/deliveries/{quote_path_param(event_id)}", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/event_streams/raw_client.py b/src/auth0/management/event_streams/raw_client.py index fb5bff0a..85f8c441 100644 --- a/src/auth0/management/event_streams/raw_client.py +++ b/src/auth0/management/event_streams/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -261,7 +261,7 @@ def get( Event stream successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -343,7 +343,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -438,7 +438,7 @@ def update( Event stream successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -546,7 +546,7 @@ def test( Test event successfully submitted. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/test", + f"event-streams/{quote_path_param(id)}/test", method="POST", json={ "event_type": event_type, @@ -839,7 +839,7 @@ async def get( Event stream successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -923,7 +923,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1018,7 +1018,7 @@ async def update( Event stream successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}", + f"event-streams/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1126,7 +1126,7 @@ async def test( Test event successfully submitted. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/test", + f"event-streams/{quote_path_param(id)}/test", method="POST", json={ "event_type": event_type, diff --git a/src/auth0/management/event_streams/redeliveries/raw_client.py b/src/auth0/management/event_streams/redeliveries/raw_client.py index fd51b747..4083b1f7 100644 --- a/src/auth0/management/event_streams/redeliveries/raw_client.py +++ b/src/auth0/management/event_streams/redeliveries/raw_client.py @@ -7,7 +7,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -66,7 +66,7 @@ def create( Redelivery request accepted. """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/redeliver", + f"event-streams/{quote_path_param(id)}/redeliver", method="POST", json={ "date_from": date_from, @@ -174,7 +174,7 @@ def create_by_id( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/redeliver/{encode_path_param(event_id)}", + f"event-streams/{quote_path_param(id)}/redeliver/{quote_path_param(event_id)}", method="POST", request_options=request_options, ) @@ -287,7 +287,7 @@ async def create( Redelivery request accepted. """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/redeliver", + f"event-streams/{quote_path_param(id)}/redeliver", method="POST", json={ "date_from": date_from, @@ -395,7 +395,7 @@ async def create_by_id( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"event-streams/{encode_path_param(id)}/redeliver/{encode_path_param(event_id)}", + f"event-streams/{quote_path_param(id)}/redeliver/{quote_path_param(event_id)}", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/events/client.py b/src/auth0/management/events/client.py index 5ac16852..8e7f372f 100644 --- a/src/auth0/management/events/client.py +++ b/src/auth0/management/events/client.py @@ -68,7 +68,7 @@ def subscribe( response = client.events.subscribe( from_="from", from_timestamp="from_timestamp", - event_type=["group.created"], + event_type=["connection.created"], ) for chunk in response: yield chunk @@ -143,7 +143,7 @@ async def main() -> None: response = await client.events.subscribe( from_="from", from_timestamp="from_timestamp", - event_type=["group.created"], + event_type=["connection.created"], ) async for chunk in response: yield chunk diff --git a/src/auth0/management/events/raw_client.py b/src/auth0/management/events/raw_client.py index b8938a3b..097fe28d 100644 --- a/src/auth0/management/events/raw_client.py +++ b/src/auth0/management/events/raw_client.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import contextlib +import json import typing from json.decoder import JSONDecodeError -from logging import error, warning +from logging import warning from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.http_sse._api import EventSource from ..core.parse_error import ParsingError -from ..core.pydantic_utilities import parse_obj_as, parse_sse_obj +from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions from ..errors.bad_request_error import BadRequestError from ..errors.forbidden_error import ForbiddenError @@ -18,6 +19,33 @@ from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError +from ..types.event_stream_cloud_event_connection_created import EventStreamCloudEventConnectionCreated +from ..types.event_stream_cloud_event_connection_deleted import EventStreamCloudEventConnectionDeleted +from ..types.event_stream_cloud_event_connection_updated import EventStreamCloudEventConnectionUpdated +from ..types.event_stream_cloud_event_error_message import EventStreamCloudEventErrorMessage +from ..types.event_stream_cloud_event_group_created import EventStreamCloudEventGroupCreated +from ..types.event_stream_cloud_event_group_deleted import EventStreamCloudEventGroupDeleted +from ..types.event_stream_cloud_event_group_member_added import EventStreamCloudEventGroupMemberAdded +from ..types.event_stream_cloud_event_group_member_deleted import EventStreamCloudEventGroupMemberDeleted +from ..types.event_stream_cloud_event_group_role_assigned import EventStreamCloudEventGroupRoleAssigned +from ..types.event_stream_cloud_event_group_role_deleted import EventStreamCloudEventGroupRoleDeleted +from ..types.event_stream_cloud_event_group_updated import EventStreamCloudEventGroupUpdated +from ..types.event_stream_cloud_event_offset_only_message import EventStreamCloudEventOffsetOnlyMessage +from ..types.event_stream_cloud_event_org_connection_added import EventStreamCloudEventOrgConnectionAdded +from ..types.event_stream_cloud_event_org_connection_removed import EventStreamCloudEventOrgConnectionRemoved +from ..types.event_stream_cloud_event_org_connection_updated import EventStreamCloudEventOrgConnectionUpdated +from ..types.event_stream_cloud_event_org_created import EventStreamCloudEventOrgCreated +from ..types.event_stream_cloud_event_org_deleted import EventStreamCloudEventOrgDeleted +from ..types.event_stream_cloud_event_org_group_role_assigned import EventStreamCloudEventOrgGroupRoleAssigned +from ..types.event_stream_cloud_event_org_group_role_deleted import EventStreamCloudEventOrgGroupRoleDeleted +from ..types.event_stream_cloud_event_org_member_added import EventStreamCloudEventOrgMemberAdded +from ..types.event_stream_cloud_event_org_member_deleted import EventStreamCloudEventOrgMemberDeleted +from ..types.event_stream_cloud_event_org_member_role_assigned import EventStreamCloudEventOrgMemberRoleAssigned +from ..types.event_stream_cloud_event_org_member_role_deleted import EventStreamCloudEventOrgMemberRoleDeleted +from ..types.event_stream_cloud_event_org_updated import EventStreamCloudEventOrgUpdated +from ..types.event_stream_cloud_event_user_created import EventStreamCloudEventUserCreated +from ..types.event_stream_cloud_event_user_deleted import EventStreamCloudEventUserDeleted +from ..types.event_stream_cloud_event_user_updated import EventStreamCloudEventUserUpdated from ..types.event_stream_subscribe_events_event_type_enum import EventStreamSubscribeEventsEventTypeEnum from ..types.event_stream_subscribe_events_response_content import EventStreamSubscribeEventsResponseContent from pydantic import ValidationError @@ -82,24 +110,321 @@ def _iter(): for _sse in _event_source.iter_sse(): if _sse.data == None: return - try: - yield typing.cast( - EventStreamSubscribeEventsResponseContent, - parse_sse_obj( - sse=_sse, - type_=EventStreamSubscribeEventsResponseContent, # type: ignore - ), - ) - except JSONDecodeError as e: - warning(f"Skipping SSE event with invalid JSON: {e}, sse: {_sse!r}") - except (TypeError, ValueError, KeyError, AttributeError) as e: - warning( - f"Skipping SSE event due to model construction error: {type(e).__name__}: {e}, sse: {_sse!r}" - ) - except Exception as e: - error( - f"Unexpected error processing SSE event: {type(e).__name__}: {e}, sse: {_sse!r}" - ) + if _sse.event == "connection.created": + try: + yield typing.cast( + EventStreamCloudEventConnectionCreated, + parse_obj_as( + type_=EventStreamCloudEventConnectionCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.created': {e}, sse: {_sse!r}") + elif _sse.event == "connection.deleted": + try: + yield typing.cast( + EventStreamCloudEventConnectionDeleted, + parse_obj_as( + type_=EventStreamCloudEventConnectionDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "connection.updated": + try: + yield typing.cast( + EventStreamCloudEventConnectionUpdated, + parse_obj_as( + type_=EventStreamCloudEventConnectionUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.updated': {e}, sse: {_sse!r}") + elif _sse.event == "group.created": + try: + yield typing.cast( + EventStreamCloudEventGroupCreated, + parse_obj_as( + type_=EventStreamCloudEventGroupCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.created': {e}, sse: {_sse!r}") + elif _sse.event == "group.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.member.added": + try: + yield typing.cast( + EventStreamCloudEventGroupMemberAdded, + parse_obj_as( + type_=EventStreamCloudEventGroupMemberAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.member.added': {e}, sse: {_sse!r}") + elif _sse.event == "group.member.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupMemberDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupMemberDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.member.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventGroupRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventGroupRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.role.assigned': {e}, sse: {_sse!r}") + elif _sse.event == "group.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.role.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.updated": + try: + yield typing.cast( + EventStreamCloudEventGroupUpdated, + parse_obj_as( + type_=EventStreamCloudEventGroupUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.updated': {e}, sse: {_sse!r}") + elif _sse.event == "organization.connection.added": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionAdded, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.added': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.connection.removed": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionRemoved, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionRemoved, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.removed': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.connection.updated": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionUpdated, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.updated': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.created": + try: + yield typing.cast( + EventStreamCloudEventOrgCreated, + parse_obj_as( + type_=EventStreamCloudEventOrgCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.created': {e}, sse: {_sse!r}") + elif _sse.event == "organization.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "organization.group.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventOrgGroupRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventOrgGroupRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.group.role.assigned': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.group.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgGroupRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgGroupRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.group.role.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.added": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberAdded, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.added': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.role.assigned': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.role.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.updated": + try: + yield typing.cast( + EventStreamCloudEventOrgUpdated, + parse_obj_as( + type_=EventStreamCloudEventOrgUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.updated': {e}, sse: {_sse!r}") + elif _sse.event == "user.created": + try: + yield typing.cast( + EventStreamCloudEventUserCreated, + parse_obj_as( + type_=EventStreamCloudEventUserCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.created': {e}, sse: {_sse!r}") + elif _sse.event == "user.deleted": + try: + yield typing.cast( + EventStreamCloudEventUserDeleted, + parse_obj_as( + type_=EventStreamCloudEventUserDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "user.updated": + try: + yield typing.cast( + EventStreamCloudEventUserUpdated, + parse_obj_as( + type_=EventStreamCloudEventUserUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.updated': {e}, sse: {_sse!r}") + elif _sse.event == "error": + try: + yield typing.cast( + EventStreamCloudEventErrorMessage, + parse_obj_as( + type_=EventStreamCloudEventErrorMessage, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'error': {e}, sse: {_sse!r}") + elif _sse.event == "offset-only": + try: + yield typing.cast( + EventStreamCloudEventOffsetOnlyMessage, + parse_obj_as( + type_=EventStreamCloudEventOffsetOnlyMessage, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'offset-only': {e}, sse: {_sse!r}") return return HttpResponse(response=_response, data=_iter()) @@ -246,24 +571,321 @@ async def _iter(): async for _sse in _event_source.aiter_sse(): if _sse.data == None: return - try: - yield typing.cast( - EventStreamSubscribeEventsResponseContent, - parse_sse_obj( - sse=_sse, - type_=EventStreamSubscribeEventsResponseContent, # type: ignore - ), - ) - except JSONDecodeError as e: - warning(f"Skipping SSE event with invalid JSON: {e}, sse: {_sse!r}") - except (TypeError, ValueError, KeyError, AttributeError) as e: - warning( - f"Skipping SSE event due to model construction error: {type(e).__name__}: {e}, sse: {_sse!r}" - ) - except Exception as e: - error( - f"Unexpected error processing SSE event: {type(e).__name__}: {e}, sse: {_sse!r}" - ) + if _sse.event == "connection.created": + try: + yield typing.cast( + EventStreamCloudEventConnectionCreated, + parse_obj_as( + type_=EventStreamCloudEventConnectionCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.created': {e}, sse: {_sse!r}") + elif _sse.event == "connection.deleted": + try: + yield typing.cast( + EventStreamCloudEventConnectionDeleted, + parse_obj_as( + type_=EventStreamCloudEventConnectionDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "connection.updated": + try: + yield typing.cast( + EventStreamCloudEventConnectionUpdated, + parse_obj_as( + type_=EventStreamCloudEventConnectionUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'connection.updated': {e}, sse: {_sse!r}") + elif _sse.event == "group.created": + try: + yield typing.cast( + EventStreamCloudEventGroupCreated, + parse_obj_as( + type_=EventStreamCloudEventGroupCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.created': {e}, sse: {_sse!r}") + elif _sse.event == "group.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.member.added": + try: + yield typing.cast( + EventStreamCloudEventGroupMemberAdded, + parse_obj_as( + type_=EventStreamCloudEventGroupMemberAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.member.added': {e}, sse: {_sse!r}") + elif _sse.event == "group.member.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupMemberDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupMemberDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.member.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventGroupRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventGroupRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.role.assigned': {e}, sse: {_sse!r}") + elif _sse.event == "group.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventGroupRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventGroupRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.role.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "group.updated": + try: + yield typing.cast( + EventStreamCloudEventGroupUpdated, + parse_obj_as( + type_=EventStreamCloudEventGroupUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'group.updated': {e}, sse: {_sse!r}") + elif _sse.event == "organization.connection.added": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionAdded, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.added': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.connection.removed": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionRemoved, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionRemoved, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.removed': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.connection.updated": + try: + yield typing.cast( + EventStreamCloudEventOrgConnectionUpdated, + parse_obj_as( + type_=EventStreamCloudEventOrgConnectionUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.connection.updated': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.created": + try: + yield typing.cast( + EventStreamCloudEventOrgCreated, + parse_obj_as( + type_=EventStreamCloudEventOrgCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.created': {e}, sse: {_sse!r}") + elif _sse.event == "organization.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "organization.group.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventOrgGroupRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventOrgGroupRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.group.role.assigned': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.group.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgGroupRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgGroupRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.group.role.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.added": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberAdded, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberAdded, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.added': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.role.assigned": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberRoleAssigned, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberRoleAssigned, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.role.assigned': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.member.role.deleted": + try: + yield typing.cast( + EventStreamCloudEventOrgMemberRoleDeleted, + parse_obj_as( + type_=EventStreamCloudEventOrgMemberRoleDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning( + f"Failed to parse SSE event 'organization.member.role.deleted': {e}, sse: {_sse!r}" + ) + elif _sse.event == "organization.updated": + try: + yield typing.cast( + EventStreamCloudEventOrgUpdated, + parse_obj_as( + type_=EventStreamCloudEventOrgUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'organization.updated': {e}, sse: {_sse!r}") + elif _sse.event == "user.created": + try: + yield typing.cast( + EventStreamCloudEventUserCreated, + parse_obj_as( + type_=EventStreamCloudEventUserCreated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.created': {e}, sse: {_sse!r}") + elif _sse.event == "user.deleted": + try: + yield typing.cast( + EventStreamCloudEventUserDeleted, + parse_obj_as( + type_=EventStreamCloudEventUserDeleted, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.deleted': {e}, sse: {_sse!r}") + elif _sse.event == "user.updated": + try: + yield typing.cast( + EventStreamCloudEventUserUpdated, + parse_obj_as( + type_=EventStreamCloudEventUserUpdated, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'user.updated': {e}, sse: {_sse!r}") + elif _sse.event == "error": + try: + yield typing.cast( + EventStreamCloudEventErrorMessage, + parse_obj_as( + type_=EventStreamCloudEventErrorMessage, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'error': {e}, sse: {_sse!r}") + elif _sse.event == "offset-only": + try: + yield typing.cast( + EventStreamCloudEventOffsetOnlyMessage, + parse_obj_as( + type_=EventStreamCloudEventOffsetOnlyMessage, # type: ignore + object_=json.loads(_sse.data), + ), + ) + except Exception as e: + warning(f"Failed to parse SSE event 'offset-only': {e}, sse: {_sse!r}") return return AsyncHttpResponse(response=_response, data=_iter()) diff --git a/src/auth0/management/experimentation/__init__.py b/src/auth0/management/experimentation/__init__.py new file mode 100644 index 00000000..1e498c78 --- /dev/null +++ b/src/auth0/management/experimentation/__init__.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import experiments, feature_flags, segments +_dynamic_imports: typing.Dict[str, str] = { + "experiments": ".experiments", + "feature_flags": ".feature_flags", + "segments": ".segments", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["experiments", "feature_flags", "segments"] diff --git a/src/auth0/management/experimentation/client.py b/src/auth0/management/experimentation/client.py new file mode 100644 index 00000000..48fc1407 --- /dev/null +++ b/src/auth0/management/experimentation/client.py @@ -0,0 +1,101 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawExperimentationClient, RawExperimentationClient + +if typing.TYPE_CHECKING: + from .experiments.client import AsyncExperimentsClient, ExperimentsClient + from .feature_flags.client import AsyncFeatureFlagsClient, FeatureFlagsClient + from .segments.client import AsyncSegmentsClient, SegmentsClient + + +class ExperimentationClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawExperimentationClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._experiments: typing.Optional[ExperimentsClient] = None + self._feature_flags: typing.Optional[FeatureFlagsClient] = None + self._segments: typing.Optional[SegmentsClient] = None + + @property + def with_raw_response(self) -> RawExperimentationClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawExperimentationClient + """ + return self._raw_client + + @property + def experiments(self): + if self._experiments is None: + from .experiments.client import ExperimentsClient # noqa: E402 + + self._experiments = ExperimentsClient(client_wrapper=self._client_wrapper) + return self._experiments + + @property + def feature_flags(self): + if self._feature_flags is None: + from .feature_flags.client import FeatureFlagsClient # noqa: E402 + + self._feature_flags = FeatureFlagsClient(client_wrapper=self._client_wrapper) + return self._feature_flags + + @property + def segments(self): + if self._segments is None: + from .segments.client import SegmentsClient # noqa: E402 + + self._segments = SegmentsClient(client_wrapper=self._client_wrapper) + return self._segments + + +class AsyncExperimentationClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawExperimentationClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._experiments: typing.Optional[AsyncExperimentsClient] = None + self._feature_flags: typing.Optional[AsyncFeatureFlagsClient] = None + self._segments: typing.Optional[AsyncSegmentsClient] = None + + @property + def with_raw_response(self) -> AsyncRawExperimentationClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawExperimentationClient + """ + return self._raw_client + + @property + def experiments(self): + if self._experiments is None: + from .experiments.client import AsyncExperimentsClient # noqa: E402 + + self._experiments = AsyncExperimentsClient(client_wrapper=self._client_wrapper) + return self._experiments + + @property + def feature_flags(self): + if self._feature_flags is None: + from .feature_flags.client import AsyncFeatureFlagsClient # noqa: E402 + + self._feature_flags = AsyncFeatureFlagsClient(client_wrapper=self._client_wrapper) + return self._feature_flags + + @property + def segments(self): + if self._segments is None: + from .segments.client import AsyncSegmentsClient # noqa: E402 + + self._segments = AsyncSegmentsClient(client_wrapper=self._client_wrapper) + return self._segments diff --git a/src/auth0/management/experimentation/experiments/__init__.py b/src/auth0/management/experimentation/experiments/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/experimentation/experiments/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/experimentation/experiments/client.py b/src/auth0/management/experimentation/experiments/client.py new file mode 100644 index 00000000..a4c44ccf --- /dev/null +++ b/src/auth0/management/experimentation/experiments/client.py @@ -0,0 +1,809 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.advance_ramp_response_content import AdvanceRampResponseContent +from ...types.allocation_request_item import AllocationRequestItem +from ...types.allocation_strategy_enum import AllocationStrategyEnum +from ...types.authentication_flow_enum import AuthenticationFlowEnum +from ...types.create_experiment_response_content import CreateExperimentResponseContent +from ...types.default_config_enum import DefaultConfigEnum +from ...types.experiment_list_item import ExperimentListItem +from ...types.experiment_status_enum import ExperimentStatusEnum +from ...types.experiment_transition_status_enum import ExperimentTransitionStatusEnum +from ...types.get_experiment_response_content import GetExperimentResponseContent +from ...types.list_experiments_response_content import ListExperimentsResponseContent +from ...types.update_experiment_response_content import UpdateExperimentResponseContent +from ...types.validate_experiment_response_content import ValidateExperimentResponseContent +from .raw_client import AsyncRawExperimentsClient, RawExperimentsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ExperimentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawExperimentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawExperimentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawExperimentsClient + """ + return self._raw_client + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + status: typing.Optional[ExperimentStatusEnum] = None, + authentication_flow: typing.Optional[str] = None, + feature_flag_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ExperimentListItem, ListExperimentsResponseContent]: + """ + Retrieve a paginated list of experiments for the tenant, with optional filters. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of experiments to return per page. Defaults to 25, maximum 50. + + status : typing.Optional[ExperimentStatusEnum] + Filter by status. Exact match. + + authentication_flow : typing.Optional[str] + Filter by authentication flow. Exact match. + + feature_flag_id : typing.Optional[str] + Filter by feature flag ID. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ExperimentListItem, ListExperimentsResponseContent] + Experiments successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.experimentation.experiments.list( + from_="from", + take=1, + status="draft", + authentication_flow="authentication_flow", + feature_flag_id="feature_flag_id", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + from_=from_, + take=take, + status=status, + authentication_flow=authentication_flow, + feature_flag_id=feature_flag_id, + request_options=request_options, + ) + + def create( + self, + *, + name: str, + feature_flag_id: str, + authentication_flow: AuthenticationFlowEnum, + allocation_strategy: AllocationStrategyEnum, + description: typing.Optional[str] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateExperimentResponseContent: + """ + Create a new experiment for A/B testing. + + Parameters + ---------- + name : str + A human-readable name for the experiment + + feature_flag_id : str + The ID of the feature flag this experiment is based on + + authentication_flow : AuthenticationFlowEnum + + allocation_strategy : AllocationStrategyEnum + The traffic allocation strategy for this experiment + + description : typing.Optional[str] + A description of the experiment + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Traffic allocations mapping variations to weights or segments + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateExperimentResponseContent + Experiment successfully created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.create( + name="name", + feature_flag_id="feature_flag_id", + authentication_flow="authentication", + allocation_strategy="percentage", + ) + """ + _response = self._raw_client.create( + name=name, + feature_flag_id=feature_flag_id, + authentication_flow=authentication_flow, + allocation_strategy=allocation_strategy, + description=description, + default_config=default_config, + allocations=allocations, + levels=levels, + request_options=request_options, + ) + return _response.data + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetExperimentResponseContent: + """ + Retrieve a single experiment with its allocations by ID. + + Parameters + ---------- + id : str + The ID of the experiment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetExperimentResponseContent + Experiment successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Permanently delete an experiment and its allocations by ID. Active experiments cannot be deleted; pause or complete first. Idempotent: returns 204 even if the experiment does not exist. + + Parameters + ---------- + id : str + The ID of the experiment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + authentication_flow: typing.Optional[AuthenticationFlowEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + status: typing.Optional[ExperimentTransitionStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateExperimentResponseContent: + """ + Partially update an experiment by ID. Only provided fields are updated. Providing allocations replaces the entire allocations set. + + Parameters + ---------- + id : str + The ID of the experiment to update. + + name : typing.Optional[str] + A human-readable name for the experiment + + description : typing.Optional[str] + A description of the experiment + + authentication_flow : typing.Optional[AuthenticationFlowEnum] + Specifies the target authentication flow for this experiment. This field can only be modified on draft experiments. Must be one of: authentication, mfa_enrollment, mfa_challenge, password_reset, passkey_enrollment, or all. Note that the all value targets every flow at once, but requires that this is the only active experiment. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Replaces all traffic allocations. Cannot be modified while the experiment is active. + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config, 'flag' uses the flag's frozen defaults. Can only be modified on draft experiments. Rejected for customer-defined flags. + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments. + + status : typing.Optional[ExperimentTransitionStatusEnum] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateExperimentResponseContent + Experiment successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, + name=name, + description=description, + authentication_flow=authentication_flow, + allocations=allocations, + default_config=default_config, + levels=levels, + status=status, + request_options=request_options, + ) + return _response.data + + def advance_ramp( + self, id: str, *, target_level: int, request_options: typing.Optional[RequestOptions] = None + ) -> AdvanceRampResponseContent: + """ + Increments the current ramp index to the requested target level. Up-only: the target must be the immediate next level in the schedule. Idempotent: calling with the current level returns success without writing anything. + + Parameters + ---------- + id : str + The ID of the experiment to advance. + + target_level : int + The target percentage level from the experiment schedule. Must be the immediate next level. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AdvanceRampResponseContent + Ramp advanced successfully. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.advance_ramp( + id="id", + target_level=1, + ) + """ + _response = self._raw_client.advance_ramp(id, target_level=target_level, request_options=request_options) + return _response.data + + def validate( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ValidateExperimentResponseContent: + """ + Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing any blockers. Read-only; no state is modified. + + Parameters + ---------- + id : str + The ID of the experiment to validate. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ValidateExperimentResponseContent + Experiment validation result returned. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.experiments.validate( + id="id", + ) + """ + _response = self._raw_client.validate(id, request_options=request_options) + return _response.data + + +class AsyncExperimentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawExperimentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawExperimentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawExperimentsClient + """ + return self._raw_client + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + status: typing.Optional[ExperimentStatusEnum] = None, + authentication_flow: typing.Optional[str] = None, + feature_flag_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ExperimentListItem, ListExperimentsResponseContent]: + """ + Retrieve a paginated list of experiments for the tenant, with optional filters. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of experiments to return per page. Defaults to 25, maximum 50. + + status : typing.Optional[ExperimentStatusEnum] + Filter by status. Exact match. + + authentication_flow : typing.Optional[str] + Filter by authentication flow. Exact match. + + feature_flag_id : typing.Optional[str] + Filter by feature flag ID. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ExperimentListItem, ListExperimentsResponseContent] + Experiments successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.experimentation.experiments.list( + from_="from", + take=1, + status="draft", + authentication_flow="authentication_flow", + feature_flag_id="feature_flag_id", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + from_=from_, + take=take, + status=status, + authentication_flow=authentication_flow, + feature_flag_id=feature_flag_id, + request_options=request_options, + ) + + async def create( + self, + *, + name: str, + feature_flag_id: str, + authentication_flow: AuthenticationFlowEnum, + allocation_strategy: AllocationStrategyEnum, + description: typing.Optional[str] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateExperimentResponseContent: + """ + Create a new experiment for A/B testing. + + Parameters + ---------- + name : str + A human-readable name for the experiment + + feature_flag_id : str + The ID of the feature flag this experiment is based on + + authentication_flow : AuthenticationFlowEnum + + allocation_strategy : AllocationStrategyEnum + The traffic allocation strategy for this experiment + + description : typing.Optional[str] + A description of the experiment + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Traffic allocations mapping variations to weights or segments + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateExperimentResponseContent + Experiment successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.create( + name="name", + feature_flag_id="feature_flag_id", + authentication_flow="authentication", + allocation_strategy="percentage", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, + feature_flag_id=feature_flag_id, + authentication_flow=authentication_flow, + allocation_strategy=allocation_strategy, + description=description, + default_config=default_config, + allocations=allocations, + levels=levels, + request_options=request_options, + ) + return _response.data + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetExperimentResponseContent: + """ + Retrieve a single experiment with its allocations by ID. + + Parameters + ---------- + id : str + The ID of the experiment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetExperimentResponseContent + Experiment successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Permanently delete an experiment and its allocations by ID. Active experiments cannot be deleted; pause or complete first. Idempotent: returns 204 even if the experiment does not exist. + + Parameters + ---------- + id : str + The ID of the experiment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + authentication_flow: typing.Optional[AuthenticationFlowEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + status: typing.Optional[ExperimentTransitionStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateExperimentResponseContent: + """ + Partially update an experiment by ID. Only provided fields are updated. Providing allocations replaces the entire allocations set. + + Parameters + ---------- + id : str + The ID of the experiment to update. + + name : typing.Optional[str] + A human-readable name for the experiment + + description : typing.Optional[str] + A description of the experiment + + authentication_flow : typing.Optional[AuthenticationFlowEnum] + Specifies the target authentication flow for this experiment. This field can only be modified on draft experiments. Must be one of: authentication, mfa_enrollment, mfa_challenge, password_reset, passkey_enrollment, or all. Note that the all value targets every flow at once, but requires that this is the only active experiment. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Replaces all traffic allocations. Cannot be modified while the experiment is active. + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config, 'flag' uses the flag's frozen defaults. Can only be modified on draft experiments. Rejected for customer-defined flags. + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments. + + status : typing.Optional[ExperimentTransitionStatusEnum] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateExperimentResponseContent + Experiment successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, + name=name, + description=description, + authentication_flow=authentication_flow, + allocations=allocations, + default_config=default_config, + levels=levels, + status=status, + request_options=request_options, + ) + return _response.data + + async def advance_ramp( + self, id: str, *, target_level: int, request_options: typing.Optional[RequestOptions] = None + ) -> AdvanceRampResponseContent: + """ + Increments the current ramp index to the requested target level. Up-only: the target must be the immediate next level in the schedule. Idempotent: calling with the current level returns success without writing anything. + + Parameters + ---------- + id : str + The ID of the experiment to advance. + + target_level : int + The target percentage level from the experiment schedule. Must be the immediate next level. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AdvanceRampResponseContent + Ramp advanced successfully. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.advance_ramp( + id="id", + target_level=1, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.advance_ramp(id, target_level=target_level, request_options=request_options) + return _response.data + + async def validate( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ValidateExperimentResponseContent: + """ + Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing any blockers. Read-only; no state is modified. + + Parameters + ---------- + id : str + The ID of the experiment to validate. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ValidateExperimentResponseContent + Experiment validation result returned. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.experiments.validate( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.validate(id, request_options=request_options) + return _response.data diff --git a/src/auth0/management/experimentation/experiments/raw_client.py b/src/auth0/management/experimentation/experiments/raw_client.py new file mode 100644 index 00000000..69bc5ed5 --- /dev/null +++ b/src/auth0/management/experimentation/experiments/raw_client.py @@ -0,0 +1,1681 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import quote_path_param +from ...core.pagination import AsyncPager, SyncPager +from ...core.parse_error import ParsingError +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...core.serialization import convert_and_respect_annotation_metadata +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...errors.unprocessable_entity_error import UnprocessableEntityError +from ...types.advance_ramp_response_content import AdvanceRampResponseContent +from ...types.allocation_request_item import AllocationRequestItem +from ...types.allocation_strategy_enum import AllocationStrategyEnum +from ...types.authentication_flow_enum import AuthenticationFlowEnum +from ...types.create_experiment_response_content import CreateExperimentResponseContent +from ...types.default_config_enum import DefaultConfigEnum +from ...types.experiment_list_item import ExperimentListItem +from ...types.experiment_status_enum import ExperimentStatusEnum +from ...types.experiment_transition_status_enum import ExperimentTransitionStatusEnum +from ...types.get_experiment_response_content import GetExperimentResponseContent +from ...types.list_experiments_response_content import ListExperimentsResponseContent +from ...types.update_experiment_response_content import UpdateExperimentResponseContent +from ...types.validate_experiment_response_content import ValidateExperimentResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawExperimentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + status: typing.Optional[ExperimentStatusEnum] = None, + authentication_flow: typing.Optional[str] = None, + feature_flag_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ExperimentListItem, ListExperimentsResponseContent]: + """ + Retrieve a paginated list of experiments for the tenant, with optional filters. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of experiments to return per page. Defaults to 25, maximum 50. + + status : typing.Optional[ExperimentStatusEnum] + Filter by status. Exact match. + + authentication_flow : typing.Optional[str] + Filter by authentication flow. Exact match. + + feature_flag_id : typing.Optional[str] + Filter by feature flag ID. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ExperimentListItem, ListExperimentsResponseContent] + Experiments successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/experiments", + method="GET", + params={ + "from": from_, + "take": take, + "status": status, + "authentication_flow": authentication_flow, + "feature_flag_id": feature_flag_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListExperimentsResponseContent, + parse_obj_as( + type_=ListExperimentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.experiments + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + status=status, + authentication_flow=authentication_flow, + feature_flag_id=feature_flag_id, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + feature_flag_id: str, + authentication_flow: AuthenticationFlowEnum, + allocation_strategy: AllocationStrategyEnum, + description: typing.Optional[str] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateExperimentResponseContent]: + """ + Create a new experiment for A/B testing. + + Parameters + ---------- + name : str + A human-readable name for the experiment + + feature_flag_id : str + The ID of the feature flag this experiment is based on + + authentication_flow : AuthenticationFlowEnum + + allocation_strategy : AllocationStrategyEnum + The traffic allocation strategy for this experiment + + description : typing.Optional[str] + A description of the experiment + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Traffic allocations mapping variations to weights or segments + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateExperimentResponseContent] + Experiment successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/experiments", + method="POST", + json={ + "name": name, + "description": description, + "feature_flag_id": feature_flag_id, + "authentication_flow": authentication_flow, + "default_config": default_config, + "allocation_strategy": allocation_strategy, + "allocations": convert_and_respect_annotation_metadata( + object_=allocations, annotation=typing.Sequence[AllocationRequestItem], direction="write" + ), + "levels": levels, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateExperimentResponseContent, + parse_obj_as( + type_=CreateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetExperimentResponseContent]: + """ + Retrieve a single experiment with its allocations by ID. + + Parameters + ---------- + id : str + The ID of the experiment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetExperimentResponseContent] + Experiment successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetExperimentResponseContent, + parse_obj_as( + type_=GetExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Permanently delete an experiment and its allocations by ID. Active experiments cannot be deleted; pause or complete first. Idempotent: returns 204 even if the experiment does not exist. + + Parameters + ---------- + id : str + The ID of the experiment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + authentication_flow: typing.Optional[AuthenticationFlowEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + status: typing.Optional[ExperimentTransitionStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateExperimentResponseContent]: + """ + Partially update an experiment by ID. Only provided fields are updated. Providing allocations replaces the entire allocations set. + + Parameters + ---------- + id : str + The ID of the experiment to update. + + name : typing.Optional[str] + A human-readable name for the experiment + + description : typing.Optional[str] + A description of the experiment + + authentication_flow : typing.Optional[AuthenticationFlowEnum] + Specifies the target authentication flow for this experiment. This field can only be modified on draft experiments. Must be one of: authentication, mfa_enrollment, mfa_challenge, password_reset, passkey_enrollment, or all. Note that the all value targets every flow at once, but requires that this is the only active experiment. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Replaces all traffic allocations. Cannot be modified while the experiment is active. + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config, 'flag' uses the flag's frozen defaults. Can only be modified on draft experiments. Rejected for customer-defined flags. + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments. + + status : typing.Optional[ExperimentTransitionStatusEnum] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateExperimentResponseContent] + Experiment successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "authentication_flow": authentication_flow, + "allocations": convert_and_respect_annotation_metadata( + object_=allocations, annotation=typing.Sequence[AllocationRequestItem], direction="write" + ), + "default_config": default_config, + "levels": levels, + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateExperimentResponseContent, + parse_obj_as( + type_=UpdateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def advance_ramp( + self, id: str, *, target_level: int, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[AdvanceRampResponseContent]: + """ + Increments the current ramp index to the requested target level. Up-only: the target must be the immediate next level in the schedule. Idempotent: calling with the current level returns success without writing anything. + + Parameters + ---------- + id : str + The ID of the experiment to advance. + + target_level : int + The target percentage level from the experiment schedule. Must be the immediate next level. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AdvanceRampResponseContent] + Ramp advanced successfully. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}/advance-ramp", + method="POST", + json={ + "target_level": target_level, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AdvanceRampResponseContent, + parse_obj_as( + type_=AdvanceRampResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def validate( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ValidateExperimentResponseContent]: + """ + Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing any blockers. Read-only; no state is modified. + + Parameters + ---------- + id : str + The ID of the experiment to validate. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ValidateExperimentResponseContent] + Experiment validation result returned. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}/validate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ValidateExperimentResponseContent, + parse_obj_as( + type_=ValidateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawExperimentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + status: typing.Optional[ExperimentStatusEnum] = None, + authentication_flow: typing.Optional[str] = None, + feature_flag_id: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ExperimentListItem, ListExperimentsResponseContent]: + """ + Retrieve a paginated list of experiments for the tenant, with optional filters. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of experiments to return per page. Defaults to 25, maximum 50. + + status : typing.Optional[ExperimentStatusEnum] + Filter by status. Exact match. + + authentication_flow : typing.Optional[str] + Filter by authentication flow. Exact match. + + feature_flag_id : typing.Optional[str] + Filter by feature flag ID. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ExperimentListItem, ListExperimentsResponseContent] + Experiments successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/experiments", + method="GET", + params={ + "from": from_, + "take": take, + "status": status, + "authentication_flow": authentication_flow, + "feature_flag_id": feature_flag_id, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListExperimentsResponseContent, + parse_obj_as( + type_=ListExperimentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.experiments + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + status=status, + authentication_flow=authentication_flow, + feature_flag_id=feature_flag_id, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + feature_flag_id: str, + authentication_flow: AuthenticationFlowEnum, + allocation_strategy: AllocationStrategyEnum, + description: typing.Optional[str] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateExperimentResponseContent]: + """ + Create a new experiment for A/B testing. + + Parameters + ---------- + name : str + A human-readable name for the experiment + + feature_flag_id : str + The ID of the feature flag this experiment is based on + + authentication_flow : AuthenticationFlowEnum + + allocation_strategy : AllocationStrategyEnum + The traffic allocation strategy for this experiment + + description : typing.Optional[str] + A description of the experiment + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Traffic allocations mapping variations to weights or segments + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateExperimentResponseContent] + Experiment successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/experiments", + method="POST", + json={ + "name": name, + "description": description, + "feature_flag_id": feature_flag_id, + "authentication_flow": authentication_flow, + "default_config": default_config, + "allocation_strategy": allocation_strategy, + "allocations": convert_and_respect_annotation_metadata( + object_=allocations, annotation=typing.Sequence[AllocationRequestItem], direction="write" + ), + "levels": levels, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateExperimentResponseContent, + parse_obj_as( + type_=CreateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetExperimentResponseContent]: + """ + Retrieve a single experiment with its allocations by ID. + + Parameters + ---------- + id : str + The ID of the experiment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetExperimentResponseContent] + Experiment successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetExperimentResponseContent, + parse_obj_as( + type_=GetExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Permanently delete an experiment and its allocations by ID. Active experiments cannot be deleted; pause or complete first. Idempotent: returns 204 even if the experiment does not exist. + + Parameters + ---------- + id : str + The ID of the experiment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + authentication_flow: typing.Optional[AuthenticationFlowEnum] = OMIT, + allocations: typing.Optional[typing.Sequence[AllocationRequestItem]] = OMIT, + default_config: typing.Optional[DefaultConfigEnum] = OMIT, + levels: typing.Optional[typing.Sequence[int]] = OMIT, + status: typing.Optional[ExperimentTransitionStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateExperimentResponseContent]: + """ + Partially update an experiment by ID. Only provided fields are updated. Providing allocations replaces the entire allocations set. + + Parameters + ---------- + id : str + The ID of the experiment to update. + + name : typing.Optional[str] + A human-readable name for the experiment + + description : typing.Optional[str] + A description of the experiment + + authentication_flow : typing.Optional[AuthenticationFlowEnum] + Specifies the target authentication flow for this experiment. This field can only be modified on draft experiments. Must be one of: authentication, mfa_enrollment, mfa_challenge, password_reset, passkey_enrollment, or all. Note that the all value targets every flow at once, but requires that this is the only active experiment. + + allocations : typing.Optional[typing.Sequence[AllocationRequestItem]] + Replaces all traffic allocations. Cannot be modified while the experiment is active. + + default_config : typing.Optional[DefaultConfigEnum] + Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config, 'flag' uses the flag's frozen defaults. Can only be modified on draft experiments. Rejected for customer-defined flags. + + levels : typing.Optional[typing.Sequence[int]] + Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100]. Can only be modified on draft experiments. + + status : typing.Optional[ExperimentTransitionStatusEnum] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateExperimentResponseContent] + Experiment successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "authentication_flow": authentication_flow, + "allocations": convert_and_respect_annotation_metadata( + object_=allocations, annotation=typing.Sequence[AllocationRequestItem], direction="write" + ), + "default_config": default_config, + "levels": levels, + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateExperimentResponseContent, + parse_obj_as( + type_=UpdateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def advance_ramp( + self, id: str, *, target_level: int, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[AdvanceRampResponseContent]: + """ + Increments the current ramp index to the requested target level. Up-only: the target must be the immediate next level in the schedule. Idempotent: calling with the current level returns success without writing anything. + + Parameters + ---------- + id : str + The ID of the experiment to advance. + + target_level : int + The target percentage level from the experiment schedule. Must be the immediate next level. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AdvanceRampResponseContent] + Ramp advanced successfully. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}/advance-ramp", + method="POST", + json={ + "target_level": target_level, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AdvanceRampResponseContent, + parse_obj_as( + type_=AdvanceRampResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def validate( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ValidateExperimentResponseContent]: + """ + Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing any blockers. Read-only; no state is modified. + + Parameters + ---------- + id : str + The ID of the experiment to validate. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ValidateExperimentResponseContent] + Experiment validation result returned. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/experiments/{quote_path_param(id)}/validate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ValidateExperimentResponseContent, + parse_obj_as( + type_=ValidateExperimentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/experimentation/feature_flags/__init__.py b/src/auth0/management/experimentation/feature_flags/__init__.py new file mode 100644 index 00000000..8b4c9653 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import variations +_dynamic_imports: typing.Dict[str, str] = {"variations": ".variations"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["variations"] diff --git a/src/auth0/management/experimentation/feature_flags/client.py b/src/auth0/management/experimentation/feature_flags/client.py new file mode 100644 index 00000000..c4594f82 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/client.py @@ -0,0 +1,561 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.create_feature_flag_parameters import CreateFeatureFlagParameters +from ...types.create_feature_flag_response_content import CreateFeatureFlagResponseContent +from ...types.feature_flag import FeatureFlag +from ...types.feature_flag_status_enum import FeatureFlagStatusEnum +from ...types.feature_flag_type_enum import FeatureFlagTypeEnum +from ...types.get_feature_flag_response_content import GetFeatureFlagResponseContent +from ...types.list_feature_flags_response_content import ListFeatureFlagsResponseContent +from ...types.update_feature_flag_parameters import UpdateFeatureFlagParameters +from ...types.update_feature_flag_response_content import UpdateFeatureFlagResponseContent +from .raw_client import AsyncRawFeatureFlagsClient, RawFeatureFlagsClient + +if typing.TYPE_CHECKING: + from .variations.client import AsyncVariationsClient, VariationsClient +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class FeatureFlagsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawFeatureFlagsClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._variations: typing.Optional[VariationsClient] = None + + @property + def with_raw_response(self) -> RawFeatureFlagsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawFeatureFlagsClient + """ + return self._raw_client + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[FeatureFlagTypeEnum] = None, + status: typing.Optional[FeatureFlagStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[FeatureFlag, ListFeatureFlagsResponseContent]: + """ + Retrieve a paginated list of feature flags for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of feature flags to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[FeatureFlagTypeEnum] + Filter by type. Exact match. + + status : typing.Optional[FeatureFlagStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[FeatureFlag, ListFeatureFlagsResponseContent] + Feature flags successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.experimentation.feature_flags.list( + from_="from", + take=1, + type="auth0", + status="draft", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(from_=from_, take=take, type=type, status=status, request_options=request_options) + + def create( + self, + *, + name: str, + parameters: CreateFeatureFlagParameters, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateFeatureFlagResponseContent: + """ + Create a new feature flag with parameters for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the feature flag + + parameters : CreateFeatureFlagParameters + + description : typing.Optional[str] + A description of what this feature flag controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateFeatureFlagResponseContent + Feature flag successfully created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.create( + name="name", + parameters={}, + ) + """ + _response = self._raw_client.create( + name=name, parameters=parameters, description=description, request_options=request_options + ) + return _response.data + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetFeatureFlagResponseContent: + """ + Retrieve a single feature flag by its ID. + + Parameters + ---------- + id : str + The ID of the feature flag to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetFeatureFlagResponseContent + Feature flag successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a feature flag by ID. Idempotent: returns 204 even if flag does not exist. + + Parameters + ---------- + id : str + The ID of the feature flag to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + parameters: typing.Optional[UpdateFeatureFlagParameters] = OMIT, + status: typing.Optional[FeatureFlagStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateFeatureFlagResponseContent: + """ + Partially update a feature flag by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the feature flag to update. + + name : typing.Optional[str] + A human-readable name for the feature flag + + description : typing.Optional[str] + A description of what this feature flag controls + + parameters : typing.Optional[UpdateFeatureFlagParameters] + + status : typing.Optional[FeatureFlagStatusEnum] + Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateFeatureFlagResponseContent + Feature flag successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, + name=name, + description=description, + parameters=parameters, + status=status, + request_options=request_options, + ) + return _response.data + + @property + def variations(self): + if self._variations is None: + from .variations.client import VariationsClient # noqa: E402 + + self._variations = VariationsClient(client_wrapper=self._client_wrapper) + return self._variations + + +class AsyncFeatureFlagsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawFeatureFlagsClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._variations: typing.Optional[AsyncVariationsClient] = None + + @property + def with_raw_response(self) -> AsyncRawFeatureFlagsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawFeatureFlagsClient + """ + return self._raw_client + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[FeatureFlagTypeEnum] = None, + status: typing.Optional[FeatureFlagStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[FeatureFlag, ListFeatureFlagsResponseContent]: + """ + Retrieve a paginated list of feature flags for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of feature flags to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[FeatureFlagTypeEnum] + Filter by type. Exact match. + + status : typing.Optional[FeatureFlagStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[FeatureFlag, ListFeatureFlagsResponseContent] + Feature flags successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.experimentation.feature_flags.list( + from_="from", + take=1, + type="auth0", + status="draft", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + from_=from_, take=take, type=type, status=status, request_options=request_options + ) + + async def create( + self, + *, + name: str, + parameters: CreateFeatureFlagParameters, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateFeatureFlagResponseContent: + """ + Create a new feature flag with parameters for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the feature flag + + parameters : CreateFeatureFlagParameters + + description : typing.Optional[str] + A description of what this feature flag controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateFeatureFlagResponseContent + Feature flag successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.create( + name="name", + parameters={}, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, parameters=parameters, description=description, request_options=request_options + ) + return _response.data + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetFeatureFlagResponseContent: + """ + Retrieve a single feature flag by its ID. + + Parameters + ---------- + id : str + The ID of the feature flag to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetFeatureFlagResponseContent + Feature flag successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a feature flag by ID. Idempotent: returns 204 even if flag does not exist. + + Parameters + ---------- + id : str + The ID of the feature flag to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + parameters: typing.Optional[UpdateFeatureFlagParameters] = OMIT, + status: typing.Optional[FeatureFlagStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateFeatureFlagResponseContent: + """ + Partially update a feature flag by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the feature flag to update. + + name : typing.Optional[str] + A human-readable name for the feature flag + + description : typing.Optional[str] + A description of what this feature flag controls + + parameters : typing.Optional[UpdateFeatureFlagParameters] + + status : typing.Optional[FeatureFlagStatusEnum] + Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateFeatureFlagResponseContent + Feature flag successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, + name=name, + description=description, + parameters=parameters, + status=status, + request_options=request_options, + ) + return _response.data + + @property + def variations(self): + if self._variations is None: + from .variations.client import AsyncVariationsClient # noqa: E402 + + self._variations = AsyncVariationsClient(client_wrapper=self._client_wrapper) + return self._variations diff --git a/src/auth0/management/experimentation/feature_flags/raw_client.py b/src/auth0/management/experimentation/feature_flags/raw_client.py new file mode 100644 index 00000000..07984c69 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/raw_client.py @@ -0,0 +1,1106 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import quote_path_param +from ...core.pagination import AsyncPager, SyncPager +from ...core.parse_error import ParsingError +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...core.serialization import convert_and_respect_annotation_metadata +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.create_feature_flag_parameters import CreateFeatureFlagParameters +from ...types.create_feature_flag_response_content import CreateFeatureFlagResponseContent +from ...types.feature_flag import FeatureFlag +from ...types.feature_flag_status_enum import FeatureFlagStatusEnum +from ...types.feature_flag_type_enum import FeatureFlagTypeEnum +from ...types.get_feature_flag_response_content import GetFeatureFlagResponseContent +from ...types.list_feature_flags_response_content import ListFeatureFlagsResponseContent +from ...types.update_feature_flag_parameters import UpdateFeatureFlagParameters +from ...types.update_feature_flag_response_content import UpdateFeatureFlagResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawFeatureFlagsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[FeatureFlagTypeEnum] = None, + status: typing.Optional[FeatureFlagStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[FeatureFlag, ListFeatureFlagsResponseContent]: + """ + Retrieve a paginated list of feature flags for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of feature flags to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[FeatureFlagTypeEnum] + Filter by type. Exact match. + + status : typing.Optional[FeatureFlagStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[FeatureFlag, ListFeatureFlagsResponseContent] + Feature flags successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/feature-flags", + method="GET", + params={ + "from": from_, + "take": take, + "type": type, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListFeatureFlagsResponseContent, + parse_obj_as( + type_=ListFeatureFlagsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.feature_flags + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + type=type, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + parameters: CreateFeatureFlagParameters, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateFeatureFlagResponseContent]: + """ + Create a new feature flag with parameters for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the feature flag + + parameters : CreateFeatureFlagParameters + + description : typing.Optional[str] + A description of what this feature flag controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateFeatureFlagResponseContent] + Feature flag successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/feature-flags", + method="POST", + json={ + "name": name, + "description": description, + "parameters": convert_and_respect_annotation_metadata( + object_=parameters, annotation=CreateFeatureFlagParameters, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateFeatureFlagResponseContent, + parse_obj_as( + type_=CreateFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetFeatureFlagResponseContent]: + """ + Retrieve a single feature flag by its ID. + + Parameters + ---------- + id : str + The ID of the feature flag to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetFeatureFlagResponseContent] + Feature flag successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetFeatureFlagResponseContent, + parse_obj_as( + type_=GetFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Delete a feature flag by ID. Idempotent: returns 204 even if flag does not exist. + + Parameters + ---------- + id : str + The ID of the feature flag to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + parameters: typing.Optional[UpdateFeatureFlagParameters] = OMIT, + status: typing.Optional[FeatureFlagStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateFeatureFlagResponseContent]: + """ + Partially update a feature flag by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the feature flag to update. + + name : typing.Optional[str] + A human-readable name for the feature flag + + description : typing.Optional[str] + A description of what this feature flag controls + + parameters : typing.Optional[UpdateFeatureFlagParameters] + + status : typing.Optional[FeatureFlagStatusEnum] + Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateFeatureFlagResponseContent] + Feature flag successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "parameters": convert_and_respect_annotation_metadata( + object_=parameters, annotation=UpdateFeatureFlagParameters, direction="write" + ), + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateFeatureFlagResponseContent, + parse_obj_as( + type_=UpdateFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawFeatureFlagsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[FeatureFlagTypeEnum] = None, + status: typing.Optional[FeatureFlagStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[FeatureFlag, ListFeatureFlagsResponseContent]: + """ + Retrieve a paginated list of feature flags for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of feature flags to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[FeatureFlagTypeEnum] + Filter by type. Exact match. + + status : typing.Optional[FeatureFlagStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[FeatureFlag, ListFeatureFlagsResponseContent] + Feature flags successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/feature-flags", + method="GET", + params={ + "from": from_, + "take": take, + "type": type, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListFeatureFlagsResponseContent, + parse_obj_as( + type_=ListFeatureFlagsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.feature_flags + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + type=type, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + parameters: CreateFeatureFlagParameters, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateFeatureFlagResponseContent]: + """ + Create a new feature flag with parameters for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the feature flag + + parameters : CreateFeatureFlagParameters + + description : typing.Optional[str] + A description of what this feature flag controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateFeatureFlagResponseContent] + Feature flag successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/feature-flags", + method="POST", + json={ + "name": name, + "description": description, + "parameters": convert_and_respect_annotation_metadata( + object_=parameters, annotation=CreateFeatureFlagParameters, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateFeatureFlagResponseContent, + parse_obj_as( + type_=CreateFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetFeatureFlagResponseContent]: + """ + Retrieve a single feature flag by its ID. + + Parameters + ---------- + id : str + The ID of the feature flag to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetFeatureFlagResponseContent] + Feature flag successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetFeatureFlagResponseContent, + parse_obj_as( + type_=GetFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete a feature flag by ID. Idempotent: returns 204 even if flag does not exist. + + Parameters + ---------- + id : str + The ID of the feature flag to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + parameters: typing.Optional[UpdateFeatureFlagParameters] = OMIT, + status: typing.Optional[FeatureFlagStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateFeatureFlagResponseContent]: + """ + Partially update a feature flag by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the feature flag to update. + + name : typing.Optional[str] + A human-readable name for the feature flag + + description : typing.Optional[str] + A description of what this feature flag controls + + parameters : typing.Optional[UpdateFeatureFlagParameters] + + status : typing.Optional[FeatureFlagStatusEnum] + Target lifecycle status (draft → active, draft → archived, active → archived). Activating a flag requires at least 2 variations. When combined with field edits, the edits and the transition are applied together; if the transition is rejected, no edits are applied. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateFeatureFlagResponseContent] + Feature flag successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "parameters": convert_and_respect_annotation_metadata( + object_=parameters, annotation=UpdateFeatureFlagParameters, direction="write" + ), + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateFeatureFlagResponseContent, + parse_obj_as( + type_=UpdateFeatureFlagResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/experimentation/feature_flags/variations/__init__.py b/src/auth0/management/experimentation/feature_flags/variations/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/variations/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/experimentation/feature_flags/variations/client.py b/src/auth0/management/experimentation/feature_flags/variations/client.py new file mode 100644 index 00000000..3ca63b80 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/variations/client.py @@ -0,0 +1,508 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.request_options import RequestOptions +from ....types.create_variation_response_content import CreateVariationResponseContent +from ....types.get_variation_response_content import GetVariationResponseContent +from ....types.list_variations_response_content import ListVariationsResponseContent +from ....types.update_variation_overrides_map import UpdateVariationOverridesMap +from ....types.update_variation_response_content import UpdateVariationResponseContent +from ....types.variation_overrides_map import VariationOverridesMap +from .raw_client import AsyncRawVariationsClient, RawVariationsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class VariationsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawVariationsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawVariationsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawVariationsClient + """ + return self._raw_client + + def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ListVariationsResponseContent: + """ + Retrieve all variations defined for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListVariationsResponseContent + Variations successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.variations.list( + id="id", + ) + """ + _response = self._raw_client.list(id, request_options=request_options) + return _response.data + + def create( + self, + id: str, + *, + name: str, + overrides: VariationOverridesMap, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateVariationResponseContent: + """ + Create a new variation with parameter overrides for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + name : str + A human-readable name for the variation + + overrides : VariationOverridesMap + Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing. + + description : typing.Optional[str] + A description of what this variation controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateVariationResponseContent + Variation successfully created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.variations.create( + id="id", + name="name", + overrides={"key": "value"}, + ) + """ + _response = self._raw_client.create( + id, name=name, overrides=overrides, description=description, request_options=request_options + ) + return _response.data + + def get( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetVariationResponseContent: + """ + Retrieve a single variation by its ID. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetVariationResponseContent + Variation successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.variations.get( + id="id", + vid="vid", + ) + """ + _response = self._raw_client.get(id, vid, request_options=request_options) + return _response.data + + def delete(self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a variation by ID. Returns 204 if the variation does not exist. Returns 404 if the parent feature flag does not exist. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.variations.delete( + id="id", + vid="vid", + ) + """ + _response = self._raw_client.delete(id, vid, request_options=request_options) + return _response.data + + def update( + self, + id: str, + vid: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + overrides: typing.Optional[UpdateVariationOverridesMap] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateVariationResponseContent: + """ + Partially update a variation by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to update. + + name : typing.Optional[str] + A human-readable name for the variation + + description : typing.Optional[str] + A description of what this variation controls + + overrides : typing.Optional[UpdateVariationOverridesMap] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateVariationResponseContent + Variation successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.feature_flags.variations.update( + id="id", + vid="vid", + ) + """ + _response = self._raw_client.update( + id, vid, name=name, description=description, overrides=overrides, request_options=request_options + ) + return _response.data + + +class AsyncVariationsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawVariationsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawVariationsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawVariationsClient + """ + return self._raw_client + + async def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ListVariationsResponseContent: + """ + Retrieve all variations defined for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListVariationsResponseContent + Variations successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.variations.list( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.list(id, request_options=request_options) + return _response.data + + async def create( + self, + id: str, + *, + name: str, + overrides: VariationOverridesMap, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateVariationResponseContent: + """ + Create a new variation with parameter overrides for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + name : str + A human-readable name for the variation + + overrides : VariationOverridesMap + Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing. + + description : typing.Optional[str] + A description of what this variation controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateVariationResponseContent + Variation successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.variations.create( + id="id", + name="name", + overrides={"key": "value"}, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + id, name=name, overrides=overrides, description=description, request_options=request_options + ) + return _response.data + + async def get( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetVariationResponseContent: + """ + Retrieve a single variation by its ID. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetVariationResponseContent + Variation successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.variations.get( + id="id", + vid="vid", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, vid, request_options=request_options) + return _response.data + + async def delete(self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a variation by ID. Returns 204 if the variation does not exist. Returns 404 if the parent feature flag does not exist. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.variations.delete( + id="id", + vid="vid", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, vid, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + vid: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + overrides: typing.Optional[UpdateVariationOverridesMap] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateVariationResponseContent: + """ + Partially update a variation by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to update. + + name : typing.Optional[str] + A human-readable name for the variation + + description : typing.Optional[str] + A description of what this variation controls + + overrides : typing.Optional[UpdateVariationOverridesMap] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateVariationResponseContent + Variation successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.feature_flags.variations.update( + id="id", + vid="vid", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, vid, name=name, description=description, overrides=overrides, request_options=request_options + ) + return _response.data diff --git a/src/auth0/management/experimentation/feature_flags/variations/raw_client.py b/src/auth0/management/experimentation/feature_flags/variations/raw_client.py new file mode 100644 index 00000000..8c181537 --- /dev/null +++ b/src/auth0/management/experimentation/feature_flags/variations/raw_client.py @@ -0,0 +1,1116 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ....core.api_error import ApiError +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.jsonable_encoder import quote_path_param +from ....core.parse_error import ParsingError +from ....core.pydantic_utilities import parse_obj_as +from ....core.request_options import RequestOptions +from ....errors.bad_request_error import BadRequestError +from ....errors.conflict_error import ConflictError +from ....errors.forbidden_error import ForbiddenError +from ....errors.not_found_error import NotFoundError +from ....errors.too_many_requests_error import TooManyRequestsError +from ....errors.unauthorized_error import UnauthorizedError +from ....types.create_variation_response_content import CreateVariationResponseContent +from ....types.get_variation_response_content import GetVariationResponseContent +from ....types.list_variations_response_content import ListVariationsResponseContent +from ....types.update_variation_overrides_map import UpdateVariationOverridesMap +from ....types.update_variation_response_content import UpdateVariationResponseContent +from ....types.variation_overrides_map import VariationOverridesMap +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawVariationsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ListVariationsResponseContent]: + """ + Retrieve all variations defined for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ListVariationsResponseContent] + Variations successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListVariationsResponseContent, + parse_obj_as( + type_=ListVariationsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + id: str, + *, + name: str, + overrides: VariationOverridesMap, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateVariationResponseContent]: + """ + Create a new variation with parameter overrides for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + name : str + A human-readable name for the variation + + overrides : VariationOverridesMap + Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing. + + description : typing.Optional[str] + A description of what this variation controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateVariationResponseContent] + Variation successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations", + method="POST", + json={ + "name": name, + "description": description, + "overrides": overrides, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateVariationResponseContent, + parse_obj_as( + type_=CreateVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetVariationResponseContent]: + """ + Retrieve a single variation by its ID. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetVariationResponseContent] + Variation successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetVariationResponseContent, + parse_obj_as( + type_=GetVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[None]: + """ + Delete a variation by ID. Returns 204 if the variation does not exist. Returns 404 if the parent feature flag does not exist. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + vid: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + overrides: typing.Optional[UpdateVariationOverridesMap] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateVariationResponseContent]: + """ + Partially update a variation by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to update. + + name : typing.Optional[str] + A human-readable name for the variation + + description : typing.Optional[str] + A description of what this variation controls + + overrides : typing.Optional[UpdateVariationOverridesMap] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateVariationResponseContent] + Variation successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="PATCH", + json={ + "name": name, + "description": description, + "overrides": overrides, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateVariationResponseContent, + parse_obj_as( + type_=UpdateVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawVariationsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ListVariationsResponseContent]: + """ + Retrieve all variations defined for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ListVariationsResponseContent] + Variations successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListVariationsResponseContent, + parse_obj_as( + type_=ListVariationsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + id: str, + *, + name: str, + overrides: VariationOverridesMap, + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateVariationResponseContent]: + """ + Create a new variation with parameter overrides for a specific feature flag. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + name : str + A human-readable name for the variation + + overrides : VariationOverridesMap + Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing. + + description : typing.Optional[str] + A description of what this variation controls + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateVariationResponseContent] + Variation successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations", + method="POST", + json={ + "name": name, + "description": description, + "overrides": overrides, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateVariationResponseContent, + parse_obj_as( + type_=CreateVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetVariationResponseContent]: + """ + Retrieve a single variation by its ID. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetVariationResponseContent] + Variation successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetVariationResponseContent, + parse_obj_as( + type_=GetVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, vid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete a variation by ID. Returns 204 if the variation does not exist. Returns 404 if the parent feature flag does not exist. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + vid: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + overrides: typing.Optional[UpdateVariationOverridesMap] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateVariationResponseContent]: + """ + Partially update a variation by ID. Only provided fields are updated. + + Parameters + ---------- + id : str + The ID of the parent feature flag. + + vid : str + The ID of the variation to update. + + name : typing.Optional[str] + A human-readable name for the variation + + description : typing.Optional[str] + A description of what this variation controls + + overrides : typing.Optional[UpdateVariationOverridesMap] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateVariationResponseContent] + Variation successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/feature-flags/{quote_path_param(id)}/variations/{quote_path_param(vid)}", + method="PATCH", + json={ + "name": name, + "description": description, + "overrides": overrides, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateVariationResponseContent, + parse_obj_as( + type_=UpdateVariationResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/experimentation/raw_client.py b/src/auth0/management/experimentation/raw_client.py new file mode 100644 index 00000000..0364beba --- /dev/null +++ b/src/auth0/management/experimentation/raw_client.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper + + +class RawExperimentationClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + +class AsyncRawExperimentationClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper diff --git a/src/auth0/management/experimentation/segments/__init__.py b/src/auth0/management/experimentation/segments/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/experimentation/segments/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/experimentation/segments/client.py b/src/auth0/management/experimentation/segments/client.py new file mode 100644 index 00000000..f6c0322f --- /dev/null +++ b/src/auth0/management/experimentation/segments/client.py @@ -0,0 +1,530 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.create_segment_response_content import CreateSegmentResponseContent +from ...types.get_segment_response_content import GetSegmentResponseContent +from ...types.list_segments_response_content import ListSegmentsResponseContent +from ...types.segment import Segment +from ...types.segment_rule import SegmentRule +from ...types.segment_status_enum import SegmentStatusEnum +from ...types.segment_type_filter_enum import SegmentTypeFilterEnum +from ...types.update_segment_response_content import UpdateSegmentResponseContent +from .raw_client import AsyncRawSegmentsClient, RawSegmentsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class SegmentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawSegmentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawSegmentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawSegmentsClient + """ + return self._raw_client + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[SegmentTypeFilterEnum] = None, + status: typing.Optional[SegmentStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Segment, ListSegmentsResponseContent]: + """ + Retrieve a paginated list of segments for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of segments to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[SegmentTypeFilterEnum] + Filter by type. Exact match. + + status : typing.Optional[SegmentStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Segment, ListSegmentsResponseContent] + Segments successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.experimentation.segments.list( + from_="from", + take=1, + type="auth0", + status="active", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(from_=from_, take=take, type=type, status=status, request_options=request_options) + + def create( + self, + *, + name: str, + rules: typing.Sequence[SegmentRule], + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateSegmentResponseContent: + """ + Create a new segment with rule-based membership criteria for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the segment + + rules : typing.Sequence[SegmentRule] + An ordered list of rules. A segment matches if any rule matches. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + description : typing.Optional[str] + A description of the segment + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateSegmentResponseContent + Segment successfully created. + + Examples + -------- + from auth0 import Auth0, SegmentRule + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.segments.create( + name="name", + rules=[SegmentRule()], + ) + """ + _response = self._raw_client.create( + name=name, rules=rules, description=description, request_options=request_options + ) + return _response.data + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetSegmentResponseContent: + """ + Retrieve a single segment by its ID. + + Parameters + ---------- + id : str + The ID of the segment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetSegmentResponseContent + Segment successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.segments.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a segment by ID. Idempotent: returns 204 even if segment does not exist. + + Parameters + ---------- + id : str + The ID of the segment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.segments.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + rules: typing.Optional[typing.Sequence[SegmentRule]] = OMIT, + status: typing.Optional[SegmentStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateSegmentResponseContent: + """ + Partially update a segment by ID. Only provided fields are updated. Sending rules replaces the entire rules array. + + Parameters + ---------- + id : str + The ID of the segment to update. + + name : typing.Optional[str] + A human-readable name for the segment + + description : typing.Optional[str] + A description of the segment + + rules : typing.Optional[typing.Sequence[SegmentRule]] + Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + status : typing.Optional[SegmentStatusEnum] + Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateSegmentResponseContent + Segment successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.experimentation.segments.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, name=name, description=description, rules=rules, status=status, request_options=request_options + ) + return _response.data + + +class AsyncSegmentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawSegmentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawSegmentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawSegmentsClient + """ + return self._raw_client + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[SegmentTypeFilterEnum] = None, + status: typing.Optional[SegmentStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Segment, ListSegmentsResponseContent]: + """ + Retrieve a paginated list of segments for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of segments to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[SegmentTypeFilterEnum] + Filter by type. Exact match. + + status : typing.Optional[SegmentStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Segment, ListSegmentsResponseContent] + Segments successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.experimentation.segments.list( + from_="from", + take=1, + type="auth0", + status="active", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + from_=from_, take=take, type=type, status=status, request_options=request_options + ) + + async def create( + self, + *, + name: str, + rules: typing.Sequence[SegmentRule], + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateSegmentResponseContent: + """ + Create a new segment with rule-based membership criteria for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the segment + + rules : typing.Sequence[SegmentRule] + An ordered list of rules. A segment matches if any rule matches. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + description : typing.Optional[str] + A description of the segment + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateSegmentResponseContent + Segment successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0, SegmentRule + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.segments.create( + name="name", + rules=[SegmentRule()], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, rules=rules, description=description, request_options=request_options + ) + return _response.data + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetSegmentResponseContent: + """ + Retrieve a single segment by its ID. + + Parameters + ---------- + id : str + The ID of the segment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetSegmentResponseContent + Segment successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.segments.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a segment by ID. Idempotent: returns 204 even if segment does not exist. + + Parameters + ---------- + id : str + The ID of the segment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.segments.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + rules: typing.Optional[typing.Sequence[SegmentRule]] = OMIT, + status: typing.Optional[SegmentStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateSegmentResponseContent: + """ + Partially update a segment by ID. Only provided fields are updated. Sending rules replaces the entire rules array. + + Parameters + ---------- + id : str + The ID of the segment to update. + + name : typing.Optional[str] + A human-readable name for the segment + + description : typing.Optional[str] + A description of the segment + + rules : typing.Optional[typing.Sequence[SegmentRule]] + Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + status : typing.Optional[SegmentStatusEnum] + Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateSegmentResponseContent + Segment successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.experimentation.segments.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, name=name, description=description, rules=rules, status=status, request_options=request_options + ) + return _response.data diff --git a/src/auth0/management/experimentation/segments/raw_client.py b/src/auth0/management/experimentation/segments/raw_client.py new file mode 100644 index 00000000..de00a841 --- /dev/null +++ b/src/auth0/management/experimentation/segments/raw_client.py @@ -0,0 +1,1154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import quote_path_param +from ...core.pagination import AsyncPager, SyncPager +from ...core.parse_error import ParsingError +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...core.serialization import convert_and_respect_annotation_metadata +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...errors.unprocessable_entity_error import UnprocessableEntityError +from ...types.create_segment_response_content import CreateSegmentResponseContent +from ...types.get_segment_response_content import GetSegmentResponseContent +from ...types.list_segments_response_content import ListSegmentsResponseContent +from ...types.segment import Segment +from ...types.segment_rule import SegmentRule +from ...types.segment_status_enum import SegmentStatusEnum +from ...types.segment_type_filter_enum import SegmentTypeFilterEnum +from ...types.update_segment_response_content import UpdateSegmentResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawSegmentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[SegmentTypeFilterEnum] = None, + status: typing.Optional[SegmentStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Segment, ListSegmentsResponseContent]: + """ + Retrieve a paginated list of segments for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of segments to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[SegmentTypeFilterEnum] + Filter by type. Exact match. + + status : typing.Optional[SegmentStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Segment, ListSegmentsResponseContent] + Segments successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/segments", + method="GET", + params={ + "from": from_, + "take": take, + "type": type, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListSegmentsResponseContent, + parse_obj_as( + type_=ListSegmentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.segments + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + type=type, + status=status, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + rules: typing.Sequence[SegmentRule], + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateSegmentResponseContent]: + """ + Create a new segment with rule-based membership criteria for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the segment + + rules : typing.Sequence[SegmentRule] + An ordered list of rules. A segment matches if any rule matches. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + description : typing.Optional[str] + A description of the segment + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateSegmentResponseContent] + Segment successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "experimentation/segments", + method="POST", + json={ + "name": name, + "description": description, + "rules": convert_and_respect_annotation_metadata( + object_=rules, annotation=typing.Sequence[SegmentRule], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateSegmentResponseContent, + parse_obj_as( + type_=CreateSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetSegmentResponseContent]: + """ + Retrieve a single segment by its ID. + + Parameters + ---------- + id : str + The ID of the segment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetSegmentResponseContent] + Segment successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetSegmentResponseContent, + parse_obj_as( + type_=GetSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Delete a segment by ID. Idempotent: returns 204 even if segment does not exist. + + Parameters + ---------- + id : str + The ID of the segment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + rules: typing.Optional[typing.Sequence[SegmentRule]] = OMIT, + status: typing.Optional[SegmentStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateSegmentResponseContent]: + """ + Partially update a segment by ID. Only provided fields are updated. Sending rules replaces the entire rules array. + + Parameters + ---------- + id : str + The ID of the segment to update. + + name : typing.Optional[str] + A human-readable name for the segment + + description : typing.Optional[str] + A description of the segment + + rules : typing.Optional[typing.Sequence[SegmentRule]] + Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + status : typing.Optional[SegmentStatusEnum] + Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateSegmentResponseContent] + Segment successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "rules": convert_and_respect_annotation_metadata( + object_=rules, annotation=typing.Sequence[SegmentRule], direction="write" + ), + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateSegmentResponseContent, + parse_obj_as( + type_=UpdateSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawSegmentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + type: typing.Optional[SegmentTypeFilterEnum] = None, + status: typing.Optional[SegmentStatusEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Segment, ListSegmentsResponseContent]: + """ + Retrieve a paginated list of segments for the tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of segments to return per page. Defaults to 25, maximum 50. + + type : typing.Optional[SegmentTypeFilterEnum] + Filter by type. Exact match. + + status : typing.Optional[SegmentStatusEnum] + Filter by status. Exact match. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Segment, ListSegmentsResponseContent] + Segments successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/segments", + method="GET", + params={ + "from": from_, + "take": take, + "type": type, + "status": status, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListSegmentsResponseContent, + parse_obj_as( + type_=ListSegmentsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.segments + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + type=type, + status=status, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + rules: typing.Sequence[SegmentRule], + description: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateSegmentResponseContent]: + """ + Create a new segment with rule-based membership criteria for use in experiments. + + Parameters + ---------- + name : str + A human-readable name for the segment + + rules : typing.Sequence[SegmentRule] + An ordered list of rules. A segment matches if any rule matches. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + description : typing.Optional[str] + A description of the segment + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateSegmentResponseContent] + Segment successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "experimentation/segments", + method="POST", + json={ + "name": name, + "description": description, + "rules": convert_and_respect_annotation_metadata( + object_=rules, annotation=typing.Sequence[SegmentRule], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateSegmentResponseContent, + parse_obj_as( + type_=CreateSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetSegmentResponseContent]: + """ + Retrieve a single segment by its ID. + + Parameters + ---------- + id : str + The ID of the segment to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetSegmentResponseContent] + Segment successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetSegmentResponseContent, + parse_obj_as( + type_=GetSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete a segment by ID. Idempotent: returns 204 even if segment does not exist. + + Parameters + ---------- + id : str + The ID of the segment to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + name: typing.Optional[str] = OMIT, + description: typing.Optional[str] = OMIT, + rules: typing.Optional[typing.Sequence[SegmentRule]] = OMIT, + status: typing.Optional[SegmentStatusEnum] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateSegmentResponseContent]: + """ + Partially update a segment by ID. Only provided fields are updated. Sending rules replaces the entire rules array. + + Parameters + ---------- + id : str + The ID of the segment to update. + + name : typing.Optional[str] + A human-readable name for the segment + + description : typing.Optional[str] + A description of the segment + + rules : typing.Optional[typing.Sequence[SegmentRule]] + Replaces the entire rules array. Each rule is limited to 4KB and the whole segment to 10KB (serialized). + + status : typing.Optional[SegmentStatusEnum] + Target lifecycle status. Archiving removes the segment from the active pool and is terminal (an archived segment cannot return to active). When combined with field edits, the edits apply first and the transition follows. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateSegmentResponseContent] + Segment successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"experimentation/segments/{quote_path_param(id)}", + method="PATCH", + json={ + "name": name, + "description": description, + "rules": convert_and_respect_annotation_metadata( + object_=rules, annotation=typing.Sequence[SegmentRule], direction="write" + ), + "status": status, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateSegmentResponseContent, + parse_obj_as( + type_=UpdateSegmentResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 422: + raise UnprocessableEntityError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/flows/executions/client.py b/src/auth0/management/flows/executions/client.py index 8795abac..1d66ae46 100644 --- a/src/auth0/management/flows/executions/client.py +++ b/src/auth0/management/flows/executions/client.py @@ -31,6 +31,7 @@ def list( self, flow_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( flow_id : str Flow id + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -64,6 +68,7 @@ def list( ) response = client.flows.executions.list( flow_id="flow_id", + include_totals=True, from_="from", take=1, ) @@ -73,7 +78,9 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(flow_id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list( + flow_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) def get( self, @@ -178,6 +185,7 @@ async def list( self, flow_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -188,6 +196,9 @@ async def list( flow_id : str Flow id + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -216,6 +227,7 @@ async def list( async def main() -> None: response = await client.flows.executions.list( flow_id="flow_id", + include_totals=True, from_="from", take=1, ) @@ -229,7 +241,9 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(flow_id, from_=from_, take=take, request_options=request_options) + return await self._raw_client.list( + flow_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) async def get( self, diff --git a/src/auth0/management/flows/executions/raw_client.py b/src/auth0/management/flows/executions/raw_client.py index cf2ee99d..8aa9c071 100644 --- a/src/auth0/management/flows/executions/raw_client.py +++ b/src/auth0/management/flows/executions/raw_client.py @@ -6,13 +6,14 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions from ...errors.bad_request_error import BadRequestError from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError from ...errors.too_many_requests_error import TooManyRequestsError from ...errors.unauthorized_error import UnauthorizedError from ...types.flow_execution_summary import FlowExecutionSummary @@ -30,6 +31,7 @@ def list( self, flow_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -40,6 +42,9 @@ def list( flow_id : str Flow id + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -55,9 +60,10 @@ def list( Flow executions successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions", + f"flows/{quote_path_param(flow_id)}/executions", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -77,6 +83,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( flow_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -115,6 +122,17 @@ def list( ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -169,7 +187,7 @@ def get( Flow execution successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions/{encode_path_param(execution_id)}", + f"flows/{quote_path_param(flow_id)}/executions/{quote_path_param(execution_id)}", method="GET", params={ "hydrate": hydrate, @@ -219,6 +237,17 @@ def get( ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -259,7 +288,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions/{encode_path_param(execution_id)}", + f"flows/{quote_path_param(flow_id)}/executions/{quote_path_param(execution_id)}", method="DELETE", request_options=request_options, ) @@ -328,6 +357,7 @@ async def list( self, flow_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -338,6 +368,9 @@ async def list( flow_id : str Flow id + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -353,9 +386,10 @@ async def list( Flow executions successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions", + f"flows/{quote_path_param(flow_id)}/executions", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -377,6 +411,7 @@ async def list( async def _get_next(): return await self.list( flow_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -416,6 +451,17 @@ async def _get_next(): ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -470,7 +516,7 @@ async def get( Flow execution successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions/{encode_path_param(execution_id)}", + f"flows/{quote_path_param(flow_id)}/executions/{quote_path_param(execution_id)}", method="GET", params={ "hydrate": hydrate, @@ -520,6 +566,17 @@ async def get( ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -560,7 +617,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(flow_id)}/executions/{encode_path_param(execution_id)}", + f"flows/{quote_path_param(flow_id)}/executions/{quote_path_param(execution_id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/flows/raw_client.py b/src/auth0/management/flows/raw_client.py index 43ac4738..a854aeb6 100644 --- a/src/auth0/management/flows/raw_client.py +++ b/src/auth0/management/flows/raw_client.py @@ -6,13 +6,14 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata from ..errors.bad_request_error import BadRequestError +from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError @@ -97,7 +98,7 @@ def list( ), ) _items = _parsed_response.flows - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -287,7 +288,7 @@ def get( Flow successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="GET", params={ "hydrate": hydrate, @@ -383,7 +384,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -434,6 +435,17 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -481,7 +493,7 @@ def update( Flow successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -505,6 +517,17 @@ def update( ), ) return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), @@ -625,7 +648,7 @@ async def list( ), ) _items = _parsed_response.flows - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -818,7 +841,7 @@ async def get( Flow successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="GET", params={ "hydrate": hydrate, @@ -916,7 +939,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -967,6 +990,17 @@ async def delete( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -1014,7 +1048,7 @@ async def update( Flow successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/{encode_path_param(id)}", + f"flows/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1038,6 +1072,17 @@ async def update( ), ) return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), diff --git a/src/auth0/management/flows/vault/connections/raw_client.py b/src/auth0/management/flows/vault/connections/raw_client.py index 0f840891..697d071c 100644 --- a/src/auth0/management/flows/vault/connections/raw_client.py +++ b/src/auth0/management/flows/vault/connections/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -86,7 +86,7 @@ def list( ), ) _items = _parsed_response.connections - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -256,7 +256,7 @@ def get( Flow vault connection successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -349,7 +349,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -437,7 +437,7 @@ def update( Flow vault connection successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -580,7 +580,7 @@ async def list( ), ) _items = _parsed_response.connections - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -753,7 +753,7 @@ async def get( Flow vault connection successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -848,7 +848,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -936,7 +936,7 @@ async def update( Flow vault connection successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"flows/vault/connections/{encode_path_param(id)}", + f"flows/vault/connections/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/forms/raw_client.py b/src/auth0/management/forms/raw_client.py index 772b6fb1..cc0e24ee 100644 --- a/src/auth0/management/forms/raw_client.py +++ b/src/auth0/management/forms/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -104,7 +104,7 @@ def list( ), ) _items = _parsed_response.forms - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -327,7 +327,7 @@ def get( Form successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="GET", params={ "hydrate": hydrate, @@ -423,7 +423,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -528,28 +528,28 @@ def update( Form successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="PATCH", json={ "name": name, "messages": convert_and_respect_annotation_metadata( - object_=messages, annotation=FormMessagesNullable, direction="write" + object_=messages, annotation=typing.Optional[FormMessagesNullable], direction="write" ), "languages": convert_and_respect_annotation_metadata( - object_=languages, annotation=FormLanguagesNullable, direction="write" + object_=languages, annotation=typing.Optional[FormLanguagesNullable], direction="write" ), "translations": translations, "nodes": convert_and_respect_annotation_metadata( - object_=nodes, annotation=FormNodeListNullable, direction="write" + object_=nodes, annotation=typing.Optional[FormNodeListNullable], direction="write" ), "start": convert_and_respect_annotation_metadata( - object_=start, annotation=FormStartNodeNullable, direction="write" + object_=start, annotation=typing.Optional[FormStartNodeNullable], direction="write" ), "ending": convert_and_respect_annotation_metadata( - object_=ending, annotation=FormEndingNodeNullable, direction="write" + object_=ending, annotation=typing.Optional[FormEndingNodeNullable], direction="write" ), "style": convert_and_respect_annotation_metadata( - object_=style, annotation=FormStyleNullable, direction="write" + object_=style, annotation=typing.Optional[FormStyleNullable], direction="write" ), }, headers={ @@ -568,6 +568,17 @@ def update( ), ) return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), @@ -590,6 +601,17 @@ def update( ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -672,7 +694,7 @@ async def list( ), ) _items = _parsed_response.forms - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -898,7 +920,7 @@ async def get( Form successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="GET", params={ "hydrate": hydrate, @@ -996,7 +1018,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1101,28 +1123,28 @@ async def update( Form successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"forms/{encode_path_param(id)}", + f"forms/{quote_path_param(id)}", method="PATCH", json={ "name": name, "messages": convert_and_respect_annotation_metadata( - object_=messages, annotation=FormMessagesNullable, direction="write" + object_=messages, annotation=typing.Optional[FormMessagesNullable], direction="write" ), "languages": convert_and_respect_annotation_metadata( - object_=languages, annotation=FormLanguagesNullable, direction="write" + object_=languages, annotation=typing.Optional[FormLanguagesNullable], direction="write" ), "translations": translations, "nodes": convert_and_respect_annotation_metadata( - object_=nodes, annotation=FormNodeListNullable, direction="write" + object_=nodes, annotation=typing.Optional[FormNodeListNullable], direction="write" ), "start": convert_and_respect_annotation_metadata( - object_=start, annotation=FormStartNodeNullable, direction="write" + object_=start, annotation=typing.Optional[FormStartNodeNullable], direction="write" ), "ending": convert_and_respect_annotation_metadata( - object_=ending, annotation=FormEndingNodeNullable, direction="write" + object_=ending, annotation=typing.Optional[FormEndingNodeNullable], direction="write" ), "style": convert_and_respect_annotation_metadata( - object_=style, annotation=FormStyleNullable, direction="write" + object_=style, annotation=typing.Optional[FormStyleNullable], direction="write" ), }, headers={ @@ -1141,6 +1163,17 @@ async def update( ), ) return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), @@ -1163,6 +1196,17 @@ async def update( ), ), ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), diff --git a/src/auth0/management/groups/client.py b/src/auth0/management/groups/client.py index 59e3178b..b2a0f456 100644 --- a/src/auth0/management/groups/client.py +++ b/src/auth0/management/groups/client.py @@ -44,6 +44,7 @@ def list( search: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -71,6 +72,9 @@ def list( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -99,6 +103,7 @@ def list( search="search", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -115,6 +120,7 @@ def list( search=search, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=from_, take=take, request_options=request_options, @@ -225,6 +231,7 @@ async def list( search: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -252,6 +259,9 @@ async def list( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -285,6 +295,7 @@ async def main() -> None: search="search", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -305,6 +316,7 @@ async def main() -> None: search=search, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=from_, take=take, request_options=request_options, diff --git a/src/auth0/management/groups/members/raw_client.py b/src/auth0/management/groups/members/raw_client.py index 63deec2f..ec627883 100644 --- a/src/auth0/management/groups/members/raw_client.py +++ b/src/auth0/management/groups/members/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -63,7 +63,7 @@ def get( Group members successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/members", + f"groups/{quote_path_param(id)}/members", method="GET", params={ "fields": fields, @@ -202,7 +202,7 @@ async def get( Group members successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/members", + f"groups/{quote_path_param(id)}/members", method="GET", params={ "fields": fields, diff --git a/src/auth0/management/groups/raw_client.py b/src/auth0/management/groups/raw_client.py index 0ee12bfd..1ad7dfb1 100644 --- a/src/auth0/management/groups/raw_client.py +++ b/src/auth0/management/groups/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -35,6 +35,7 @@ def list( search: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -62,6 +63,9 @@ def list( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -86,6 +90,7 @@ def list( "search": search, "fields": fields, "include_fields": include_fields, + "include_totals": include_totals, "from": from_, "take": take, }, @@ -110,6 +115,7 @@ def list( search=search, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -188,7 +194,7 @@ def get( Group successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}", + f"groups/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -283,7 +289,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}", + f"groups/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -357,6 +363,7 @@ async def list( search: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -384,6 +391,9 @@ async def list( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -408,6 +418,7 @@ async def list( "search": search, "fields": fields, "include_fields": include_fields, + "include_totals": include_totals, "from": from_, "take": take, }, @@ -434,6 +445,7 @@ async def _get_next(): search=search, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -513,7 +525,7 @@ async def get( Group successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}", + f"groups/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -610,7 +622,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}", + f"groups/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/groups/roles/raw_client.py b/src/auth0/management/groups/roles/raw_client.py index e3ffbfd2..f19bb424 100644 --- a/src/auth0/management/groups/roles/raw_client.py +++ b/src/auth0/management/groups/roles/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -59,7 +59,7 @@ def list( Group's roles successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="GET", params={ "from": from_, @@ -172,7 +172,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="POST", json={ "roles": roles, @@ -272,7 +272,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="DELETE", json={ "roles": roles, @@ -386,7 +386,7 @@ async def list( Group's roles successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="GET", params={ "from": from_, @@ -502,7 +502,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="POST", json={ "roles": roles, @@ -602,7 +602,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"groups/{encode_path_param(id)}/roles", + f"groups/{quote_path_param(id)}/roles", method="DELETE", json={ "roles": roles, diff --git a/src/auth0/management/guardian/client.py b/src/auth0/management/guardian/client.py index 9dcab484..6cb2053a 100644 --- a/src/auth0/management/guardian/client.py +++ b/src/auth0/management/guardian/client.py @@ -5,12 +5,17 @@ import typing from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.request_options import RequestOptions +from ..types.get_guardian_settings_response_content import GetGuardianSettingsResponseContent +from ..types.set_guardian_settings_response_content import SetGuardianSettingsResponseContent from .raw_client import AsyncRawGuardianClient, RawGuardianClient if typing.TYPE_CHECKING: from .enrollments.client import AsyncEnrollmentsClient, EnrollmentsClient from .factors.client import AsyncFactorsClient, FactorsClient from .policies.client import AsyncPoliciesClient, PoliciesClient +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) class GuardianClient: @@ -32,6 +37,89 @@ def with_raw_response(self) -> RawGuardianClient: """ return self._raw_client + def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetGuardianSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetGuardianSettingsResponseContent + Returns the Guardian settings. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.get() + """ + _response = self._raw_client.get(request_options=request_options) + return _response.data + + def set( + self, + *, + display_remember_me_checkbox: bool, + remember_me_default_value: bool, + mfa_session_inactivity_timeout: int, + mfa_session_overall_timeout: int, + request_options: typing.Optional[RequestOptions] = None, + ) -> SetGuardianSettingsResponseContent: + """ + Update a tenant's guardian settings such as Remember Me + + Parameters + ---------- + display_remember_me_checkbox : bool + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + + remember_me_default_value : bool + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + + mfa_session_inactivity_timeout : int + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + + mfa_session_overall_timeout : int + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetGuardianSettingsResponseContent + The Guardian settings have been successfully set. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.set( + display_remember_me_checkbox=True, + remember_me_default_value=True, + mfa_session_inactivity_timeout=1, + mfa_session_overall_timeout=1, + ) + """ + _response = self._raw_client.set( + display_remember_me_checkbox=display_remember_me_checkbox, + remember_me_default_value=remember_me_default_value, + mfa_session_inactivity_timeout=mfa_session_inactivity_timeout, + mfa_session_overall_timeout=mfa_session_overall_timeout, + request_options=request_options, + ) + return _response.data + @property def enrollments(self): if self._enrollments is None: @@ -76,6 +164,107 @@ def with_raw_response(self) -> AsyncRawGuardianClient: """ return self._raw_client + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetGuardianSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetGuardianSettingsResponseContent + Returns the Guardian settings. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.get() + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(request_options=request_options) + return _response.data + + async def set( + self, + *, + display_remember_me_checkbox: bool, + remember_me_default_value: bool, + mfa_session_inactivity_timeout: int, + mfa_session_overall_timeout: int, + request_options: typing.Optional[RequestOptions] = None, + ) -> SetGuardianSettingsResponseContent: + """ + Update a tenant's guardian settings such as Remember Me + + Parameters + ---------- + display_remember_me_checkbox : bool + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + + remember_me_default_value : bool + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + + mfa_session_inactivity_timeout : int + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + + mfa_session_overall_timeout : int + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetGuardianSettingsResponseContent + The Guardian settings have been successfully set. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.set( + display_remember_me_checkbox=True, + remember_me_default_value=True, + mfa_session_inactivity_timeout=1, + mfa_session_overall_timeout=1, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.set( + display_remember_me_checkbox=display_remember_me_checkbox, + remember_me_default_value=remember_me_default_value, + mfa_session_inactivity_timeout=mfa_session_inactivity_timeout, + mfa_session_overall_timeout=mfa_session_overall_timeout, + request_options=request_options, + ) + return _response.data + @property def enrollments(self): if self._enrollments is None: diff --git a/src/auth0/management/guardian/enrollments/raw_client.py b/src/auth0/management/guardian/enrollments/raw_client.py index 1f0f6959..c5cb5eb2 100644 --- a/src/auth0/management/guardian/enrollments/raw_client.py +++ b/src/auth0/management/guardian/enrollments/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -168,7 +168,7 @@ def get( Enrollment successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"guardian/enrollments/{encode_path_param(id)}", + f"guardian/enrollments/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -241,7 +241,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"guardian/enrollments/{encode_path_param(id)}", + f"guardian/enrollments/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -436,7 +436,7 @@ async def get( Enrollment successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"guardian/enrollments/{encode_path_param(id)}", + f"guardian/enrollments/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -511,7 +511,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"guardian/enrollments/{encode_path_param(id)}", + f"guardian/enrollments/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/guardian/factors/__init__.py b/src/auth0/management/guardian/factors/__init__.py index 4fd6d250..e8abbe21 100644 --- a/src/auth0/management/guardian/factors/__init__.py +++ b/src/auth0/management/guardian/factors/__init__.py @@ -6,9 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import duo, phone, push_notification, sms + from . import duo, email, phone, push_notification, sms _dynamic_imports: typing.Dict[str, str] = { "duo": ".duo", + "email": ".email", "phone": ".phone", "push_notification": ".push_notification", "sms": ".sms", @@ -36,4 +37,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["duo", "phone", "push_notification", "sms"] +__all__ = ["duo", "email", "phone", "push_notification", "sms"] diff --git a/src/auth0/management/guardian/factors/client.py b/src/auth0/management/guardian/factors/client.py index 52975de1..339ccfda 100644 --- a/src/auth0/management/guardian/factors/client.py +++ b/src/auth0/management/guardian/factors/client.py @@ -13,6 +13,7 @@ if typing.TYPE_CHECKING: from .duo.client import AsyncDuoClient, DuoClient + from .email.client import AsyncEmailClient, EmailClient from .phone.client import AsyncPhoneClient, PhoneClient from .push_notification.client import AsyncPushNotificationClient, PushNotificationClient from .sms.client import AsyncSmsClient, SmsClient @@ -24,6 +25,7 @@ class FactorsClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._raw_client = RawFactorsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper + self._email: typing.Optional[EmailClient] = None self._phone: typing.Optional[PhoneClient] = None self._push_notification: typing.Optional[PushNotificationClient] = None self._sms: typing.Optional[SmsClient] = None @@ -75,7 +77,7 @@ def set( Parameters ---------- name : GuardianFactorNameEnum - Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. + Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. enabled : bool Whether this factor is enabled (true) or disabled (false). @@ -103,6 +105,14 @@ def set( _response = self._raw_client.set(name, enabled=enabled, request_options=request_options) return _response.data + @property + def email(self): + if self._email is None: + from .email.client import EmailClient # noqa: E402 + + self._email = EmailClient(client_wrapper=self._client_wrapper) + return self._email + @property def phone(self): if self._phone is None: @@ -140,6 +150,7 @@ class AsyncFactorsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._raw_client = AsyncRawFactorsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper + self._email: typing.Optional[AsyncEmailClient] = None self._phone: typing.Optional[AsyncPhoneClient] = None self._push_notification: typing.Optional[AsyncPushNotificationClient] = None self._sms: typing.Optional[AsyncSmsClient] = None @@ -199,7 +210,7 @@ async def set( Parameters ---------- name : GuardianFactorNameEnum - Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. + Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. enabled : bool Whether this factor is enabled (true) or disabled (false). @@ -235,6 +246,14 @@ async def main() -> None: _response = await self._raw_client.set(name, enabled=enabled, request_options=request_options) return _response.data + @property + def email(self): + if self._email is None: + from .email.client import AsyncEmailClient # noqa: E402 + + self._email = AsyncEmailClient(client_wrapper=self._client_wrapper) + return self._email + @property def phone(self): if self._phone is None: diff --git a/src/auth0/management/guardian/factors/email/__init__.py b/src/auth0/management/guardian/factors/email/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/guardian/factors/email/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/guardian/factors/email/client.py b/src/auth0/management/guardian/factors/email/client.py new file mode 100644 index 00000000..15166abe --- /dev/null +++ b/src/auth0/management/guardian/factors/email/client.py @@ -0,0 +1,192 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.request_options import RequestOptions +from ....types.get_email_factor_settings_response_content import GetEmailFactorSettingsResponseContent +from ....types.set_email_factor_settings_response_content import SetEmailFactorSettingsResponseContent +from .raw_client import AsyncRawEmailClient, RawEmailClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class EmailClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawEmailClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawEmailClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawEmailClient + """ + return self._raw_client + + def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetEmailFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetEmailFactorSettingsResponseContent + Returns the email factor settings. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.email.get() + """ + _response = self._raw_client.get(request_options=request_options) + return _response.data + + def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> SetEmailFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetEmailFactorSettingsResponseContent + The email factor settings have been successfully set. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.email.set( + otp_length=1, + otp_expiration_time=1, + ) + """ + _response = self._raw_client.set( + otp_length=otp_length, otp_expiration_time=otp_expiration_time, request_options=request_options + ) + return _response.data + + +class AsyncEmailClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawEmailClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawEmailClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawEmailClient + """ + return self._raw_client + + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetEmailFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetEmailFactorSettingsResponseContent + Returns the email factor settings. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.email.get() + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(request_options=request_options) + return _response.data + + async def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> SetEmailFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetEmailFactorSettingsResponseContent + The email factor settings have been successfully set. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.email.set( + otp_length=1, + otp_expiration_time=1, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.set( + otp_length=otp_length, otp_expiration_time=otp_expiration_time, request_options=request_options + ) + return _response.data diff --git a/src/auth0/management/users/federated_connections_tokensets/raw_client.py b/src/auth0/management/guardian/factors/email/raw_client.py similarity index 71% rename from src/auth0/management/users/federated_connections_tokensets/raw_client.py rename to src/auth0/management/guardian/factors/email/raw_client.py index 4416f034..7c31a38b 100644 --- a/src/auth0/management/users/federated_connections_tokensets/raw_client.py +++ b/src/auth0/management/guardian/factors/email/raw_client.py @@ -3,56 +3,55 @@ import typing from json.decoder import JSONDecodeError -from ...core.api_error import ApiError -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param -from ...core.parse_error import ParsingError -from ...core.pydantic_utilities import parse_obj_as -from ...core.request_options import RequestOptions -from ...errors.bad_request_error import BadRequestError -from ...errors.forbidden_error import ForbiddenError -from ...errors.not_found_error import NotFoundError -from ...errors.too_many_requests_error import TooManyRequestsError -from ...errors.unauthorized_error import UnauthorizedError -from ...types.federated_connection_token_set import FederatedConnectionTokenSet +from ....core.api_error import ApiError +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.parse_error import ParsingError +from ....core.pydantic_utilities import parse_obj_as +from ....core.request_options import RequestOptions +from ....errors.bad_request_error import BadRequestError +from ....errors.forbidden_error import ForbiddenError +from ....errors.too_many_requests_error import TooManyRequestsError +from ....errors.unauthorized_error import UnauthorizedError +from ....types.get_email_factor_settings_response_content import GetEmailFactorSettingsResponseContent +from ....types.set_email_factor_settings_response_content import SetEmailFactorSettingsResponseContent from pydantic import ValidationError +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) -class RawFederatedConnectionsTokensetsClient: + +class RawEmailClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper - def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[FederatedConnectionTokenSet]]: + def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetEmailFactorSettingsResponseContent]: """ - List active federated connections tokensets for a provided user + TODO: Link this endpoint to relevant documentation when available. Parameters ---------- - id : str - User identifier - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[typing.List[FederatedConnectionTokenSet]] - Flows successfully retrieved. + HttpResponse[GetEmailFactorSettingsResponseContent] + Returns the email factor settings. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/federated-connections-tokensets", + "guardian/factors/email/settings", method="GET", request_options=request_options, ) try: if 200 <= _response.status_code < 300: _data = typing.cast( - typing.List[FederatedConnectionTokenSet], + GetEmailFactorSettingsResponseContent, parse_obj_as( - type_=typing.List[FederatedConnectionTokenSet], # type: ignore + type_=GetEmailFactorSettingsResponseContent, # type: ignore object_=_response.json(), ), ) @@ -79,17 +78,6 @@ def list( ), ), ) - if _response.status_code == 404: - raise NotFoundError( - headers=dict(_response.headers), - body=typing.cast( - typing.Any, - parse_obj_as( - type_=typing.Any, # type: ignore - object_=_response.json(), - ), - ), - ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -110,33 +98,51 @@ def list( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - def delete( - self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[None]: + def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[SetEmailFactorSettingsResponseContent]: """ + TODO: Link this endpoint to relevant documentation when available. + Parameters ---------- - id : str - Id of the user that owns the tokenset + otp_length : int + The length of the OTP code. - tokenset_id : str - The tokenset id + otp_expiration_time : int + The OTP expiration time in seconds. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[None] + HttpResponse[SetEmailFactorSettingsResponseContent] + The email factor settings have been successfully set. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/federated-connections-tokensets/{encode_path_param(tokenset_id)}", - method="DELETE", + "guardian/factors/email/settings", + method="PUT", + json={ + "otp_length": otp_length, + "otp_expiration_time": otp_expiration_time, + }, + headers={ + "content-type": "application/json", + }, request_options=request_options, + omit=OMIT, ) try: if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) + _data = typing.cast( + SetEmailFactorSettingsResponseContent, + parse_obj_as( + type_=SetEmailFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), @@ -191,40 +197,37 @@ def delete( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) -class AsyncRawFederatedConnectionsTokensetsClient: +class AsyncRawEmailClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper - async def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]]: + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetEmailFactorSettingsResponseContent]: """ - List active federated connections tokensets for a provided user + TODO: Link this endpoint to relevant documentation when available. Parameters ---------- - id : str - User identifier - request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]] - Flows successfully retrieved. + AsyncHttpResponse[GetEmailFactorSettingsResponseContent] + Returns the email factor settings. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/federated-connections-tokensets", + "guardian/factors/email/settings", method="GET", request_options=request_options, ) try: if 200 <= _response.status_code < 300: _data = typing.cast( - typing.List[FederatedConnectionTokenSet], + GetEmailFactorSettingsResponseContent, parse_obj_as( - type_=typing.List[FederatedConnectionTokenSet], # type: ignore + type_=GetEmailFactorSettingsResponseContent, # type: ignore object_=_response.json(), ), ) @@ -251,17 +254,6 @@ async def list( ), ), ) - if _response.status_code == 404: - raise NotFoundError( - headers=dict(_response.headers), - body=typing.cast( - typing.Any, - parse_obj_as( - type_=typing.Any, # type: ignore - object_=_response.json(), - ), - ), - ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -282,33 +274,51 @@ async def list( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - async def delete( - self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[None]: + async def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[SetEmailFactorSettingsResponseContent]: """ + TODO: Link this endpoint to relevant documentation when available. + Parameters ---------- - id : str - Id of the user that owns the tokenset + otp_length : int + The length of the OTP code. - tokenset_id : str - The tokenset id + otp_expiration_time : int + The OTP expiration time in seconds. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[None] + AsyncHttpResponse[SetEmailFactorSettingsResponseContent] + The email factor settings have been successfully set. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/federated-connections-tokensets/{encode_path_param(tokenset_id)}", - method="DELETE", + "guardian/factors/email/settings", + method="PUT", + json={ + "otp_length": otp_length, + "otp_expiration_time": otp_expiration_time, + }, + headers={ + "content-type": "application/json", + }, request_options=request_options, + omit=OMIT, ) try: if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) + _data = typing.cast( + SetEmailFactorSettingsResponseContent, + parse_obj_as( + type_=SetEmailFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), diff --git a/src/auth0/management/guardian/factors/phone/client.py b/src/auth0/management/guardian/factors/phone/client.py index da291fbd..b2efa9ae 100644 --- a/src/auth0/management/guardian/factors/phone/client.py +++ b/src/auth0/management/guardian/factors/phone/client.py @@ -16,6 +16,7 @@ from ....types.get_guardian_factors_provider_phone_twilio_response_content import ( GetGuardianFactorsProviderPhoneTwilioResponseContent, ) +from ....types.get_phone_factor_settings_response_content import GetPhoneFactorSettingsResponseContent from ....types.guardian_factor_phone_factor_message_type_enum import GuardianFactorPhoneFactorMessageTypeEnum from ....types.guardian_factors_provider_sms_provider_enum import GuardianFactorsProviderSmsProviderEnum from ....types.set_guardian_factor_phone_message_types_response_content import ( @@ -30,6 +31,7 @@ from ....types.set_guardian_factors_provider_phone_twilio_response_content import ( SetGuardianFactorsProviderPhoneTwilioResponseContent, ) +from ....types.set_phone_factor_settings_response_content import SetPhoneFactorSettingsResponseContent from .raw_client import AsyncRawPhoneClient, RawPhoneClient # this is used as the default value for optional parameters @@ -256,6 +258,71 @@ def set_provider( _response = self._raw_client.set_provider(provider=provider, request_options=request_options) return _response.data + def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetPhoneFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetPhoneFactorSettingsResponseContent + Returns the phone factor settings. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.phone.get() + """ + _response = self._raw_client.get(request_options=request_options) + return _response.data + + def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> SetPhoneFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetPhoneFactorSettingsResponseContent + The phone factor settings have been successfully set. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.phone.set( + otp_length=1, + otp_expiration_time=1, + ) + """ + _response = self._raw_client.set( + otp_length=otp_length, otp_expiration_time=otp_expiration_time, request_options=request_options + ) + return _response.data + def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None ) -> GetGuardianFactorPhoneTemplatesResponseContent: @@ -600,6 +667,89 @@ async def main() -> None: _response = await self._raw_client.set_provider(provider=provider, request_options=request_options) return _response.data + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetPhoneFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetPhoneFactorSettingsResponseContent + Returns the phone factor settings. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.phone.get() + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(request_options=request_options) + return _response.data + + async def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> SetPhoneFactorSettingsResponseContent: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SetPhoneFactorSettingsResponseContent + The phone factor settings have been successfully set. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.phone.set( + otp_length=1, + otp_expiration_time=1, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.set( + otp_length=otp_length, otp_expiration_time=otp_expiration_time, request_options=request_options + ) + return _response.data + async def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None ) -> GetGuardianFactorPhoneTemplatesResponseContent: diff --git a/src/auth0/management/guardian/factors/phone/raw_client.py b/src/auth0/management/guardian/factors/phone/raw_client.py index deb721b0..1cdb74cb 100644 --- a/src/auth0/management/guardian/factors/phone/raw_client.py +++ b/src/auth0/management/guardian/factors/phone/raw_client.py @@ -12,6 +12,7 @@ from ....errors.bad_request_error import BadRequestError from ....errors.forbidden_error import ForbiddenError from ....errors.not_found_error import NotFoundError +from ....errors.too_many_requests_error import TooManyRequestsError from ....errors.unauthorized_error import UnauthorizedError from ....types.get_guardian_factor_phone_message_types_response_content import ( GetGuardianFactorPhoneMessageTypesResponseContent, @@ -25,6 +26,7 @@ from ....types.get_guardian_factors_provider_phone_twilio_response_content import ( GetGuardianFactorsProviderPhoneTwilioResponseContent, ) +from ....types.get_phone_factor_settings_response_content import GetPhoneFactorSettingsResponseContent from ....types.guardian_factor_phone_factor_message_type_enum import GuardianFactorPhoneFactorMessageTypeEnum from ....types.guardian_factors_provider_sms_provider_enum import GuardianFactorsProviderSmsProviderEnum from ....types.set_guardian_factor_phone_message_types_response_content import ( @@ -39,6 +41,7 @@ from ....types.set_guardian_factors_provider_phone_twilio_response_content import ( SetGuardianFactorsProviderPhoneTwilioResponseContent, ) +from ....types.set_phone_factor_settings_response_content import SetPhoneFactorSettingsResponseContent from pydantic import ValidationError # this is used as the default value for optional parameters @@ -549,6 +552,177 @@ def set_provider( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetPhoneFactorSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetPhoneFactorSettingsResponseContent] + Returns the phone factor settings. + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/factors/phone/settings", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetPhoneFactorSettingsResponseContent, + parse_obj_as( + type_=GetPhoneFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[SetPhoneFactorSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[SetPhoneFactorSettingsResponseContent] + The phone factor settings have been successfully set. + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/factors/phone/settings", + method="PUT", + json={ + "otp_length": otp_length, + "otp_expiration_time": otp_expiration_time, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SetPhoneFactorSettingsResponseContent, + parse_obj_as( + type_=SetPhoneFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetGuardianFactorPhoneTemplatesResponseContent]: @@ -1218,6 +1392,177 @@ async def set_provider( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetPhoneFactorSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetPhoneFactorSettingsResponseContent] + Returns the phone factor settings. + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/factors/phone/settings", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetPhoneFactorSettingsResponseContent, + parse_obj_as( + type_=GetPhoneFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def set( + self, *, otp_length: int, otp_expiration_time: int, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[SetPhoneFactorSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + otp_length : int + The length of the OTP code. + + otp_expiration_time : int + The OTP expiration time in seconds. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[SetPhoneFactorSettingsResponseContent] + The phone factor settings have been successfully set. + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/factors/phone/settings", + method="PUT", + json={ + "otp_length": otp_length, + "otp_expiration_time": otp_expiration_time, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SetPhoneFactorSettingsResponseContent, + parse_obj_as( + type_=SetPhoneFactorSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetGuardianFactorPhoneTemplatesResponseContent]: diff --git a/src/auth0/management/guardian/factors/raw_client.py b/src/auth0/management/guardian/factors/raw_client.py index 121b68a3..df8567e5 100644 --- a/src/auth0/management/guardian/factors/raw_client.py +++ b/src/auth0/management/guardian/factors/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -108,7 +108,7 @@ def set( Parameters ---------- name : GuardianFactorNameEnum - Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. + Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. enabled : bool Whether this factor is enabled (true) or disabled (false). @@ -122,7 +122,7 @@ def set( Factor updated successfully. """ _response = self._client_wrapper.httpx_client.request( - f"guardian/factors/{encode_path_param(name)}", + f"guardian/factors/{quote_path_param(name)}", method="PUT", json={ "enabled": enabled, @@ -272,7 +272,7 @@ async def set( Parameters ---------- name : GuardianFactorNameEnum - Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. + Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. enabled : bool Whether this factor is enabled (true) or disabled (false). @@ -286,7 +286,7 @@ async def set( Factor updated successfully. """ _response = await self._client_wrapper.httpx_client.request( - f"guardian/factors/{encode_path_param(name)}", + f"guardian/factors/{quote_path_param(name)}", method="PUT", json={ "enabled": enabled, diff --git a/src/auth0/management/guardian/factors/sms/client.py b/src/auth0/management/guardian/factors/sms/client.py index ae22af14..833ad9f8 100644 --- a/src/auth0/management/guardian/factors/sms/client.py +++ b/src/auth0/management/guardian/factors/sms/client.py @@ -189,7 +189,7 @@ def set_provider( def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None - ) -> GetGuardianFactorSmsTemplatesResponseContent: + ) -> typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]: """ This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. @@ -202,7 +202,7 @@ def get_templates( Returns ------- - GetGuardianFactorSmsTemplatesResponseContent + typing.Optional[GetGuardianFactorSmsTemplatesResponseContent] SMS enrollment and verification templates successfully retrieved. Examples @@ -465,7 +465,7 @@ async def main() -> None: async def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None - ) -> GetGuardianFactorSmsTemplatesResponseContent: + ) -> typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]: """ This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. @@ -478,7 +478,7 @@ async def get_templates( Returns ------- - GetGuardianFactorSmsTemplatesResponseContent + typing.Optional[GetGuardianFactorSmsTemplatesResponseContent] SMS enrollment and verification templates successfully retrieved. Examples diff --git a/src/auth0/management/guardian/factors/sms/raw_client.py b/src/auth0/management/guardian/factors/sms/raw_client.py index 1741678f..11687e16 100644 --- a/src/auth0/management/guardian/factors/sms/raw_client.py +++ b/src/auth0/management/guardian/factors/sms/raw_client.py @@ -375,7 +375,7 @@ def set_provider( def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[GetGuardianFactorSmsTemplatesResponseContent]: + ) -> HttpResponse[typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]]: """ This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. @@ -388,7 +388,7 @@ def get_templates( Returns ------- - HttpResponse[GetGuardianFactorSmsTemplatesResponseContent] + HttpResponse[typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]] SMS enrollment and verification templates successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( @@ -397,11 +397,13 @@ def get_templates( request_options=request_options, ) try: + if _response is None or not _response.text.strip(): + return HttpResponse(response=_response, data=None) if 200 <= _response.status_code < 300: _data = typing.cast( - GetGuardianFactorSmsTemplatesResponseContent, + typing.Optional[GetGuardianFactorSmsTemplatesResponseContent], parse_obj_as( - type_=GetGuardianFactorSmsTemplatesResponseContent, # type: ignore + type_=typing.Optional[GetGuardianFactorSmsTemplatesResponseContent], # type: ignore object_=_response.json(), ), ) @@ -888,7 +890,7 @@ async def set_provider( async def get_templates( self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[GetGuardianFactorSmsTemplatesResponseContent]: + ) -> AsyncHttpResponse[typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]]: """ This endpoint has been deprecated. To complete this action, use the Retrieve enrollment and verification phone templates endpoint instead. @@ -901,7 +903,7 @@ async def get_templates( Returns ------- - AsyncHttpResponse[GetGuardianFactorSmsTemplatesResponseContent] + AsyncHttpResponse[typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]] SMS enrollment and verification templates successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( @@ -910,11 +912,13 @@ async def get_templates( request_options=request_options, ) try: + if _response is None or not _response.text.strip(): + return AsyncHttpResponse(response=_response, data=None) if 200 <= _response.status_code < 300: _data = typing.cast( - GetGuardianFactorSmsTemplatesResponseContent, + typing.Optional[GetGuardianFactorSmsTemplatesResponseContent], parse_obj_as( - type_=GetGuardianFactorSmsTemplatesResponseContent, # type: ignore + type_=typing.Optional[GetGuardianFactorSmsTemplatesResponseContent], # type: ignore object_=_response.json(), ), ) diff --git a/src/auth0/management/guardian/raw_client.py b/src/auth0/management/guardian/raw_client.py index 944c20d1..c3ff6067 100644 --- a/src/auth0/management/guardian/raw_client.py +++ b/src/auth0/management/guardian/raw_client.py @@ -1,13 +1,401 @@ # This file was auto-generated by Fern from our API Definition. +import typing +from json.decoder import JSONDecodeError + +from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.parse_error import ParsingError +from ..core.pydantic_utilities import parse_obj_as +from ..core.request_options import RequestOptions +from ..errors.bad_request_error import BadRequestError +from ..errors.forbidden_error import ForbiddenError +from ..errors.too_many_requests_error import TooManyRequestsError +from ..errors.unauthorized_error import UnauthorizedError +from ..types.get_guardian_settings_response_content import GetGuardianSettingsResponseContent +from ..types.set_guardian_settings_response_content import SetGuardianSettingsResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) class RawGuardianClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper + def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetGuardianSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetGuardianSettingsResponseContent] + Returns the Guardian settings. + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/settings", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetGuardianSettingsResponseContent, + parse_obj_as( + type_=GetGuardianSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def set( + self, + *, + display_remember_me_checkbox: bool, + remember_me_default_value: bool, + mfa_session_inactivity_timeout: int, + mfa_session_overall_timeout: int, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[SetGuardianSettingsResponseContent]: + """ + Update a tenant's guardian settings such as Remember Me + + Parameters + ---------- + display_remember_me_checkbox : bool + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + + remember_me_default_value : bool + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + + mfa_session_inactivity_timeout : int + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + + mfa_session_overall_timeout : int + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[SetGuardianSettingsResponseContent] + The Guardian settings have been successfully set. + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/settings", + method="PUT", + json={ + "display_remember_me_checkbox": display_remember_me_checkbox, + "remember_me_default_value": remember_me_default_value, + "mfa_session_inactivity_timeout": mfa_session_inactivity_timeout, + "mfa_session_overall_timeout": mfa_session_overall_timeout, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SetGuardianSettingsResponseContent, + parse_obj_as( + type_=SetGuardianSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawGuardianClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper + + async def get( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetGuardianSettingsResponseContent]: + """ + TODO: Link this endpoint to relevant documentation when available. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetGuardianSettingsResponseContent] + Returns the Guardian settings. + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/settings", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetGuardianSettingsResponseContent, + parse_obj_as( + type_=GetGuardianSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def set( + self, + *, + display_remember_me_checkbox: bool, + remember_me_default_value: bool, + mfa_session_inactivity_timeout: int, + mfa_session_overall_timeout: int, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[SetGuardianSettingsResponseContent]: + """ + Update a tenant's guardian settings such as Remember Me + + Parameters + ---------- + display_remember_me_checkbox : bool + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + + remember_me_default_value : bool + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + + mfa_session_inactivity_timeout : int + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + + mfa_session_overall_timeout : int + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[SetGuardianSettingsResponseContent] + The Guardian settings have been successfully set. + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/settings", + method="PUT", + json={ + "display_remember_me_checkbox": display_remember_me_checkbox, + "remember_me_default_value": remember_me_default_value, + "mfa_session_inactivity_timeout": mfa_session_inactivity_timeout, + "mfa_session_overall_timeout": mfa_session_overall_timeout, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SetGuardianSettingsResponseContent, + parse_obj_as( + type_=SetGuardianSettingsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/hooks/raw_client.py b/src/auth0/management/hooks/raw_client.py index bb14d75f..0fe4afab 100644 --- a/src/auth0/management/hooks/raw_client.py +++ b/src/auth0/management/hooks/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -101,7 +101,7 @@ def list( ), ) _items = _parsed_response.hooks - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -326,7 +326,7 @@ def get( Hook successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -424,7 +424,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -522,7 +522,7 @@ def update( Hook successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -693,7 +693,7 @@ async def list( ), ) _items = _parsed_response.hooks - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -921,7 +921,7 @@ async def get( Hook successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -1021,7 +1021,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1119,7 +1119,7 @@ async def update( Hook successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}", + f"hooks/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/hooks/secrets/raw_client.py b/src/auth0/management/hooks/secrets/raw_client.py index d9ac00d1..ea9e38ff 100644 --- a/src/auth0/management/hooks/secrets/raw_client.py +++ b/src/auth0/management/hooks/secrets/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -50,7 +50,7 @@ def get( Hook secrets successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="GET", request_options=request_options, ) @@ -153,7 +153,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="POST", json=request, request_options=request_options, @@ -251,7 +251,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="DELETE", json=request, request_options=request_options, @@ -338,7 +338,7 @@ def update( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="PATCH", json=request, request_options=request_options, @@ -447,7 +447,7 @@ async def get( Hook secrets successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="GET", request_options=request_options, ) @@ -550,7 +550,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="POST", json=request, request_options=request_options, @@ -648,7 +648,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="DELETE", json=request, request_options=request_options, @@ -735,7 +735,7 @@ async def update( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"hooks/{encode_path_param(id)}/secrets", + f"hooks/{quote_path_param(id)}/secrets", method="PATCH", json=request, request_options=request_options, diff --git a/src/auth0/management/jobs/errors/client.py b/src/auth0/management/jobs/errors/client.py index 7ca7ad67..ea8169e3 100644 --- a/src/auth0/management/jobs/errors/client.py +++ b/src/auth0/management/jobs/errors/client.py @@ -23,7 +23,9 @@ def with_raw_response(self) -> RawErrorsClient: """ return self._raw_client - def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> ErrorsGetResponse: + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> typing.Optional[ErrorsGetResponse]: """ Retrieve error details of a failed job. @@ -37,7 +39,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non Returns ------- - ErrorsGetResponse + typing.Optional[ErrorsGetResponse] Job successfully retrieved. Examples @@ -70,7 +72,9 @@ def with_raw_response(self) -> AsyncRawErrorsClient: """ return self._raw_client - async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> ErrorsGetResponse: + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> typing.Optional[ErrorsGetResponse]: """ Retrieve error details of a failed job. @@ -84,7 +88,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] Returns ------- - ErrorsGetResponse + typing.Optional[ErrorsGetResponse] Job successfully retrieved. Examples diff --git a/src/auth0/management/jobs/errors/raw_client.py b/src/auth0/management/jobs/errors/raw_client.py index f6d51d7d..2599c58d 100644 --- a/src/auth0/management/jobs/errors/raw_client.py +++ b/src/auth0/management/jobs/errors/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -25,7 +25,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ErrorsGetResponse]: + ) -> HttpResponse[typing.Optional[ErrorsGetResponse]]: """ Retrieve error details of a failed job. @@ -39,20 +39,22 @@ def get( Returns ------- - HttpResponse[ErrorsGetResponse] + HttpResponse[typing.Optional[ErrorsGetResponse]] Job successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"jobs/{encode_path_param(id)}/errors", + f"jobs/{quote_path_param(id)}/errors", method="GET", request_options=request_options, ) try: + if _response is None or not _response.text.strip(): + return HttpResponse(response=_response, data=None) if 200 <= _response.status_code < 300: _data = typing.cast( - ErrorsGetResponse, + typing.Optional[ErrorsGetResponse], parse_obj_as( - type_=ErrorsGetResponse, # type: ignore + type_=typing.Optional[ErrorsGetResponse], # type: ignore object_=_response.json(), ), ) @@ -128,7 +130,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ErrorsGetResponse]: + ) -> AsyncHttpResponse[typing.Optional[ErrorsGetResponse]]: """ Retrieve error details of a failed job. @@ -142,20 +144,22 @@ async def get( Returns ------- - AsyncHttpResponse[ErrorsGetResponse] + AsyncHttpResponse[typing.Optional[ErrorsGetResponse]] Job successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"jobs/{encode_path_param(id)}/errors", + f"jobs/{quote_path_param(id)}/errors", method="GET", request_options=request_options, ) try: + if _response is None or not _response.text.strip(): + return AsyncHttpResponse(response=_response, data=None) if 200 <= _response.status_code < 300: _data = typing.cast( - ErrorsGetResponse, + typing.Optional[ErrorsGetResponse], parse_obj_as( - type_=ErrorsGetResponse, # type: ignore + type_=typing.Optional[ErrorsGetResponse], # type: ignore object_=_response.json(), ), ) diff --git a/src/auth0/management/jobs/raw_client.py b/src/auth0/management/jobs/raw_client.py index 7e612169..f79eb1c6 100644 --- a/src/auth0/management/jobs/raw_client.py +++ b/src/auth0/management/jobs/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -43,7 +43,7 @@ def get( Job retrieved successfully. """ _response = self._client_wrapper.httpx_client.request( - f"jobs/{encode_path_param(id)}", + f"jobs/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -146,7 +146,7 @@ async def get( Job retrieved successfully. """ _response = await self._client_wrapper.httpx_client.request( - f"jobs/{encode_path_param(id)}", + f"jobs/{quote_path_param(id)}", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/keys/__init__.py b/src/auth0/management/keys/__init__.py index 62c766c4..ac98e268 100644 --- a/src/auth0/management/keys/__init__.py +++ b/src/auth0/management/keys/__init__.py @@ -6,10 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import custom_signing, encryption, signing + from . import custom_signing, encryption, network_acls, signing _dynamic_imports: typing.Dict[str, str] = { "custom_signing": ".custom_signing", "encryption": ".encryption", + "network_acls": ".network_acls", "signing": ".signing", } @@ -35,4 +36,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["custom_signing", "encryption", "signing"] +__all__ = ["custom_signing", "encryption", "network_acls", "signing"] diff --git a/src/auth0/management/keys/client.py b/src/auth0/management/keys/client.py index ca47c4b3..08daa895 100644 --- a/src/auth0/management/keys/client.py +++ b/src/auth0/management/keys/client.py @@ -10,6 +10,7 @@ if typing.TYPE_CHECKING: from .custom_signing.client import AsyncCustomSigningClient, CustomSigningClient from .encryption.client import AsyncEncryptionClient, EncryptionClient + from .network_acls.client import AsyncNetworkAclsClient, NetworkAclsClient from .signing.client import AsyncSigningClient, SigningClient @@ -19,6 +20,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper self._custom_signing: typing.Optional[CustomSigningClient] = None self._encryption: typing.Optional[EncryptionClient] = None + self._network_acls: typing.Optional[NetworkAclsClient] = None self._signing: typing.Optional[SigningClient] = None @property @@ -48,6 +50,14 @@ def encryption(self): self._encryption = EncryptionClient(client_wrapper=self._client_wrapper) return self._encryption + @property + def network_acls(self): + if self._network_acls is None: + from .network_acls.client import NetworkAclsClient # noqa: E402 + + self._network_acls = NetworkAclsClient(client_wrapper=self._client_wrapper) + return self._network_acls + @property def signing(self): if self._signing is None: @@ -63,6 +73,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper self._custom_signing: typing.Optional[AsyncCustomSigningClient] = None self._encryption: typing.Optional[AsyncEncryptionClient] = None + self._network_acls: typing.Optional[AsyncNetworkAclsClient] = None self._signing: typing.Optional[AsyncSigningClient] = None @property @@ -92,6 +103,14 @@ def encryption(self): self._encryption = AsyncEncryptionClient(client_wrapper=self._client_wrapper) return self._encryption + @property + def network_acls(self): + if self._network_acls is None: + from .network_acls.client import AsyncNetworkAclsClient # noqa: E402 + + self._network_acls = AsyncNetworkAclsClient(client_wrapper=self._client_wrapper) + return self._network_acls + @property def signing(self): if self._signing is None: diff --git a/src/auth0/management/keys/encryption/raw_client.py b/src/auth0/management/keys/encryption/raw_client.py index 794d5325..f113dae0 100644 --- a/src/auth0/management/keys/encryption/raw_client.py +++ b/src/auth0/management/keys/encryption/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -90,7 +90,7 @@ def list( ), ) _items = _parsed_response.keys - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -338,7 +338,7 @@ def get( The key was successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="GET", request_options=request_options, ) @@ -439,7 +439,7 @@ def import_( The key was successfully imported. """ _response = self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="POST", json={ "wrapped_key": wrapped_key, @@ -541,7 +541,7 @@ def delete(self, kid: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="DELETE", request_options=request_options, ) @@ -621,7 +621,7 @@ def create_public_wrapping_key( The public wrapping key was successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}/wrapping-key", + f"keys/encryption/{quote_path_param(kid)}/wrapping-key", method="POST", request_options=request_options, ) @@ -756,7 +756,7 @@ async def list( ), ) _items = _parsed_response.keys - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1007,7 +1007,7 @@ async def get( The key was successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="GET", request_options=request_options, ) @@ -1108,7 +1108,7 @@ async def import_( The key was successfully imported. """ _response = await self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="POST", json={ "wrapped_key": wrapped_key, @@ -1212,7 +1212,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}", + f"keys/encryption/{quote_path_param(kid)}", method="DELETE", request_options=request_options, ) @@ -1292,7 +1292,7 @@ async def create_public_wrapping_key( The public wrapping key was successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"keys/encryption/{encode_path_param(kid)}/wrapping-key", + f"keys/encryption/{quote_path_param(kid)}/wrapping-key", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/keys/network_acls/__init__.py b/src/auth0/management/keys/network_acls/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/keys/network_acls/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/keys/network_acls/client.py b/src/auth0/management/keys/network_acls/client.py new file mode 100644 index 00000000..0e17bee5 --- /dev/null +++ b/src/auth0/management/keys/network_acls/client.py @@ -0,0 +1,344 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.request_options import RequestOptions +from ...types.create_keys_network_acls_response_content import CreateKeysNetworkAclsResponseContent +from ...types.get_all_keys_network_acls_response_content import GetAllKeysNetworkAclsResponseContent +from ...types.network_acl_key import NetworkAclKey +from ...types.network_acl_key_algorithm_enum import NetworkAclKeyAlgorithmEnum +from .raw_client import AsyncRawNetworkAclsClient, RawNetworkAclsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class NetworkAclsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawNetworkAclsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawNetworkAclsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawNetworkAclsClient + """ + return self._raw_client + + def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetAllKeysNetworkAclsResponseContent: + """ + Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetAllKeysNetworkAclsResponseContent + The tenant's Network ACL Keys were successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.keys.network_acls.list() + """ + _response = self._raw_client.list(request_options=request_options) + return _response.data + + def create( + self, + *, + name: str, + alg: NetworkAclKeyAlgorithmEnum, + value: str, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateKeysNetworkAclsResponseContent: + """ + Create a new key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + name : str + Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. + + alg : NetworkAclKeyAlgorithmEnum + + value : str + Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateKeysNetworkAclsResponseContent + The Network ACL key was created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.keys.network_acls.create( + name="name", + alg="hmac-sha256", + value="value", + ) + """ + _response = self._raw_client.create(name=name, alg=alg, value=value, request_options=request_options) + return _response.data + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> NetworkAclKey: + """ + Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + id : str + ID of the Network ACL Key to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + NetworkAclKey + The Network ACL key was successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.keys.network_acls.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a key used to verify HTTP Message Signatures on Network ACL rules + + Parameters + ---------- + id : str + ID of the Network ACL Key to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.keys.network_acls.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + +class AsyncNetworkAclsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawNetworkAclsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawNetworkAclsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawNetworkAclsClient + """ + return self._raw_client + + async def list( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetAllKeysNetworkAclsResponseContent: + """ + Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetAllKeysNetworkAclsResponseContent + The tenant's Network ACL Keys were successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.keys.network_acls.list() + + + asyncio.run(main()) + """ + _response = await self._raw_client.list(request_options=request_options) + return _response.data + + async def create( + self, + *, + name: str, + alg: NetworkAclKeyAlgorithmEnum, + value: str, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateKeysNetworkAclsResponseContent: + """ + Create a new key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + name : str + Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. + + alg : NetworkAclKeyAlgorithmEnum + + value : str + Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateKeysNetworkAclsResponseContent + The Network ACL key was created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.keys.network_acls.create( + name="name", + alg="hmac-sha256", + value="value", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(name=name, alg=alg, value=value, request_options=request_options) + return _response.data + + async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> NetworkAclKey: + """ + Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + id : str + ID of the Network ACL Key to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + NetworkAclKey + The Network ACL key was successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.keys.network_acls.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Delete a key used to verify HTTP Message Signatures on Network ACL rules + + Parameters + ---------- + id : str + ID of the Network ACL Key to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.keys.network_acls.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data diff --git a/src/auth0/management/keys/network_acls/raw_client.py b/src/auth0/management/keys/network_acls/raw_client.py new file mode 100644 index 00000000..535c6d03 --- /dev/null +++ b/src/auth0/management/keys/network_acls/raw_client.py @@ -0,0 +1,832 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import quote_path_param +from ...core.parse_error import ParsingError +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.create_keys_network_acls_response_content import CreateKeysNetworkAclsResponseContent +from ...types.get_all_keys_network_acls_response_content import GetAllKeysNetworkAclsResponseContent +from ...types.network_acl_key import NetworkAclKey +from ...types.network_acl_key_algorithm_enum import NetworkAclKeyAlgorithmEnum +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawNetworkAclsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetAllKeysNetworkAclsResponseContent]: + """ + Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetAllKeysNetworkAclsResponseContent] + The tenant's Network ACL Keys were successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "keys/network-acls", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetAllKeysNetworkAclsResponseContent, + parse_obj_as( + type_=GetAllKeysNetworkAclsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + alg: NetworkAclKeyAlgorithmEnum, + value: str, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateKeysNetworkAclsResponseContent]: + """ + Create a new key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + name : str + Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. + + alg : NetworkAclKeyAlgorithmEnum + + value : str + Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateKeysNetworkAclsResponseContent] + The Network ACL key was created. + """ + _response = self._client_wrapper.httpx_client.request( + "keys/network-acls", + method="POST", + json={ + "name": name, + "alg": alg, + "value": value, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateKeysNetworkAclsResponseContent, + parse_obj_as( + type_=CreateKeysNetworkAclsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[NetworkAclKey]: + """ + Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + id : str + ID of the Network ACL Key to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[NetworkAclKey] + The Network ACL key was successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"keys/network-acls/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + NetworkAclKey, + parse_obj_as( + type_=NetworkAclKey, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Delete a key used to verify HTTP Message Signatures on Network ACL rules + + Parameters + ---------- + id : str + ID of the Network ACL Key to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"keys/network-acls/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawNetworkAclsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetAllKeysNetworkAclsResponseContent]: + """ + Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetAllKeysNetworkAclsResponseContent] + The tenant's Network ACL Keys were successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "keys/network-acls", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetAllKeysNetworkAclsResponseContent, + parse_obj_as( + type_=GetAllKeysNetworkAclsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + alg: NetworkAclKeyAlgorithmEnum, + value: str, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateKeysNetworkAclsResponseContent]: + """ + Create a new key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + name : str + Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. + + alg : NetworkAclKeyAlgorithmEnum + + value : str + Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateKeysNetworkAclsResponseContent] + The Network ACL key was created. + """ + _response = await self._client_wrapper.httpx_client.request( + "keys/network-acls", + method="POST", + json={ + "name": name, + "alg": alg, + "value": value, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateKeysNetworkAclsResponseContent, + parse_obj_as( + type_=CreateKeysNetworkAclsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[NetworkAclKey]: + """ + Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules. + + Parameters + ---------- + id : str + ID of the Network ACL Key to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[NetworkAclKey] + The Network ACL key was successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"keys/network-acls/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + NetworkAclKey, + parse_obj_as( + type_=NetworkAclKey, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Delete a key used to verify HTTP Message Signatures on Network ACL rules + + Parameters + ---------- + id : str + ID of the Network ACL Key to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"keys/network-acls/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/keys/signing/raw_client.py b/src/auth0/management/keys/signing/raw_client.py index 06edf530..302efcf3 100644 --- a/src/auth0/management/keys/signing/raw_client.py +++ b/src/auth0/management/keys/signing/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -203,7 +203,7 @@ def get( The signing keys were retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"keys/signing/{encode_path_param(kid)}", + f"keys/signing/{quote_path_param(kid)}", method="GET", request_options=request_options, ) @@ -301,7 +301,7 @@ def revoke( Signing key revoked successfully. """ _response = self._client_wrapper.httpx_client.request( - f"keys/signing/{encode_path_param(kid)}/revoke", + f"keys/signing/{quote_path_param(kid)}/revoke", method="PUT", request_options=request_options, ) @@ -550,7 +550,7 @@ async def get( The signing keys were retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"keys/signing/{encode_path_param(kid)}", + f"keys/signing/{quote_path_param(kid)}", method="GET", request_options=request_options, ) @@ -648,7 +648,7 @@ async def revoke( Signing key revoked successfully. """ _response = await self._client_wrapper.httpx_client.request( - f"keys/signing/{encode_path_param(kid)}/revoke", + f"keys/signing/{quote_path_param(kid)}/revoke", method="PUT", request_options=request_options, ) diff --git a/src/auth0/management/log_streams/raw_client.py b/src/auth0/management/log_streams/raw_client.py index 2a04643d..15244352 100644 --- a/src/auth0/management/log_streams/raw_client.py +++ b/src/auth0/management/log_streams/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -658,7 +658,7 @@ def get( Returning log stream. """ _response = self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -742,7 +742,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -930,7 +930,7 @@ def update( Log stream updated """ _response = self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1642,7 +1642,7 @@ async def get( Returning log stream. """ _response = await self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1728,7 +1728,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1916,7 +1916,7 @@ async def update( Log stream updated """ _response = await self._client_wrapper.httpx_client.request( - f"log-streams/{encode_path_param(id)}", + f"log-streams/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/logs/raw_client.py b/src/auth0/management/logs/raw_client.py index 7398e40e..ab880f6f 100644 --- a/src/auth0/management/logs/raw_client.py +++ b/src/auth0/management/logs/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -125,7 +125,7 @@ def list( ), ) _items = _parsed_response.logs - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -210,7 +210,7 @@ def get( Log successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"logs/{encode_path_param(id)}", + f"logs/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -392,7 +392,7 @@ async def list( ), ) _items = _parsed_response.logs - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -480,7 +480,7 @@ async def get( Log successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"logs/{encode_path_param(id)}", + f"logs/{quote_path_param(id)}", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/management_client.py b/src/auth0/management/management_client.py index 421f9bda..09b5bb2b 100644 --- a/src/auth0/management/management_client.py +++ b/src/auth0/management/management_client.py @@ -1,3 +1,7 @@ +# This file is hand-written and listed in .fernignore, so Fern does not overwrite it. +# Each resource that the generated Auth0 client exposes needs a matching property +# on ManagementClient and AsyncManagementClient, plus a TYPE_CHECKING import. +# tests/management/test_management_client.py fails and lists any missing resource. from __future__ import annotations import base64 @@ -5,10 +9,9 @@ from json import dumps from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union -from .core.request_options import RequestOptions - import httpx from .client import AsyncAuth0, Auth0 +from .core.request_options import RequestOptions from .token_provider import TokenProvider CUSTOM_DOMAIN_HEADER = "Auth0-Custom-Domain" @@ -61,19 +64,25 @@ def CustomDomainHeader(domain: str) -> RequestOptions: if TYPE_CHECKING: from .actions.client import ActionsClient, AsyncActionsClient + from .agents.client import AgentsClient, AsyncAgentsClient from .anomaly.client import AnomalyClient, AsyncAnomalyClient from .attack_protection.client import AsyncAttackProtectionClient, AttackProtectionClient from .branding.client import AsyncBrandingClient, BrandingClient from .client_grants.client import AsyncClientGrantsClient, ClientGrantsClient + from .client_profiles.client import AsyncClientProfilesClient, ClientProfilesClient from .clients.client import AsyncClientsClient, ClientsClient + from .connection_profiles.client import AsyncConnectionProfilesClient, ConnectionProfilesClient from .connections.client import AsyncConnectionsClient, ConnectionsClient from .custom_domains.client import AsyncCustomDomainsClient, CustomDomainsClient from .device_credentials.client import AsyncDeviceCredentialsClient, DeviceCredentialsClient from .email_templates.client import AsyncEmailTemplatesClient, EmailTemplatesClient from .emails.client import AsyncEmailsClient, EmailsClient from .event_streams.client import AsyncEventStreamsClient, EventStreamsClient + from .events.client import AsyncEventsClient, EventsClient + from .experimentation.client import AsyncExperimentationClient, ExperimentationClient from .flows.client import AsyncFlowsClient, FlowsClient from .forms.client import AsyncFormsClient, FormsClient + from .groups.client import AsyncGroupsClient, GroupsClient from .guardian.client import AsyncGuardianClient, GuardianClient from .hooks.client import AsyncHooksClient, HooksClient from .jobs.client import AsyncJobsClient, JobsClient @@ -82,9 +91,12 @@ def CustomDomainHeader(domain: str) -> RequestOptions: from .logs.client import AsyncLogsClient, LogsClient from .network_acls.client import AsyncNetworkAclsClient, NetworkAclsClient from .organizations.client import AsyncOrganizationsClient, OrganizationsClient + from .portals.client import AsyncPortalsClient, PortalsClient from .prompts.client import AsyncPromptsClient, PromptsClient + from .rate_limit_policies.client import AsyncRateLimitPoliciesClient, RateLimitPoliciesClient from .refresh_tokens.client import AsyncRefreshTokensClient, RefreshTokensClient from .resource_servers.client import AsyncResourceServersClient, ResourceServersClient + from .risk_assessments.client import AsyncRiskAssessmentsClient, RiskAssessmentsClient from .roles.client import AsyncRolesClient, RolesClient from .rules.client import AsyncRulesClient, RulesClient from .rules_configs.client import AsyncRulesConfigsClient, RulesConfigsClient @@ -95,6 +107,7 @@ def CustomDomainHeader(domain: str) -> RequestOptions: from .tenants.client import AsyncTenantsClient, TenantsClient from .tickets.client import AsyncTicketsClient, TicketsClient from .token_exchange_profiles.client import AsyncTokenExchangeProfilesClient, TokenExchangeProfilesClient + from .user_attribute_profiles.client import AsyncUserAttributeProfilesClient, UserAttributeProfilesClient from .user_blocks.client import AsyncUserBlocksClient, UserBlocksClient from .user_grants.client import AsyncUserGrantsClient, UserGrantsClient from .users.client import AsyncUsersClient, UsersClient @@ -221,6 +234,10 @@ def __init__( def actions(self) -> "ActionsClient": return self._api.actions + @property + def agents(self) -> "AgentsClient": + return self._api.agents + @property def anomaly(self) -> "AnomalyClient": return self._api.anomaly @@ -237,10 +254,18 @@ def branding(self) -> "BrandingClient": def client_grants(self) -> "ClientGrantsClient": return self._api.client_grants + @property + def client_profiles(self) -> "ClientProfilesClient": + return self._api.client_profiles + @property def clients(self) -> "ClientsClient": return self._api.clients + @property + def connection_profiles(self) -> "ConnectionProfilesClient": + return self._api.connection_profiles + @property def connections(self) -> "ConnectionsClient": return self._api.connections @@ -265,6 +290,14 @@ def emails(self) -> "EmailsClient": def event_streams(self) -> "EventStreamsClient": return self._api.event_streams + @property + def events(self) -> "EventsClient": + return self._api.events + + @property + def experimentation(self) -> "ExperimentationClient": + return self._api.experimentation + @property def flows(self) -> "FlowsClient": return self._api.flows @@ -273,6 +306,10 @@ def flows(self) -> "FlowsClient": def forms(self) -> "FormsClient": return self._api.forms + @property + def groups(self) -> "GroupsClient": + return self._api.groups + @property def guardian(self) -> "GuardianClient": return self._api.guardian @@ -305,10 +342,18 @@ def network_acls(self) -> "NetworkAclsClient": def organizations(self) -> "OrganizationsClient": return self._api.organizations + @property + def portals(self) -> "PortalsClient": + return self._api.portals + @property def prompts(self) -> "PromptsClient": return self._api.prompts + @property + def rate_limit_policies(self) -> "RateLimitPoliciesClient": + return self._api.rate_limit_policies + @property def refresh_tokens(self) -> "RefreshTokensClient": return self._api.refresh_tokens @@ -317,6 +362,10 @@ def refresh_tokens(self) -> "RefreshTokensClient": def resource_servers(self) -> "ResourceServersClient": return self._api.resource_servers + @property + def risk_assessments(self) -> "RiskAssessmentsClient": + return self._api.risk_assessments + @property def roles(self) -> "RolesClient": return self._api.roles @@ -357,6 +406,10 @@ def tickets(self) -> "TicketsClient": def token_exchange_profiles(self) -> "TokenExchangeProfilesClient": return self._api.token_exchange_profiles + @property + def user_attribute_profiles(self) -> "UserAttributeProfilesClient": + return self._api.user_attribute_profiles + @property def user_blocks(self) -> "UserBlocksClient": return self._api.user_blocks @@ -497,6 +550,10 @@ def __init__( def actions(self) -> "AsyncActionsClient": return self._api.actions + @property + def agents(self) -> "AsyncAgentsClient": + return self._api.agents + @property def anomaly(self) -> "AsyncAnomalyClient": return self._api.anomaly @@ -513,10 +570,18 @@ def branding(self) -> "AsyncBrandingClient": def client_grants(self) -> "AsyncClientGrantsClient": return self._api.client_grants + @property + def client_profiles(self) -> "AsyncClientProfilesClient": + return self._api.client_profiles + @property def clients(self) -> "AsyncClientsClient": return self._api.clients + @property + def connection_profiles(self) -> "AsyncConnectionProfilesClient": + return self._api.connection_profiles + @property def connections(self) -> "AsyncConnectionsClient": return self._api.connections @@ -541,6 +606,14 @@ def emails(self) -> "AsyncEmailsClient": def event_streams(self) -> "AsyncEventStreamsClient": return self._api.event_streams + @property + def events(self) -> "AsyncEventsClient": + return self._api.events + + @property + def experimentation(self) -> "AsyncExperimentationClient": + return self._api.experimentation + @property def flows(self) -> "AsyncFlowsClient": return self._api.flows @@ -549,6 +622,10 @@ def flows(self) -> "AsyncFlowsClient": def forms(self) -> "AsyncFormsClient": return self._api.forms + @property + def groups(self) -> "AsyncGroupsClient": + return self._api.groups + @property def guardian(self) -> "AsyncGuardianClient": return self._api.guardian @@ -581,10 +658,18 @@ def network_acls(self) -> "AsyncNetworkAclsClient": def organizations(self) -> "AsyncOrganizationsClient": return self._api.organizations + @property + def portals(self) -> "AsyncPortalsClient": + return self._api.portals + @property def prompts(self) -> "AsyncPromptsClient": return self._api.prompts + @property + def rate_limit_policies(self) -> "AsyncRateLimitPoliciesClient": + return self._api.rate_limit_policies + @property def refresh_tokens(self) -> "AsyncRefreshTokensClient": return self._api.refresh_tokens @@ -593,6 +678,10 @@ def refresh_tokens(self) -> "AsyncRefreshTokensClient": def resource_servers(self) -> "AsyncResourceServersClient": return self._api.resource_servers + @property + def risk_assessments(self) -> "AsyncRiskAssessmentsClient": + return self._api.risk_assessments + @property def roles(self) -> "AsyncRolesClient": return self._api.roles @@ -633,6 +722,10 @@ def tickets(self) -> "AsyncTicketsClient": def token_exchange_profiles(self) -> "AsyncTokenExchangeProfilesClient": return self._api.token_exchange_profiles + @property + def user_attribute_profiles(self) -> "AsyncUserAttributeProfilesClient": + return self._api.user_attribute_profiles + @property def user_blocks(self) -> "AsyncUserBlocksClient": return self._api.user_blocks diff --git a/src/auth0/management/network_acls/raw_client.py b/src/auth0/management/network_acls/raw_client.py index 6ff37a6b..1f597e0a 100644 --- a/src/auth0/management/network_acls/raw_client.py +++ b/src/auth0/management/network_acls/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -87,7 +87,7 @@ def list( ), ) _items = _parsed_response.network_acls - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -294,7 +294,7 @@ def get( Network access control list successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -398,7 +398,7 @@ def set( Network ACL properties successfully updated """ _response = self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="PUT", json={ "description": description, @@ -505,7 +505,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -613,7 +613,7 @@ def update( Network ACL properties successfully updated """ _response = self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="PATCH", json={ "description": description, @@ -760,7 +760,7 @@ async def list( ), ) _items = _parsed_response.network_acls - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -970,7 +970,7 @@ async def get( Network access control list successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1074,7 +1074,7 @@ async def set( Network ACL properties successfully updated """ _response = await self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="PUT", json={ "description": description, @@ -1183,7 +1183,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1291,7 +1291,7 @@ async def update( Network ACL properties successfully updated """ _response = await self._client_wrapper.httpx_client.request( - f"network-acls/{encode_path_param(id)}", + f"network-acls/{quote_path_param(id)}", method="PATCH", json={ "description": description, diff --git a/src/auth0/management/organizations/__init__.py b/src/auth0/management/organizations/__init__.py index ca170602..079f5c6d 100644 --- a/src/auth0/management/organizations/__init__.py +++ b/src/auth0/management/organizations/__init__.py @@ -6,15 +6,27 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import client_grants, connections, discovery_domains, enabled_connections, groups, invitations, members + from . import ( + client_grants, + clients, + connections, + discovery_domains, + enabled_connections, + groups, + invitations, + members, + roles, + ) _dynamic_imports: typing.Dict[str, str] = { "client_grants": ".client_grants", + "clients": ".clients", "connections": ".connections", "discovery_domains": ".discovery_domains", "enabled_connections": ".enabled_connections", "groups": ".groups", "invitations": ".invitations", "members": ".members", + "roles": ".roles", } @@ -41,10 +53,12 @@ def __dir__(): __all__ = [ "client_grants", + "clients", "connections", "discovery_domains", "enabled_connections", "groups", "invitations", "members", + "roles", ] diff --git a/src/auth0/management/organizations/client.py b/src/auth0/management/organizations/client.py index 6a7f1fa5..ea655744 100644 --- a/src/auth0/management/organizations/client.py +++ b/src/auth0/management/organizations/client.py @@ -16,18 +16,25 @@ from ..types.organization import Organization from ..types.organization_branding import OrganizationBranding from ..types.organization_metadata import OrganizationMetadata +from ..types.organization_sort_field_enum import OrganizationSortFieldEnum +from ..types.organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum +from ..types.search_organization import SearchOrganization +from ..types.search_organizations_paginated_response_content import SearchOrganizationsPaginatedResponseContent +from ..types.search_parser_enum import SearchParserEnum from ..types.update_organization_response_content import UpdateOrganizationResponseContent from ..types.update_token_quota import UpdateTokenQuota from .raw_client import AsyncRawOrganizationsClient, RawOrganizationsClient if typing.TYPE_CHECKING: from .client_grants.client import AsyncClientGrantsClient, ClientGrantsClient + from .clients.client import AsyncClientsClient, ClientsClient from .connections.client import AsyncConnectionsClient, ConnectionsClient from .discovery_domains.client import AsyncDiscoveryDomainsClient, DiscoveryDomainsClient from .enabled_connections.client import AsyncEnabledConnectionsClient, EnabledConnectionsClient from .groups.client import AsyncGroupsClient, GroupsClient from .invitations.client import AsyncInvitationsClient, InvitationsClient from .members.client import AsyncMembersClient, MembersClient + from .roles.client import AsyncRolesClient, RolesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,12 +44,14 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._raw_client = RawOrganizationsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper self._client_grants: typing.Optional[ClientGrantsClient] = None + self._clients: typing.Optional[ClientsClient] = None self._connections: typing.Optional[ConnectionsClient] = None self._discovery_domains: typing.Optional[DiscoveryDomainsClient] = None self._enabled_connections: typing.Optional[EnabledConnectionsClient] = None self._invitations: typing.Optional[InvitationsClient] = None self._members: typing.Optional[MembersClient] = None self._groups: typing.Optional[GroupsClient] = None + self._roles: typing.Optional[RolesClient] = None @property def with_raw_response(self) -> RawOrganizationsClient: @@ -58,9 +67,11 @@ def with_raw_response(self) -> RawOrganizationsClient: def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, sort: typing.Optional[str] = None, + include_client_association_for: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Organization, ListOrganizationsPaginatedResponseContent]: """ @@ -84,6 +95,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -93,6 +107,9 @@ def list( sort : typing.Optional[str] Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. + include_client_association_for : typing.Optional[str] + Client ID. When set, each returned organization that has an association with this client gains a client object describing it; organizations without one omit the field. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -109,9 +126,11 @@ def list( token="YOUR_TOKEN", ) response = client.organizations.list( + include_totals=True, from_="from", take=1, sort="sort", + include_client_association_for="include_client_association_for", ) for item in response: yield item @@ -119,7 +138,14 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(from_=from_, take=take, sort=sort, request_options=request_options) + return self._raw_client.list( + include_totals=include_totals, + from_=from_, + take=take, + sort=sort, + include_client_association_for=include_client_association_for, + request_options=request_options, + ) def create( self, @@ -130,6 +156,8 @@ def create( metadata: typing.Optional[OrganizationMetadata] = OMIT, enabled_connections: typing.Optional[typing.Sequence[ConnectionForOrganization]] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationResponseContent: """ @@ -152,6 +180,11 @@ def create( token_quota : typing.Optional[CreateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -178,6 +211,8 @@ def create( metadata=metadata, enabled_connections=enabled_connections, token_quota=token_quota, + third_party_client_access=third_party_client_access, + is_app_entitlement_active=is_app_entitlement_active, request_options=request_options, ) return _response.data @@ -215,6 +250,82 @@ def get_by_name( _response = self._raw_client.get_by_name(name, request_options=request_options) return _response.data + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[OrganizationSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent]: + """ + Retrieve details of organizations matching a search criteria. It is possible to: + + - Specify a search criteria for organizations + - Search via `name` + - Search via `display_name` + - Substring matching (`contains` and `ends-with`) requires at least 3 characters + - Use wildcards + + The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR `display_name`. + + This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser` parameter to specify "scim" or "lucene" syntax (default: "lucene"). + + Results are eventually consistent and may not reflect recent updates immediately. + + **Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest first). + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter, default: Lucene). Lucene examples: `name:acme*`, `display_name:*auth*`. SCIM examples: `name eq "Auth0"`, `display_name sw "auth" and created_at gt "2024-01-01"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Organization ID (case-sensitive, exact match)
  • name - Organization name (supports contains, starts-with, ends-with operators; sortable)
  • display_name - Organization display name (supports contains, starts-with, ends-with operators; sortable)
  • created_at - Creation timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by organization metadata key-value pairs
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[OrganizationSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent] + Organizations successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.organizations.search( + q="q", + parser="scim", + take=1, + from_="from", + sort="name", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.search( + q=q, parser=parser, take=take, from_=from_, sort=sort, request_options=request_options + ) + def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetOrganizationResponseContent: @@ -289,6 +400,8 @@ def update( branding: typing.Optional[OrganizationBranding] = OMIT, metadata: typing.Optional[OrganizationMetadata] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationResponseContent: """ @@ -311,6 +424,11 @@ def update( token_quota : typing.Optional[UpdateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -337,6 +455,8 @@ def update( branding=branding, metadata=metadata, token_quota=token_quota, + third_party_client_access=third_party_client_access, + is_app_entitlement_active=is_app_entitlement_active, request_options=request_options, ) return _response.data @@ -349,6 +469,14 @@ def client_grants(self): self._client_grants = ClientGrantsClient(client_wrapper=self._client_wrapper) return self._client_grants + @property + def clients(self): + if self._clients is None: + from .clients.client import ClientsClient # noqa: E402 + + self._clients = ClientsClient(client_wrapper=self._client_wrapper) + return self._clients + @property def connections(self): if self._connections is None: @@ -397,18 +525,28 @@ def groups(self): self._groups = GroupsClient(client_wrapper=self._client_wrapper) return self._groups + @property + def roles(self): + if self._roles is None: + from .roles.client import RolesClient # noqa: E402 + + self._roles = RolesClient(client_wrapper=self._client_wrapper) + return self._roles + class AsyncOrganizationsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._raw_client = AsyncRawOrganizationsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper self._client_grants: typing.Optional[AsyncClientGrantsClient] = None + self._clients: typing.Optional[AsyncClientsClient] = None self._connections: typing.Optional[AsyncConnectionsClient] = None self._discovery_domains: typing.Optional[AsyncDiscoveryDomainsClient] = None self._enabled_connections: typing.Optional[AsyncEnabledConnectionsClient] = None self._invitations: typing.Optional[AsyncInvitationsClient] = None self._members: typing.Optional[AsyncMembersClient] = None self._groups: typing.Optional[AsyncGroupsClient] = None + self._roles: typing.Optional[AsyncRolesClient] = None @property def with_raw_response(self) -> AsyncRawOrganizationsClient: @@ -424,9 +562,11 @@ def with_raw_response(self) -> AsyncRawOrganizationsClient: async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, sort: typing.Optional[str] = None, + include_client_association_for: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Organization, ListOrganizationsPaginatedResponseContent]: """ @@ -450,6 +590,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -459,6 +602,9 @@ async def list( sort : typing.Optional[str] Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. + include_client_association_for : typing.Optional[str] + Client ID. When set, each returned organization that has an association with this client gains a client object describing it; organizations without one omit the field. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -480,9 +626,11 @@ async def list( async def main() -> None: response = await client.organizations.list( + include_totals=True, from_="from", take=1, sort="sort", + include_client_association_for="include_client_association_for", ) async for item in response: yield item @@ -494,7 +642,14 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(from_=from_, take=take, sort=sort, request_options=request_options) + return await self._raw_client.list( + include_totals=include_totals, + from_=from_, + take=take, + sort=sort, + include_client_association_for=include_client_association_for, + request_options=request_options, + ) async def create( self, @@ -505,6 +660,8 @@ async def create( metadata: typing.Optional[OrganizationMetadata] = OMIT, enabled_connections: typing.Optional[typing.Sequence[ConnectionForOrganization]] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationResponseContent: """ @@ -527,6 +684,11 @@ async def create( token_quota : typing.Optional[CreateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -561,6 +723,8 @@ async def main() -> None: metadata=metadata, enabled_connections=enabled_connections, token_quota=token_quota, + third_party_client_access=third_party_client_access, + is_app_entitlement_active=is_app_entitlement_active, request_options=request_options, ) return _response.data @@ -606,6 +770,91 @@ async def main() -> None: _response = await self._raw_client.get_by_name(name, request_options=request_options) return _response.data + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[OrganizationSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent]: + """ + Retrieve details of organizations matching a search criteria. It is possible to: + + - Specify a search criteria for organizations + - Search via `name` + - Search via `display_name` + - Substring matching (`contains` and `ends-with`) requires at least 3 characters + - Use wildcards + + The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR `display_name`. + + This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser` parameter to specify "scim" or "lucene" syntax (default: "lucene"). + + Results are eventually consistent and may not reflect recent updates immediately. + + **Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest first). + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter, default: Lucene). Lucene examples: `name:acme*`, `display_name:*auth*`. SCIM examples: `name eq "Auth0"`, `display_name sw "auth" and created_at gt "2024-01-01"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Organization ID (case-sensitive, exact match)
  • name - Organization name (supports contains, starts-with, ends-with operators; sortable)
  • display_name - Organization display name (supports contains, starts-with, ends-with operators; sortable)
  • created_at - Creation timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by organization metadata key-value pairs
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[OrganizationSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent] + Organizations successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.organizations.search( + q="q", + parser="scim", + take=1, + from_="from", + sort="name", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.search( + q=q, parser=parser, take=take, from_=from_, sort=sort, request_options=request_options + ) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetOrganizationResponseContent: @@ -696,6 +945,8 @@ async def update( branding: typing.Optional[OrganizationBranding] = OMIT, metadata: typing.Optional[OrganizationMetadata] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationResponseContent: """ @@ -718,6 +969,11 @@ async def update( token_quota : typing.Optional[UpdateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -752,6 +1008,8 @@ async def main() -> None: branding=branding, metadata=metadata, token_quota=token_quota, + third_party_client_access=third_party_client_access, + is_app_entitlement_active=is_app_entitlement_active, request_options=request_options, ) return _response.data @@ -764,6 +1022,14 @@ def client_grants(self): self._client_grants = AsyncClientGrantsClient(client_wrapper=self._client_wrapper) return self._client_grants + @property + def clients(self): + if self._clients is None: + from .clients.client import AsyncClientsClient # noqa: E402 + + self._clients = AsyncClientsClient(client_wrapper=self._client_wrapper) + return self._clients + @property def connections(self): if self._connections is None: @@ -811,3 +1077,11 @@ def groups(self): self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) return self._groups + + @property + def roles(self): + if self._roles is None: + from .roles.client import AsyncRolesClient # noqa: E402 + + self._roles = AsyncRolesClient(client_wrapper=self._client_wrapper) + return self._roles diff --git a/src/auth0/management/organizations/client_grants/raw_client.py b/src/auth0/management/organizations/client_grants/raw_client.py index e85eb4f6..148b45c8 100644 --- a/src/auth0/management/organizations/client_grants/raw_client.py +++ b/src/auth0/management/organizations/client_grants/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -81,7 +81,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants", + f"organizations/{quote_path_param(id)}/client-grants", method="GET", params={ "audience": audience, @@ -103,7 +103,7 @@ def list( ), ) _items = _parsed_response.client_grants - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, audience=audience, @@ -189,7 +189,7 @@ def create( Client Grant successfully associated with Organization. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants", + f"organizations/{quote_path_param(id)}/client-grants", method="POST", json={ "grant_id": grant_id, @@ -305,7 +305,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants/{encode_path_param(grant_id)}", + f"organizations/{quote_path_param(id)}/client-grants/{quote_path_param(grant_id)}", method="DELETE", request_options=request_options, ) @@ -428,7 +428,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants", + f"organizations/{quote_path_param(id)}/client-grants", method="GET", params={ "audience": audience, @@ -450,7 +450,7 @@ async def list( ), ) _items = _parsed_response.client_grants - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -539,7 +539,7 @@ async def create( Client Grant successfully associated with Organization. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants", + f"organizations/{quote_path_param(id)}/client-grants", method="POST", json={ "grant_id": grant_id, @@ -655,7 +655,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/client-grants/{encode_path_param(grant_id)}", + f"organizations/{quote_path_param(id)}/client-grants/{quote_path_param(grant_id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/organizations/clients/__init__.py b/src/auth0/management/organizations/clients/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/organizations/clients/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/organizations/clients/client.py b/src/auth0/management/organizations/clients/client.py new file mode 100644 index 00000000..c96c79e0 --- /dev/null +++ b/src/auth0/management/organizations/clients/client.py @@ -0,0 +1,532 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.create_organization_client_request_item import CreateOrganizationClientRequestItem +from ...types.create_organization_clients_response_content import CreateOrganizationClientsResponseContent +from ...types.get_organization_client_response_content import GetOrganizationClientResponseContent +from ...types.list_organization_clients_response_content import ListOrganizationClientsResponseContent +from ...types.organization_client import OrganizationClient +from ...types.update_organization_client_response_content import UpdateOrganizationClientResponseContent +from .raw_client import AsyncRawClientsClient, RawClientsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ClientsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawClientsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawClientsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawClientsClient + """ + return self._raw_client + + def list( + self, + id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[OrganizationClient, ListOrganizationClientsResponseContent]: + """ + List all clients associated with an organization, using checkpoint pagination. +
    +
  • + Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[OrganizationClient, ListOrganizationClientsResponseContent] + Organization clients successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.organizations.clients.list( + id="id", + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + + def create( + self, + id: str, + *, + clients: typing.Sequence[CreateOrganizationClientRequestItem], + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateOrganizationClientsResponseContent: + """ + Associate one or more clients with an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[CreateOrganizationClientRequestItem] + List of clients to associate with the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateOrganizationClientsResponseContent + Organization clients successfully associated. + + Examples + -------- + from auth0 import Auth0, CreateOrganizationClientRequestItem + + client = Auth0( + token="YOUR_TOKEN", + ) + client.organizations.clients.create( + id="id", + clients=[ + CreateOrganizationClientRequestItem( + client_id="client_id", + use_for_member_access=True, + ) + ], + ) + """ + _response = self._raw_client.create(id, clients=clients, request_options=request_options) + return _response.data + + def delete( + self, id: str, *, clients: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None + ) -> None: + """ + Remove one or more client associations from an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[str] + List of client IDs to disassociate from the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.organizations.clients.delete( + id="id", + clients=["clients"], + ) + """ + _response = self._raw_client.delete(id, clients=clients, request_options=request_options) + return _response.data + + def get( + self, id: str, client_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetOrganizationClientResponseContent: + """ + Get a specific client association for an organization. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetOrganizationClientResponseContent + Organization client association successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.organizations.clients.get( + id="id", + client_id="client_id", + ) + """ + _response = self._raw_client.get(id, client_id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + client_id: str, + *, + use_for_member_access: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateOrganizationClientResponseContent: + """ + Update an organization client association. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to update. + + use_for_member_access : typing.Optional[bool] + Whether this client is used for member access to the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateOrganizationClientResponseContent + Organization client successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.organizations.clients.update( + id="id", + client_id="client_id", + ) + """ + _response = self._raw_client.update( + id, client_id, use_for_member_access=use_for_member_access, request_options=request_options + ) + return _response.data + + +class AsyncClientsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawClientsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawClientsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawClientsClient + """ + return self._raw_client + + async def list( + self, + id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[OrganizationClient, ListOrganizationClientsResponseContent]: + """ + List all clients associated with an organization, using checkpoint pagination. +
    +
  • + Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[OrganizationClient, ListOrganizationClientsResponseContent] + Organization clients successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.organizations.clients.list( + id="id", + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + + async def create( + self, + id: str, + *, + clients: typing.Sequence[CreateOrganizationClientRequestItem], + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateOrganizationClientsResponseContent: + """ + Associate one or more clients with an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[CreateOrganizationClientRequestItem] + List of clients to associate with the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateOrganizationClientsResponseContent + Organization clients successfully associated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0, CreateOrganizationClientRequestItem + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.organizations.clients.create( + id="id", + clients=[ + CreateOrganizationClientRequestItem( + client_id="client_id", + use_for_member_access=True, + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(id, clients=clients, request_options=request_options) + return _response.data + + async def delete( + self, id: str, *, clients: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None + ) -> None: + """ + Remove one or more client associations from an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[str] + List of client IDs to disassociate from the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.organizations.clients.delete( + id="id", + clients=["clients"], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, clients=clients, request_options=request_options) + return _response.data + + async def get( + self, id: str, client_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetOrganizationClientResponseContent: + """ + Get a specific client association for an organization. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetOrganizationClientResponseContent + Organization client association successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.organizations.clients.get( + id="id", + client_id="client_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, client_id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + client_id: str, + *, + use_for_member_access: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateOrganizationClientResponseContent: + """ + Update an organization client association. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to update. + + use_for_member_access : typing.Optional[bool] + Whether this client is used for member access to the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateOrganizationClientResponseContent + Organization client successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.organizations.clients.update( + id="id", + client_id="client_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, client_id, use_for_member_access=use_for_member_access, request_options=request_options + ) + return _response.data diff --git a/src/auth0/management/organizations/clients/raw_client.py b/src/auth0/management/organizations/clients/raw_client.py new file mode 100644 index 00000000..6ce15de5 --- /dev/null +++ b/src/auth0/management/organizations/clients/raw_client.py @@ -0,0 +1,1181 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import quote_path_param +from ...core.pagination import AsyncPager, SyncPager +from ...core.parse_error import ParsingError +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...core.serialization import convert_and_respect_annotation_metadata +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.create_organization_client_request_item import CreateOrganizationClientRequestItem +from ...types.create_organization_clients_response_content import CreateOrganizationClientsResponseContent +from ...types.get_organization_client_response_content import GetOrganizationClientResponseContent +from ...types.list_organization_clients_response_content import ListOrganizationClientsResponseContent +from ...types.organization_client import OrganizationClient +from ...types.update_organization_client_response_content import UpdateOrganizationClientResponseContent +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawClientsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[OrganizationClient, ListOrganizationClientsResponseContent]: + """ + List all clients associated with an organization, using checkpoint pagination. +
    +
  • + Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[OrganizationClient, ListOrganizationClientsResponseContent] + Organization clients successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationClientsResponseContent, + parse_obj_as( + type_=ListOrganizationClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.clients + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + id, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + id: str, + *, + clients: typing.Sequence[CreateOrganizationClientRequestItem], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateOrganizationClientsResponseContent]: + """ + Associate one or more clients with an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[CreateOrganizationClientRequestItem] + List of clients to associate with the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateOrganizationClientsResponseContent] + Organization clients successfully associated. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="POST", + json={ + "clients": convert_and_respect_annotation_metadata( + object_=clients, annotation=typing.Sequence[CreateOrganizationClientRequestItem], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateOrganizationClientsResponseContent, + parse_obj_as( + type_=CreateOrganizationClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete( + self, id: str, *, clients: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[None]: + """ + Remove one or more client associations from an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[str] + List of client IDs to disassociate from the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="DELETE", + json={ + "clients": clients, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, client_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetOrganizationClientResponseContent]: + """ + Get a specific client association for an organization. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetOrganizationClientResponseContent] + Organization client association successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients/{quote_path_param(client_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetOrganizationClientResponseContent, + parse_obj_as( + type_=GetOrganizationClientResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + client_id: str, + *, + use_for_member_access: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateOrganizationClientResponseContent]: + """ + Update an organization client association. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to update. + + use_for_member_access : typing.Optional[bool] + Whether this client is used for member access to the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateOrganizationClientResponseContent] + Organization client successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients/{quote_path_param(client_id)}", + method="PATCH", + json={ + "use_for_member_access": use_for_member_access, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateOrganizationClientResponseContent, + parse_obj_as( + type_=UpdateOrganizationClientResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawClientsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[OrganizationClient, ListOrganizationClientsResponseContent]: + """ + List all clients associated with an organization, using checkpoint pagination. +
    +
  • + Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values greater than the maximum of 100 are capped at 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[OrganizationClient, ListOrganizationClientsResponseContent] + Organization clients successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationClientsResponseContent, + parse_obj_as( + type_=ListOrganizationClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.clients + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + id, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + id: str, + *, + clients: typing.Sequence[CreateOrganizationClientRequestItem], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateOrganizationClientsResponseContent]: + """ + Associate one or more clients with an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[CreateOrganizationClientRequestItem] + List of clients to associate with the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateOrganizationClientsResponseContent] + Organization clients successfully associated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="POST", + json={ + "clients": convert_and_respect_annotation_metadata( + object_=clients, annotation=typing.Sequence[CreateOrganizationClientRequestItem], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateOrganizationClientsResponseContent, + parse_obj_as( + type_=CreateOrganizationClientsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, clients: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Remove one or more client associations from an organization. + + Parameters + ---------- + id : str + ID of the organization. + + clients : typing.Sequence[str] + List of client IDs to disassociate from the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients", + method="DELETE", + json={ + "clients": clients, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, client_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetOrganizationClientResponseContent]: + """ + Get a specific client association for an organization. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetOrganizationClientResponseContent] + Organization client association successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients/{quote_path_param(client_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetOrganizationClientResponseContent, + parse_obj_as( + type_=GetOrganizationClientResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + client_id: str, + *, + use_for_member_access: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateOrganizationClientResponseContent]: + """ + Update an organization client association. + + Parameters + ---------- + id : str + ID of the organization. + + client_id : str + ID of the client association to update. + + use_for_member_access : typing.Optional[bool] + Whether this client is used for member access to the organization. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateOrganizationClientResponseContent] + Organization client successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/clients/{quote_path_param(client_id)}", + method="PATCH", + json={ + "use_for_member_access": use_for_member_access, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateOrganizationClientResponseContent, + parse_obj_as( + type_=UpdateOrganizationClientResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/organizations/connections/client.py b/src/auth0/management/organizations/connections/client.py index 45a50ba1..37b48574 100644 --- a/src/auth0/management/organizations/connections/client.py +++ b/src/auth0/management/organizations/connections/client.py @@ -13,6 +13,8 @@ from ...types.organization_access_level_enum import OrganizationAccessLevelEnum from ...types.organization_access_level_enum_with_null import OrganizationAccessLevelEnumWithNull from ...types.organization_all_connection_post import OrganizationAllConnectionPost +from ...types.organization_member_access_level_enum import OrganizationMemberAccessLevelEnum +from ...types.organization_member_access_level_enum_with_null import OrganizationMemberAccessLevelEnumWithNull from ...types.update_organization_all_connection_response_content import UpdateOrganizationAllConnectionResponseContent from .raw_client import AsyncRawConnectionsClient, RawConnectionsClient @@ -110,6 +112,7 @@ def create( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationAllConnectionResponseContent: @@ -136,6 +139,8 @@ def create( organization_access_level : typing.Optional[OrganizationAccessLevelEnum] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnum] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -167,6 +172,7 @@ def create( show_as_button=show_as_button, is_signup_enabled=is_signup_enabled, organization_access_level=organization_access_level, + organization_member_access_level=organization_member_access_level, is_enabled=is_enabled, request_options=request_options, ) @@ -249,6 +255,7 @@ def update( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnumWithNull] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnumWithNull] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationAllConnectionResponseContent: @@ -275,6 +282,8 @@ def update( organization_access_level : typing.Optional[OrganizationAccessLevelEnumWithNull] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnumWithNull] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -306,6 +315,7 @@ def update( show_as_button=show_as_button, is_signup_enabled=is_signup_enabled, organization_access_level=organization_access_level, + organization_member_access_level=organization_member_access_level, is_enabled=is_enabled, request_options=request_options, ) @@ -411,6 +421,7 @@ async def create( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationAllConnectionResponseContent: @@ -437,6 +448,8 @@ async def create( organization_access_level : typing.Optional[OrganizationAccessLevelEnum] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnum] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -476,6 +489,7 @@ async def main() -> None: show_as_button=show_as_button, is_signup_enabled=is_signup_enabled, organization_access_level=organization_access_level, + organization_member_access_level=organization_member_access_level, is_enabled=is_enabled, request_options=request_options, ) @@ -576,6 +590,7 @@ async def update( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnumWithNull] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnumWithNull] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationAllConnectionResponseContent: @@ -602,6 +617,8 @@ async def update( organization_access_level : typing.Optional[OrganizationAccessLevelEnumWithNull] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnumWithNull] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -641,6 +658,7 @@ async def main() -> None: show_as_button=show_as_button, is_signup_enabled=is_signup_enabled, organization_access_level=organization_access_level, + organization_member_access_level=organization_member_access_level, is_enabled=is_enabled, request_options=request_options, ) diff --git a/src/auth0/management/organizations/connections/raw_client.py b/src/auth0/management/organizations/connections/raw_client.py index c8635fa2..f5e3b466 100644 --- a/src/auth0/management/organizations/connections/raw_client.py +++ b/src/auth0/management/organizations/connections/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -25,6 +25,8 @@ from ...types.organization_access_level_enum import OrganizationAccessLevelEnum from ...types.organization_access_level_enum_with_null import OrganizationAccessLevelEnumWithNull from ...types.organization_all_connection_post import OrganizationAllConnectionPost +from ...types.organization_member_access_level_enum import OrganizationMemberAccessLevelEnum +from ...types.organization_member_access_level_enum_with_null import OrganizationMemberAccessLevelEnumWithNull from ...types.update_organization_all_connection_response_content import UpdateOrganizationAllConnectionResponseContent from pydantic import ValidationError @@ -75,7 +77,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections", + f"organizations/{quote_path_param(id)}/connections", method="GET", params={ "page": page, @@ -95,7 +97,7 @@ def list( ), ) _items = _parsed_response.connections - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -168,6 +170,7 @@ def create( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateOrganizationAllConnectionResponseContent]: @@ -194,6 +197,8 @@ def create( organization_access_level : typing.Optional[OrganizationAccessLevelEnum] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnum] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -206,7 +211,7 @@ def create( Connection successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections", + f"organizations/{quote_path_param(id)}/connections", method="POST", json={ "organization_connection_name": organization_connection_name, @@ -214,6 +219,7 @@ def create( "show_as_button": show_as_button, "is_signup_enabled": is_signup_enabled, "organization_access_level": organization_access_level, + "organization_member_access_level": organization_member_access_level, "is_enabled": is_enabled, "connection_id": connection_id, }, @@ -329,7 +335,7 @@ def get( Connection successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="GET", request_options=request_options, ) @@ -416,7 +422,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="DELETE", request_options=request_options, ) @@ -475,6 +481,7 @@ def update( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnumWithNull] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnumWithNull] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateOrganizationAllConnectionResponseContent]: @@ -501,6 +508,8 @@ def update( organization_access_level : typing.Optional[OrganizationAccessLevelEnumWithNull] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnumWithNull] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -513,7 +522,7 @@ def update( Connection successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="PATCH", json={ "organization_connection_name": organization_connection_name, @@ -521,6 +530,7 @@ def update( "show_as_button": show_as_button, "is_signup_enabled": is_signup_enabled, "organization_access_level": organization_access_level, + "organization_member_access_level": organization_member_access_level, "is_enabled": is_enabled, }, headers={ @@ -636,7 +646,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections", + f"organizations/{quote_path_param(id)}/connections", method="GET", params={ "page": page, @@ -656,7 +666,7 @@ async def list( ), ) _items = _parsed_response.connections - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -732,6 +742,7 @@ async def create( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateOrganizationAllConnectionResponseContent]: @@ -758,6 +769,8 @@ async def create( organization_access_level : typing.Optional[OrganizationAccessLevelEnum] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnum] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -770,7 +783,7 @@ async def create( Connection successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections", + f"organizations/{quote_path_param(id)}/connections", method="POST", json={ "organization_connection_name": organization_connection_name, @@ -778,6 +791,7 @@ async def create( "show_as_button": show_as_button, "is_signup_enabled": is_signup_enabled, "organization_access_level": organization_access_level, + "organization_member_access_level": organization_member_access_level, "is_enabled": is_enabled, "connection_id": connection_id, }, @@ -893,7 +907,7 @@ async def get( Connection successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="GET", request_options=request_options, ) @@ -980,7 +994,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="DELETE", request_options=request_options, ) @@ -1039,6 +1053,7 @@ async def update( show_as_button: typing.Optional[bool] = OMIT, is_signup_enabled: typing.Optional[bool] = OMIT, organization_access_level: typing.Optional[OrganizationAccessLevelEnumWithNull] = OMIT, + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnumWithNull] = OMIT, is_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateOrganizationAllConnectionResponseContent]: @@ -1065,6 +1080,8 @@ async def update( organization_access_level : typing.Optional[OrganizationAccessLevelEnumWithNull] + organization_member_access_level : typing.Optional[OrganizationMemberAccessLevelEnumWithNull] + is_enabled : typing.Optional[bool] Whether the connection is enabled for the organization. @@ -1077,7 +1094,7 @@ async def update( Connection successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/connections/{quote_path_param(connection_id)}", method="PATCH", json={ "organization_connection_name": organization_connection_name, @@ -1085,6 +1102,7 @@ async def update( "show_as_button": show_as_button, "is_signup_enabled": is_signup_enabled, "organization_access_level": organization_access_level, + "organization_member_access_level": organization_member_access_level, "is_enabled": is_enabled, }, headers={ diff --git a/src/auth0/management/organizations/discovery_domains/raw_client.py b/src/auth0/management/organizations/discovery_domains/raw_client.py index ec5db262..c6c9ddaa 100644 --- a/src/auth0/management/organizations/discovery_domains/raw_client.py +++ b/src/auth0/management/organizations/discovery_domains/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -74,7 +74,7 @@ def list( Organization discovery domains retrieved successfully. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains", + f"organizations/{quote_path_param(id)}/discovery-domains", method="GET", params={ "from": from_, @@ -199,7 +199,7 @@ def create( Organization discovery domain successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains", + f"organizations/{quote_path_param(id)}/discovery-domains", method="POST", json={ "domain": domain, @@ -321,7 +321,7 @@ def get_by_name( Organization discovery domain successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/name/{encode_path_param(discovery_domain)}", + f"organizations/{quote_path_param(id)}/discovery-domains/name/{quote_path_param(discovery_domain)}", method="GET", request_options=request_options, ) @@ -423,7 +423,7 @@ def get( Organization discovery domain successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="GET", request_options=request_options, ) @@ -523,7 +523,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="DELETE", request_options=request_options, ) @@ -617,7 +617,7 @@ def update( Organization discovery domain successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="PATCH", json={ "status": status, @@ -707,7 +707,7 @@ async def list( Organization discovery domains retrieved successfully. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains", + f"organizations/{quote_path_param(id)}/discovery-domains", method="GET", params={ "from": from_, @@ -835,7 +835,7 @@ async def create( Organization discovery domain successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains", + f"organizations/{quote_path_param(id)}/discovery-domains", method="POST", json={ "domain": domain, @@ -957,7 +957,7 @@ async def get_by_name( Organization discovery domain successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/name/{encode_path_param(discovery_domain)}", + f"organizations/{quote_path_param(id)}/discovery-domains/name/{quote_path_param(discovery_domain)}", method="GET", request_options=request_options, ) @@ -1059,7 +1059,7 @@ async def get( Organization discovery domain successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="GET", request_options=request_options, ) @@ -1159,7 +1159,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="DELETE", request_options=request_options, ) @@ -1253,7 +1253,7 @@ async def update( Organization discovery domain successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/discovery-domains/{encode_path_param(discovery_domain_id)}", + f"organizations/{quote_path_param(id)}/discovery-domains/{quote_path_param(discovery_domain_id)}", method="PATCH", json={ "status": status, diff --git a/src/auth0/management/organizations/enabled_connections/raw_client.py b/src/auth0/management/organizations/enabled_connections/raw_client.py index a429c315..2c6c9406 100644 --- a/src/auth0/management/organizations/enabled_connections/raw_client.py +++ b/src/auth0/management/organizations/enabled_connections/raw_client.py @@ -6,12 +6,13 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError from ...errors.forbidden_error import ForbiddenError from ...errors.not_found_error import NotFoundError from ...errors.too_many_requests_error import TooManyRequestsError @@ -70,7 +71,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections", + f"organizations/{quote_path_param(id)}/enabled_connections", method="GET", params={ "page": page, @@ -89,7 +90,7 @@ def list( ), ) _items = _parsed_response.enabled_connections - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -203,7 +204,7 @@ def add( Organization connection successfully added. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections", + f"organizations/{quote_path_param(id)}/enabled_connections", method="POST", json={ "connection_id": connection_id, @@ -271,6 +272,17 @@ def add( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -314,7 +326,7 @@ def get( Connection successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="GET", request_options=request_options, ) @@ -405,7 +417,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="DELETE", request_options=request_options, ) @@ -515,7 +527,7 @@ def update( Organization connection successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="PATCH", json={ "assign_membership_on_login": assign_membership_on_login, @@ -644,7 +656,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections", + f"organizations/{quote_path_param(id)}/enabled_connections", method="GET", params={ "page": page, @@ -663,7 +675,7 @@ async def list( ), ) _items = _parsed_response.enabled_connections - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -780,7 +792,7 @@ async def add( Organization connection successfully added. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections", + f"organizations/{quote_path_param(id)}/enabled_connections", method="POST", json={ "connection_id": connection_id, @@ -848,6 +860,17 @@ async def add( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -891,7 +914,7 @@ async def get( Connection successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="GET", request_options=request_options, ) @@ -982,7 +1005,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="DELETE", request_options=request_options, ) @@ -1092,7 +1115,7 @@ async def update( Organization connection successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/enabled_connections/{encode_path_param(connection_id)}", + f"organizations/{quote_path_param(id)}/enabled_connections/{quote_path_param(connection_id)}", method="PATCH", json={ "assign_membership_on_login": assign_membership_on_login, diff --git a/src/auth0/management/organizations/groups/raw_client.py b/src/auth0/management/organizations/groups/raw_client.py index 32d8fa57..b0151e5a 100644 --- a/src/auth0/management/organizations/groups/raw_client.py +++ b/src/auth0/management/organizations/groups/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -55,7 +55,7 @@ def list( Organization groups successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups", + f"organizations/{quote_path_param(organization_id)}/groups", method="GET", params={ "from": from_, @@ -182,7 +182,7 @@ async def list( Organization groups successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups", + f"organizations/{quote_path_param(organization_id)}/groups", method="GET", params={ "from": from_, diff --git a/src/auth0/management/organizations/groups/roles/raw_client.py b/src/auth0/management/organizations/groups/roles/raw_client.py index 286a4aef..b65d1fe0 100644 --- a/src/auth0/management/organizations/groups/roles/raw_client.py +++ b/src/auth0/management/organizations/groups/roles/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -64,7 +64,7 @@ def list( Organization group roles successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="GET", params={ "from": from_, @@ -186,7 +186,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="POST", json={ "roles": roles, @@ -305,7 +305,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="DELETE", json={ "roles": roles, @@ -423,7 +423,7 @@ async def list( Organization group roles successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="GET", params={ "from": from_, @@ -548,7 +548,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="POST", json={ "roles": roles, @@ -667,7 +667,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(organization_id)}/groups/{encode_path_param(group_id)}/roles", + f"organizations/{quote_path_param(organization_id)}/groups/{quote_path_param(group_id)}/roles", method="DELETE", json={ "roles": roles, diff --git a/src/auth0/management/organizations/invitations/raw_client.py b/src/auth0/management/organizations/invitations/raw_client.py index 0a51b418..117c921e 100644 --- a/src/auth0/management/organizations/invitations/raw_client.py +++ b/src/auth0/management/organizations/invitations/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -86,7 +86,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations", + f"organizations/{quote_path_param(id)}/invitations", method="GET", params={ "page": page, @@ -108,7 +108,7 @@ def list( ), ) _items = _parsed_response.invitations - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -239,7 +239,7 @@ def create( Invitation successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations", + f"organizations/{quote_path_param(id)}/invitations", method="POST", json={ "inviter": convert_and_respect_annotation_metadata( @@ -369,7 +369,7 @@ def get( Invitation successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations/{encode_path_param(invitation_id)}", + f"organizations/{quote_path_param(id)}/invitations/{quote_path_param(invitation_id)}", method="GET", params={ "fields": fields, @@ -471,7 +471,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations/{encode_path_param(invitation_id)}", + f"organizations/{quote_path_param(id)}/invitations/{quote_path_param(invitation_id)}", method="DELETE", request_options=request_options, ) @@ -585,7 +585,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations", + f"organizations/{quote_path_param(id)}/invitations", method="GET", params={ "page": page, @@ -607,7 +607,7 @@ async def list( ), ) _items = _parsed_response.invitations - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -741,7 +741,7 @@ async def create( Invitation successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations", + f"organizations/{quote_path_param(id)}/invitations", method="POST", json={ "inviter": convert_and_respect_annotation_metadata( @@ -871,7 +871,7 @@ async def get( Invitation successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations/{encode_path_param(invitation_id)}", + f"organizations/{quote_path_param(id)}/invitations/{quote_path_param(invitation_id)}", method="GET", params={ "fields": fields, @@ -973,7 +973,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/invitations/{encode_path_param(invitation_id)}", + f"organizations/{quote_path_param(id)}/invitations/{quote_path_param(invitation_id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/organizations/members/client.py b/src/auth0/management/organizations/members/client.py index 283be861..2366658e 100644 --- a/src/auth0/management/organizations/members/client.py +++ b/src/auth0/management/organizations/members/client.py @@ -42,6 +42,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, fields: typing.Optional[str] = None, @@ -53,7 +54,7 @@ def list( This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it. - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned. - - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. + - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. Only directly assigned roles are returned. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. This endpoint supports two types of pagination: @@ -71,6 +72,9 @@ def list( id : str Organization identifier. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -100,6 +104,7 @@ def list( ) response = client.organizations.members.list( id="id", + include_totals=True, from_="from", take=1, fields="fields", @@ -112,7 +117,13 @@ def list( yield page """ return self._raw_client.list( - id, from_=from_, take=take, fields=fields, include_fields=include_fields, request_options=request_options + id, + include_totals=include_totals, + from_=from_, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, ) def create( @@ -226,6 +237,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, fields: typing.Optional[str] = None, @@ -237,7 +249,7 @@ async def list( This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it. - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned. - - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. + - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. Only directly assigned roles are returned. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. This endpoint supports two types of pagination: @@ -255,6 +267,9 @@ async def list( id : str Organization identifier. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -289,6 +304,7 @@ async def list( async def main() -> None: response = await client.organizations.members.list( id="id", + include_totals=True, from_="from", take=1, fields="fields", @@ -305,7 +321,13 @@ async def main() -> None: asyncio.run(main()) """ return await self._raw_client.list( - id, from_=from_, take=take, fields=fields, include_fields=include_fields, request_options=request_options + id, + include_totals=include_totals, + from_=from_, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, ) async def create( diff --git a/src/auth0/management/organizations/members/effective_roles/raw_client.py b/src/auth0/management/organizations/members/effective_roles/raw_client.py index fe993a6e..36a7bfe7 100644 --- a/src/auth0/management/organizations/members/effective_roles/raw_client.py +++ b/src/auth0/management/organizations/members/effective_roles/raw_client.py @@ -5,7 +5,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -61,7 +61,7 @@ def list( Organization member's effective roles successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/effective-roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/effective-roles", method="GET", params={ "from": from_, @@ -193,7 +193,7 @@ async def list( Organization member's effective roles successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/effective-roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/effective-roles", method="GET", params={ "from": from_, diff --git a/src/auth0/management/organizations/members/effective_roles/sources/groups/raw_client.py b/src/auth0/management/organizations/members/effective_roles/sources/groups/raw_client.py index 48b40121..f219346f 100644 --- a/src/auth0/management/organizations/members/effective_roles/sources/groups/raw_client.py +++ b/src/auth0/management/organizations/members/effective_roles/sources/groups/raw_client.py @@ -5,7 +5,7 @@ from ......core.api_error import ApiError from ......core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ......core.jsonable_encoder import encode_path_param +from ......core.jsonable_encoder import quote_path_param from ......core.pagination import AsyncPager, SyncPager from ......core.parse_error import ParsingError from ......core.pydantic_utilities import parse_obj_as @@ -65,7 +65,7 @@ def list( Organization member role source groups successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/effective-roles/sources/groups", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/effective-roles/sources/groups", method="GET", params={ "from": from_, @@ -203,7 +203,7 @@ async def list( Organization member role source groups successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/effective-roles/sources/groups", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/effective-roles/sources/groups", method="GET", params={ "from": from_, diff --git a/src/auth0/management/organizations/members/raw_client.py b/src/auth0/management/organizations/members/raw_client.py index 7689345d..0f60b34c 100644 --- a/src/auth0/management/organizations/members/raw_client.py +++ b/src/auth0/management/organizations/members/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -34,6 +34,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, fields: typing.Optional[str] = None, @@ -45,7 +46,7 @@ def list( This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it. - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned. - - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. + - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. Only directly assigned roles are returned. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. This endpoint supports two types of pagination: @@ -63,6 +64,9 @@ def list( id : str Organization identifier. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -84,9 +88,10 @@ def list( Members successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "fields": fields, @@ -108,6 +113,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, fields=fields, @@ -203,7 +209,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="POST", json={ "members": members, @@ -290,7 +296,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="DELETE", json={ "members": members, @@ -366,6 +372,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, fields: typing.Optional[str] = None, @@ -377,7 +384,7 @@ async def list( This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it. - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned. - - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. + - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token. Only directly assigned roles are returned. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. This endpoint supports two types of pagination: @@ -395,6 +402,9 @@ async def list( id : str Organization identifier. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -416,9 +426,10 @@ async def list( Members successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "fields": fields, @@ -442,6 +453,7 @@ async def list( async def _get_next(): return await self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, fields=fields, @@ -538,7 +550,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="POST", json={ "members": members, @@ -625,7 +637,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members", + f"organizations/{quote_path_param(id)}/members", method="DELETE", json={ "members": members, diff --git a/src/auth0/management/organizations/members/roles/client.py b/src/auth0/management/organizations/members/roles/client.py index 8e96b23b..610b27d8 100644 --- a/src/auth0/management/organizations/members/roles/client.py +++ b/src/auth0/management/organizations/members/roles/client.py @@ -45,6 +45,8 @@ def list( Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included. + **Note**: Returns only direct role assignments for this member. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. + Parameters ---------- id : str @@ -219,6 +221,8 @@ async def list( Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included. + **Note**: Returns only direct role assignments for this member. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. + Parameters ---------- id : str diff --git a/src/auth0/management/organizations/members/roles/raw_client.py b/src/auth0/management/organizations/members/roles/raw_client.py index ca7326d4..54965f4b 100644 --- a/src/auth0/management/organizations/members/roles/raw_client.py +++ b/src/auth0/management/organizations/members/roles/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -46,6 +46,8 @@ def list( Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included. + **Note**: Returns only direct role assignments for this member. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. + Parameters ---------- id : str @@ -74,7 +76,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="GET", params={ "page": page, @@ -93,7 +95,7 @@ def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, user_id, @@ -199,7 +201,7 @@ def assign( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="POST", json={ "roles": roles, @@ -309,7 +311,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="DELETE", json={ "roles": roles, @@ -396,6 +398,8 @@ async def list( Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included. + **Note**: Returns only direct role assignments for this member. To also include group-based role assignments, use `GET /api/v2/organizations/{id}/members/{user_id}/effective-roles`. + Parameters ---------- id : str @@ -424,7 +428,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="GET", params={ "page": page, @@ -443,7 +447,7 @@ async def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -552,7 +556,7 @@ async def assign( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="POST", json={ "roles": roles, @@ -662,7 +666,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}/members/{encode_path_param(user_id)}/roles", + f"organizations/{quote_path_param(id)}/members/{quote_path_param(user_id)}/roles", method="DELETE", json={ "roles": roles, diff --git a/src/auth0/management/organizations/raw_client.py b/src/auth0/management/organizations/raw_client.py index 53096d09..6a7154be 100644 --- a/src/auth0/management/organizations/raw_client.py +++ b/src/auth0/management/organizations/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -15,6 +15,7 @@ from ..errors.bad_request_error import BadRequestError from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError +from ..errors.gateway_timeout_error import GatewayTimeoutError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError @@ -27,6 +28,11 @@ from ..types.organization import Organization from ..types.organization_branding import OrganizationBranding from ..types.organization_metadata import OrganizationMetadata +from ..types.organization_sort_field_enum import OrganizationSortFieldEnum +from ..types.organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum +from ..types.search_organization import SearchOrganization +from ..types.search_organizations_paginated_response_content import SearchOrganizationsPaginatedResponseContent +from ..types.search_parser_enum import SearchParserEnum from ..types.update_organization_response_content import UpdateOrganizationResponseContent from ..types.update_token_quota import UpdateTokenQuota from pydantic import ValidationError @@ -42,9 +48,11 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, sort: typing.Optional[str] = None, + include_client_association_for: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Organization, ListOrganizationsPaginatedResponseContent]: """ @@ -68,6 +76,9 @@ def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -77,6 +88,9 @@ def list( sort : typing.Optional[str] Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. + include_client_association_for : typing.Optional[str] + Client ID. When set, each returned organization that has an association with this client gains a client object describing it; organizations without one omit the field. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -89,9 +103,11 @@ def list( "organizations", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "sort": sort, + "include_client_association_for": include_client_association_for, }, request_options=request_options, ) @@ -108,9 +124,11 @@ def list( _parsed_next = _parsed_response.next _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( + include_totals=include_totals, from_=_parsed_next, take=take, sort=sort, + include_client_association_for=include_client_association_for, request_options=request_options, ) return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) @@ -176,6 +194,8 @@ def create( metadata: typing.Optional[OrganizationMetadata] = OMIT, enabled_connections: typing.Optional[typing.Sequence[ConnectionForOrganization]] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateOrganizationResponseContent]: """ @@ -198,6 +218,11 @@ def create( token_quota : typing.Optional[CreateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -224,6 +249,8 @@ def create( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=CreateTokenQuota, direction="write" ), + "third_party_client_access": third_party_client_access, + "is_app_entitlement_active": is_app_entitlement_active, }, headers={ "content-type": "application/json", @@ -325,7 +352,7 @@ def get_by_name( Organization successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/name/{encode_path_param(name)}", + f"organizations/name/{quote_path_param(name)}", method="GET", request_options=request_options, ) @@ -403,6 +430,155 @@ def get_by_name( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[OrganizationSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent]: + """ + Retrieve details of organizations matching a search criteria. It is possible to: + + - Specify a search criteria for organizations + - Search via `name` + - Search via `display_name` + - Substring matching (`contains` and `ends-with`) requires at least 3 characters + - Use wildcards + + The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR `display_name`. + + This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser` parameter to specify "scim" or "lucene" syntax (default: "lucene"). + + Results are eventually consistent and may not reflect recent updates immediately. + + **Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest first). + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter, default: Lucene). Lucene examples: `name:acme*`, `display_name:*auth*`. SCIM examples: `name eq "Auth0"`, `display_name sw "auth" and created_at gt "2024-01-01"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Organization ID (case-sensitive, exact match)
  • name - Organization name (supports contains, starts-with, ends-with operators; sortable)
  • display_name - Organization display name (supports contains, starts-with, ends-with operators; sortable)
  • created_at - Creation timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by organization metadata key-value pairs
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[OrganizationSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent] + Organizations successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "organizations/search", + method="GET", + params={ + "q": q, + "parser": parser, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchOrganizationsPaginatedResponseContent, + parse_obj_as( + type_=SearchOrganizationsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.organizations + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.search( + q=q, + parser=parser, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetOrganizationResponseContent]: @@ -423,7 +599,7 @@ def get( Organization successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -520,7 +696,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -600,6 +776,8 @@ def update( branding: typing.Optional[OrganizationBranding] = OMIT, metadata: typing.Optional[OrganizationMetadata] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateOrganizationResponseContent]: """ @@ -622,6 +800,11 @@ def update( token_quota : typing.Optional[UpdateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -631,7 +814,7 @@ def update( Organization successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="PATCH", json={ "display_name": display_name, @@ -643,6 +826,8 @@ def update( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=typing.Optional[UpdateTokenQuota], direction="write" ), + "third_party_client_access": third_party_client_access, + "is_app_entitlement_active": is_app_entitlement_active, }, headers={ "content-type": "application/json", @@ -721,9 +906,11 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, sort: typing.Optional[str] = None, + include_client_association_for: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Organization, ListOrganizationsPaginatedResponseContent]: """ @@ -747,6 +934,9 @@ async def list( Parameters ---------- + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -756,6 +946,9 @@ async def list( sort : typing.Optional[str] Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at. + include_client_association_for : typing.Optional[str] + Client ID. When set, each returned organization that has an association with this client gains a client object describing it; organizations without one omit the field. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -768,9 +961,11 @@ async def list( "organizations", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, "sort": sort, + "include_client_association_for": include_client_association_for, }, request_options=request_options, ) @@ -789,9 +984,11 @@ async def list( async def _get_next(): return await self.list( + include_totals=include_totals, from_=_parsed_next, take=take, sort=sort, + include_client_association_for=include_client_association_for, request_options=request_options, ) @@ -858,6 +1055,8 @@ async def create( metadata: typing.Optional[OrganizationMetadata] = OMIT, enabled_connections: typing.Optional[typing.Sequence[ConnectionForOrganization]] = OMIT, token_quota: typing.Optional[CreateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateOrganizationResponseContent]: """ @@ -880,6 +1079,11 @@ async def create( token_quota : typing.Optional[CreateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -906,6 +1110,8 @@ async def create( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=CreateTokenQuota, direction="write" ), + "third_party_client_access": third_party_client_access, + "is_app_entitlement_active": is_app_entitlement_active, }, headers={ "content-type": "application/json", @@ -1007,7 +1213,7 @@ async def get_by_name( Organization successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/name/{encode_path_param(name)}", + f"organizations/name/{quote_path_param(name)}", method="GET", request_options=request_options, ) @@ -1085,6 +1291,158 @@ async def get_by_name( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[OrganizationSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent]: + """ + Retrieve details of organizations matching a search criteria. It is possible to: + + - Specify a search criteria for organizations + - Search via `name` + - Search via `display_name` + - Substring matching (`contains` and `ends-with`) requires at least 3 characters + - Use wildcards + + The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR `display_name`. + + This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser` parameter to specify "scim" or "lucene" syntax (default: "lucene"). + + Results are eventually consistent and may not reflect recent updates immediately. + + **Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest first). + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter, default: Lucene). Lucene examples: `name:acme*`, `display_name:*auth*`. SCIM examples: `name eq "Auth0"`, `display_name sw "auth" and created_at gt "2024-01-01"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Organization ID (case-sensitive, exact match)
  • name - Organization name (supports contains, starts-with, ends-with operators; sortable)
  • display_name - Organization display name (supports contains, starts-with, ends-with operators; sortable)
  • created_at - Creation timestamp (supports date range operators; sortable)
  • metadata.{key} - Filter by organization metadata key-value pairs
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[OrganizationSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SearchOrganization, SearchOrganizationsPaginatedResponseContent] + Organizations successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "organizations/search", + method="GET", + params={ + "q": q, + "parser": parser, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchOrganizationsPaginatedResponseContent, + parse_obj_as( + type_=SearchOrganizationsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.organizations + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.search( + q=q, + parser=parser, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetOrganizationResponseContent]: @@ -1105,7 +1463,7 @@ async def get( Organization successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1204,7 +1562,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1284,6 +1642,8 @@ async def update( branding: typing.Optional[OrganizationBranding] = OMIT, metadata: typing.Optional[OrganizationMetadata] = OMIT, token_quota: typing.Optional[UpdateTokenQuota] = OMIT, + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = OMIT, + is_app_entitlement_active: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateOrganizationResponseContent]: """ @@ -1306,6 +1666,11 @@ async def update( token_quota : typing.Optional[UpdateTokenQuota] + third_party_client_access : typing.Optional[OrganizationThirdPartyClientAccessEnum] + + is_app_entitlement_active : typing.Optional[bool] + Whether app entitlement is active for this organization. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1315,7 +1680,7 @@ async def update( Organization successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"organizations/{encode_path_param(id)}", + f"organizations/{quote_path_param(id)}", method="PATCH", json={ "display_name": display_name, @@ -1327,6 +1692,8 @@ async def update( "token_quota": convert_and_respect_annotation_metadata( object_=token_quota, annotation=typing.Optional[UpdateTokenQuota], direction="write" ), + "third_party_client_access": third_party_client_access, + "is_app_entitlement_active": is_app_entitlement_active, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/organizations/roles/__init__.py b/src/auth0/management/organizations/roles/__init__.py new file mode 100644 index 00000000..e140c98d --- /dev/null +++ b/src/auth0/management/organizations/roles/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import groups, members +_dynamic_imports: typing.Dict[str, str] = {"groups": ".groups", "members": ".members"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["groups", "members"] diff --git a/src/auth0/management/organizations/roles/client.py b/src/auth0/management/organizations/roles/client.py new file mode 100644 index 00000000..86b7b33d --- /dev/null +++ b/src/auth0/management/organizations/roles/client.py @@ -0,0 +1,82 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawRolesClient, RawRolesClient + +if typing.TYPE_CHECKING: + from .groups.client import AsyncGroupsClient, GroupsClient + from .members.client import AsyncMembersClient, MembersClient + + +class RolesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawRolesClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._members: typing.Optional[MembersClient] = None + self._groups: typing.Optional[GroupsClient] = None + + @property + def with_raw_response(self) -> RawRolesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawRolesClient + """ + return self._raw_client + + @property + def members(self): + if self._members is None: + from .members.client import MembersClient # noqa: E402 + + self._members = MembersClient(client_wrapper=self._client_wrapper) + return self._members + + @property + def groups(self): + if self._groups is None: + from .groups.client import GroupsClient # noqa: E402 + + self._groups = GroupsClient(client_wrapper=self._client_wrapper) + return self._groups + + +class AsyncRolesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawRolesClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._members: typing.Optional[AsyncMembersClient] = None + self._groups: typing.Optional[AsyncGroupsClient] = None + + @property + def with_raw_response(self) -> AsyncRawRolesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawRolesClient + """ + return self._raw_client + + @property + def members(self): + if self._members is None: + from .members.client import AsyncMembersClient # noqa: E402 + + self._members = AsyncMembersClient(client_wrapper=self._client_wrapper) + return self._members + + @property + def groups(self): + if self._groups is None: + from .groups.client import AsyncGroupsClient # noqa: E402 + + self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) + return self._groups diff --git a/src/auth0/management/organizations/roles/groups/__init__.py b/src/auth0/management/organizations/roles/groups/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/organizations/roles/groups/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/organizations/roles/groups/client.py b/src/auth0/management/organizations/roles/groups/client.py new file mode 100644 index 00000000..7fbb082a --- /dev/null +++ b/src/auth0/management/organizations/roles/groups/client.py @@ -0,0 +1,163 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.pagination import AsyncPager, SyncPager +from ....core.request_options import RequestOptions +from ....types.list_organization_role_groups_response_content import ListOrganizationRoleGroupsResponseContent +from ....types.role_group import RoleGroup +from .raw_client import AsyncRawGroupsClient, RawGroupsClient + + +class GroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawGroupsClient + """ + return self._raw_client + + def list( + self, + organization_id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent]: + """ + Retrieve the list of groups assigned to a role in the context of an organization. + + Parameters + ---------- + organization_id : str + ID of the organization. + + role_id : str + ID of the role. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent] + Organization role groups successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.organizations.roles.groups.list( + organization_id="organization_id", + role_id="role_id", + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(organization_id, role_id, from_=from_, take=take, request_options=request_options) + + +class AsyncGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawGroupsClient + """ + return self._raw_client + + async def list( + self, + organization_id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent]: + """ + Retrieve the list of groups assigned to a role in the context of an organization. + + Parameters + ---------- + organization_id : str + ID of the organization. + + role_id : str + ID of the role. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent] + Organization role groups successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.organizations.roles.groups.list( + organization_id="organization_id", + role_id="role_id", + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + organization_id, role_id, from_=from_, take=take, request_options=request_options + ) diff --git a/src/auth0/management/organizations/roles/groups/raw_client.py b/src/auth0/management/organizations/roles/groups/raw_client.py new file mode 100644 index 00000000..21efefad --- /dev/null +++ b/src/auth0/management/organizations/roles/groups/raw_client.py @@ -0,0 +1,287 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ....core.api_error import ApiError +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.jsonable_encoder import quote_path_param +from ....core.pagination import AsyncPager, SyncPager +from ....core.parse_error import ParsingError +from ....core.pydantic_utilities import parse_obj_as +from ....core.request_options import RequestOptions +from ....errors.bad_request_error import BadRequestError +from ....errors.forbidden_error import ForbiddenError +from ....errors.not_found_error import NotFoundError +from ....errors.too_many_requests_error import TooManyRequestsError +from ....errors.unauthorized_error import UnauthorizedError +from ....types.list_organization_role_groups_response_content import ListOrganizationRoleGroupsResponseContent +from ....types.role_group import RoleGroup +from pydantic import ValidationError + + +class RawGroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + organization_id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent]: + """ + Retrieve the list of groups assigned to a role in the context of an organization. + + Parameters + ---------- + organization_id : str + ID of the organization. + + role_id : str + ID of the role. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent] + Organization role groups successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(organization_id)}/roles/{quote_path_param(role_id)}/groups", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationRoleGroupsResponseContent, + parse_obj_as( + type_=ListOrganizationRoleGroupsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + organization_id, + role_id, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + organization_id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent]: + """ + Retrieve the list of groups assigned to a role in the context of an organization. + + Parameters + ---------- + organization_id : str + ID of the organization. + + role_id : str + ID of the role. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RoleGroup, ListOrganizationRoleGroupsResponseContent] + Organization role groups successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(organization_id)}/roles/{quote_path_param(role_id)}/groups", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationRoleGroupsResponseContent, + parse_obj_as( + type_=ListOrganizationRoleGroupsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + organization_id, + role_id, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/organizations/roles/members/__init__.py b/src/auth0/management/organizations/roles/members/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/organizations/roles/members/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/organizations/roles/members/client.py b/src/auth0/management/organizations/roles/members/client.py new file mode 100644 index 00000000..d69a5106 --- /dev/null +++ b/src/auth0/management/organizations/roles/members/client.py @@ -0,0 +1,207 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.pagination import AsyncPager, SyncPager +from ....core.request_options import RequestOptions +from ....types.list_organization_role_members_response_content import ListOrganizationRoleMembersResponseContent +from ....types.role_member import RoleMember +from .raw_client import AsyncRawMembersClient, RawMembersClient + + +class MembersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawMembersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawMembersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawMembersClient + """ + return self._raw_client + + def list( + self, + id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = True, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RoleMember, ListOrganizationRoleMembersResponseContent]: + """ + List the organization members assigned a specific role within the context of an organization. +
    +
  • + Note: Returns only members with direct role assignments. For groups assigned to this role within the organization, use GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + role_id : str + ID of the role to retrieve the assigned members for. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values above the maximum permitted size are capped. + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). Defaults to true. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RoleMember, ListOrganizationRoleMembersResponseContent] + Role members successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.organizations.roles.members.list( + id="id", + role_id="role_id", + from_="from", + take=1, + fields="fields", + include_fields=True, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + id, + role_id, + from_=from_, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, + ) + + +class AsyncMembersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawMembersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawMembersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawMembersClient + """ + return self._raw_client + + async def list( + self, + id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = True, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RoleMember, ListOrganizationRoleMembersResponseContent]: + """ + List the organization members assigned a specific role within the context of an organization. +
    +
  • + Note: Returns only members with direct role assignments. For groups assigned to this role within the organization, use GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + role_id : str + ID of the role to retrieve the assigned members for. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values above the maximum permitted size are capped. + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). Defaults to true. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RoleMember, ListOrganizationRoleMembersResponseContent] + Role members successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.organizations.roles.members.list( + id="id", + role_id="role_id", + from_="from", + take=1, + fields="fields", + include_fields=True, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + id, + role_id, + from_=from_, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, + ) diff --git a/src/auth0/management/organizations/roles/members/raw_client.py b/src/auth0/management/organizations/roles/members/raw_client.py new file mode 100644 index 00000000..c46ee0ff --- /dev/null +++ b/src/auth0/management/organizations/roles/members/raw_client.py @@ -0,0 +1,321 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ....core.api_error import ApiError +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.jsonable_encoder import quote_path_param +from ....core.pagination import AsyncPager, SyncPager +from ....core.parse_error import ParsingError +from ....core.pydantic_utilities import parse_obj_as +from ....core.request_options import RequestOptions +from ....errors.bad_request_error import BadRequestError +from ....errors.forbidden_error import ForbiddenError +from ....errors.not_found_error import NotFoundError +from ....errors.too_many_requests_error import TooManyRequestsError +from ....errors.unauthorized_error import UnauthorizedError +from ....types.list_organization_role_members_response_content import ListOrganizationRoleMembersResponseContent +from ....types.role_member import RoleMember +from pydantic import ValidationError + + +class RawMembersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = True, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RoleMember, ListOrganizationRoleMembersResponseContent]: + """ + List the organization members assigned a specific role within the context of an organization. +
    +
  • + Note: Returns only members with direct role assignments. For groups assigned to this role within the organization, use GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + role_id : str + ID of the role to retrieve the assigned members for. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values above the maximum permitted size are capped. + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). Defaults to true. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RoleMember, ListOrganizationRoleMembersResponseContent] + Role members successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/roles/{quote_path_param(role_id)}/members", + method="GET", + params={ + "from": from_, + "take": take, + "fields": fields, + "include_fields": include_fields, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationRoleMembersResponseContent, + parse_obj_as( + type_=ListOrganizationRoleMembersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.members + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + id, + role_id, + from_=_parsed_next, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawMembersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + id: str, + role_id: str, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = True, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RoleMember, ListOrganizationRoleMembersResponseContent]: + """ + List the organization members assigned a specific role within the context of an organization. +
    +
  • + Note: Returns only members with direct role assignments. For groups assigned to this role within the organization, use GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups. +
  • +
+ + Parameters + ---------- + id : str + ID of the organization. + + role_id : str + ID of the role to retrieve the assigned members for. + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. Values above the maximum permitted size are capped. + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). Defaults to true. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RoleMember, ListOrganizationRoleMembersResponseContent] + Role members successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{quote_path_param(id)}/roles/{quote_path_param(role_id)}/members", + method="GET", + params={ + "from": from_, + "take": take, + "fields": fields, + "include_fields": include_fields, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListOrganizationRoleMembersResponseContent, + parse_obj_as( + type_=ListOrganizationRoleMembersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.members + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + id, + role_id, + from_=_parsed_next, + take=take, + fields=fields, + include_fields=include_fields, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/organizations/roles/raw_client.py b/src/auth0/management/organizations/roles/raw_client.py new file mode 100644 index 00000000..28a7610e --- /dev/null +++ b/src/auth0/management/organizations/roles/raw_client.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper + + +class RawRolesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + +class AsyncRawRolesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper diff --git a/src/auth0/management/portals/__init__.py b/src/auth0/management/portals/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/portals/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/portals/client.py b/src/auth0/management/portals/client.py new file mode 100644 index 00000000..eca9afbc --- /dev/null +++ b/src/auth0/management/portals/client.py @@ -0,0 +1,496 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.request_options import RequestOptions +from ..types.list_portals_response_content import ListPortalsResponseContent +from ..types.portal import Portal +from ..types.portal_client_secret_post_request import PortalClientSecretPostRequest +from ..types.portal_custom_code import PortalCustomCode +from ..types.portal_custom_code_nullable import PortalCustomCodeNullable +from ..types.portal_id import PortalId +from ..types.portal_name import PortalName +from ..types.portal_navigation import PortalNavigation +from ..types.portal_navigation_nullable import PortalNavigationNullable +from ..types.portal_pages_by_type import PortalPagesByType +from ..types.portal_pages_by_type_nullable import PortalPagesByTypeNullable +from ..types.portal_slug import PortalSlug +from .raw_client import AsyncRawPortalsClient, RawPortalsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class PortalsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawPortalsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawPortalsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawPortalsClient + """ + return self._raw_client + + def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ListPortalsResponseContent: + """ + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListPortalsResponseContent + All portals were successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.portals.list() + """ + _response = self._raw_client.list(request_options=request_options) + return _response.data + + def create( + self, + *, + slug: PortalSlug, + name: PortalName, + client: PortalClientSecretPostRequest, + navigation: typing.Optional[PortalNavigation] = OMIT, + pages: typing.Optional[PortalPagesByType] = OMIT, + custom_code: typing.Optional[PortalCustomCode] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> Portal: + """ + Parameters + ---------- + slug : PortalSlug + + name : PortalName + + client : PortalClientSecretPostRequest + + navigation : typing.Optional[PortalNavigation] + + pages : typing.Optional[PortalPagesByType] + + custom_code : typing.Optional[PortalCustomCode] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully created. + + Examples + -------- + from auth0 import Auth0, PortalClientSecretPostRequest + + client = Auth0( + token="YOUR_TOKEN", + ) + client.portals.create( + slug="slug", + name="name", + client=PortalClientSecretPostRequest( + token_endpoint_auth_method="client_secret_post", + client_id="client_id", + client_secret="client_secret", + ), + ) + """ + _response = self._raw_client.create( + slug=slug, + name=name, + client=client, + navigation=navigation, + pages=pages, + custom_code=custom_code, + request_options=request_options, + ) + return _response.data + + def get(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> Portal: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.portals.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.portals.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: PortalId, + *, + slug: typing.Optional[PortalSlug] = OMIT, + name: typing.Optional[PortalName] = OMIT, + client: typing.Optional[PortalClientSecretPostRequest] = OMIT, + navigation: typing.Optional[PortalNavigationNullable] = OMIT, + pages: typing.Optional[PortalPagesByTypeNullable] = OMIT, + custom_code: typing.Optional[PortalCustomCodeNullable] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> Portal: + """ + Parameters + ---------- + id : PortalId + + slug : typing.Optional[PortalSlug] + + name : typing.Optional[PortalName] + + client : typing.Optional[PortalClientSecretPostRequest] + + navigation : typing.Optional[PortalNavigationNullable] + + pages : typing.Optional[PortalPagesByTypeNullable] + + custom_code : typing.Optional[PortalCustomCodeNullable] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.portals.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, + slug=slug, + name=name, + client=client, + navigation=navigation, + pages=pages, + custom_code=custom_code, + request_options=request_options, + ) + return _response.data + + +class AsyncPortalsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawPortalsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawPortalsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawPortalsClient + """ + return self._raw_client + + async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ListPortalsResponseContent: + """ + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListPortalsResponseContent + All portals were successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.portals.list() + + + asyncio.run(main()) + """ + _response = await self._raw_client.list(request_options=request_options) + return _response.data + + async def create( + self, + *, + slug: PortalSlug, + name: PortalName, + client: PortalClientSecretPostRequest, + navigation: typing.Optional[PortalNavigation] = OMIT, + pages: typing.Optional[PortalPagesByType] = OMIT, + custom_code: typing.Optional[PortalCustomCode] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> Portal: + """ + Parameters + ---------- + slug : PortalSlug + + name : PortalName + + client : PortalClientSecretPostRequest + + navigation : typing.Optional[PortalNavigation] + + pages : typing.Optional[PortalPagesByType] + + custom_code : typing.Optional[PortalCustomCode] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0, PortalClientSecretPostRequest + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.portals.create( + slug="slug", + name="name", + client=PortalClientSecretPostRequest( + token_endpoint_auth_method="client_secret_post", + client_id="client_id", + client_secret="client_secret", + ), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + slug=slug, + name=name, + client=client, + navigation=navigation, + pages=pages, + custom_code=custom_code, + request_options=request_options, + ) + return _response.data + + async def get(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> Portal: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.portals.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.portals.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: PortalId, + *, + slug: typing.Optional[PortalSlug] = OMIT, + name: typing.Optional[PortalName] = OMIT, + client: typing.Optional[PortalClientSecretPostRequest] = OMIT, + navigation: typing.Optional[PortalNavigationNullable] = OMIT, + pages: typing.Optional[PortalPagesByTypeNullable] = OMIT, + custom_code: typing.Optional[PortalCustomCodeNullable] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> Portal: + """ + Parameters + ---------- + id : PortalId + + slug : typing.Optional[PortalSlug] + + name : typing.Optional[PortalName] + + client : typing.Optional[PortalClientSecretPostRequest] + + navigation : typing.Optional[PortalNavigationNullable] + + pages : typing.Optional[PortalPagesByTypeNullable] + + custom_code : typing.Optional[PortalCustomCodeNullable] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Portal + The portal was successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.portals.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, + slug=slug, + name=name, + client=client, + navigation=navigation, + pages=pages, + custom_code=custom_code, + request_options=request_options, + ) + return _response.data diff --git a/src/auth0/management/portals/raw_client.py b/src/auth0/management/portals/raw_client.py new file mode 100644 index 00000000..562f2f54 --- /dev/null +++ b/src/auth0/management/portals/raw_client.py @@ -0,0 +1,1262 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ..core.api_error import ApiError +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.jsonable_encoder import quote_path_param +from ..core.parse_error import ParsingError +from ..core.pydantic_utilities import parse_obj_as +from ..core.request_options import RequestOptions +from ..core.serialization import convert_and_respect_annotation_metadata +from ..errors.bad_request_error import BadRequestError +from ..errors.conflict_error import ConflictError +from ..errors.forbidden_error import ForbiddenError +from ..errors.internal_server_error import InternalServerError +from ..errors.not_found_error import NotFoundError +from ..errors.too_many_requests_error import TooManyRequestsError +from ..errors.unauthorized_error import UnauthorizedError +from ..types.list_portals_response_content import ListPortalsResponseContent +from ..types.portal import Portal +from ..types.portal_client_secret_post_request import PortalClientSecretPostRequest +from ..types.portal_custom_code import PortalCustomCode +from ..types.portal_custom_code_nullable import PortalCustomCodeNullable +from ..types.portal_id import PortalId +from ..types.portal_name import PortalName +from ..types.portal_navigation import PortalNavigation +from ..types.portal_navigation_nullable import PortalNavigationNullable +from ..types.portal_pages_by_type import PortalPagesByType +from ..types.portal_pages_by_type_nullable import PortalPagesByTypeNullable +from ..types.portal_slug import PortalSlug +from pydantic import ValidationError + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawPortalsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ListPortalsResponseContent]: + """ + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ListPortalsResponseContent] + All portals were successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "portals", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListPortalsResponseContent, + parse_obj_as( + type_=ListPortalsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + slug: PortalSlug, + name: PortalName, + client: PortalClientSecretPostRequest, + navigation: typing.Optional[PortalNavigation] = OMIT, + pages: typing.Optional[PortalPagesByType] = OMIT, + custom_code: typing.Optional[PortalCustomCode] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Portal]: + """ + Parameters + ---------- + slug : PortalSlug + + name : PortalName + + client : PortalClientSecretPostRequest + + navigation : typing.Optional[PortalNavigation] + + pages : typing.Optional[PortalPagesByType] + + custom_code : typing.Optional[PortalCustomCode] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Portal] + The portal was successfully created. + """ + _response = self._client_wrapper.httpx_client.request( + "portals", + method="POST", + json={ + "slug": slug, + "name": name, + "client": convert_and_respect_annotation_metadata( + object_=client, annotation=PortalClientSecretPostRequest, direction="write" + ), + "navigation": convert_and_respect_annotation_metadata( + object_=navigation, annotation=PortalNavigation, direction="write" + ), + "pages": convert_and_respect_annotation_metadata( + object_=pages, annotation=PortalPagesByType, direction="write" + ), + "custom_code": convert_and_respect_annotation_metadata( + object_=custom_code, annotation=PortalCustomCode, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Portal]: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Portal] + The portal was successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: PortalId, + *, + slug: typing.Optional[PortalSlug] = OMIT, + name: typing.Optional[PortalName] = OMIT, + client: typing.Optional[PortalClientSecretPostRequest] = OMIT, + navigation: typing.Optional[PortalNavigationNullable] = OMIT, + pages: typing.Optional[PortalPagesByTypeNullable] = OMIT, + custom_code: typing.Optional[PortalCustomCodeNullable] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Portal]: + """ + Parameters + ---------- + id : PortalId + + slug : typing.Optional[PortalSlug] + + name : typing.Optional[PortalName] + + client : typing.Optional[PortalClientSecretPostRequest] + + navigation : typing.Optional[PortalNavigationNullable] + + pages : typing.Optional[PortalPagesByTypeNullable] + + custom_code : typing.Optional[PortalCustomCodeNullable] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Portal] + The portal was successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="PATCH", + json={ + "slug": slug, + "name": name, + "client": convert_and_respect_annotation_metadata( + object_=client, annotation=PortalClientSecretPostRequest, direction="write" + ), + "navigation": convert_and_respect_annotation_metadata( + object_=navigation, annotation=typing.Optional[PortalNavigationNullable], direction="write" + ), + "pages": convert_and_respect_annotation_metadata( + object_=pages, annotation=typing.Optional[PortalPagesByTypeNullable], direction="write" + ), + "custom_code": convert_and_respect_annotation_metadata( + object_=custom_code, annotation=typing.Optional[PortalCustomCodeNullable], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawPortalsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ListPortalsResponseContent]: + """ + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ListPortalsResponseContent] + All portals were successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "portals", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListPortalsResponseContent, + parse_obj_as( + type_=ListPortalsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + slug: PortalSlug, + name: PortalName, + client: PortalClientSecretPostRequest, + navigation: typing.Optional[PortalNavigation] = OMIT, + pages: typing.Optional[PortalPagesByType] = OMIT, + custom_code: typing.Optional[PortalCustomCode] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Portal]: + """ + Parameters + ---------- + slug : PortalSlug + + name : PortalName + + client : PortalClientSecretPostRequest + + navigation : typing.Optional[PortalNavigation] + + pages : typing.Optional[PortalPagesByType] + + custom_code : typing.Optional[PortalCustomCode] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Portal] + The portal was successfully created. + """ + _response = await self._client_wrapper.httpx_client.request( + "portals", + method="POST", + json={ + "slug": slug, + "name": name, + "client": convert_and_respect_annotation_metadata( + object_=client, annotation=PortalClientSecretPostRequest, direction="write" + ), + "navigation": convert_and_respect_annotation_metadata( + object_=navigation, annotation=PortalNavigation, direction="write" + ), + "pages": convert_and_respect_annotation_metadata( + object_=pages, annotation=PortalPagesByType, direction="write" + ), + "custom_code": convert_and_respect_annotation_metadata( + object_=custom_code, annotation=PortalCustomCode, direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[Portal]: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Portal] + The portal was successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: PortalId, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Parameters + ---------- + id : PortalId + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: PortalId, + *, + slug: typing.Optional[PortalSlug] = OMIT, + name: typing.Optional[PortalName] = OMIT, + client: typing.Optional[PortalClientSecretPostRequest] = OMIT, + navigation: typing.Optional[PortalNavigationNullable] = OMIT, + pages: typing.Optional[PortalPagesByTypeNullable] = OMIT, + custom_code: typing.Optional[PortalCustomCodeNullable] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Portal]: + """ + Parameters + ---------- + id : PortalId + + slug : typing.Optional[PortalSlug] + + name : typing.Optional[PortalName] + + client : typing.Optional[PortalClientSecretPostRequest] + + navigation : typing.Optional[PortalNavigationNullable] + + pages : typing.Optional[PortalPagesByTypeNullable] + + custom_code : typing.Optional[PortalCustomCodeNullable] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Portal] + The portal was successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"portals/{quote_path_param(id)}", + method="PATCH", + json={ + "slug": slug, + "name": name, + "client": convert_and_respect_annotation_metadata( + object_=client, annotation=PortalClientSecretPostRequest, direction="write" + ), + "navigation": convert_and_respect_annotation_metadata( + object_=navigation, annotation=typing.Optional[PortalNavigationNullable], direction="write" + ), + "pages": convert_and_respect_annotation_metadata( + object_=pages, annotation=typing.Optional[PortalPagesByTypeNullable], direction="write" + ), + "custom_code": convert_and_respect_annotation_metadata( + object_=custom_code, annotation=typing.Optional[PortalCustomCodeNullable], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + Portal, + parse_obj_as( + type_=Portal, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/prompts/custom_text/raw_client.py b/src/auth0/management/prompts/custom_text/raw_client.py index 58a20808..b5fcb3a2 100644 --- a/src/auth0/management/prompts/custom_text/raw_client.py +++ b/src/auth0/management/prompts/custom_text/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -56,7 +56,7 @@ def get( Prompt dictionaries successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/custom-text/{encode_path_param(language)}", + f"prompts/{quote_path_param(prompt)}/custom-text/{quote_path_param(language)}", method="GET", request_options=request_options, ) @@ -163,7 +163,7 @@ def set( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/custom-text/{encode_path_param(language)}", + f"prompts/{quote_path_param(prompt)}/custom-text/{quote_path_param(language)}", method="PUT", json=request, request_options=request_options, @@ -257,7 +257,7 @@ async def get( Prompt dictionaries successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/custom-text/{encode_path_param(language)}", + f"prompts/{quote_path_param(prompt)}/custom-text/{quote_path_param(language)}", method="GET", request_options=request_options, ) @@ -364,7 +364,7 @@ async def set( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/custom-text/{encode_path_param(language)}", + f"prompts/{quote_path_param(prompt)}/custom-text/{quote_path_param(language)}", method="PUT", json=request, request_options=request_options, diff --git a/src/auth0/management/prompts/partials/raw_client.py b/src/auth0/management/prompts/partials/raw_client.py index 8009369b..cfd59f42 100644 --- a/src/auth0/management/prompts/partials/raw_client.py +++ b/src/auth0/management/prompts/partials/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -48,7 +48,7 @@ def get( Prompt partials successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/partials", + f"prompts/{quote_path_param(prompt)}/partials", method="GET", request_options=request_options, ) @@ -151,7 +151,7 @@ def set( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/partials", + f"prompts/{quote_path_param(prompt)}/partials", method="PUT", json=request, request_options=request_options, @@ -238,7 +238,7 @@ async def get( Prompt partials successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/partials", + f"prompts/{quote_path_param(prompt)}/partials", method="GET", request_options=request_options, ) @@ -341,7 +341,7 @@ async def set( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/partials", + f"prompts/{quote_path_param(prompt)}/partials", method="PUT", json=request, request_options=request_options, diff --git a/src/auth0/management/prompts/rendering/raw_client.py b/src/auth0/management/prompts/rendering/raw_client.py index d3f6c6ff..1b442e02 100644 --- a/src/auth0/management/prompts/rendering/raw_client.py +++ b/src/auth0/management/prompts/rendering/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -117,7 +117,7 @@ def list( ), ) _items = _parsed_response.configs - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( fields=fields, include_fields=include_fields, @@ -327,7 +327,7 @@ def get( ACUL settings successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/screen/{encode_path_param(screen)}/rendering", + f"prompts/{quote_path_param(prompt)}/screen/{quote_path_param(screen)}/rendering", method="GET", request_options=request_options, ) @@ -465,7 +465,7 @@ def update( ACUL settings successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/screen/{encode_path_param(screen)}/rendering", + f"prompts/{quote_path_param(prompt)}/screen/{quote_path_param(screen)}/rendering", method="PATCH", json={ "rendering_mode": rendering_mode, @@ -645,7 +645,7 @@ async def list( ), ) _items = _parsed_response.configs - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -858,7 +858,7 @@ async def get( ACUL settings successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/screen/{encode_path_param(screen)}/rendering", + f"prompts/{quote_path_param(prompt)}/screen/{quote_path_param(screen)}/rendering", method="GET", request_options=request_options, ) @@ -996,7 +996,7 @@ async def update( ACUL settings successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"prompts/{encode_path_param(prompt)}/screen/{encode_path_param(screen)}/rendering", + f"prompts/{quote_path_param(prompt)}/screen/{quote_path_param(screen)}/rendering", method="PATCH", json={ "rendering_mode": rendering_mode, diff --git a/src/auth0/management/rate_limit_policies/raw_client.py b/src/auth0/management/rate_limit_policies/raw_client.py index d8442e2f..2daba344 100644 --- a/src/auth0/management/rate_limit_policies/raw_client.py +++ b/src/auth0/management/rate_limit_policies/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -299,7 +299,7 @@ def get( Rate limit policy retrieved successfully. """ _response = self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -381,7 +381,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -465,7 +465,7 @@ def update( Rate limit policy successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="PATCH", json={ "configuration": convert_and_respect_annotation_metadata( @@ -820,7 +820,7 @@ async def get( Rate limit policy retrieved successfully. """ _response = await self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -904,7 +904,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -988,7 +988,7 @@ async def update( Rate limit policy successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"rate-limit-policies/{encode_path_param(id)}", + f"rate-limit-policies/{quote_path_param(id)}", method="PATCH", json={ "configuration": convert_and_respect_annotation_metadata( diff --git a/src/auth0/management/refresh_tokens/raw_client.py b/src/auth0/management/refresh_tokens/raw_client.py index f968bf6f..6e5946b9 100644 --- a/src/auth0/management/refresh_tokens/raw_client.py +++ b/src/auth0/management/refresh_tokens/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -296,7 +296,7 @@ def get( The refresh token was retrieved """ _response = self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -391,7 +391,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -478,7 +478,7 @@ def update( Refresh token successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="PATCH", json={ "refresh_token_metadata": refresh_token_metadata, @@ -836,7 +836,7 @@ async def get( The refresh token was retrieved """ _response = await self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -933,7 +933,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1020,7 +1020,7 @@ async def update( Refresh token successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"refresh-tokens/{encode_path_param(id)}", + f"refresh-tokens/{quote_path_param(id)}", method="PATCH", json={ "refresh_token_metadata": refresh_token_metadata, diff --git a/src/auth0/management/resource_servers/client.py b/src/auth0/management/resource_servers/client.py index 438082d8..cf325c2f 100644 --- a/src/auth0/management/resource_servers/client.py +++ b/src/auth0/management/resource_servers/client.py @@ -11,13 +11,20 @@ ListResourceServerOffsetPaginatedResponseContent, ) from ..types.resource_server import ResourceServer +from ..types.resource_server_access_token import ResourceServerAccessToken +from ..types.resource_server_agent_subject_claims_schema_enum import ResourceServerAgentSubjectClaimsSchemaEnum from ..types.resource_server_authorization_policy import ResourceServerAuthorizationPolicy from ..types.resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from ..types.resource_server_proof_of_possession import ResourceServerProofOfPossession from ..types.resource_server_scope import ResourceServerScope +from ..types.resource_server_search_response import ResourceServerSearchResponse +from ..types.resource_server_sort_field_enum import ResourceServerSortFieldEnum from ..types.resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from ..types.resource_server_token_dialect_schema_enum import ResourceServerTokenDialectSchemaEnum from ..types.resource_server_token_encryption import ResourceServerTokenEncryption +from ..types.resource_server_type_enum import ResourceServerTypeEnum +from ..types.search_parser_enum import SearchParserEnum +from ..types.search_resource_servers_response_content import SearchResourceServersResponseContent from ..types.signing_algorithm_enum import SigningAlgorithmEnum from ..types.update_resource_server_response_content import UpdateResourceServerResponseContent from .raw_client import AsyncRawResourceServersClient, RawResourceServersClient @@ -120,15 +127,20 @@ def create( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, skip_consent_for_verifiable_first_party_clients: typing.Optional[bool] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateResourceServerResponseContent: """ @@ -162,6 +174,9 @@ def create( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] skip_consent_for_verifiable_first_party_clients : typing.Optional[bool] @@ -170,10 +185,15 @@ def create( enforce_policies : typing.Optional[bool] Whether to enforce authorization policies (true) or to ignore them (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -182,6 +202,10 @@ def create( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -211,19 +235,106 @@ def create( allow_online_access=allow_online_access, allow_online_access_with_ephemeral_sessions=allow_online_access_with_ephemeral_sessions, token_lifetime=token_lifetime, + token_lifetime_for_anonymous_access_tokens=token_lifetime_for_anonymous_access_tokens, token_dialect=token_dialect, skip_consent_for_verifiable_first_party_clients=skip_consent_for_verifiable_first_party_clients, enforce_policies=enforce_policies, + access_token=access_token, token_encryption=token_encryption, consent_policy=consent_policy, + require_consent_non_repudiation=require_consent_non_repudiation, authorization_details=authorization_details, proof_of_possession=proof_of_possession, subject_type_authorization=subject_type_authorization, authorization_policy=authorization_policy, + agent_subject_claims=agent_subject_claims, + type=type, request_options=request_options, ) return _response.data + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ResourceServerSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent]: + """ + Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /resource-servers endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + The `signing_secret` field is not supported by this endpoint. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "My API"`, `identifier sw "https://"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Filter by resource server ID
  • identifier - Filter by resource server identifier
  • name - Filter by resource server name
  • updated_at - Filter by last update date
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ResourceServerSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent] + Resource servers successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.resource_servers.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="identifier", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + def get( self, id: str, @@ -308,14 +419,19 @@ def update( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateResourceServerResponseContent: """ @@ -352,15 +468,23 @@ def update( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] enforce_policies : typing.Optional[bool] Whether authorization policies are enforced (true) or not enforced (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -369,6 +493,10 @@ def update( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -399,14 +527,19 @@ def update( allow_online_access=allow_online_access, allow_online_access_with_ephemeral_sessions=allow_online_access_with_ephemeral_sessions, token_lifetime=token_lifetime, + token_lifetime_for_anonymous_access_tokens=token_lifetime_for_anonymous_access_tokens, token_dialect=token_dialect, enforce_policies=enforce_policies, + access_token=access_token, token_encryption=token_encryption, consent_policy=consent_policy, + require_consent_non_repudiation=require_consent_non_repudiation, authorization_details=authorization_details, proof_of_possession=proof_of_possession, subject_type_authorization=subject_type_authorization, authorization_policy=authorization_policy, + agent_subject_claims=agent_subject_claims, + type=type, request_options=request_options, ) return _response.data @@ -515,15 +648,20 @@ async def create( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, skip_consent_for_verifiable_first_party_clients: typing.Optional[bool] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateResourceServerResponseContent: """ @@ -557,6 +695,9 @@ async def create( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] skip_consent_for_verifiable_first_party_clients : typing.Optional[bool] @@ -565,10 +706,15 @@ async def create( enforce_policies : typing.Optional[bool] Whether to enforce authorization policies (true) or to ignore them (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -577,6 +723,10 @@ async def create( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -614,19 +764,115 @@ async def main() -> None: allow_online_access=allow_online_access, allow_online_access_with_ephemeral_sessions=allow_online_access_with_ephemeral_sessions, token_lifetime=token_lifetime, + token_lifetime_for_anonymous_access_tokens=token_lifetime_for_anonymous_access_tokens, token_dialect=token_dialect, skip_consent_for_verifiable_first_party_clients=skip_consent_for_verifiable_first_party_clients, enforce_policies=enforce_policies, + access_token=access_token, token_encryption=token_encryption, consent_policy=consent_policy, + require_consent_non_repudiation=require_consent_non_repudiation, authorization_details=authorization_details, proof_of_possession=proof_of_possession, subject_type_authorization=subject_type_authorization, authorization_policy=authorization_policy, + agent_subject_claims=agent_subject_claims, + type=type, request_options=request_options, ) return _response.data + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ResourceServerSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent]: + """ + Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /resource-servers endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + The `signing_secret` field is not supported by this endpoint. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "My API"`, `identifier sw "https://"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Filter by resource server ID
  • identifier - Filter by resource server identifier
  • name - Filter by resource server name
  • updated_at - Filter by last update date
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ResourceServerSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent] + Resource servers successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.resource_servers.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="identifier", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=from_, + sort=sort, + request_options=request_options, + ) + async def get( self, id: str, @@ -727,14 +973,19 @@ async def update( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateResourceServerResponseContent: """ @@ -771,15 +1022,23 @@ async def update( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] enforce_policies : typing.Optional[bool] Whether authorization policies are enforced (true) or not enforced (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -788,6 +1047,10 @@ async def update( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -826,14 +1089,19 @@ async def main() -> None: allow_online_access=allow_online_access, allow_online_access_with_ephemeral_sessions=allow_online_access_with_ephemeral_sessions, token_lifetime=token_lifetime, + token_lifetime_for_anonymous_access_tokens=token_lifetime_for_anonymous_access_tokens, token_dialect=token_dialect, enforce_policies=enforce_policies, + access_token=access_token, token_encryption=token_encryption, consent_policy=consent_policy, + require_consent_non_repudiation=require_consent_non_repudiation, authorization_details=authorization_details, proof_of_possession=proof_of_possession, subject_type_authorization=subject_type_authorization, authorization_policy=authorization_policy, + agent_subject_claims=agent_subject_claims, + type=type, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/resource_servers/raw_client.py b/src/auth0/management/resource_servers/raw_client.py index 1fc6b25e..c4bdf0a8 100644 --- a/src/auth0/management/resource_servers/raw_client.py +++ b/src/auth0/management/resource_servers/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -15,6 +15,8 @@ from ..errors.bad_request_error import BadRequestError from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError +from ..errors.gateway_timeout_error import GatewayTimeoutError +from ..errors.internal_server_error import InternalServerError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError @@ -24,13 +26,20 @@ ListResourceServerOffsetPaginatedResponseContent, ) from ..types.resource_server import ResourceServer +from ..types.resource_server_access_token import ResourceServerAccessToken +from ..types.resource_server_agent_subject_claims_schema_enum import ResourceServerAgentSubjectClaimsSchemaEnum from ..types.resource_server_authorization_policy import ResourceServerAuthorizationPolicy from ..types.resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from ..types.resource_server_proof_of_possession import ResourceServerProofOfPossession from ..types.resource_server_scope import ResourceServerScope +from ..types.resource_server_search_response import ResourceServerSearchResponse +from ..types.resource_server_sort_field_enum import ResourceServerSortFieldEnum from ..types.resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from ..types.resource_server_token_dialect_schema_enum import ResourceServerTokenDialectSchemaEnum from ..types.resource_server_token_encryption import ResourceServerTokenEncryption +from ..types.resource_server_type_enum import ResourceServerTypeEnum +from ..types.search_parser_enum import SearchParserEnum +from ..types.search_resource_servers_response_content import SearchResourceServersResponseContent from ..types.signing_algorithm_enum import SigningAlgorithmEnum from ..types.update_resource_server_response_content import UpdateResourceServerResponseContent from pydantic import ValidationError @@ -105,7 +114,7 @@ def list( ), ) _items = _parsed_response.resource_servers - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( identifiers=identifiers, page=page + 1, @@ -180,15 +189,20 @@ def create( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, skip_consent_for_verifiable_first_party_clients: typing.Optional[bool] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateResourceServerResponseContent]: """ @@ -222,6 +236,9 @@ def create( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] skip_consent_for_verifiable_first_party_clients : typing.Optional[bool] @@ -230,10 +247,15 @@ def create( enforce_policies : typing.Optional[bool] Whether to enforce authorization policies (true) or to ignore them (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -242,6 +264,10 @@ def create( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -265,15 +291,20 @@ def create( "allow_online_access": allow_online_access, "allow_online_access_with_ephemeral_sessions": allow_online_access_with_ephemeral_sessions, "token_lifetime": token_lifetime, + "token_lifetime_for_anonymous_access_tokens": token_lifetime_for_anonymous_access_tokens, "token_dialect": token_dialect, "skip_consent_for_verifiable_first_party_clients": skip_consent_for_verifiable_first_party_clients, "enforce_policies": enforce_policies, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "token_encryption": convert_and_respect_annotation_metadata( object_=token_encryption, annotation=typing.Optional[ResourceServerTokenEncryption], direction="write", ), "consent_policy": consent_policy, + "require_consent_non_repudiation": require_consent_non_repudiation, "authorization_details": authorization_details, "proof_of_possession": convert_and_respect_annotation_metadata( object_=proof_of_possession, @@ -290,6 +321,8 @@ def create( annotation=typing.Optional[ResourceServerAuthorizationPolicy], direction="write", ), + "agent_subject_claims": agent_subject_claims, + "type": type, }, headers={ "content-type": "application/json", @@ -371,6 +404,178 @@ def create( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ResourceServerSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent]: + """ + Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /resource-servers endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + The `signing_secret` field is not supported by this endpoint. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "My API"`, `identifier sw "https://"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Filter by resource server ID
  • identifier - Filter by resource server identifier
  • name - Filter by resource server name
  • updated_at - Filter by last update date
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ResourceServerSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent] + Resource servers successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "resource-servers/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchResourceServersResponseContent, + parse_obj_as( + type_=SearchResourceServersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.resource_servers + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( self, id: str, @@ -398,7 +603,7 @@ def get( Resource server successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="GET", params={ "include_fields": include_fields, @@ -496,7 +701,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -569,14 +774,19 @@ def update( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateResourceServerResponseContent]: """ @@ -613,15 +823,23 @@ def update( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] enforce_policies : typing.Optional[bool] Whether authorization policies are enforced (true) or not enforced (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -630,6 +848,10 @@ def update( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -639,7 +861,7 @@ def update( Resource server successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -653,14 +875,19 @@ def update( "allow_online_access": allow_online_access, "allow_online_access_with_ephemeral_sessions": allow_online_access_with_ephemeral_sessions, "token_lifetime": token_lifetime, + "token_lifetime_for_anonymous_access_tokens": token_lifetime_for_anonymous_access_tokens, "token_dialect": token_dialect, "enforce_policies": enforce_policies, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "token_encryption": convert_and_respect_annotation_metadata( object_=token_encryption, annotation=typing.Optional[ResourceServerTokenEncryption], direction="write", ), "consent_policy": consent_policy, + "require_consent_non_repudiation": require_consent_non_repudiation, "authorization_details": authorization_details, "proof_of_possession": convert_and_respect_annotation_metadata( object_=proof_of_possession, @@ -677,6 +904,8 @@ def update( annotation=typing.Optional[ResourceServerAuthorizationPolicy], direction="write", ), + "agent_subject_claims": agent_subject_claims, + "type": type, }, headers={ "content-type": "application/json", @@ -825,7 +1054,7 @@ async def list( ), ) _items = _parsed_response.resource_servers - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -903,15 +1132,20 @@ async def create( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, skip_consent_for_verifiable_first_party_clients: typing.Optional[bool] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateResourceServerResponseContent]: """ @@ -945,6 +1179,9 @@ async def create( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] skip_consent_for_verifiable_first_party_clients : typing.Optional[bool] @@ -953,10 +1190,15 @@ async def create( enforce_policies : typing.Optional[bool] Whether to enforce authorization policies (true) or to ignore them (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -965,6 +1207,10 @@ async def create( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -988,15 +1234,20 @@ async def create( "allow_online_access": allow_online_access, "allow_online_access_with_ephemeral_sessions": allow_online_access_with_ephemeral_sessions, "token_lifetime": token_lifetime, + "token_lifetime_for_anonymous_access_tokens": token_lifetime_for_anonymous_access_tokens, "token_dialect": token_dialect, "skip_consent_for_verifiable_first_party_clients": skip_consent_for_verifiable_first_party_clients, "enforce_policies": enforce_policies, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "token_encryption": convert_and_respect_annotation_metadata( object_=token_encryption, annotation=typing.Optional[ResourceServerTokenEncryption], direction="write", ), "consent_policy": consent_policy, + "require_consent_non_repudiation": require_consent_non_repudiation, "authorization_details": authorization_details, "proof_of_possession": convert_and_respect_annotation_metadata( object_=proof_of_possession, @@ -1013,6 +1264,8 @@ async def create( annotation=typing.Optional[ResourceServerAuthorizationPolicy], direction="write", ), + "agent_subject_claims": agent_subject_claims, + "type": type, }, headers={ "content-type": "application/json", @@ -1094,6 +1347,181 @@ async def create( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def search( + self, + *, + q: typing.Optional[str] = None, + parser: typing.Optional[SearchParserEnum] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + take: typing.Optional[int] = 50, + from_: typing.Optional[str] = None, + sort: typing.Optional[ResourceServerSortFieldEnum] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent]: + """ + Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative to the standard GET /resource-servers endpoint with better performance for complex queries. + Results may not reflect recent updates immediately. + + The `signing_secret` field is not supported by this endpoint. + + Parameters + ---------- + q : typing.Optional[str] + Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `name eq "My API"`, `identifier sw "https://"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.

Supported Fields:
  • id - Filter by resource server ID
  • identifier - Filter by resource server identifier
  • name - Filter by resource server name
  • updated_at - Filter by last update date
Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. + + parser : typing.Optional[SearchParserEnum] + Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). + + fields : typing.Optional[str] + Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. + + include_fields : typing.Optional[bool] + Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. + + take : typing.Optional[int] + Maximum number of results to return per page (1-100). Defaults to 50. + + from_ : typing.Optional[str] + Cursor for the next page of results. Use the value from the next field in the previous response. + + sort : typing.Optional[ResourceServerSortFieldEnum] + Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ResourceServerSearchResponse, SearchResourceServersResponseContent] + Resource servers successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "resource-servers/search", + method="GET", + params={ + "q": q, + "parser": parser, + "fields": fields, + "include_fields": include_fields, + "take": take, + "from": from_, + "sort": sort, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + SearchResourceServersResponseContent, + parse_obj_as( + type_=SearchResourceServersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.resource_servers + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.search( + q=q, + parser=parser, + fields=fields, + include_fields=include_fields, + take=take, + from_=_parsed_next, + sort=sort, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 500: + raise InternalServerError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 504: + raise GatewayTimeoutError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( self, id: str, @@ -1121,7 +1549,7 @@ async def get( Resource server successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="GET", params={ "include_fields": include_fields, @@ -1221,7 +1649,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1294,14 +1722,19 @@ async def update( allow_online_access: typing.Optional[bool] = OMIT, allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = OMIT, token_lifetime: typing.Optional[int] = OMIT, + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = OMIT, token_dialect: typing.Optional[ResourceServerTokenDialectSchemaEnum] = OMIT, enforce_policies: typing.Optional[bool] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, token_encryption: typing.Optional[ResourceServerTokenEncryption] = OMIT, consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = OMIT, + require_consent_non_repudiation: typing.Optional[bool] = OMIT, authorization_details: typing.Optional[typing.Sequence[typing.Any]] = OMIT, proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = OMIT, subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = OMIT, authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = OMIT, + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] = OMIT, + type: typing.Optional[ResourceServerTypeEnum] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateResourceServerResponseContent]: """ @@ -1338,15 +1771,23 @@ async def update( token_lifetime : typing.Optional[int] Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + token_lifetime_for_anonymous_access_tokens : typing.Optional[int] + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + token_dialect : typing.Optional[ResourceServerTokenDialectSchemaEnum] enforce_policies : typing.Optional[bool] Whether authorization policies are enforced (true) or not enforced (false). + access_token : typing.Optional[ResourceServerAccessToken] + token_encryption : typing.Optional[ResourceServerTokenEncryption] consent_policy : typing.Optional[ResourceServerConsentPolicyEnum] + require_consent_non_repudiation : typing.Optional[bool] + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + authorization_details : typing.Optional[typing.Sequence[typing.Any]] proof_of_possession : typing.Optional[ResourceServerProofOfPossession] @@ -1355,6 +1796,10 @@ async def update( authorization_policy : typing.Optional[ResourceServerAuthorizationPolicy] + agent_subject_claims : typing.Optional[ResourceServerAgentSubjectClaimsSchemaEnum] + + type : typing.Optional[ResourceServerTypeEnum] + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1364,7 +1809,7 @@ async def update( Resource server successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"resource-servers/{encode_path_param(id)}", + f"resource-servers/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -1378,14 +1823,19 @@ async def update( "allow_online_access": allow_online_access, "allow_online_access_with_ephemeral_sessions": allow_online_access_with_ephemeral_sessions, "token_lifetime": token_lifetime, + "token_lifetime_for_anonymous_access_tokens": token_lifetime_for_anonymous_access_tokens, "token_dialect": token_dialect, "enforce_policies": enforce_policies, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "token_encryption": convert_and_respect_annotation_metadata( object_=token_encryption, annotation=typing.Optional[ResourceServerTokenEncryption], direction="write", ), "consent_policy": consent_policy, + "require_consent_non_repudiation": require_consent_non_repudiation, "authorization_details": authorization_details, "proof_of_possession": convert_and_respect_annotation_metadata( object_=proof_of_possession, @@ -1402,6 +1852,8 @@ async def update( annotation=typing.Optional[ResourceServerAuthorizationPolicy], direction="write", ), + "agent_subject_claims": agent_subject_claims, + "type": type, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/roles/client.py b/src/auth0/management/roles/client.py index c24f805b..91e5ad8e 100644 --- a/src/auth0/management/roles/client.py +++ b/src/auth0/management/roles/client.py @@ -11,6 +11,8 @@ from ..types.get_role_response_content import GetRoleResponseContent from ..types.list_roles_offset_paginated_response_content import ListRolesOffsetPaginatedResponseContent from ..types.role import Role +from ..types.role_owner_id_filter import RoleOwnerIdFilter +from ..types.role_type_enum import RoleTypeEnum from ..types.update_role_response_content import UpdateRoleResponseContent from .raw_client import AsyncRawRolesClient, RawRolesClient @@ -48,10 +50,12 @@ def list( page: typing.Optional[int] = 0, include_totals: typing.Optional[bool] = True, name_filter: typing.Optional[str] = None, + type: typing.Optional[RoleTypeEnum] = None, + owner_id: typing.Optional[RoleOwnerIdFilter] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Role, ListRolesOffsetPaginatedResponseContent]: """ - Retrieve detailed list of user roles created in your tenant. + Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, Auth0-managed System Roles. **Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access. @@ -69,6 +73,12 @@ def list( name_filter : typing.Optional[str] Optional filter on name (case-insensitive). + type : typing.Optional[RoleTypeEnum] + Optional filter on the type of the role + + owner_id : typing.Optional[RoleOwnerIdFilter] + Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -89,6 +99,8 @@ def list( page=1, include_totals=True, name_filter="name_filter", + type="tenant", + owner_id="owner_id", ) for item in response: yield item @@ -101,6 +113,8 @@ def list( page=page, include_totals=include_totals, name_filter=name_filter, + type=type, + owner_id=owner_id, request_options=request_options, ) @@ -109,6 +123,8 @@ def create( *, name: str, description: typing.Optional[str] = OMIT, + type: typing.Optional[RoleTypeEnum] = OMIT, + owner_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateRoleResponseContent: """ @@ -124,6 +140,12 @@ def create( description : typing.Optional[str] Description of the role. + type : typing.Optional[RoleTypeEnum] + The type of the role. Defaults to tenant. + + owner_id : typing.Optional[str] + The ID of the organization that owns this role. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -143,7 +165,9 @@ def create( name="name", ) """ - _response = self._raw_client.create(name=name, description=description, request_options=request_options) + _response = self._raw_client.create( + name=name, description=description, type=type, owner_id=owner_id, request_options=request_options + ) return _response.data def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetRoleResponseContent: @@ -302,10 +326,12 @@ async def list( page: typing.Optional[int] = 0, include_totals: typing.Optional[bool] = True, name_filter: typing.Optional[str] = None, + type: typing.Optional[RoleTypeEnum] = None, + owner_id: typing.Optional[RoleOwnerIdFilter] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Role, ListRolesOffsetPaginatedResponseContent]: """ - Retrieve detailed list of user roles created in your tenant. + Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, Auth0-managed System Roles. **Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access. @@ -323,6 +349,12 @@ async def list( name_filter : typing.Optional[str] Optional filter on name (case-insensitive). + type : typing.Optional[RoleTypeEnum] + Optional filter on the type of the role + + owner_id : typing.Optional[RoleOwnerIdFilter] + Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -348,6 +380,8 @@ async def main() -> None: page=1, include_totals=True, name_filter="name_filter", + type="tenant", + owner_id="owner_id", ) async for item in response: yield item @@ -364,6 +398,8 @@ async def main() -> None: page=page, include_totals=include_totals, name_filter=name_filter, + type=type, + owner_id=owner_id, request_options=request_options, ) @@ -372,6 +408,8 @@ async def create( *, name: str, description: typing.Optional[str] = OMIT, + type: typing.Optional[RoleTypeEnum] = OMIT, + owner_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateRoleResponseContent: """ @@ -387,6 +425,12 @@ async def create( description : typing.Optional[str] Description of the role. + type : typing.Optional[RoleTypeEnum] + The type of the role. Defaults to tenant. + + owner_id : typing.Optional[str] + The ID of the organization that owns this role. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -414,7 +458,9 @@ async def main() -> None: asyncio.run(main()) """ - _response = await self._raw_client.create(name=name, description=description, request_options=request_options) + _response = await self._raw_client.create( + name=name, description=description, type=type, owner_id=owner_id, request_options=request_options + ) return _response.data async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetRoleResponseContent: diff --git a/src/auth0/management/roles/groups/raw_client.py b/src/auth0/management/roles/groups/raw_client.py index 3e78a4d2..633eca7d 100644 --- a/src/auth0/management/roles/groups/raw_client.py +++ b/src/auth0/management/roles/groups/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -59,7 +59,7 @@ def get( Role's groups successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="GET", params={ "from": from_, @@ -172,7 +172,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="POST", json={ "groups": groups, @@ -272,7 +272,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="DELETE", json={ "groups": groups, @@ -386,7 +386,7 @@ async def get( Role's groups successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="GET", params={ "from": from_, @@ -502,7 +502,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="POST", json={ "groups": groups, @@ -602,7 +602,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/groups", + f"roles/{quote_path_param(id)}/groups", method="DELETE", json={ "groups": groups, diff --git a/src/auth0/management/roles/permissions/raw_client.py b/src/auth0/management/roles/permissions/raw_client.py index 455b4ac3..7e2ebfe3 100644 --- a/src/auth0/management/roles/permissions/raw_client.py +++ b/src/auth0/management/roles/permissions/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -69,7 +69,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="GET", params={ "per_page": per_page, @@ -88,7 +88,7 @@ def list( ), ) _items = _parsed_response.permissions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, per_page=per_page, @@ -187,7 +187,7 @@ def add( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="POST", json={ "permissions": convert_and_respect_annotation_metadata( @@ -293,7 +293,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="DELETE", json={ "permissions": convert_and_respect_annotation_metadata( @@ -404,7 +404,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="GET", params={ "per_page": per_page, @@ -423,7 +423,7 @@ async def list( ), ) _items = _parsed_response.permissions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -525,7 +525,7 @@ async def add( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="POST", json={ "permissions": convert_and_respect_annotation_metadata( @@ -631,7 +631,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/permissions", + f"roles/{quote_path_param(id)}/permissions", method="DELETE", json={ "permissions": convert_and_respect_annotation_metadata( diff --git a/src/auth0/management/roles/raw_client.py b/src/auth0/management/roles/raw_client.py index 6ebfbf72..5530bd4d 100644 --- a/src/auth0/management/roles/raw_client.py +++ b/src/auth0/management/roles/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -21,6 +21,8 @@ from ..types.get_role_response_content import GetRoleResponseContent from ..types.list_roles_offset_paginated_response_content import ListRolesOffsetPaginatedResponseContent from ..types.role import Role +from ..types.role_owner_id_filter import RoleOwnerIdFilter +from ..types.role_type_enum import RoleTypeEnum from ..types.update_role_response_content import UpdateRoleResponseContent from pydantic import ValidationError @@ -39,10 +41,12 @@ def list( page: typing.Optional[int] = 0, include_totals: typing.Optional[bool] = True, name_filter: typing.Optional[str] = None, + type: typing.Optional[RoleTypeEnum] = None, + owner_id: typing.Optional[RoleOwnerIdFilter] = None, request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[Role, ListRolesOffsetPaginatedResponseContent]: """ - Retrieve detailed list of user roles created in your tenant. + Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, Auth0-managed System Roles. **Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access. @@ -60,6 +64,12 @@ def list( name_filter : typing.Optional[str] Optional filter on name (case-insensitive). + type : typing.Optional[RoleTypeEnum] + Optional filter on the type of the role + + owner_id : typing.Optional[RoleOwnerIdFilter] + Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -78,6 +88,8 @@ def list( "page": page, "include_totals": include_totals, "name_filter": name_filter, + "type": type, + "owner_id": owner_id, }, request_options=request_options, ) @@ -91,12 +103,14 @@ def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( per_page=per_page, page=page + 1, include_totals=include_totals, name_filter=name_filter, + type=type, + owner_id=owner_id, request_options=request_options, ) return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) @@ -158,6 +172,8 @@ def create( *, name: str, description: typing.Optional[str] = OMIT, + type: typing.Optional[RoleTypeEnum] = OMIT, + owner_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateRoleResponseContent]: """ @@ -173,6 +189,12 @@ def create( description : typing.Optional[str] Description of the role. + type : typing.Optional[RoleTypeEnum] + The type of the role. Defaults to tenant. + + owner_id : typing.Optional[str] + The ID of the organization that owns this role. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -187,6 +209,8 @@ def create( json={ "name": name, "description": description, + "type": type, + "owner_id": owner_id, }, headers={ "content-type": "application/json", @@ -288,7 +312,7 @@ def get( Role successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -383,7 +407,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -485,7 +509,7 @@ def update( Role successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -572,10 +596,12 @@ async def list( page: typing.Optional[int] = 0, include_totals: typing.Optional[bool] = True, name_filter: typing.Optional[str] = None, + type: typing.Optional[RoleTypeEnum] = None, + owner_id: typing.Optional[RoleOwnerIdFilter] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[Role, ListRolesOffsetPaginatedResponseContent]: """ - Retrieve detailed list of user roles created in your tenant. + Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, Auth0-managed System Roles. **Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access. @@ -593,6 +619,12 @@ async def list( name_filter : typing.Optional[str] Optional filter on name (case-insensitive). + type : typing.Optional[RoleTypeEnum] + Optional filter on the type of the role + + owner_id : typing.Optional[RoleOwnerIdFilter] + Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -611,6 +643,8 @@ async def list( "page": page, "include_totals": include_totals, "name_filter": name_filter, + "type": type, + "owner_id": owner_id, }, request_options=request_options, ) @@ -624,7 +658,7 @@ async def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -632,6 +666,8 @@ async def _get_next(): page=page + 1, include_totals=include_totals, name_filter=name_filter, + type=type, + owner_id=owner_id, request_options=request_options, ) @@ -694,6 +730,8 @@ async def create( *, name: str, description: typing.Optional[str] = OMIT, + type: typing.Optional[RoleTypeEnum] = OMIT, + owner_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateRoleResponseContent]: """ @@ -709,6 +747,12 @@ async def create( description : typing.Optional[str] Description of the role. + type : typing.Optional[RoleTypeEnum] + The type of the role. Defaults to tenant. + + owner_id : typing.Optional[str] + The ID of the organization that owns this role. Required when type is "organization". + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -723,6 +767,8 @@ async def create( json={ "name": name, "description": description, + "type": type, + "owner_id": owner_id, }, headers={ "content-type": "application/json", @@ -824,7 +870,7 @@ async def get( Role successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -921,7 +967,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1023,7 +1069,7 @@ async def update( Role successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}", + f"roles/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/roles/users/client.py b/src/auth0/management/roles/users/client.py index bc0fc4fa..80ee7246 100644 --- a/src/auth0/management/roles/users/client.py +++ b/src/auth0/management/roles/users/client.py @@ -32,6 +32,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -39,6 +40,8 @@ def list( """ Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles). + **Note**: Returns only users with direct role assignments. For groups assigned to this role, use `GET /api/v2/roles/{id}/groups`. + This endpoint supports two types of pagination: - Offset pagination @@ -60,6 +63,9 @@ def list( id : str ID of the role to retrieve a list of users associated with. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -83,6 +89,7 @@ def list( ) response = client.roles.users.list( id="id", + include_totals=True, from_="from", take=1, ) @@ -92,7 +99,9 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list( + id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) def assign( self, id: str, *, users: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None @@ -152,6 +161,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -159,6 +169,8 @@ async def list( """ Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles). + **Note**: Returns only users with direct role assignments. For groups assigned to this role, use `GET /api/v2/roles/{id}/groups`. + This endpoint supports two types of pagination: - Offset pagination @@ -180,6 +192,9 @@ async def list( id : str ID of the role to retrieve a list of users associated with. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -208,6 +223,7 @@ async def list( async def main() -> None: response = await client.roles.users.list( id="id", + include_totals=True, from_="from", take=1, ) @@ -221,7 +237,9 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(id, from_=from_, take=take, request_options=request_options) + return await self._raw_client.list( + id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) async def assign( self, id: str, *, users: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None diff --git a/src/auth0/management/roles/users/raw_client.py b/src/auth0/management/roles/users/raw_client.py index 2cd28d13..24c2f92b 100644 --- a/src/auth0/management/roles/users/raw_client.py +++ b/src/auth0/management/roles/users/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -32,6 +32,7 @@ def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -39,6 +40,8 @@ def list( """ Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles). + **Note**: Returns only users with direct role assignments. For groups assigned to this role, use `GET /api/v2/roles/{id}/groups`. + This endpoint supports two types of pagination: - Offset pagination @@ -60,6 +63,9 @@ def list( id : str ID of the role to retrieve a list of users associated with. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -75,9 +81,10 @@ def list( Role users successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/users", + f"roles/{quote_path_param(id)}/users", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -97,6 +104,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -190,7 +198,7 @@ def assign( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/users", + f"roles/{quote_path_param(id)}/users", method="POST", json={ "users": users, @@ -277,6 +285,7 @@ async def list( self, id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -284,6 +293,8 @@ async def list( """ Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles). + **Note**: Returns only users with direct role assignments. For groups assigned to this role, use `GET /api/v2/roles/{id}/groups`. + This endpoint supports two types of pagination: - Offset pagination @@ -305,6 +316,9 @@ async def list( id : str ID of the role to retrieve a list of users associated with. + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -320,9 +334,10 @@ async def list( Role users successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/users", + f"roles/{quote_path_param(id)}/users", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -344,6 +359,7 @@ async def list( async def _get_next(): return await self.list( id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -438,7 +454,7 @@ async def assign( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"roles/{encode_path_param(id)}/users", + f"roles/{quote_path_param(id)}/users", method="POST", json={ "users": users, diff --git a/src/auth0/management/rules/raw_client.py b/src/auth0/management/rules/raw_client.py index 516f0afc..c5079f79 100644 --- a/src/auth0/management/rules/raw_client.py +++ b/src/auth0/management/rules/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -99,7 +99,7 @@ def list( ), ) _items = _parsed_response.rules - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -330,7 +330,7 @@ def get( Rule successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -429,7 +429,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -528,7 +528,7 @@ def update( Rule successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="PATCH", json={ "script": script, @@ -699,7 +699,7 @@ async def list( ), ) _items = _parsed_response.rules - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -933,7 +933,7 @@ async def get( Rule successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -1034,7 +1034,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1133,7 +1133,7 @@ async def update( Rule successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"rules/{encode_path_param(id)}", + f"rules/{quote_path_param(id)}", method="PATCH", json={ "script": script, diff --git a/src/auth0/management/rules_configs/raw_client.py b/src/auth0/management/rules_configs/raw_client.py index 809935b0..29e5815a 100644 --- a/src/auth0/management/rules_configs/raw_client.py +++ b/src/auth0/management/rules_configs/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -123,7 +123,7 @@ def set( Rules config variable successfully set. """ _response = self._client_wrapper.httpx_client.request( - f"rules-configs/{encode_path_param(key)}", + f"rules-configs/{quote_path_param(key)}", method="PUT", json={ "value": value, @@ -203,7 +203,7 @@ def delete(self, key: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"rules-configs/{encode_path_param(key)}", + f"rules-configs/{quote_path_param(key)}", method="DELETE", request_options=request_options, ) @@ -355,7 +355,7 @@ async def set( Rules config variable successfully set. """ _response = await self._client_wrapper.httpx_client.request( - f"rules-configs/{encode_path_param(key)}", + f"rules-configs/{quote_path_param(key)}", method="PUT", json={ "value": value, @@ -437,7 +437,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"rules-configs/{encode_path_param(key)}", + f"rules-configs/{quote_path_param(key)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/self_service_profiles/custom_text/raw_client.py b/src/auth0/management/self_service_profiles/custom_text/raw_client.py index c1f127ad..0168af14 100644 --- a/src/auth0/management/self_service_profiles/custom_text/raw_client.py +++ b/src/auth0/management/self_service_profiles/custom_text/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -64,7 +64,7 @@ def list( Retrieved custom text. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/custom-text/{encode_path_param(language)}/{encode_path_param(page)}", + f"self-service-profiles/{quote_path_param(id)}/custom-text/{quote_path_param(language)}/{quote_path_param(page)}", method="GET", request_options=request_options, ) @@ -165,7 +165,7 @@ def set( Updated custom text. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/custom-text/{encode_path_param(language)}/{encode_path_param(page)}", + f"self-service-profiles/{quote_path_param(id)}/custom-text/{quote_path_param(language)}/{quote_path_param(page)}", method="PUT", json=request, request_options=request_options, @@ -270,7 +270,7 @@ async def list( Retrieved custom text. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/custom-text/{encode_path_param(language)}/{encode_path_param(page)}", + f"self-service-profiles/{quote_path_param(id)}/custom-text/{quote_path_param(language)}/{quote_path_param(page)}", method="GET", request_options=request_options, ) @@ -371,7 +371,7 @@ async def set( Updated custom text. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/custom-text/{encode_path_param(language)}/{encode_path_param(page)}", + f"self-service-profiles/{quote_path_param(id)}/custom-text/{quote_path_param(language)}/{quote_path_param(page)}", method="PUT", json=request, request_options=request_options, diff --git a/src/auth0/management/self_service_profiles/raw_client.py b/src/auth0/management/self_service_profiles/raw_client.py index 099a9731..a66ee4ce 100644 --- a/src/auth0/management/self_service_profiles/raw_client.py +++ b/src/auth0/management/self_service_profiles/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -94,7 +94,7 @@ def list( ), ) _items = _parsed_response.self_service_profiles - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -324,7 +324,7 @@ def get( Record for existing self-service profile. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -430,7 +430,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -545,13 +545,13 @@ def update( Self-service profile successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, "description": description, "branding": convert_and_respect_annotation_metadata( - object_=branding, annotation=SelfServiceProfileBranding, direction="write" + object_=branding, annotation=typing.Optional[SelfServiceProfileBranding], direction="write" ), "allowed_strategies": allowed_strategies, "user_attributes": convert_and_respect_annotation_metadata( @@ -709,7 +709,7 @@ async def list( ), ) _items = _parsed_response.self_service_profiles - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -942,7 +942,7 @@ async def get( Record for existing self-service profile. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1050,7 +1050,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1165,13 +1165,13 @@ async def update( Self-service profile successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}", + f"self-service-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, "description": description, "branding": convert_and_respect_annotation_metadata( - object_=branding, annotation=SelfServiceProfileBranding, direction="write" + object_=branding, annotation=typing.Optional[SelfServiceProfileBranding], direction="write" ), "allowed_strategies": allowed_strategies, "user_attributes": convert_and_respect_annotation_metadata( diff --git a/src/auth0/management/self_service_profiles/sso_ticket/client.py b/src/auth0/management/self_service_profiles/sso_ticket/client.py index 9d111552..fadf46db 100644 --- a/src/auth0/management/self_service_profiles/sso_ticket/client.py +++ b/src/auth0/management/self_service_profiles/sso_ticket/client.py @@ -14,6 +14,10 @@ from ...types.self_service_profile_sso_ticket_enabled_features import SelfServiceProfileSsoTicketEnabledFeatures from ...types.self_service_profile_sso_ticket_enabled_organization import SelfServiceProfileSsoTicketEnabledOrganization from ...types.self_service_profile_sso_ticket_provisioning_config import SelfServiceProfileSsoTicketProvisioningConfig +from ...types.self_service_profile_sso_ticket_universal_logout_config import ( + SelfServiceProfileSsoTicketUniversalLogoutConfig, +) +from ...types.third_party_client_access_config import ThirdPartyClientAccessConfig from .raw_client import AsyncRawSsoTicketClient, RawSsoTicketClient # this is used as the default value for optional parameters @@ -47,6 +51,8 @@ def create( domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, use_for_organization_discovery: typing.Optional[bool] = OMIT, + third_party_client_access_config: typing.Optional[ThirdPartyClientAccessConfig] = OMIT, + universal_logout_config: typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] = OMIT, enabled_features: typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateSelfServiceProfileSsoTicketResponseContent: @@ -79,6 +85,10 @@ def create( use_for_organization_discovery : typing.Optional[bool] Indicates whether a verified domain should be used for organization discovery during authentication. + third_party_client_access_config : typing.Optional[ThirdPartyClientAccessConfig] + + universal_logout_config : typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] + enabled_features : typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] request_options : typing.Optional[RequestOptions] @@ -110,6 +120,8 @@ def create( domain_aliases_config=domain_aliases_config, provisioning_config=provisioning_config, use_for_organization_discovery=use_for_organization_discovery, + third_party_client_access_config=third_party_client_access_config, + universal_logout_config=universal_logout_config, enabled_features=enabled_features, request_options=request_options, ) @@ -178,6 +190,8 @@ async def create( domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, use_for_organization_discovery: typing.Optional[bool] = OMIT, + third_party_client_access_config: typing.Optional[ThirdPartyClientAccessConfig] = OMIT, + universal_logout_config: typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] = OMIT, enabled_features: typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateSelfServiceProfileSsoTicketResponseContent: @@ -210,6 +224,10 @@ async def create( use_for_organization_discovery : typing.Optional[bool] Indicates whether a verified domain should be used for organization discovery during authentication. + third_party_client_access_config : typing.Optional[ThirdPartyClientAccessConfig] + + universal_logout_config : typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] + enabled_features : typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] request_options : typing.Optional[RequestOptions] @@ -249,6 +267,8 @@ async def main() -> None: domain_aliases_config=domain_aliases_config, provisioning_config=provisioning_config, use_for_organization_discovery=use_for_organization_discovery, + third_party_client_access_config=third_party_client_access_config, + universal_logout_config=universal_logout_config, enabled_features=enabled_features, request_options=request_options, ) diff --git a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py index bfa07ab0..fa0021d9 100644 --- a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py +++ b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -26,6 +26,10 @@ from ...types.self_service_profile_sso_ticket_enabled_features import SelfServiceProfileSsoTicketEnabledFeatures from ...types.self_service_profile_sso_ticket_enabled_organization import SelfServiceProfileSsoTicketEnabledOrganization from ...types.self_service_profile_sso_ticket_provisioning_config import SelfServiceProfileSsoTicketProvisioningConfig +from ...types.self_service_profile_sso_ticket_universal_logout_config import ( + SelfServiceProfileSsoTicketUniversalLogoutConfig, +) +from ...types.third_party_client_access_config import ThirdPartyClientAccessConfig from pydantic import ValidationError # this is used as the default value for optional parameters @@ -48,6 +52,8 @@ def create( domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, use_for_organization_discovery: typing.Optional[bool] = OMIT, + third_party_client_access_config: typing.Optional[ThirdPartyClientAccessConfig] = OMIT, + universal_logout_config: typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] = OMIT, enabled_features: typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateSelfServiceProfileSsoTicketResponseContent]: @@ -80,6 +86,10 @@ def create( use_for_organization_discovery : typing.Optional[bool] Indicates whether a verified domain should be used for organization discovery during authentication. + third_party_client_access_config : typing.Optional[ThirdPartyClientAccessConfig] + + universal_logout_config : typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] + enabled_features : typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] request_options : typing.Optional[RequestOptions] @@ -91,7 +101,7 @@ def create( Self-Service Enterprise Configuration Access Ticket successfully created. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/sso-ticket", + f"self-service-profiles/{quote_path_param(id)}/sso-ticket", method="POST", json={ "connection_id": connection_id, @@ -116,6 +126,14 @@ def create( direction="write", ), "use_for_organization_discovery": use_for_organization_discovery, + "third_party_client_access_config": convert_and_respect_annotation_metadata( + object_=third_party_client_access_config, annotation=ThirdPartyClientAccessConfig, direction="write" + ), + "universal_logout_config": convert_and_respect_annotation_metadata( + object_=universal_logout_config, + annotation=SelfServiceProfileSsoTicketUniversalLogoutConfig, + direction="write", + ), "enabled_features": convert_and_respect_annotation_metadata( object_=enabled_features, annotation=SelfServiceProfileSsoTicketEnabledFeatures, direction="write" ), @@ -223,7 +241,7 @@ def revoke( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(profile_id)}/sso-ticket/{encode_path_param(id)}/revoke", + f"self-service-profiles/{quote_path_param(profile_id)}/sso-ticket/{quote_path_param(id)}/revoke", method="POST", request_options=request_options, ) @@ -289,6 +307,8 @@ async def create( domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, use_for_organization_discovery: typing.Optional[bool] = OMIT, + third_party_client_access_config: typing.Optional[ThirdPartyClientAccessConfig] = OMIT, + universal_logout_config: typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] = OMIT, enabled_features: typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateSelfServiceProfileSsoTicketResponseContent]: @@ -321,6 +341,10 @@ async def create( use_for_organization_discovery : typing.Optional[bool] Indicates whether a verified domain should be used for organization discovery during authentication. + third_party_client_access_config : typing.Optional[ThirdPartyClientAccessConfig] + + universal_logout_config : typing.Optional[SelfServiceProfileSsoTicketUniversalLogoutConfig] + enabled_features : typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures] request_options : typing.Optional[RequestOptions] @@ -332,7 +356,7 @@ async def create( Self-Service Enterprise Configuration Access Ticket successfully created. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(id)}/sso-ticket", + f"self-service-profiles/{quote_path_param(id)}/sso-ticket", method="POST", json={ "connection_id": connection_id, @@ -357,6 +381,14 @@ async def create( direction="write", ), "use_for_organization_discovery": use_for_organization_discovery, + "third_party_client_access_config": convert_and_respect_annotation_metadata( + object_=third_party_client_access_config, annotation=ThirdPartyClientAccessConfig, direction="write" + ), + "universal_logout_config": convert_and_respect_annotation_metadata( + object_=universal_logout_config, + annotation=SelfServiceProfileSsoTicketUniversalLogoutConfig, + direction="write", + ), "enabled_features": convert_and_respect_annotation_metadata( object_=enabled_features, annotation=SelfServiceProfileSsoTicketEnabledFeatures, direction="write" ), @@ -464,7 +496,7 @@ async def revoke( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{encode_path_param(profile_id)}/sso-ticket/{encode_path_param(id)}/revoke", + f"self-service-profiles/{quote_path_param(profile_id)}/sso-ticket/{quote_path_param(id)}/revoke", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/sessions/raw_client.py b/src/auth0/management/sessions/raw_client.py index cac497bb..7b02ade0 100644 --- a/src/auth0/management/sessions/raw_client.py +++ b/src/auth0/management/sessions/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -48,7 +48,7 @@ def get( The session was retrieved """ _response = self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -132,7 +132,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -219,7 +219,7 @@ def update( Session successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="PATCH", json={ "session_metadata": session_metadata, @@ -321,7 +321,7 @@ def revoke(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}/revoke", + f"sessions/{quote_path_param(id)}/revoke", method="POST", request_options=request_options, ) @@ -417,7 +417,7 @@ async def get( The session was retrieved """ _response = await self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -503,7 +503,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -590,7 +590,7 @@ async def update( Session successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}", + f"sessions/{quote_path_param(id)}", method="PATCH", json={ "session_metadata": session_metadata, @@ -694,7 +694,7 @@ async def revoke( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"sessions/{encode_path_param(id)}/revoke", + f"sessions/{quote_path_param(id)}/revoke", method="POST", request_options=request_options, ) diff --git a/src/auth0/management/tenants/settings/client.py b/src/auth0/management/tenants/settings/client.py index addde4b9..3163173e 100644 --- a/src/auth0/management/tenants/settings/client.py +++ b/src/auth0/management/tenants/settings/client.py @@ -6,6 +6,7 @@ from ...core.request_options import RequestOptions from ...types.default_token_quota import DefaultTokenQuota from ...types.get_tenant_settings_response_content import GetTenantSettingsResponseContent +from ...types.resource_server_access_token import ResourceServerAccessToken from ...types.session_cookie_schema import SessionCookieSchema from ...types.tenant_oidc_logout_settings import TenantOidcLogoutSettings from ...types.tenant_settings_country_codes import TenantSettingsCountryCodes @@ -113,6 +114,7 @@ def update( legacy_sandbox_version: typing.Optional[str] = OMIT, default_redirection_uri: typing.Optional[str] = OMIT, enabled_locales: typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = OMIT, session_cookie: typing.Optional[SessionCookieSchema] = OMIT, sessions: typing.Optional[TenantSettingsSessions] = OMIT, @@ -123,9 +125,11 @@ def update( mtls: typing.Optional[TenantSettingsMtls] = OMIT, pushed_authorization_requests_supported: typing.Optional[bool] = OMIT, authorization_response_iss_parameter_supported: typing.Optional[bool] = OMIT, + dpop_strict_refresh_token_binding: typing.Optional[bool] = OMIT, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, client_id_metadata_document_supported: typing.Optional[bool] = OMIT, + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = OMIT, enable_ai_guide: typing.Optional[bool] = OMIT, phone_consolidated_experience: typing.Optional[bool] = OMIT, include_session_metadata_in_tenant_logs: typing.Optional[bool] = OMIT, @@ -210,6 +214,8 @@ def update( enabled_locales : typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] Supported locales for the user interface + access_token : typing.Optional[ResourceServerAccessToken] + security_headers : typing.Optional[TenantSettingsNullableSecurityHeaders] session_cookie : typing.Optional[SessionCookieSchema] @@ -235,6 +241,9 @@ def update( authorization_response_iss_parameter_supported : typing.Optional[bool] Supports iss parameter in authorization responses + dpop_strict_refresh_token_binding : typing.Optional[bool] + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool] Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. @@ -245,6 +254,9 @@ def update( client_id_metadata_document_supported : typing.Optional[bool] Whether the authorization server supports retrieving client metadata from a client_id URL. + client_id_metadata_document_dynamic_registration_supported : typing.Optional[bool] + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + enable_ai_guide : typing.Optional[bool] Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. @@ -301,6 +313,7 @@ def update( legacy_sandbox_version=legacy_sandbox_version, default_redirection_uri=default_redirection_uri, enabled_locales=enabled_locales, + access_token=access_token, security_headers=security_headers, session_cookie=session_cookie, sessions=sessions, @@ -311,9 +324,11 @@ def update( mtls=mtls, pushed_authorization_requests_supported=pushed_authorization_requests_supported, authorization_response_iss_parameter_supported=authorization_response_iss_parameter_supported, + dpop_strict_refresh_token_binding=dpop_strict_refresh_token_binding, skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt, resource_parameter_profile=resource_parameter_profile, client_id_metadata_document_supported=client_id_metadata_document_supported, + client_id_metadata_document_dynamic_registration_supported=client_id_metadata_document_dynamic_registration_supported, enable_ai_guide=enable_ai_guide, phone_consolidated_experience=phone_consolidated_experience, include_session_metadata_in_tenant_logs=include_session_metadata_in_tenant_logs, @@ -418,6 +433,7 @@ async def update( legacy_sandbox_version: typing.Optional[str] = OMIT, default_redirection_uri: typing.Optional[str] = OMIT, enabled_locales: typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = OMIT, session_cookie: typing.Optional[SessionCookieSchema] = OMIT, sessions: typing.Optional[TenantSettingsSessions] = OMIT, @@ -428,9 +444,11 @@ async def update( mtls: typing.Optional[TenantSettingsMtls] = OMIT, pushed_authorization_requests_supported: typing.Optional[bool] = OMIT, authorization_response_iss_parameter_supported: typing.Optional[bool] = OMIT, + dpop_strict_refresh_token_binding: typing.Optional[bool] = OMIT, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, client_id_metadata_document_supported: typing.Optional[bool] = OMIT, + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = OMIT, enable_ai_guide: typing.Optional[bool] = OMIT, phone_consolidated_experience: typing.Optional[bool] = OMIT, include_session_metadata_in_tenant_logs: typing.Optional[bool] = OMIT, @@ -515,6 +533,8 @@ async def update( enabled_locales : typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] Supported locales for the user interface + access_token : typing.Optional[ResourceServerAccessToken] + security_headers : typing.Optional[TenantSettingsNullableSecurityHeaders] session_cookie : typing.Optional[SessionCookieSchema] @@ -540,6 +560,9 @@ async def update( authorization_response_iss_parameter_supported : typing.Optional[bool] Supports iss parameter in authorization responses + dpop_strict_refresh_token_binding : typing.Optional[bool] + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool] Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. @@ -550,6 +573,9 @@ async def update( client_id_metadata_document_supported : typing.Optional[bool] Whether the authorization server supports retrieving client metadata from a client_id URL. + client_id_metadata_document_dynamic_registration_supported : typing.Optional[bool] + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + enable_ai_guide : typing.Optional[bool] Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. @@ -614,6 +640,7 @@ async def main() -> None: legacy_sandbox_version=legacy_sandbox_version, default_redirection_uri=default_redirection_uri, enabled_locales=enabled_locales, + access_token=access_token, security_headers=security_headers, session_cookie=session_cookie, sessions=sessions, @@ -624,9 +651,11 @@ async def main() -> None: mtls=mtls, pushed_authorization_requests_supported=pushed_authorization_requests_supported, authorization_response_iss_parameter_supported=authorization_response_iss_parameter_supported, + dpop_strict_refresh_token_binding=dpop_strict_refresh_token_binding, skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt, resource_parameter_profile=resource_parameter_profile, client_id_metadata_document_supported=client_id_metadata_document_supported, + client_id_metadata_document_dynamic_registration_supported=client_id_metadata_document_dynamic_registration_supported, enable_ai_guide=enable_ai_guide, phone_consolidated_experience=phone_consolidated_experience, include_session_metadata_in_tenant_logs=include_session_metadata_in_tenant_logs, diff --git a/src/auth0/management/tenants/settings/raw_client.py b/src/auth0/management/tenants/settings/raw_client.py index c2fc28ab..036d228f 100644 --- a/src/auth0/management/tenants/settings/raw_client.py +++ b/src/auth0/management/tenants/settings/raw_client.py @@ -16,6 +16,7 @@ from ...errors.unauthorized_error import UnauthorizedError from ...types.default_token_quota import DefaultTokenQuota from ...types.get_tenant_settings_response_content import GetTenantSettingsResponseContent +from ...types.resource_server_access_token import ResourceServerAccessToken from ...types.session_cookie_schema import SessionCookieSchema from ...types.tenant_oidc_logout_settings import TenantOidcLogoutSettings from ...types.tenant_settings_country_codes import TenantSettingsCountryCodes @@ -169,6 +170,7 @@ def update( legacy_sandbox_version: typing.Optional[str] = OMIT, default_redirection_uri: typing.Optional[str] = OMIT, enabled_locales: typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = OMIT, session_cookie: typing.Optional[SessionCookieSchema] = OMIT, sessions: typing.Optional[TenantSettingsSessions] = OMIT, @@ -179,9 +181,11 @@ def update( mtls: typing.Optional[TenantSettingsMtls] = OMIT, pushed_authorization_requests_supported: typing.Optional[bool] = OMIT, authorization_response_iss_parameter_supported: typing.Optional[bool] = OMIT, + dpop_strict_refresh_token_binding: typing.Optional[bool] = OMIT, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, client_id_metadata_document_supported: typing.Optional[bool] = OMIT, + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = OMIT, enable_ai_guide: typing.Optional[bool] = OMIT, phone_consolidated_experience: typing.Optional[bool] = OMIT, include_session_metadata_in_tenant_logs: typing.Optional[bool] = OMIT, @@ -266,6 +270,8 @@ def update( enabled_locales : typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] Supported locales for the user interface + access_token : typing.Optional[ResourceServerAccessToken] + security_headers : typing.Optional[TenantSettingsNullableSecurityHeaders] session_cookie : typing.Optional[SessionCookieSchema] @@ -291,6 +297,9 @@ def update( authorization_response_iss_parameter_supported : typing.Optional[bool] Supports iss parameter in authorization responses + dpop_strict_refresh_token_binding : typing.Optional[bool] + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool] Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. @@ -301,6 +310,9 @@ def update( client_id_metadata_document_supported : typing.Optional[bool] Whether the authorization server supports retrieving client metadata from a client_id URL. + client_id_metadata_document_dynamic_registration_supported : typing.Optional[bool] + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + enable_ai_guide : typing.Optional[bool] Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. @@ -363,6 +375,9 @@ def update( "legacy_sandbox_version": legacy_sandbox_version, "default_redirection_uri": default_redirection_uri, "enabled_locales": enabled_locales, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "security_headers": convert_and_respect_annotation_metadata( object_=security_headers, annotation=typing.Optional[TenantSettingsNullableSecurityHeaders], @@ -385,9 +400,11 @@ def update( ), "pushed_authorization_requests_supported": pushed_authorization_requests_supported, "authorization_response_iss_parameter_supported": authorization_response_iss_parameter_supported, + "dpop_strict_refresh_token_binding": dpop_strict_refresh_token_binding, "skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt, "resource_parameter_profile": resource_parameter_profile, "client_id_metadata_document_supported": client_id_metadata_document_supported, + "client_id_metadata_document_dynamic_registration_supported": client_id_metadata_document_dynamic_registration_supported, "enable_ai_guide": enable_ai_guide, "phone_consolidated_experience": phone_consolidated_experience, "include_session_metadata_in_tenant_logs": include_session_metadata_in_tenant_logs, @@ -596,6 +613,7 @@ async def update( legacy_sandbox_version: typing.Optional[str] = OMIT, default_redirection_uri: typing.Optional[str] = OMIT, enabled_locales: typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] = OMIT, + access_token: typing.Optional[ResourceServerAccessToken] = OMIT, security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = OMIT, session_cookie: typing.Optional[SessionCookieSchema] = OMIT, sessions: typing.Optional[TenantSettingsSessions] = OMIT, @@ -606,9 +624,11 @@ async def update( mtls: typing.Optional[TenantSettingsMtls] = OMIT, pushed_authorization_requests_supported: typing.Optional[bool] = OMIT, authorization_response_iss_parameter_supported: typing.Optional[bool] = OMIT, + dpop_strict_refresh_token_binding: typing.Optional[bool] = OMIT, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, client_id_metadata_document_supported: typing.Optional[bool] = OMIT, + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = OMIT, enable_ai_guide: typing.Optional[bool] = OMIT, phone_consolidated_experience: typing.Optional[bool] = OMIT, include_session_metadata_in_tenant_logs: typing.Optional[bool] = OMIT, @@ -693,6 +713,8 @@ async def update( enabled_locales : typing.Optional[typing.Sequence[TenantSettingsSupportedLocalesEnum]] Supported locales for the user interface + access_token : typing.Optional[ResourceServerAccessToken] + security_headers : typing.Optional[TenantSettingsNullableSecurityHeaders] session_cookie : typing.Optional[SessionCookieSchema] @@ -718,6 +740,9 @@ async def update( authorization_response_iss_parameter_supported : typing.Optional[bool] Supports iss parameter in authorization responses + dpop_strict_refresh_token_binding : typing.Optional[bool] + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool] Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. @@ -728,6 +753,9 @@ async def update( client_id_metadata_document_supported : typing.Optional[bool] Whether the authorization server supports retrieving client metadata from a client_id URL. + client_id_metadata_document_dynamic_registration_supported : typing.Optional[bool] + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + enable_ai_guide : typing.Optional[bool] Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. @@ -790,6 +818,9 @@ async def update( "legacy_sandbox_version": legacy_sandbox_version, "default_redirection_uri": default_redirection_uri, "enabled_locales": enabled_locales, + "access_token": convert_and_respect_annotation_metadata( + object_=access_token, annotation=typing.Optional[ResourceServerAccessToken], direction="write" + ), "security_headers": convert_and_respect_annotation_metadata( object_=security_headers, annotation=typing.Optional[TenantSettingsNullableSecurityHeaders], @@ -812,9 +843,11 @@ async def update( ), "pushed_authorization_requests_supported": pushed_authorization_requests_supported, "authorization_response_iss_parameter_supported": authorization_response_iss_parameter_supported, + "dpop_strict_refresh_token_binding": dpop_strict_refresh_token_binding, "skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt, "resource_parameter_profile": resource_parameter_profile, "client_id_metadata_document_supported": client_id_metadata_document_supported, + "client_id_metadata_document_dynamic_registration_supported": client_id_metadata_document_dynamic_registration_supported, "enable_ai_guide": enable_ai_guide, "phone_consolidated_experience": phone_consolidated_experience, "include_session_metadata_in_tenant_logs": include_session_metadata_in_tenant_logs, diff --git a/src/auth0/management/token_exchange_profiles/raw_client.py b/src/auth0/management/token_exchange_profiles/raw_client.py index 31515b33..9dcd5062 100644 --- a/src/auth0/management/token_exchange_profiles/raw_client.py +++ b/src/auth0/management/token_exchange_profiles/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -293,7 +293,7 @@ def get( Token Exchange Profile successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -390,7 +390,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -471,7 +471,7 @@ def update( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -830,7 +830,7 @@ async def get( Token Exchange Profile successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -929,7 +929,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1010,7 +1010,7 @@ async def update( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"token-exchange-profiles/{encode_path_param(id)}", + f"token-exchange-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/types/__init__.py b/src/auth0/management/types/__init__.py index b77fe649..49a0ee06 100644 --- a/src/auth0/management/types/__init__.py +++ b/src/auth0/management/types/__init__.py @@ -59,7 +59,14 @@ from .acul_organization_metadata import AculOrganizationMetadata from .acul_rendering_mode_enum import AculRenderingModeEnum from .add_organization_connection_response_content import AddOrganizationConnectionResponseContent + from .advance_ramp_response_content import AdvanceRampResponseContent + from .agent_metadata import AgentMetadata + from .agent_response_content import AgentResponseContent + from .allocation_item import AllocationItem + from .allocation_request_item import AllocationRequestItem + from .allocation_strategy_enum import AllocationStrategyEnum from .anomaly_ip_format import AnomalyIpFormat + from .anonymous_sessions import AnonymousSessions from .app_metadata import AppMetadata from .assessors_type_enum import AssessorsTypeEnum from .associate_organization_client_grant_response_content import AssociateOrganizationClientGrantResponseContent @@ -88,8 +95,11 @@ from .attack_protection_update_captcha_hcaptcha import AttackProtectionUpdateCaptchaHcaptcha from .attack_protection_update_captcha_recaptcha_enterprise import AttackProtectionUpdateCaptchaRecaptchaEnterprise from .attack_protection_update_captcha_recaptcha_v_2 import AttackProtectionUpdateCaptchaRecaptchaV2 + from .authentication_flow_enum import AuthenticationFlowEnum from .authentication_method_type_enum import AuthenticationMethodTypeEnum from .authentication_type_enum import AuthenticationTypeEnum + from .b_2_b_integration_configuration import B2BIntegrationConfiguration + from .b_2_b_integration_configuration_integration_type_enum import B2BIntegrationConfigurationIntegrationTypeEnum from .bad_request_schema import BadRequestSchema from .bad_request_schema_error import BadRequestSchemaError from .bot_detection_allowlist import BotDetectionAllowlist @@ -121,6 +131,13 @@ from .branding_theme_font_subtitle import BrandingThemeFontSubtitle from .branding_theme_font_title import BrandingThemeFontTitle from .branding_theme_fonts import BrandingThemeFonts + from .branding_theme_identifiers import BrandingThemeIdentifiers + from .branding_theme_identifiers_login_display_enum import BrandingThemeIdentifiersLoginDisplayEnum + from .branding_theme_identifiers_phone_display import BrandingThemeIdentifiersPhoneDisplay + from .branding_theme_identifiers_phone_display_formatting_enum import ( + BrandingThemeIdentifiersPhoneDisplayFormattingEnum, + ) + from .branding_theme_identifiers_phone_display_masking_enum import BrandingThemeIdentifiersPhoneDisplayMaskingEnum from .branding_theme_page_background import BrandingThemePageBackground from .branding_theme_page_background_page_layout_enum import BrandingThemePageBackgroundPageLayoutEnum from .branding_theme_widget import BrandingThemeWidget @@ -143,6 +160,7 @@ ) from .breached_password_detection_shields_enum import BreachedPasswordDetectionShieldsEnum from .breached_password_detection_stage import BreachedPasswordDetectionStage + from .brute_force_protection_form_submission_mode_enum import BruteForceProtectionFormSubmissionModeEnum from .brute_force_protection_mode_enum import BruteForceProtectionModeEnum from .brute_force_protection_shields_enum import BruteForceProtectionShieldsEnum from .bulk_update_acul_response_content import BulkUpdateAculResponseContent @@ -150,6 +168,7 @@ from .certificate_subject_dn_credential_type_enum import CertificateSubjectDnCredentialTypeEnum from .change_password_ticket_identity import ChangePasswordTicketIdentity from .change_password_ticket_response_content import ChangePasswordTicketResponseContent + from .cimd_external_metadata_created_by_enum import CimdExternalMetadataCreatedByEnum from .cimd_mapped_client_authentication_methods import CimdMappedClientAuthenticationMethods from .cimd_mapped_client_authentication_methods_private_key_jwt import ( CimdMappedClientAuthenticationMethodsPrivateKeyJwt, @@ -191,6 +210,7 @@ from .client_addon_zendesk import ClientAddonZendesk from .client_addon_zoom import ClientAddonZoom from .client_addons import ClientAddons + from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_patch_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration, @@ -230,12 +250,14 @@ from .client_default_organization_flows_enum import ClientDefaultOrganizationFlowsEnum from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum + from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_grant_allow_any_organization_enum import ClientGrantAllowAnyOrganizationEnum from .client_grant_default_for_enum import ClientGrantDefaultForEnum from .client_grant_organization_nullable_usage_enum import ClientGrantOrganizationNullableUsageEnum from .client_grant_organization_usage_enum import ClientGrantOrganizationUsageEnum from .client_grant_response_content import ClientGrantResponseContent + from .client_grant_sort_field_enum import ClientGrantSortFieldEnum from .client_grant_subject_type_enum import ClientGrantSubjectTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_jwt_configuration_scopes import ClientJwtConfigurationScopes @@ -246,23 +268,81 @@ from .client_my_organization_configuration_allowed_strategies_enum import ( ClientMyOrganizationConfigurationAllowedStrategiesEnum, ) + from .client_my_organization_configuration_third_party_client_access_allowed_values_enum import ( + ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum, + ) + from .client_my_organization_configuration_third_party_client_access_default_value_enum import ( + ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum, + ) from .client_my_organization_deletion_behavior_enum import ClientMyOrganizationDeletionBehaviorEnum from .client_my_organization_patch_configuration import ClientMyOrganizationPatchConfiguration from .client_my_organization_post_configuration import ClientMyOrganizationPostConfiguration from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration + from .client_my_organization_third_party_client_access_configuration import ( + ClientMyOrganizationThirdPartyClientAccessConfiguration, + ) from .client_oidc_backchannel_logout_initiators import ClientOidcBackchannelLogoutInitiators from .client_oidc_backchannel_logout_initiators_enum import ClientOidcBackchannelLogoutInitiatorsEnum from .client_oidc_backchannel_logout_initiators_mode_enum import ClientOidcBackchannelLogoutInitiatorsModeEnum from .client_oidc_backchannel_logout_session_metadata import ClientOidcBackchannelLogoutSessionMetadata from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings + from .client_oidc_support import ClientOidcSupport + from .client_oidc_support_allowed_scopes_enum import ClientOidcSupportAllowedScopesEnum + from .client_oidc_support_patch import ClientOidcSupportPatch + from .client_oidc_support_post import ClientOidcSupportPost from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_require_behavior_patch_enum import ClientOrganizationRequireBehaviorPatchEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum from .client_organization_usage_patch_enum import ClientOrganizationUsagePatchEnum + from .client_profile import ClientProfile + from .client_profile_apply_policy import ClientProfileApplyPolicy + from .client_profile_apply_policy_external_metadata_created_by_enum import ( + ClientProfileApplyPolicyExternalMetadataCreatedByEnum, + ) + from .client_profile_apply_policy_external_metadata_type_enum import ( + ClientProfileApplyPolicyExternalMetadataTypeEnum, + ) + from .client_profile_client_configuration import ClientProfileClientConfiguration + from .client_profile_client_configuration_oidc_support import ClientProfileClientConfigurationOidcSupport + from .client_profile_client_configuration_oidc_support_allowed_scopes_enum import ( + ClientProfileClientConfigurationOidcSupportAllowedScopesEnum, + ) + from .client_profile_client_configuration_oidc_support_default_value import ( + ClientProfileClientConfigurationOidcSupportDefaultValue, + ) + from .client_profile_client_configuration_organization_discovery_method_enum import ( + ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum, + ) + from .client_profile_client_configuration_organization_discovery_methods import ( + ClientProfileClientConfigurationOrganizationDiscoveryMethods, + ) + from .client_profile_client_configuration_organization_require_behavior import ( + ClientProfileClientConfigurationOrganizationRequireBehavior, + ) + from .client_profile_client_configuration_organization_require_behavior_enum import ( + ClientProfileClientConfigurationOrganizationRequireBehaviorEnum, + ) + from .client_profile_client_configuration_organization_usage import ( + ClientProfileClientConfigurationOrganizationUsage, + ) + from .client_profile_client_configuration_organization_usage_enum import ( + ClientProfileClientConfigurationOrganizationUsageEnum, + ) + from .client_profile_client_configuration_refresh_token import ClientProfileClientConfigurationRefreshToken + from .client_profile_client_configuration_require_proof_of_possession import ( + ClientProfileClientConfigurationRequireProofOfPossession, + ) + from .client_profile_description import ClientProfileDescription + from .client_profile_id import ClientProfileId + from .client_profile_name import ClientProfileName + from .client_profile_refresh_token_idle_token_lifetime import ClientProfileRefreshTokenIdleTokenLifetime + from .client_profile_refresh_token_leeway import ClientProfileRefreshTokenLeeway + from .client_profile_refresh_token_token_lifetime import ClientProfileRefreshTokenTokenLifetime from .client_redirection_policy_enum import ClientRedirectionPolicyEnum from .client_refresh_token_configuration import ClientRefreshTokenConfiguration from .client_refresh_token_policy import ClientRefreshTokenPolicy + from .client_search_response import ClientSearchResponse from .client_session_transfer_allowed_authentication_methods_enum import ( ClientSessionTransferAllowedAuthenticationMethodsEnum, ) @@ -274,6 +354,7 @@ from .client_signed_request_object_with_public_key import ClientSignedRequestObjectWithPublicKey from .client_signing_key import ClientSigningKey from .client_signing_keys import ClientSigningKeys + from .client_sort_field_enum import ClientSortFieldEnum from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum from .client_token_endpoint_auth_method_or_null_enum import ClientTokenEndpointAuthMethodOrNullEnum @@ -284,6 +365,8 @@ ClientTokenVaultPrivilegedAccessWithCredentialId, ) from .client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey + from .conflict_schema import ConflictSchema + from .conflict_schema_error import ConflictSchemaError from .connected_account import ConnectedAccount from .connected_account_access_type_enum import ConnectedAccountAccessTypeEnum from .connection_access_token_urlo_auth_1 import ConnectionAccessTokenUrloAuth1 @@ -305,7 +388,6 @@ ConnectionAssertionDecryptionAlgorithmProfileEnum, ) from .connection_assertion_decryption_settings import ConnectionAssertionDecryptionSettings - from .connection_attribute_identifier import ConnectionAttributeIdentifier from .connection_attribute_map_attributes import ConnectionAttributeMapAttributes from .connection_attribute_map_oidc import ConnectionAttributeMapOidc from .connection_attribute_map_okta import ConnectionAttributeMapOkta @@ -341,6 +423,7 @@ from .connection_client_id_oidc import ConnectionClientIdOidc from .connection_client_id_paypal import ConnectionClientIdPaypal from .connection_client_id_salesforce import ConnectionClientIdSalesforce + from .connection_client_id_samlxaa_requesting_app import ConnectionClientIdSamlxaaRequestingApp from .connection_client_id_windows_live import ConnectionClientIdWindowsLive from .connection_client_protocol_saml import ConnectionClientProtocolSaml from .connection_client_secret import ConnectionClientSecret @@ -358,6 +441,7 @@ from .connection_client_secret_oidc import ConnectionClientSecretOidc from .connection_client_secret_paypal import ConnectionClientSecretPaypal from .connection_client_secret_salesforce import ConnectionClientSecretSalesforce + from .connection_client_secret_samlxaa_requesting_app import ConnectionClientSecretSamlxaaRequestingApp from .connection_client_secret_windows_live import ConnectionClientSecretWindowsLive from .connection_common import ConnectionCommon from .connection_community_base_url_salesforce import ConnectionCommunityBaseUrlSalesforce @@ -366,6 +450,8 @@ from .connection_connected_accounts_purpose_xaa import ConnectionConnectedAccountsPurposeXaa from .connection_connection_settings import ConnectionConnectionSettings from .connection_connection_settings_pkce_enum import ConnectionConnectionSettingsPkceEnum + from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp + from .connection_cross_app_access_resource_app_status_enum import ConnectionCrossAppAccessResourceAppStatusEnum from .connection_custom_headers_o_auth_2 import ConnectionCustomHeadersOAuth2 from .connection_custom_scripts import ConnectionCustomScripts from .connection_debug_saml import ConnectionDebugSaml @@ -395,6 +481,7 @@ from .connection_email_from_email import ConnectionEmailFromEmail from .connection_email_otp_authentication_method import ConnectionEmailOtpAuthenticationMethod from .connection_email_subject_email import ConnectionEmailSubjectEmail + from .connection_enable_pushed_authorization_requests import ConnectionEnablePushedAuthorizationRequests from .connection_enable_script_context import ConnectionEnableScriptContext from .connection_enabled_client import ConnectionEnabledClient from .connection_enabled_clients import ConnectionEnabledClients @@ -412,7 +499,6 @@ from .connection_ext_is_suspended import ConnectionExtIsSuspended from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps from .connection_ext_profile import ConnectionExtProfile - from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens from .connection_fields_map import ConnectionFieldsMap from .connection_fields_map_saml import ConnectionFieldsMapSaml from .connection_fields_map_saml_value import ConnectionFieldsMapSamlValue @@ -550,6 +636,8 @@ from .connection_options_wordpress import ConnectionOptionsWordpress from .connection_options_yahoo import ConnectionOptionsYahoo from .connection_options_yandex import ConnectionOptionsYandex + from .connection_otp_channel_settings import ConnectionOtpChannelSettings + from .connection_otp_settings import ConnectionOtpSettings from .connection_passkey_authentication_method import ConnectionPasskeyAuthenticationMethod from .connection_passkey_challenge_ui_enum import ConnectionPasskeyChallengeUiEnum from .connection_passkey_options import ConnectionPasskeyOptions @@ -570,6 +658,19 @@ from .connection_profile import ConnectionProfile from .connection_profile_bitbucket import ConnectionProfileBitbucket from .connection_profile_config import ConnectionProfileConfig + from .connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp + from .connection_profile_cross_app_access_resource_app_status import ( + ConnectionProfileCrossAppAccessResourceAppStatus, + ) + from .connection_profile_cross_app_access_resource_app_status_allowed_values_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum, + ) + from .connection_profile_cross_app_access_resource_app_status_default_value_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum, + ) + from .connection_profile_cross_app_access_resource_app_status_value_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusValueEnum, + ) from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_id import ConnectionProfileId from .connection_profile_name import ConnectionProfileName @@ -578,6 +679,21 @@ ConnectionProfileOrganizationAssignMembershipOnLoginEnum, ) from .connection_profile_organization_show_as_button_enum import ConnectionProfileOrganizationShowAsButtonEnum + from .connection_profile_provisioning import ConnectionProfileProvisioning + from .connection_profile_provisioning_google_workspace import ConnectionProfileProvisioningGoogleWorkspace + from .connection_profile_provisioning_google_workspace_sync_users import ( + ConnectionProfileProvisioningGoogleWorkspaceSyncUsers, + ) + from .connection_profile_provisioning_scim import ConnectionProfileProvisioningScim + from .connection_profile_provisioning_scim_token_default_expiry import ( + ConnectionProfileProvisioningScimTokenDefaultExpiry, + ) + from .connection_profile_provisioning_scim_token_max_allowed_expiry import ( + ConnectionProfileProvisioningScimTokenMaxAllowedExpiry, + ) + from .connection_profile_provisioning_scim_token_scope_enum import ConnectionProfileProvisioningScimTokenScopeEnum + from .connection_profile_provisioning_scim_token_scopes import ConnectionProfileProvisioningScimTokenScopes + from .connection_profile_provisioning_scim_tokens import ConnectionProfileProvisioningScimTokens from .connection_profile_strategy_override import ConnectionProfileStrategyOverride from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides from .connection_profile_strategy_overrides_connection_config import ( @@ -586,6 +702,7 @@ from .connection_profile_strategy_overrides_enabled_features import ( ConnectionProfileStrategyOverridesEnabledFeatures, ) + from .connection_profile_strategy_overrides_provisioning import ConnectionProfileStrategyOverridesProvisioning from .connection_profile_template import ConnectionProfileTemplate from .connection_profile_template_item import ConnectionProfileTemplateItem from .connection_properties_options import ConnectionPropertiesOptions @@ -595,6 +712,7 @@ from .connection_provider_sms import ConnectionProviderSms from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_purposes import ConnectionPurposes + from .connection_pushed_authorization_request_endpoint import ConnectionPushedAuthorizationRequestEndpoint from .connection_realm_fallback import ConnectionRealmFallback from .connection_realms import ConnectionRealms from .connection_recipient_url_saml import ConnectionRecipientUrlSaml @@ -610,6 +728,7 @@ from .connection_request_template_saml import ConnectionRequestTemplateSaml from .connection_request_token_urlo_auth_1 import ConnectionRequestTokenUrloAuth1 from .connection_request_uri_parameter_supported import ConnectionRequestUriParameterSupported + from .connection_require_pushed_authorization_requests import ConnectionRequirePushedAuthorizationRequests from .connection_require_request_uri_registration import ConnectionRequireRequestUriRegistration from .connection_requires_username import ConnectionRequiresUsername from .connection_response_common import ConnectionResponseCommon @@ -784,6 +903,9 @@ from .connection_thumbprints import ConnectionThumbprints from .connection_thumbprints_ad import ConnectionThumbprintsAd from .connection_thumbprints_saml import ConnectionThumbprintsSaml + from .connection_thumbprints_sha_384 import ConnectionThumbprintsSha384 + from .connection_thumbprints_sha_384_ad import ConnectionThumbprintsSha384Ad + from .connection_thumbprints_sha_384_saml import ConnectionThumbprintsSha384Saml from .connection_token_endpoint import ConnectionTokenEndpoint from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum from .connection_token_endpoint_auth_methods_supported import ConnectionTokenEndpointAuthMethodsSupported @@ -812,6 +934,7 @@ from .connection_upstream_params_facebook import ConnectionUpstreamParamsFacebook from .connection_upstream_value import ConnectionUpstreamValue from .connection_use_common_endpoint_azure_ad import ConnectionUseCommonEndpointAzureAd + from .connection_use_oauth_spec_scope import ConnectionUseOauthSpecScope from .connection_user_authorization_urlo_auth_1 import ConnectionUserAuthorizationUrloAuth1 from .connection_user_id_attribute_saml import ConnectionUserIdAttributeSaml from .connection_userid_attribute_azure_ad import ConnectionUseridAttributeAzureAd @@ -824,11 +947,15 @@ from .connection_validation_options import ConnectionValidationOptions from .connection_waad_protocol import ConnectionWaadProtocol from .connection_waad_protocol_enum_azure_ad import ConnectionWaadProtocolEnumAzureAd + from .connections_discovery_url import ConnectionsDiscoveryUrl from .connections_metadata import ConnectionsMetadata + from .connections_oidc_metadata import ConnectionsOidcMetadata + from .consent_signing_key import ConsentSigningKey from .content_security_policy_config import ContentSecurityPolicyConfig from .create_action_module_response_content import CreateActionModuleResponseContent from .create_action_module_version_response_content import CreateActionModuleVersionResponseContent from .create_action_response_content import CreateActionResponseContent + from .create_anonymous_sessions import CreateAnonymousSessions from .create_branding_phone_provider_response_content import CreateBrandingPhoneProviderResponseContent from .create_branding_theme_response_content import CreateBrandingThemeResponseContent from .create_client_authentication_method_self_signed_tls_client_auth import ( @@ -972,6 +1099,7 @@ from .create_connection_request_content_yandex import CreateConnectionRequestContentYandex from .create_connection_request_content_yandex_strategy import CreateConnectionRequestContentYandexStrategy from .create_connection_response_content import CreateConnectionResponseContent + from .create_cross_app_access_resource_app import CreateCrossAppAccessResourceApp from .create_custom_domain_response_content import CreateCustomDomainResponseContent from .create_directory_provisioning_request_content import CreateDirectoryProvisioningRequestContent from .create_directory_provisioning_response_content import CreateDirectoryProvisioningResponseContent @@ -987,8 +1115,11 @@ from .create_event_stream_response_content import CreateEventStreamResponseContent from .create_event_stream_test_event_response_content import CreateEventStreamTestEventResponseContent from .create_event_stream_web_hook_request_content import CreateEventStreamWebHookRequestContent + from .create_experiment_response_content import CreateExperimentResponseContent from .create_export_users_fields import CreateExportUsersFields from .create_export_users_response_content import CreateExportUsersResponseContent + from .create_feature_flag_parameters import CreateFeatureFlagParameters + from .create_feature_flag_response_content import CreateFeatureFlagResponseContent from .create_flow_response_content import CreateFlowResponseContent from .create_flows_vault_connection_activecampaign import CreateFlowsVaultConnectionActivecampaign from .create_flows_vault_connection_activecampaign_api_key import CreateFlowsVaultConnectionActivecampaignApiKey @@ -1075,7 +1206,9 @@ from .create_guardian_enrollment_ticket_response_content import CreateGuardianEnrollmentTicketResponseContent from .create_hook_response_content import CreateHookResponseContent from .create_hook_secret_request_content import CreateHookSecretRequestContent + from .create_identity_assertion_authorization_grant import CreateIdentityAssertionAuthorizationGrant from .create_import_users_response_content import CreateImportUsersResponseContent + from .create_keys_network_acls_response_content import CreateKeysNetworkAclsResponseContent from .create_log_stream_datadog_request_body import CreateLogStreamDatadogRequestBody from .create_log_stream_event_bridge_request_body import CreateLogStreamEventBridgeRequestBody from .create_log_stream_event_grid_request_body import CreateLogStreamEventGridRequestBody @@ -1087,6 +1220,8 @@ from .create_log_stream_splunk_request_body import CreateLogStreamSplunkRequestBody from .create_log_stream_sumo_request_body import CreateLogStreamSumoRequestBody from .create_organization_all_connection_response_content import CreateOrganizationAllConnectionResponseContent + from .create_organization_client_request_item import CreateOrganizationClientRequestItem + from .create_organization_clients_response_content import CreateOrganizationClientsResponseContent from .create_organization_discovery_domain_response_content import CreateOrganizationDiscoveryDomainResponseContent from .create_organization_invitation_response_content import CreateOrganizationInvitationResponseContent from .create_organization_response_content import CreateOrganizationResponseContent @@ -1103,6 +1238,7 @@ from .create_scim_configuration_request_content import CreateScimConfigurationRequestContent from .create_scim_configuration_response_content import CreateScimConfigurationResponseContent from .create_scim_token_response_content import CreateScimTokenResponseContent + from .create_segment_response_content import CreateSegmentResponseContent from .create_self_service_profile_response_content import CreateSelfServiceProfileResponseContent from .create_self_service_profile_sso_ticket_response_content import ( CreateSelfServiceProfileSsoTicketResponseContent, @@ -1112,6 +1248,7 @@ from .create_user_attribute_profile_response_content import CreateUserAttributeProfileResponseContent from .create_user_authentication_method_response_content import CreateUserAuthenticationMethodResponseContent from .create_user_response_content import CreateUserResponseContent + from .create_variation_response_content import CreateVariationResponseContent from .create_verifiable_credential_template_response_content import ( CreateVerifiableCredentialTemplateResponseContent, ) @@ -1121,6 +1258,8 @@ from .credential_device_type_enum import CredentialDeviceTypeEnum from .credential_id import CredentialId from .cross_app_access_requesting_app import CrossAppAccessRequestingApp + from .cross_app_access_resource_app import CrossAppAccessResourceApp + from .cross_app_access_resource_app_status_enum import CrossAppAccessResourceAppStatusEnum from .csp_directives import CspDirectives from .csp_flag import CspFlag from .csp_flags import CspFlags @@ -1151,7 +1290,9 @@ from .custom_signing_key_type_enum import CustomSigningKeyTypeEnum from .custom_signing_key_use_enum import CustomSigningKeyUseEnum from .daily_stats import DailyStats + from .default_config_enum import DefaultConfigEnum from .default_method_email_identifier_enum import DefaultMethodEmailIdentifierEnum + from .default_method_phone_number_identifier_enum import DefaultMethodPhoneNumberIdentifierEnum from .default_token_quota import DefaultTokenQuota from .delete_hook_secret_request_content import DeleteHookSecretRequestContent from .delete_user_identity_response_content import DeleteUserIdentityResponseContent @@ -1173,6 +1314,7 @@ from .domain_verification_method_name_enum import DomainVerificationMethodNameEnum from .domain_verification_status_enum import DomainVerificationStatusEnum from .email_attribute import EmailAttribute + from .email_attribute_identifier import EmailAttributeIdentifier from .email_mailgun_region_enum import EmailMailgunRegionEnum from .email_provider_credentials import EmailProviderCredentials from .email_provider_credentials_schema import EmailProviderCredentialsSchema @@ -1190,18 +1332,2133 @@ from .email_specific_provider_settings_with_additional_properties import ( EmailSpecificProviderSettingsWithAdditionalProperties, ) - from .email_template_name_enum import EmailTemplateNameEnum - from .enabled_features_enum import EnabledFeaturesEnum - from .encryption_key import EncryptionKey - from .encryption_key_public_wrapping_algorithm import EncryptionKeyPublicWrappingAlgorithm - from .encryption_key_state import EncryptionKeyState - from .encryption_key_type import EncryptionKeyType - from .event_stream_action_configuration import EventStreamActionConfiguration - from .event_stream_action_destination import EventStreamActionDestination - from .event_stream_action_destination_type_enum import EventStreamActionDestinationTypeEnum - from .event_stream_action_response_content import EventStreamActionResponseContent - from .event_stream_cloud_event import EventStreamCloudEvent - from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum + from .email_template_name_enum import EmailTemplateNameEnum + from .enabled_features_enum import EnabledFeaturesEnum + from .encryption_key import EncryptionKey + from .encryption_key_public_wrapping_algorithm import EncryptionKeyPublicWrappingAlgorithm + from .encryption_key_state import EncryptionKeyState + from .encryption_key_type import EncryptionKeyType + from .event_stream_action_configuration import EventStreamActionConfiguration + from .event_stream_action_destination import EventStreamActionDestination + from .event_stream_action_destination_type_enum import EventStreamActionDestinationTypeEnum + from .event_stream_action_response_content import EventStreamActionResponseContent + from .event_stream_cloud_event import EventStreamCloudEvent + from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum + from .event_stream_cloud_event_connection_created import EventStreamCloudEventConnectionCreated + from .event_stream_cloud_event_connection_created_cloud_event import ( + EventStreamCloudEventConnectionCreatedCloudEvent, + ) + from .event_stream_cloud_event_connection_created_cloud_event_type_enum import ( + EventStreamCloudEventConnectionCreatedCloudEventTypeEnum, + ) + from .event_stream_cloud_event_connection_created_data import EventStreamCloudEventConnectionCreatedData + from .event_stream_cloud_event_connection_created_object import EventStreamCloudEventConnectionCreatedObject + from .event_stream_cloud_event_connection_created_object_0 import EventStreamCloudEventConnectionCreatedObject0 + from .event_stream_cloud_event_connection_created_object_0_authentication import ( + EventStreamCloudEventConnectionCreatedObject0Authentication, + ) + from .event_stream_cloud_event_connection_created_object_0_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_0_metadata import ( + EventStreamCloudEventConnectionCreatedObject0Metadata, + ) + from .event_stream_cloud_event_connection_created_object_0_options import ( + EventStreamCloudEventConnectionCreatedObject0Options, + ) + from .event_stream_cloud_event_connection_created_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_type_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_created_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_0_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_1 import EventStreamCloudEventConnectionCreatedObject1 + from .event_stream_cloud_event_connection_created_object_1_authentication import ( + EventStreamCloudEventConnectionCreatedObject1Authentication, + ) + from .event_stream_cloud_event_connection_created_object_1_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_1_metadata import ( + EventStreamCloudEventConnectionCreatedObject1Metadata, + ) + from .event_stream_cloud_event_connection_created_object_1_options import ( + EventStreamCloudEventConnectionCreatedObject1Options, + ) + from .event_stream_cloud_event_connection_created_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_type_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_created_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_1_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_2 import EventStreamCloudEventConnectionCreatedObject2 + from .event_stream_cloud_event_connection_created_object_2_authentication import ( + EventStreamCloudEventConnectionCreatedObject2Authentication, + ) + from .event_stream_cloud_event_connection_created_object_2_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_2_metadata import ( + EventStreamCloudEventConnectionCreatedObject2Metadata, + ) + from .event_stream_cloud_event_connection_created_object_2_options import ( + EventStreamCloudEventConnectionCreatedObject2Options, + ) + from .event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_fields_map import ( + EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_created_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_object_2_options_subject import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_created_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_2_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_3 import EventStreamCloudEventConnectionCreatedObject3 + from .event_stream_cloud_event_connection_created_object_3_authentication import ( + EventStreamCloudEventConnectionCreatedObject3Authentication, + ) + from .event_stream_cloud_event_connection_created_object_3_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_3_metadata import ( + EventStreamCloudEventConnectionCreatedObject3Metadata, + ) + from .event_stream_cloud_event_connection_created_object_3_options import ( + EventStreamCloudEventConnectionCreatedObject3Options, + ) + from .event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_object_3_options_subject import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_created_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_3_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_4 import EventStreamCloudEventConnectionCreatedObject4 + from .event_stream_cloud_event_connection_created_object_4_authentication import ( + EventStreamCloudEventConnectionCreatedObject4Authentication, + ) + from .event_stream_cloud_event_connection_created_object_4_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_4_metadata import ( + EventStreamCloudEventConnectionCreatedObject4Metadata, + ) + from .event_stream_cloud_event_connection_created_object_4_options import ( + EventStreamCloudEventConnectionCreatedObject4Options, + ) + from .event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_created_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_4_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_5 import EventStreamCloudEventConnectionCreatedObject5 + from .event_stream_cloud_event_connection_created_object_5_authentication import ( + EventStreamCloudEventConnectionCreatedObject5Authentication, + ) + from .event_stream_cloud_event_connection_created_object_5_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_5_metadata import ( + EventStreamCloudEventConnectionCreatedObject5Metadata, + ) + from .event_stream_cloud_event_connection_created_object_5_options import ( + EventStreamCloudEventConnectionCreatedObject5Options, + ) + from .event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_5_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_6 import EventStreamCloudEventConnectionCreatedObject6 + from .event_stream_cloud_event_connection_created_object_6_authentication import ( + EventStreamCloudEventConnectionCreatedObject6Authentication, + ) + from .event_stream_cloud_event_connection_created_object_6_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_6_metadata import ( + EventStreamCloudEventConnectionCreatedObject6Metadata, + ) + from .event_stream_cloud_event_connection_created_object_6_options import ( + EventStreamCloudEventConnectionCreatedObject6Options, + ) + from .event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_6_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_object_7 import EventStreamCloudEventConnectionCreatedObject7 + from .event_stream_cloud_event_connection_created_object_7_authentication import ( + EventStreamCloudEventConnectionCreatedObject7Authentication, + ) + from .event_stream_cloud_event_connection_created_object_7_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_object_7_metadata import ( + EventStreamCloudEventConnectionCreatedObject7Metadata, + ) + from .event_stream_cloud_event_connection_created_object_7_options import ( + EventStreamCloudEventConnectionCreatedObject7Options, + ) + from .event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_created_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_object_7_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object import ( + EventStreamCloudEventConnectionCreatedPreviousObject, + ) + from .event_stream_cloud_event_connection_created_previous_object_0 import ( + EventStreamCloudEventConnectionCreatedPreviousObject0, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1 import ( + EventStreamCloudEventConnectionCreatedPreviousObject1, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2 import ( + EventStreamCloudEventConnectionCreatedPreviousObject2, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3 import ( + EventStreamCloudEventConnectionCreatedPreviousObject3, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_4 import ( + EventStreamCloudEventConnectionCreatedPreviousObject4, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_5 import ( + EventStreamCloudEventConnectionCreatedPreviousObject5, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_6 import ( + EventStreamCloudEventConnectionCreatedPreviousObject6, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7 import ( + EventStreamCloudEventConnectionCreatedPreviousObject7, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Authentication, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Metadata, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Options, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_created_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_created_type_enum import EventStreamCloudEventConnectionCreatedTypeEnum + from .event_stream_cloud_event_connection_deleted import EventStreamCloudEventConnectionDeleted + from .event_stream_cloud_event_connection_deleted_cloud_event import ( + EventStreamCloudEventConnectionDeletedCloudEvent, + ) + from .event_stream_cloud_event_connection_deleted_cloud_event_type_enum import ( + EventStreamCloudEventConnectionDeletedCloudEventTypeEnum, + ) + from .event_stream_cloud_event_connection_deleted_data import EventStreamCloudEventConnectionDeletedData + from .event_stream_cloud_event_connection_deleted_object import EventStreamCloudEventConnectionDeletedObject + from .event_stream_cloud_event_connection_deleted_object_0 import EventStreamCloudEventConnectionDeletedObject0 + from .event_stream_cloud_event_connection_deleted_object_0_authentication import ( + EventStreamCloudEventConnectionDeletedObject0Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_0_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_0_metadata import ( + EventStreamCloudEventConnectionDeletedObject0Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options import ( + EventStreamCloudEventConnectionDeletedObject0Options, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_type_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_0_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1 import EventStreamCloudEventConnectionDeletedObject1 + from .event_stream_cloud_event_connection_deleted_object_1_authentication import ( + EventStreamCloudEventConnectionDeletedObject1Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_1_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_1_metadata import ( + EventStreamCloudEventConnectionDeletedObject1Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options import ( + EventStreamCloudEventConnectionDeletedObject1Options, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_type_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_1_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2 import EventStreamCloudEventConnectionDeletedObject2 + from .event_stream_cloud_event_connection_deleted_object_2_authentication import ( + EventStreamCloudEventConnectionDeletedObject2Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_2_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_2_metadata import ( + EventStreamCloudEventConnectionDeletedObject2Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options import ( + EventStreamCloudEventConnectionDeletedObject2Options, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_fields_map import ( + EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_subject import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_deleted_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_2_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3 import EventStreamCloudEventConnectionDeletedObject3 + from .event_stream_cloud_event_connection_deleted_object_3_authentication import ( + EventStreamCloudEventConnectionDeletedObject3Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_3_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_3_metadata import ( + EventStreamCloudEventConnectionDeletedObject3Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options import ( + EventStreamCloudEventConnectionDeletedObject3Options, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_subject import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_deleted_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_3_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_4 import EventStreamCloudEventConnectionDeletedObject4 + from .event_stream_cloud_event_connection_deleted_object_4_authentication import ( + EventStreamCloudEventConnectionDeletedObject4Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_4_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_4_metadata import ( + EventStreamCloudEventConnectionDeletedObject4Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_4_options import ( + EventStreamCloudEventConnectionDeletedObject4Options, + ) + from .event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_4_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_5 import EventStreamCloudEventConnectionDeletedObject5 + from .event_stream_cloud_event_connection_deleted_object_5_authentication import ( + EventStreamCloudEventConnectionDeletedObject5Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_5_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_5_metadata import ( + EventStreamCloudEventConnectionDeletedObject5Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_5_options import ( + EventStreamCloudEventConnectionDeletedObject5Options, + ) + from .event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_5_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_6 import EventStreamCloudEventConnectionDeletedObject6 + from .event_stream_cloud_event_connection_deleted_object_6_authentication import ( + EventStreamCloudEventConnectionDeletedObject6Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_6_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_6_metadata import ( + EventStreamCloudEventConnectionDeletedObject6Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_6_options import ( + EventStreamCloudEventConnectionDeletedObject6Options, + ) + from .event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_6_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7 import EventStreamCloudEventConnectionDeletedObject7 + from .event_stream_cloud_event_connection_deleted_object_7_authentication import ( + EventStreamCloudEventConnectionDeletedObject7Authentication, + ) + from .event_stream_cloud_event_connection_deleted_object_7_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_object_7_metadata import ( + EventStreamCloudEventConnectionDeletedObject7Metadata, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options import ( + EventStreamCloudEventConnectionDeletedObject7Options, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_object_7_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object import ( + EventStreamCloudEventConnectionDeletedPreviousObject, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0 import ( + EventStreamCloudEventConnectionDeletedPreviousObject0, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1 import ( + EventStreamCloudEventConnectionDeletedPreviousObject1, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2 import ( + EventStreamCloudEventConnectionDeletedPreviousObject2, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3 import ( + EventStreamCloudEventConnectionDeletedPreviousObject3, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4 import ( + EventStreamCloudEventConnectionDeletedPreviousObject4, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5 import ( + EventStreamCloudEventConnectionDeletedPreviousObject5, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6 import ( + EventStreamCloudEventConnectionDeletedPreviousObject6, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7 import ( + EventStreamCloudEventConnectionDeletedPreviousObject7, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Authentication, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Metadata, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Options, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_deleted_type_enum import EventStreamCloudEventConnectionDeletedTypeEnum + from .event_stream_cloud_event_connection_updated import EventStreamCloudEventConnectionUpdated + from .event_stream_cloud_event_connection_updated_cloud_event import ( + EventStreamCloudEventConnectionUpdatedCloudEvent, + ) + from .event_stream_cloud_event_connection_updated_cloud_event_type_enum import ( + EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum, + ) + from .event_stream_cloud_event_connection_updated_data import EventStreamCloudEventConnectionUpdatedData + from .event_stream_cloud_event_connection_updated_object import EventStreamCloudEventConnectionUpdatedObject + from .event_stream_cloud_event_connection_updated_object_0 import EventStreamCloudEventConnectionUpdatedObject0 + from .event_stream_cloud_event_connection_updated_object_0_authentication import ( + EventStreamCloudEventConnectionUpdatedObject0Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_0_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_0_metadata import ( + EventStreamCloudEventConnectionUpdatedObject0Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_0_options import ( + EventStreamCloudEventConnectionUpdatedObject0Options, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_updated_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_0_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1 import EventStreamCloudEventConnectionUpdatedObject1 + from .event_stream_cloud_event_connection_updated_object_1_authentication import ( + EventStreamCloudEventConnectionUpdatedObject1Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_1_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_1_metadata import ( + EventStreamCloudEventConnectionUpdatedObject1Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_1_options import ( + EventStreamCloudEventConnectionUpdatedObject1Options, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_updated_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_1_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2 import EventStreamCloudEventConnectionUpdatedObject2 + from .event_stream_cloud_event_connection_updated_object_2_authentication import ( + EventStreamCloudEventConnectionUpdatedObject2Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_2_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_2_metadata import ( + EventStreamCloudEventConnectionUpdatedObject2Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_2_options import ( + EventStreamCloudEventConnectionUpdatedObject2Options, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_fields_map import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_subject import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_updated_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_2_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3 import EventStreamCloudEventConnectionUpdatedObject3 + from .event_stream_cloud_event_connection_updated_object_3_authentication import ( + EventStreamCloudEventConnectionUpdatedObject3Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_3_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_3_metadata import ( + EventStreamCloudEventConnectionUpdatedObject3Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_3_options import ( + EventStreamCloudEventConnectionUpdatedObject3Options, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_subject import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_updated_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_3_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_4 import EventStreamCloudEventConnectionUpdatedObject4 + from .event_stream_cloud_event_connection_updated_object_4_authentication import ( + EventStreamCloudEventConnectionUpdatedObject4Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_4_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_4_metadata import ( + EventStreamCloudEventConnectionUpdatedObject4Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_4_options import ( + EventStreamCloudEventConnectionUpdatedObject4Options, + ) + from .event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_updated_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_4_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_5 import EventStreamCloudEventConnectionUpdatedObject5 + from .event_stream_cloud_event_connection_updated_object_5_authentication import ( + EventStreamCloudEventConnectionUpdatedObject5Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_5_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_5_metadata import ( + EventStreamCloudEventConnectionUpdatedObject5Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_5_options import ( + EventStreamCloudEventConnectionUpdatedObject5Options, + ) + from .event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_5_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_6 import EventStreamCloudEventConnectionUpdatedObject6 + from .event_stream_cloud_event_connection_updated_object_6_authentication import ( + EventStreamCloudEventConnectionUpdatedObject6Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_6_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_6_metadata import ( + EventStreamCloudEventConnectionUpdatedObject6Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_6_options import ( + EventStreamCloudEventConnectionUpdatedObject6Options, + ) + from .event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_6_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7 import EventStreamCloudEventConnectionUpdatedObject7 + from .event_stream_cloud_event_connection_updated_object_7_authentication import ( + EventStreamCloudEventConnectionUpdatedObject7Authentication, + ) + from .event_stream_cloud_event_connection_updated_object_7_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_object_7_metadata import ( + EventStreamCloudEventConnectionUpdatedObject7Metadata, + ) + from .event_stream_cloud_event_connection_updated_object_7_options import ( + EventStreamCloudEventConnectionUpdatedObject7Options, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_object_7_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object import ( + EventStreamCloudEventConnectionUpdatedPreviousObject, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Options, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum, + ) + from .event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum, + ) + from .event_stream_cloud_event_connection_updated_type_enum import EventStreamCloudEventConnectionUpdatedTypeEnum from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_context_client import EventStreamCloudEventContextClient from .event_stream_cloud_event_context_client_metadata import EventStreamCloudEventContextClientMetadata @@ -1209,6 +3466,17 @@ from .event_stream_cloud_event_context_request import EventStreamCloudEventContextRequest from .event_stream_cloud_event_context_request_geo import EventStreamCloudEventContextRequestGeo from .event_stream_cloud_event_context_tenant import EventStreamCloudEventContextTenant + from .event_stream_cloud_event_context_transaction import EventStreamCloudEventContextTransaction + from .event_stream_cloud_event_context_transaction_protocol_enum import ( + EventStreamCloudEventContextTransactionProtocolEnum, + ) + from .event_stream_cloud_event_context_transaction_response_mode_enum import ( + EventStreamCloudEventContextTransactionResponseModeEnum, + ) + from .event_stream_cloud_event_context_transaction_response_type_item_enum import ( + EventStreamCloudEventContextTransactionResponseTypeItemEnum, + ) + from .event_stream_cloud_event_data import EventStreamCloudEventData from .event_stream_cloud_event_error_code_enum import EventStreamCloudEventErrorCodeEnum from .event_stream_cloud_event_error_detail import EventStreamCloudEventErrorDetail from .event_stream_cloud_event_error_message import EventStreamCloudEventErrorMessage @@ -1232,6 +3500,25 @@ from .event_stream_cloud_event_group_created_object_2_type_enum import ( EventStreamCloudEventGroupCreatedObject2TypeEnum, ) + from .event_stream_cloud_event_group_created_previous_object import EventStreamCloudEventGroupCreatedPreviousObject + from .event_stream_cloud_event_group_created_previous_object_0 import ( + EventStreamCloudEventGroupCreatedPreviousObject0, + ) + from .event_stream_cloud_event_group_created_previous_object_0_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum, + ) + from .event_stream_cloud_event_group_created_previous_object_1 import ( + EventStreamCloudEventGroupCreatedPreviousObject1, + ) + from .event_stream_cloud_event_group_created_previous_object_1_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum, + ) + from .event_stream_cloud_event_group_created_previous_object_2 import ( + EventStreamCloudEventGroupCreatedPreviousObject2, + ) + from .event_stream_cloud_event_group_created_previous_object_2_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum, + ) from .event_stream_cloud_event_group_created_type_enum import EventStreamCloudEventGroupCreatedTypeEnum from .event_stream_cloud_event_group_deleted import EventStreamCloudEventGroupDeleted from .event_stream_cloud_event_group_deleted_cloud_event import EventStreamCloudEventGroupDeletedCloudEvent @@ -1252,6 +3539,25 @@ from .event_stream_cloud_event_group_deleted_object_2_type_enum import ( EventStreamCloudEventGroupDeletedObject2TypeEnum, ) + from .event_stream_cloud_event_group_deleted_previous_object import EventStreamCloudEventGroupDeletedPreviousObject + from .event_stream_cloud_event_group_deleted_previous_object_0 import ( + EventStreamCloudEventGroupDeletedPreviousObject0, + ) + from .event_stream_cloud_event_group_deleted_previous_object_0_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum, + ) + from .event_stream_cloud_event_group_deleted_previous_object_1 import ( + EventStreamCloudEventGroupDeletedPreviousObject1, + ) + from .event_stream_cloud_event_group_deleted_previous_object_1_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum, + ) + from .event_stream_cloud_event_group_deleted_previous_object_2 import ( + EventStreamCloudEventGroupDeletedPreviousObject2, + ) + from .event_stream_cloud_event_group_deleted_previous_object_2_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum, + ) from .event_stream_cloud_event_group_deleted_type_enum import EventStreamCloudEventGroupDeletedTypeEnum from .event_stream_cloud_event_group_member_added import EventStreamCloudEventGroupMemberAdded from .event_stream_cloud_event_group_member_added_cloud_event import EventStreamCloudEventGroupMemberAddedCloudEvent @@ -1296,6 +3602,45 @@ from .event_stream_cloud_event_group_member_added_object_member_1_member_type_enum import ( EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum, ) + from .event_stream_cloud_event_group_member_added_previous_object import ( + EventStreamCloudEventGroupMemberAddedPreviousObject, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_0 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_1 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_2 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_group_member_added_previous_object_member import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember, + ) + from .event_stream_cloud_event_group_member_added_previous_object_member_0 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0, + ) + from .event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum, + ) + from .event_stream_cloud_event_group_member_added_previous_object_member_1 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1, + ) + from .event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum, + ) from .event_stream_cloud_event_group_member_added_type_enum import EventStreamCloudEventGroupMemberAddedTypeEnum from .event_stream_cloud_event_group_member_deleted import EventStreamCloudEventGroupMemberDeleted from .event_stream_cloud_event_group_member_deleted_cloud_event import ( @@ -1342,6 +3687,45 @@ from .event_stream_cloud_event_group_member_deleted_object_member_1_member_type_enum import ( EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum, ) + from .event_stream_cloud_event_group_member_deleted_previous_object import ( + EventStreamCloudEventGroupMemberDeletedPreviousObject, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_0 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_1 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_2 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_member import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_member_0 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_member_1 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1, + ) + from .event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum, + ) from .event_stream_cloud_event_group_member_deleted_type_enum import EventStreamCloudEventGroupMemberDeletedTypeEnum from .event_stream_cloud_event_group_role_assigned import EventStreamCloudEventGroupRoleAssigned from .event_stream_cloud_event_group_role_assigned_cloud_event import ( @@ -1376,6 +3760,33 @@ from .event_stream_cloud_event_group_role_assigned_object_role import ( EventStreamCloudEventGroupRoleAssignedObjectRole, ) + from .event_stream_cloud_event_group_role_assigned_previous_object import ( + EventStreamCloudEventGroupRoleAssignedPreviousObject, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_0 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_1 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_2 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_group_role_assigned_previous_object_role import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectRole, + ) from .event_stream_cloud_event_group_role_assigned_type_enum import EventStreamCloudEventGroupRoleAssignedTypeEnum from .event_stream_cloud_event_group_role_deleted import EventStreamCloudEventGroupRoleDeleted from .event_stream_cloud_event_group_role_deleted_cloud_event import EventStreamCloudEventGroupRoleDeletedCloudEvent @@ -1406,6 +3817,33 @@ EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum, ) from .event_stream_cloud_event_group_role_deleted_object_role import EventStreamCloudEventGroupRoleDeletedObjectRole + from .event_stream_cloud_event_group_role_deleted_previous_object import ( + EventStreamCloudEventGroupRoleDeletedPreviousObject, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_0 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_1 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_2 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_group_role_deleted_previous_object_role import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectRole, + ) from .event_stream_cloud_event_group_role_deleted_type_enum import EventStreamCloudEventGroupRoleDeletedTypeEnum from .event_stream_cloud_event_group_updated import EventStreamCloudEventGroupUpdated from .event_stream_cloud_event_group_updated_cloud_event import EventStreamCloudEventGroupUpdatedCloudEvent @@ -1426,6 +3864,25 @@ from .event_stream_cloud_event_group_updated_object_2_type_enum import ( EventStreamCloudEventGroupUpdatedObject2TypeEnum, ) + from .event_stream_cloud_event_group_updated_previous_object import EventStreamCloudEventGroupUpdatedPreviousObject + from .event_stream_cloud_event_group_updated_previous_object_0 import ( + EventStreamCloudEventGroupUpdatedPreviousObject0, + ) + from .event_stream_cloud_event_group_updated_previous_object_0_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum, + ) + from .event_stream_cloud_event_group_updated_previous_object_1 import ( + EventStreamCloudEventGroupUpdatedPreviousObject1, + ) + from .event_stream_cloud_event_group_updated_previous_object_1_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum, + ) + from .event_stream_cloud_event_group_updated_previous_object_2 import ( + EventStreamCloudEventGroupUpdatedPreviousObject2, + ) + from .event_stream_cloud_event_group_updated_previous_object_2_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum, + ) from .event_stream_cloud_event_group_updated_type_enum import EventStreamCloudEventGroupUpdatedTypeEnum from .event_stream_cloud_event_offset_only_message import EventStreamCloudEventOffsetOnlyMessage from .event_stream_cloud_event_offset_only_message_type_enum import EventStreamCloudEventOffsetOnlyMessageTypeEnum @@ -1444,6 +3901,75 @@ from .event_stream_cloud_event_org_connection_added_object_organization import ( EventStreamCloudEventOrgConnectionAddedObjectOrganization, ) + from .event_stream_cloud_event_org_connection_added_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object import ( + EventStreamCloudEventOrgConnectionAddedPreviousObject, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_connection import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum, + ) from .event_stream_cloud_event_org_connection_added_type_enum import EventStreamCloudEventOrgConnectionAddedTypeEnum from .event_stream_cloud_event_org_connection_removed import EventStreamCloudEventOrgConnectionRemoved from .event_stream_cloud_event_org_connection_removed_cloud_event import ( @@ -1460,6 +3986,15 @@ from .event_stream_cloud_event_org_connection_removed_object_organization import ( EventStreamCloudEventOrgConnectionRemovedObjectOrganization, ) + from .event_stream_cloud_event_org_connection_removed_previous_object import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObject, + ) + from .event_stream_cloud_event_org_connection_removed_previous_object_connection import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection, + ) + from .event_stream_cloud_event_org_connection_removed_previous_object_organization import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization, + ) from .event_stream_cloud_event_org_connection_removed_type_enum import ( EventStreamCloudEventOrgConnectionRemovedTypeEnum, ) @@ -1478,6 +4013,75 @@ from .event_stream_cloud_event_org_connection_updated_object_organization import ( EventStreamCloudEventOrgConnectionUpdatedObjectOrganization, ) + from .event_stream_cloud_event_org_connection_updated_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObject, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_connection import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum, + ) + from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum, + ) from .event_stream_cloud_event_org_connection_updated_type_enum import ( EventStreamCloudEventOrgConnectionUpdatedTypeEnum, ) @@ -1493,6 +4097,16 @@ EventStreamCloudEventOrgCreatedObjectBrandingColors, ) from .event_stream_cloud_event_org_created_object_metadata import EventStreamCloudEventOrgCreatedObjectMetadata + from .event_stream_cloud_event_org_created_previous_object import EventStreamCloudEventOrgCreatedPreviousObject + from .event_stream_cloud_event_org_created_previous_object_branding import ( + EventStreamCloudEventOrgCreatedPreviousObjectBranding, + ) + from .event_stream_cloud_event_org_created_previous_object_branding_colors import ( + EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors, + ) + from .event_stream_cloud_event_org_created_previous_object_metadata import ( + EventStreamCloudEventOrgCreatedPreviousObjectMetadata, + ) from .event_stream_cloud_event_org_created_type_enum import EventStreamCloudEventOrgCreatedTypeEnum from .event_stream_cloud_event_org_deleted import EventStreamCloudEventOrgDeleted from .event_stream_cloud_event_org_deleted_cloud_event import EventStreamCloudEventOrgDeletedCloudEvent @@ -1502,6 +4116,10 @@ from .event_stream_cloud_event_org_deleted_data import EventStreamCloudEventOrgDeletedData from .event_stream_cloud_event_org_deleted_object import EventStreamCloudEventOrgDeletedObject from .event_stream_cloud_event_org_deleted_object_metadata import EventStreamCloudEventOrgDeletedObjectMetadata + from .event_stream_cloud_event_org_deleted_previous_object import EventStreamCloudEventOrgDeletedPreviousObject + from .event_stream_cloud_event_org_deleted_previous_object_metadata import ( + EventStreamCloudEventOrgDeletedPreviousObjectMetadata, + ) from .event_stream_cloud_event_org_deleted_type_enum import EventStreamCloudEventOrgDeletedTypeEnum from .event_stream_cloud_event_org_group_role_assigned import EventStreamCloudEventOrgGroupRoleAssigned from .event_stream_cloud_event_org_group_role_assigned_cloud_event import ( @@ -1539,6 +4157,36 @@ from .event_stream_cloud_event_org_group_role_assigned_object_role import ( EventStreamCloudEventOrgGroupRoleAssignedObjectRole, ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObject, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_0 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_1 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_2 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_organization import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_group_role_assigned_previous_object_role import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole, + ) from .event_stream_cloud_event_org_group_role_assigned_type_enum import ( EventStreamCloudEventOrgGroupRoleAssignedTypeEnum, ) @@ -1578,6 +4226,36 @@ from .event_stream_cloud_event_org_group_role_deleted_object_role import ( EventStreamCloudEventOrgGroupRoleDeletedObjectRole, ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObject, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_0 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_1 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_2 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_organization import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_group_role_deleted_previous_object_role import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole, + ) from .event_stream_cloud_event_org_group_role_deleted_type_enum import ( EventStreamCloudEventOrgGroupRoleDeletedTypeEnum, ) @@ -1592,6 +4270,15 @@ EventStreamCloudEventOrgMemberAddedObjectOrganization, ) from .event_stream_cloud_event_org_member_added_object_user import EventStreamCloudEventOrgMemberAddedObjectUser + from .event_stream_cloud_event_org_member_added_previous_object import ( + EventStreamCloudEventOrgMemberAddedPreviousObject, + ) + from .event_stream_cloud_event_org_member_added_previous_object_organization import ( + EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_member_added_previous_object_user import ( + EventStreamCloudEventOrgMemberAddedPreviousObjectUser, + ) from .event_stream_cloud_event_org_member_added_type_enum import EventStreamCloudEventOrgMemberAddedTypeEnum from .event_stream_cloud_event_org_member_deleted import EventStreamCloudEventOrgMemberDeleted from .event_stream_cloud_event_org_member_deleted_cloud_event import EventStreamCloudEventOrgMemberDeletedCloudEvent @@ -1604,6 +4291,15 @@ EventStreamCloudEventOrgMemberDeletedObjectOrganization, ) from .event_stream_cloud_event_org_member_deleted_object_user import EventStreamCloudEventOrgMemberDeletedObjectUser + from .event_stream_cloud_event_org_member_deleted_previous_object import ( + EventStreamCloudEventOrgMemberDeletedPreviousObject, + ) + from .event_stream_cloud_event_org_member_deleted_previous_object_organization import ( + EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_member_deleted_previous_object_user import ( + EventStreamCloudEventOrgMemberDeletedPreviousObjectUser, + ) from .event_stream_cloud_event_org_member_deleted_type_enum import EventStreamCloudEventOrgMemberDeletedTypeEnum from .event_stream_cloud_event_org_member_role_assigned import EventStreamCloudEventOrgMemberRoleAssigned from .event_stream_cloud_event_org_member_role_assigned_cloud_event import ( @@ -1625,6 +4321,18 @@ from .event_stream_cloud_event_org_member_role_assigned_object_user import ( EventStreamCloudEventOrgMemberRoleAssignedObjectUser, ) + from .event_stream_cloud_event_org_member_role_assigned_previous_object import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObject, + ) + from .event_stream_cloud_event_org_member_role_assigned_previous_object_organization import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_member_role_assigned_previous_object_role import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole, + ) + from .event_stream_cloud_event_org_member_role_assigned_previous_object_user import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser, + ) from .event_stream_cloud_event_org_member_role_assigned_type_enum import ( EventStreamCloudEventOrgMemberRoleAssignedTypeEnum, ) @@ -1646,6 +4354,18 @@ from .event_stream_cloud_event_org_member_role_deleted_object_user import ( EventStreamCloudEventOrgMemberRoleDeletedObjectUser, ) + from .event_stream_cloud_event_org_member_role_deleted_previous_object import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObject, + ) + from .event_stream_cloud_event_org_member_role_deleted_previous_object_organization import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization, + ) + from .event_stream_cloud_event_org_member_role_deleted_previous_object_role import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole, + ) + from .event_stream_cloud_event_org_member_role_deleted_previous_object_user import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser, + ) from .event_stream_cloud_event_org_member_role_deleted_type_enum import ( EventStreamCloudEventOrgMemberRoleDeletedTypeEnum, ) @@ -1661,7 +4381,18 @@ EventStreamCloudEventOrgUpdatedObjectBrandingColors, ) from .event_stream_cloud_event_org_updated_object_metadata import EventStreamCloudEventOrgUpdatedObjectMetadata + from .event_stream_cloud_event_org_updated_previous_object import EventStreamCloudEventOrgUpdatedPreviousObject + from .event_stream_cloud_event_org_updated_previous_object_branding import ( + EventStreamCloudEventOrgUpdatedPreviousObjectBranding, + ) + from .event_stream_cloud_event_org_updated_previous_object_branding_colors import ( + EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors, + ) + from .event_stream_cloud_event_org_updated_previous_object_metadata import ( + EventStreamCloudEventOrgUpdatedPreviousObjectMetadata, + ) from .event_stream_cloud_event_org_updated_type_enum import EventStreamCloudEventOrgUpdatedTypeEnum + from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum from .event_stream_cloud_event_user_created import EventStreamCloudEventUserCreated from .event_stream_cloud_event_user_created_cloud_event import EventStreamCloudEventUserCreatedCloudEvent from .event_stream_cloud_event_user_created_cloud_event_type_enum import ( @@ -1753,6 +4484,91 @@ from .event_stream_cloud_event_user_created_object_user_metadata import ( EventStreamCloudEventUserCreatedObjectUserMetadata, ) + from .event_stream_cloud_event_user_created_previous_object import EventStreamCloudEventUserCreatedPreviousObject + from .event_stream_cloud_event_user_created_previous_object_app_metadata import ( + EventStreamCloudEventUserCreatedPreviousObjectAppMetadata, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_custom import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_database import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_social import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum, + ) + from .event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId, + ) + from .event_stream_cloud_event_user_created_previous_object_user_metadata import ( + EventStreamCloudEventUserCreatedPreviousObjectUserMetadata, + ) from .event_stream_cloud_event_user_created_type_enum import EventStreamCloudEventUserCreatedTypeEnum from .event_stream_cloud_event_user_deleted import EventStreamCloudEventUserDeleted from .event_stream_cloud_event_user_deleted_cloud_event import EventStreamCloudEventUserDeletedCloudEvent @@ -1845,6 +4661,91 @@ from .event_stream_cloud_event_user_deleted_object_user_metadata import ( EventStreamCloudEventUserDeletedObjectUserMetadata, ) + from .event_stream_cloud_event_user_deleted_previous_object import EventStreamCloudEventUserDeletedPreviousObject + from .event_stream_cloud_event_user_deleted_previous_object_app_metadata import ( + EventStreamCloudEventUserDeletedPreviousObjectAppMetadata, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum, + ) + from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId, + ) + from .event_stream_cloud_event_user_deleted_previous_object_user_metadata import ( + EventStreamCloudEventUserDeletedPreviousObjectUserMetadata, + ) from .event_stream_cloud_event_user_deleted_type_enum import EventStreamCloudEventUserDeletedTypeEnum from .event_stream_cloud_event_user_updated import EventStreamCloudEventUserUpdated from .event_stream_cloud_event_user_updated_cloud_event import EventStreamCloudEventUserUpdatedCloudEvent @@ -1937,6 +4838,91 @@ from .event_stream_cloud_event_user_updated_object_user_metadata import ( EventStreamCloudEventUserUpdatedObjectUserMetadata, ) + from .event_stream_cloud_event_user_updated_previous_object import EventStreamCloudEventUserUpdatedPreviousObject + from .event_stream_cloud_event_user_updated_previous_object_app_metadata import ( + EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_database import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_social import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum, + ) + from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId, + ) + from .event_stream_cloud_event_user_updated_previous_object_user_metadata import ( + EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata, + ) from .event_stream_cloud_event_user_updated_type_enum import EventStreamCloudEventUserUpdatedTypeEnum from .event_stream_delivery import EventStreamDelivery from .event_stream_delivery_attempt import EventStreamDeliveryAttempt @@ -1955,6 +4941,9 @@ from .event_stream_subscribe_events_event_type_param import EventStreamSubscribeEventsEventTypeParam from .event_stream_subscribe_events_response_content import ( EventStreamSubscribeEventsResponseContent, + EventStreamSubscribeEventsResponseContent_ConnectionCreated, + EventStreamSubscribeEventsResponseContent_ConnectionDeleted, + EventStreamSubscribeEventsResponseContent_ConnectionUpdated, EventStreamSubscribeEventsResponseContent_Error, EventStreamSubscribeEventsResponseContent_GroupCreated, EventStreamSubscribeEventsResponseContent_GroupDeleted, @@ -1993,14 +4982,23 @@ from .event_stream_webhook_destination import EventStreamWebhookDestination from .event_stream_webhook_destination_type_enum import EventStreamWebhookDestinationTypeEnum from .event_stream_webhook_response_content import EventStreamWebhookResponseContent + from .experiment_list_item import ExperimentListItem + from .experiment_status_enum import ExperimentStatusEnum + from .experiment_transition_status_enum import ExperimentTransitionStatusEnum + from .experiment_validation_error import ExperimentValidationError from .express_configuration import ExpressConfiguration from .express_configuration_or_null import ExpressConfigurationOrNull from .extensibility_email_provider_credentials import ExtensibilityEmailProviderCredentials + from .feature_flag import FeatureFlag + from .feature_flag_config_param import FeatureFlagConfigParam + from .feature_flag_config_param_type_enum import FeatureFlagConfigParamTypeEnum + from .feature_flag_config_params import FeatureFlagConfigParams + from .feature_flag_status_enum import FeatureFlagStatusEnum + from .feature_flag_type_enum import FeatureFlagTypeEnum from .fed_cm_login import FedCmLogin from .fed_cm_login_google import FedCmLoginGoogle from .fed_cm_login_google_patch import FedCmLoginGooglePatch from .fed_cm_login_patch import FedCmLoginPatch - from .federated_connection_token_set import FederatedConnectionTokenSet from .flow_action import FlowAction from .flow_action_activecampaign import FlowActionActivecampaign from .flow_action_activecampaign_list_contacts import FlowActionActivecampaignListContacts @@ -2587,6 +5585,7 @@ from .get_action_version_response_content import GetActionVersionResponseContent from .get_active_users_count_stats_response_content import GetActiveUsersCountStatsResponseContent from .get_acul_response_content import GetAculResponseContent + from .get_all_keys_network_acls_response_content import GetAllKeysNetworkAclsResponseContent from .get_attack_protection_captcha_response_content import GetAttackProtectionCaptchaResponseContent from .get_bot_detection_settings_response_content import GetBotDetectionSettingsResponseContent from .get_branding_default_theme_response_content import GetBrandingDefaultThemeResponseContent @@ -2614,11 +5613,14 @@ GetDirectoryProvisioningDefaultMappingResponseContent, ) from .get_directory_provisioning_response_content import GetDirectoryProvisioningResponseContent + from .get_email_factor_settings_response_content import GetEmailFactorSettingsResponseContent from .get_email_provider_response_content import GetEmailProviderResponseContent from .get_email_template_response_content import GetEmailTemplateResponseContent from .get_encryption_key_response_content import GetEncryptionKeyResponseContent from .get_event_stream_delivery_history_response_content import GetEventStreamDeliveryHistoryResponseContent from .get_event_stream_response_content import GetEventStreamResponseContent + from .get_experiment_response_content import GetExperimentResponseContent + from .get_feature_flag_response_content import GetFeatureFlagResponseContent from .get_flow_execution_request_parameters_hydrate_enum import GetFlowExecutionRequestParametersHydrateEnum from .get_flow_execution_response_content import GetFlowExecutionResponseContent from .get_flow_request_parameters_hydrate_enum import GetFlowRequestParametersHydrateEnum @@ -2647,6 +5649,7 @@ GetGuardianFactorsProviderSmsTwilioResponseContent, ) from .get_guardian_factors_provider_sns_response_content import GetGuardianFactorsProviderSnsResponseContent + from .get_guardian_settings_response_content import GetGuardianSettingsResponseContent from .get_hook_response_content import GetHookResponseContent from .get_hook_secret_response_content import GetHookSecretResponseContent from .get_job_error_response_content import GetJobErrorResponseContent @@ -2660,6 +5663,7 @@ from .get_network_acls_response_content import GetNetworkAclsResponseContent from .get_organization_all_connection_response_content import GetOrganizationAllConnectionResponseContent from .get_organization_by_name_response_content import GetOrganizationByNameResponseContent + from .get_organization_client_response_content import GetOrganizationClientResponseContent from .get_organization_connection_response_content import GetOrganizationConnectionResponseContent from .get_organization_discovery_domain_by_name_response_content import ( GetOrganizationDiscoveryDomainByNameResponseContent, @@ -2668,6 +5672,7 @@ from .get_organization_invitation_response_content import GetOrganizationInvitationResponseContent from .get_organization_response_content import GetOrganizationResponseContent from .get_partials_response_content import GetPartialsResponseContent + from .get_phone_factor_settings_response_content import GetPhoneFactorSettingsResponseContent from .get_phone_provider_protection_response_content import GetPhoneProviderProtectionResponseContent from .get_phone_template_response_content import GetPhoneTemplateResponseContent from .get_rate_limit_policy_response_content import GetRateLimitPolicyResponseContent @@ -2685,6 +5690,7 @@ ) from .get_scim_configuration_response_content import GetScimConfigurationResponseContent from .get_scim_tokens_response_content import GetScimTokensResponseContent + from .get_segment_response_content import GetSegmentResponseContent from .get_self_service_profile_response_content import GetSelfServiceProfileResponseContent from .get_session_response_content import GetSessionResponseContent from .get_settings_response_content import GetSettingsResponseContent @@ -2700,7 +5706,11 @@ from .get_user_authentication_method_response_content import GetUserAuthenticationMethodResponseContent from .get_user_groups_paginated_response_content import GetUserGroupsPaginatedResponseContent from .get_user_response_content import GetUserResponseContent + from .get_variation_response_content import GetVariationResponseContent from .get_verifiable_credential_template_response_content import GetVerifiableCredentialTemplateResponseContent + from .google_account_linking_configuration import GoogleAccountLinkingConfiguration + from .google_account_linking_configuration_create import GoogleAccountLinkingConfigurationCreate + from .google_account_linking_configuration_or_null import GoogleAccountLinkingConfigurationOrNull from .group import Group from .group_member import GroupMember from .group_member_type_enum import GroupMemberTypeEnum @@ -2711,6 +5721,7 @@ from .guardian_factor import GuardianFactor from .guardian_factor_name_enum import GuardianFactorNameEnum from .guardian_factor_phone_factor_message_type_enum import GuardianFactorPhoneFactorMessageTypeEnum + from .guardian_factor_settings import GuardianFactorSettings from .guardian_factors_provider_push_notification_provider_data_enum import ( GuardianFactorsProviderPushNotificationProviderDataEnum, ) @@ -2720,9 +5731,11 @@ from .hook_trigger_id_enum import HookTriggerIdEnum from .http_custom_header import HttpCustomHeader from .identity import Identity + from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .identity_provider_enum import IdentityProviderEnum from .identity_provider_only_auth_0_enum import IdentityProviderOnlyAuth0Enum from .import_encryption_key_response_content import ImportEncryptionKeyResponseContent + from .include_user_profile_size_header_enum import IncludeUserProfileSizeHeaderEnum from .integration import Integration from .integration_feature_type_enum import IntegrationFeatureTypeEnum from .integration_release import IntegrationRelease @@ -2730,6 +5743,8 @@ from .integration_required_param_option import IntegrationRequiredParamOption from .integration_required_param_type_enum import IntegrationRequiredParamTypeEnum from .integration_sem_ver import IntegrationSemVer + from .internal_server_error_body import InternalServerErrorBody + from .internal_server_error_body_error import InternalServerErrorBodyError from .job_file_format_enum import JobFileFormatEnum from .linked_client_configuration import LinkedClientConfiguration from .list_action_bindings_paginated_response_content import ListActionBindingsPaginatedResponseContent @@ -2738,12 +5753,14 @@ from .list_actions_paginated_response_content import ListActionsPaginatedResponseContent from .list_aculs_offset_paginated_response_content import ListAculsOffsetPaginatedResponseContent from .list_aculs_response_content_item import ListAculsResponseContentItem + from .list_agents_response_content import ListAgentsResponseContent from .list_branding_phone_providers_response_content import ListBrandingPhoneProvidersResponseContent from .list_client_connections_response_content import ListClientConnectionsResponseContent from .list_client_grant_organizations_paginated_response_content import ( ListClientGrantOrganizationsPaginatedResponseContent, ) from .list_client_grant_paginated_response_content import ListClientGrantPaginatedResponseContent + from .list_client_profiles_paginated_response_content import ListClientProfilesPaginatedResponseContent from .list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent from .list_connection_profile_template_response_content import ListConnectionProfileTemplateResponseContent from .list_connection_profiles_paginated_response_content import ListConnectionProfilesPaginatedResponseContent @@ -2756,7 +5773,10 @@ ) from .list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from .list_encryption_key_offset_paginated_response_content import ListEncryptionKeyOffsetPaginatedResponseContent + from .list_event_stream_deliveries_response_content import ListEventStreamDeliveriesResponseContent from .list_event_streams_response_content import ListEventStreamsResponseContent + from .list_experiments_response_content import ListExperimentsResponseContent + from .list_feature_flags_response_content import ListFeatureFlagsResponseContent from .list_flow_executions_paginated_response_content import ListFlowExecutionsPaginatedResponseContent from .list_flows_offset_paginated_response_content import ListFlowsOffsetPaginatedResponseContent from .list_flows_request_parameters_hydrate_enum import ListFlowsRequestParametersHydrateEnum @@ -2776,6 +5796,7 @@ from .list_organization_client_grants_offset_paginated_response_content import ( ListOrganizationClientGrantsOffsetPaginatedResponseContent, ) + from .list_organization_clients_response_content import ListOrganizationClientsResponseContent from .list_organization_connections_offset_paginated_response_content import ( ListOrganizationConnectionsOffsetPaginatedResponseContent, ) @@ -2795,8 +5816,11 @@ ListOrganizationMemberRolesOffsetPaginatedResponseContent, ) from .list_organization_members_paginated_response_content import ListOrganizationMembersPaginatedResponseContent + from .list_organization_role_groups_response_content import ListOrganizationRoleGroupsResponseContent + from .list_organization_role_members_response_content import ListOrganizationRoleMembersResponseContent from .list_organizations_paginated_response_content import ListOrganizationsPaginatedResponseContent from .list_phone_templates_response_content import ListPhoneTemplatesResponseContent + from .list_portals_response_content import ListPortalsResponseContent from .list_rate_limit_policies_paginated_response_content import ListRateLimitPoliciesPaginatedResponseContent from .list_refresh_tokens_paginated_response_content import ListRefreshTokensPaginatedResponseContent from .list_resource_server_offset_paginated_response_content import ListResourceServerOffsetPaginatedResponseContent @@ -2808,6 +5832,7 @@ from .list_roles_offset_paginated_response_content import ListRolesOffsetPaginatedResponseContent from .list_rules_offset_paginated_response_content import ListRulesOffsetPaginatedResponseContent from .list_scim_configurations_response_content import ListScimConfigurationsResponseContent + from .list_segments_response_content import ListSegmentsResponseContent from .list_self_service_profile_custom_text_response_content import ListSelfServiceProfileCustomTextResponseContent from .list_self_service_profiles_paginated_response_content import ListSelfServiceProfilesPaginatedResponseContent from .list_synchronized_groups_response_content import ListSynchronizedGroupsResponseContent @@ -2822,6 +5847,7 @@ from .list_user_blocks_by_identifier_response_content import ListUserBlocksByIdentifierResponseContent from .list_user_blocks_response_content import ListUserBlocksResponseContent from .list_user_connected_accounts_response_content import ListUserConnectedAccountsResponseContent + from .list_user_consent_signing_keys_response_content import ListUserConsentSigningKeysResponseContent from .list_user_effective_permission_role_sources_response_content import ( ListUserEffectivePermissionRoleSourcesResponseContent, ) @@ -2838,6 +5864,7 @@ from .list_user_roles_offset_paginated_response_content import ListUserRolesOffsetPaginatedResponseContent from .list_user_sessions_paginated_response_content import ListUserSessionsPaginatedResponseContent from .list_users_offset_paginated_response_content import ListUsersOffsetPaginatedResponseContent + from .list_variations_response_content import ListVariationsResponseContent from .list_verifiable_credential_templates_paginated_response_content import ( ListVerifiableCredentialTemplatesPaginatedResponseContent, ) @@ -2905,14 +5932,24 @@ from .network_acl_action_block_enum import NetworkAclActionBlockEnum from .network_acl_action_log_enum import NetworkAclActionLogEnum from .network_acl_action_redirect_enum import NetworkAclActionRedirectEnum + from .network_acl_http_message_signature import NetworkAclHttpMessageSignature + from .network_acl_http_message_signature_key import NetworkAclHttpMessageSignatureKey + from .network_acl_http_message_signature_keys import NetworkAclHttpMessageSignatureKeys + from .network_acl_key import NetworkAclKey + from .network_acl_key_algorithm_enum import NetworkAclKeyAlgorithmEnum from .network_acl_match import NetworkAclMatch from .network_acl_match_connecting_ipv_4_cidr import NetworkAclMatchConnectingIpv4Cidr from .network_acl_match_connecting_ipv_6_cidr import NetworkAclMatchConnectingIpv6Cidr from .network_acl_match_ipv_4_cidr import NetworkAclMatchIpv4Cidr from .network_acl_match_ipv_6_cidr import NetworkAclMatchIpv6Cidr from .network_acl_rule import NetworkAclRule + from .network_acl_rule_match_all_enum import NetworkAclRuleMatchAllEnum from .network_acl_rule_scope_enum import NetworkAclRuleScopeEnum from .network_acls_response_content import NetworkAclsResponseContent + from .not_found_error_body import NotFoundErrorBody + from .not_found_error_body_error import NotFoundErrorBodyError + from .not_found_schema import NotFoundSchema + from .not_found_schema_error import NotFoundSchemaError from .oauth_scope import OauthScope from .organization import Organization from .organization_access_level_enum import OrganizationAccessLevelEnum @@ -2920,7 +5957,11 @@ from .organization_all_connection_post import OrganizationAllConnectionPost from .organization_branding import OrganizationBranding from .organization_branding_colors import OrganizationBrandingColors + from .organization_client import OrganizationClient + from .organization_client_association import OrganizationClientAssociation from .organization_client_grant import OrganizationClientGrant + from .organization_client_metadata import OrganizationClientMetadata + from .organization_client_metadata_organization_usage_enum import OrganizationClientMetadataOrganizationUsageEnum from .organization_connection import OrganizationConnection from .organization_connection_information import OrganizationConnectionInformation from .organization_discovery_domain import OrganizationDiscoveryDomain @@ -2930,16 +5971,83 @@ from .organization_invitation_invitee import OrganizationInvitationInvitee from .organization_invitation_inviter import OrganizationInvitationInviter from .organization_member import OrganizationMember + from .organization_member_access_level_enum import OrganizationMemberAccessLevelEnum + from .organization_member_access_level_enum_with_null import OrganizationMemberAccessLevelEnumWithNull from .organization_member_effective_role import OrganizationMemberEffectiveRole from .organization_member_effective_role_source import OrganizationMemberEffectiveRoleSource from .organization_member_role import OrganizationMemberRole from .organization_metadata import OrganizationMetadata + from .organization_sort_field_enum import OrganizationSortFieldEnum + from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .organization_usage_enum import OrganizationUsageEnum + from .page_component import ( + PageComponent, + PageComponent_PageComponentAuth0Form, + PageComponent_PageComponentAuth0MediaImage, + PageComponent_PageComponentAuth0MyAccountMfaManagement, + PageComponent_PageComponentAuth0MyAccountPasskeyManagement, + PageComponent_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponent_PageComponentAuth0MyOrganizationDomainTable, + PageComponent_PageComponentAuth0MyOrganizationMemberManagement, + PageComponent_PageComponentAuth0StructureSection, + PageComponent_PageComponentAuth0StructureSeparator, + PageComponent_PageComponentAuth0TypographyHeading, + PageComponent_PageComponentAuth0TypographyRichText, + ) + from .page_component_auth_0_form import PageComponentAuth0Form + from .page_component_auth_0_form_config import PageComponentAuth0FormConfig + from .page_component_auth_0_media_image import PageComponentAuth0MediaImage + from .page_component_auth_0_media_image_config import PageComponentAuth0MediaImageConfig + from .page_component_auth_0_my_account_mfa_management import PageComponentAuth0MyAccountMfaManagement + from .page_component_auth_0_my_account_mfa_management_config import PageComponentAuth0MyAccountMfaManagementConfig + from .page_component_auth_0_my_account_passkey_management import PageComponentAuth0MyAccountPasskeyManagement + from .page_component_auth_0_my_account_passkey_management_config import ( + PageComponentAuth0MyAccountPasskeyManagementConfig, + ) + from .page_component_auth_0_my_organization_details_edit import PageComponentAuth0MyOrganizationDetailsEdit + from .page_component_auth_0_my_organization_details_edit_config import ( + PageComponentAuth0MyOrganizationDetailsEditConfig, + ) + from .page_component_auth_0_my_organization_domain_table import PageComponentAuth0MyOrganizationDomainTable + from .page_component_auth_0_my_organization_domain_table_config import ( + PageComponentAuth0MyOrganizationDomainTableConfig, + ) + from .page_component_auth_0_my_organization_member_management import ( + PageComponentAuth0MyOrganizationMemberManagement, + ) + from .page_component_auth_0_my_organization_member_management_config import ( + PageComponentAuth0MyOrganizationMemberManagementConfig, + ) + from .page_component_auth_0_structure_section import PageComponentAuth0StructureSection + from .page_component_auth_0_structure_section_config import PageComponentAuth0StructureSectionConfig + from .page_component_auth_0_structure_section_variant_enum import PageComponentAuth0StructureSectionVariantEnum + from .page_component_auth_0_structure_separator import PageComponentAuth0StructureSeparator + from .page_component_auth_0_structure_separator_config import PageComponentAuth0StructureSeparatorConfig + from .page_component_auth_0_structure_separator_variant_enum import PageComponentAuth0StructureSeparatorVariantEnum + from .page_component_auth_0_typography_heading import PageComponentAuth0TypographyHeading + from .page_component_auth_0_typography_heading_config import PageComponentAuth0TypographyHeadingConfig + from .page_component_auth_0_typography_rich_text import PageComponentAuth0TypographyRichText + from .page_component_auth_0_typography_rich_text_config import PageComponentAuth0TypographyRichTextConfig + from .page_component_no_children import ( + PageComponentNoChildren, + PageComponentNoChildren_PageComponentAuth0Form, + PageComponentNoChildren_PageComponentAuth0MediaImage, + PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement, + PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable, + PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement, + PageComponentNoChildren_PageComponentAuth0StructureSeparator, + PageComponentNoChildren_PageComponentAuth0TypographyHeading, + PageComponentNoChildren_PageComponentAuth0TypographyRichText, + ) + from .page_slug import PageSlug from .partial_groups_enum import PartialGroupsEnum from .partial_phone_template_content import PartialPhoneTemplateContent from .password_character_type_enum import PasswordCharacterTypeEnum from .password_character_type_rule_policy_enum import PasswordCharacterTypeRulePolicyEnum from .password_default_dictionaries_enum import PasswordDefaultDictionariesEnum + from .password_dictionary_match_type_enum import PasswordDictionaryMatchTypeEnum from .password_identical_characters_policy_enum import PasswordIdenticalCharactersPolicyEnum from .password_max_length_exceeded_policy_enum import PasswordMaxLengthExceededPolicyEnum from .password_sequential_characters_policy_enum import PasswordSequentialCharactersPolicyEnum @@ -2968,6 +6076,7 @@ from .permission_request_payload import PermissionRequestPayload from .permissions_response_payload import PermissionsResponsePayload from .phone_attribute import PhoneAttribute + from .phone_attribute_identifier import PhoneAttributeIdentifier from .phone_provider_channel_enum import PhoneProviderChannelEnum from .phone_provider_configuration import PhoneProviderConfiguration from .phone_provider_credentials import PhoneProviderCredentials @@ -2979,6 +6088,26 @@ from .phone_template_body import PhoneTemplateBody from .phone_template_content import PhoneTemplateContent from .phone_template_notification_type_enum import PhoneTemplateNotificationTypeEnum + from .portal import Portal + from .portal_client_secret_post import PortalClientSecretPost + from .portal_client_secret_post_request import PortalClientSecretPostRequest + from .portal_client_secret_post_request_token_endpoint_auth_method import ( + PortalClientSecretPostRequestTokenEndpointAuthMethod, + ) + from .portal_client_secret_post_token_endpoint_auth_method import PortalClientSecretPostTokenEndpointAuthMethod + from .portal_custom_code import PortalCustomCode + from .portal_custom_code_nullable import PortalCustomCodeNullable + from .portal_date_time import PortalDateTime + from .portal_id import PortalId + from .portal_name import PortalName + from .portal_navigation import PortalNavigation + from .portal_navigation_nullable import PortalNavigationNullable + from .portal_page import PortalPage + from .portal_pages_by_type import PortalPagesByType + from .portal_pages_by_type_nullable import PortalPagesByTypeNullable + from .portal_slug import PortalSlug + from .portal_summary import PortalSummary + from .position import Position from .post_client_credential_response_content import PostClientCredentialResponseContent from .post_connection_keys_alg_enum import PostConnectionKeysAlgEnum from .post_connection_keys_request_content import PostConnectionKeysRequestContent @@ -3015,13 +6144,29 @@ from .reset_phone_template_request_content import ResetPhoneTemplateRequestContent from .reset_phone_template_response_content import ResetPhoneTemplateResponseContent from .resource_server import ResourceServer + from .resource_server_access_token import ResourceServerAccessToken + from .resource_server_access_token_claims_mapping import ResourceServerAccessTokenClaimsMapping + from .resource_server_access_token_custom_claims_mapping import ResourceServerAccessTokenCustomClaimsMapping + from .resource_server_access_token_custom_claims_mapping_rule import ( + ResourceServerAccessTokenCustomClaimsMappingRule, + ) + from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum + from .resource_server_agent_subject_claims_schema_enum import ResourceServerAgentSubjectClaimsSchemaEnum from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from .resource_server_proof_of_possession import ResourceServerProofOfPossession from .resource_server_proof_of_possession_mechanism_enum import ResourceServerProofOfPossessionMechanismEnum from .resource_server_proof_of_possession_required_for_enum import ResourceServerProofOfPossessionRequiredForEnum from .resource_server_scope import ResourceServerScope + from .resource_server_search_response import ResourceServerSearchResponse + from .resource_server_sort_field_enum import ResourceServerSortFieldEnum from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization + from .resource_server_subject_type_authorization_anonymous_user import ( + ResourceServerSubjectTypeAuthorizationAnonymousUser, + ) + from .resource_server_subject_type_authorization_anonymous_user_policy_enum import ( + ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum, + ) from .resource_server_subject_type_authorization_client import ResourceServerSubjectTypeAuthorizationClient from .resource_server_subject_type_authorization_client_policy_enum import ( ResourceServerSubjectTypeAuthorizationClientPolicyEnum, @@ -3036,9 +6181,15 @@ from .resource_server_token_encryption_algorithm_enum import ResourceServerTokenEncryptionAlgorithmEnum from .resource_server_token_encryption_format_enum import ResourceServerTokenEncryptionFormatEnum from .resource_server_token_encryption_key import ResourceServerTokenEncryptionKey + from .resource_server_type_enum import ResourceServerTypeEnum from .resource_server_verification_key_pem_certificate import ResourceServerVerificationKeyPemCertificate from .revoked_signing_keys_response_content import RevokedSigningKeysResponseContent from .role import Role + from .role_group import RoleGroup + from .role_member import RoleMember + from .role_owner_id import RoleOwnerId + from .role_owner_id_filter import RoleOwnerIdFilter + from .role_type_enum import RoleTypeEnum from .role_user import RoleUser from .rollback_action_module_response_content import RollbackActionModuleResponseContent from .rotate_client_secret_response_content import RotateClientSecretResponseContent @@ -3052,7 +6203,25 @@ from .scim_mapping_item import ScimMappingItem from .scim_token_item import ScimTokenItem from .screen_group_name_enum import ScreenGroupNameEnum + from .search_client_grants_response_content import SearchClientGrantsResponseContent + from .search_clients_response_content import SearchClientsResponseContent from .search_engine_versions_enum import SearchEngineVersionsEnum + from .search_organization import SearchOrganization + from .search_organizations_paginated_response_content import SearchOrganizationsPaginatedResponseContent + from .search_parser_enum import SearchParserEnum + from .search_resource_servers_response_content import SearchResourceServersResponseContent + from .segment import Segment + from .segment_contains_expression import SegmentContainsExpression + from .segment_ends_with_expression import SegmentEndsWithExpression + from .segment_exists_expression import SegmentExistsExpression + from .segment_match_conditions import SegmentMatchConditions + from .segment_match_expression import SegmentMatchExpression + from .segment_not_match_conditions import SegmentNotMatchConditions + from .segment_rule import SegmentRule + from .segment_starts_with_expression import SegmentStartsWithExpression + from .segment_status_enum import SegmentStatusEnum + from .segment_type_enum import SegmentTypeEnum + from .segment_type_filter_enum import SegmentTypeFilterEnum from .self_service_profile import SelfServiceProfile from .self_service_profile_allowed_strategy_enum import SelfServiceProfileAllowedStrategyEnum from .self_service_profile_branding import SelfServiceProfileBranding @@ -3080,8 +6249,13 @@ from .self_service_profile_sso_ticket_provisioning_scope_enum import ( SelfServiceProfileSsoTicketProvisioningScopeEnum, ) + from .self_service_profile_sso_ticket_universal_logout_config import ( + SelfServiceProfileSsoTicketUniversalLogoutConfig, + ) from .self_service_profile_user_attribute import SelfServiceProfileUserAttribute from .self_service_profile_user_attributes import SelfServiceProfileUserAttributes + from .session_actor_claim_value import SessionActorClaimValue + from .session_actor_metadata import SessionActorMetadata from .session_authentication_signal import SessionAuthenticationSignal from .session_authentication_signals import SessionAuthenticationSignals from .session_client_metadata import SessionClientMetadata @@ -3095,6 +6269,7 @@ from .session_metadata import SessionMetadata from .session_response_content import SessionResponseContent from .set_custom_signing_keys_response_content import SetCustomSigningKeysResponseContent + from .set_email_factor_settings_response_content import SetEmailFactorSettingsResponseContent from .set_email_template_response_content import SetEmailTemplateResponseContent from .set_guardian_factor_duo_settings_response_content import SetGuardianFactorDuoSettingsResponseContent from .set_guardian_factor_phone_message_types_response_content import ( @@ -3128,8 +6303,10 @@ ) from .set_guardian_policies_request_content import SetGuardianPoliciesRequestContent from .set_guardian_policies_response_content import SetGuardianPoliciesResponseContent + from .set_guardian_settings_response_content import SetGuardianSettingsResponseContent from .set_network_acls_response_content import SetNetworkAclsResponseContent from .set_partials_request_content import SetPartialsRequestContent + from .set_phone_factor_settings_response_content import SetPhoneFactorSettingsResponseContent from .set_rules_config_response_content import SetRulesConfigResponseContent from .set_self_service_profile_custom_text_request_content import SetSelfServiceProfileCustomTextRequestContent from .set_self_service_profile_custom_text_response_content import SetSelfServiceProfileCustomTextResponseContent @@ -3137,6 +6314,22 @@ from .set_user_authentication_methods import SetUserAuthenticationMethods from .set_user_authentication_methods_request_content import SetUserAuthenticationMethodsRequestContent from .sets_custom_texts_by_language_request_content import SetsCustomTextsByLanguageRequestContent + from .sidebar import Sidebar + from .sidebar_component import ( + SidebarComponent, + SidebarComponent_SidebarComponentAuth0ExternalLink, + SidebarComponent_SidebarComponentAuth0ExternalLinkV2, + SidebarComponent_SidebarComponentAuth0InternalLink, + SidebarComponent_SidebarComponentAuth0InternalLinkV2, + ) + from .sidebar_component_auth_0_external_link import SidebarComponentAuth0ExternalLink + from .sidebar_component_auth_0_external_link_config import SidebarComponentAuth0ExternalLinkConfig + from .sidebar_component_auth_0_external_link_v_2 import SidebarComponentAuth0ExternalLinkV2 + from .sidebar_component_auth_0_external_link_v_2_config import SidebarComponentAuth0ExternalLinkV2Config + from .sidebar_component_auth_0_internal_link import SidebarComponentAuth0InternalLink + from .sidebar_component_auth_0_internal_link_config import SidebarComponentAuth0InternalLinkConfig + from .sidebar_component_auth_0_internal_link_v_2 import SidebarComponentAuth0InternalLinkV2 + from .sidebar_component_auth_0_internal_link_v_2_config import SidebarComponentAuth0InternalLinkV2Config from .signing_algorithm_enum import SigningAlgorithmEnum from .signing_keys import SigningKeys from .signing_keys_date import SigningKeysDate @@ -3147,12 +6340,17 @@ from .supported_locales import SupportedLocales from .suspicious_ip_throttling_allowlist import SuspiciousIpThrottlingAllowlist from .suspicious_ip_throttling_allowlist_item import SuspiciousIpThrottlingAllowlistItem + from .suspicious_ip_throttling_pre_custom_token_exchange_stage import ( + SuspiciousIpThrottlingPreCustomTokenExchangeStage, + ) from .suspicious_ip_throttling_pre_login_stage import SuspiciousIpThrottlingPreLoginStage from .suspicious_ip_throttling_pre_user_registration_stage import SuspiciousIpThrottlingPreUserRegistrationStage from .suspicious_ip_throttling_shields_enum import SuspiciousIpThrottlingShieldsEnum from .suspicious_ip_throttling_stage import SuspiciousIpThrottlingStage from .synchronize_groups_enum import SynchronizeGroupsEnum from .synchronized_group_payload import SynchronizedGroupPayload + from .synchronized_group_selection_id import SynchronizedGroupSelectionId + from .system_role_owner_id import SystemRoleOwnerId from .tenant_oidc_logout_settings import TenantOidcLogoutSettings from .tenant_settings_country_codes import TenantSettingsCountryCodes from .tenant_settings_country_codes_mode import TenantSettingsCountryCodesMode @@ -3171,18 +6369,23 @@ from .tenant_settings_password_page import TenantSettingsPasswordPage from .tenant_settings_resource_parameter_profile import TenantSettingsResourceParameterProfile from .tenant_settings_sessions import TenantSettingsSessions + from .tenant_settings_sessions_anonymous import TenantSettingsSessionsAnonymous from .tenant_settings_supported_locales_enum import TenantSettingsSupportedLocalesEnum from .test_action_payload import TestActionPayload from .test_action_response_content import TestActionResponseContent from .test_action_result_payload import TestActionResultPayload from .test_custom_domain_response_content import TestCustomDomainResponseContent from .test_event_data_content import TestEventDataContent + from .third_party_client_access_config import ThirdPartyClientAccessConfig from .token_exchange_profile_response_content import TokenExchangeProfileResponseContent from .token_exchange_profile_type_enum import TokenExchangeProfileTypeEnum from .token_quota import TokenQuota from .token_quota_client_credentials import TokenQuotaClientCredentials from .token_quota_configuration import TokenQuotaConfiguration + from .token_vault_privileged_access_grant import TokenVaultPrivilegedAccessGrant from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry + from .too_many_requests_error_body import TooManyRequestsErrorBody + from .too_many_requests_error_body_error import TooManyRequestsErrorBodyError from .too_many_requests_schema import TooManyRequestsSchema from .too_many_requests_schema_error import TooManyRequestsSchemaError from .twilio_provider_configuration import TwilioProviderConfiguration @@ -3195,6 +6398,7 @@ from .update_action_module_response_content import UpdateActionModuleResponseContent from .update_action_response_content import UpdateActionResponseContent from .update_acul_response_content import UpdateAculResponseContent + from .update_anonymous_sessions import UpdateAnonymousSessions from .update_attack_protection_captcha_response_content import UpdateAttackProtectionCaptchaResponseContent from .update_bot_detection_settings_response_content import UpdateBotDetectionSettingsResponseContent from .update_branding_colors import UpdateBrandingColors @@ -3269,6 +6473,7 @@ from .update_connection_request_content_yahoo import UpdateConnectionRequestContentYahoo from .update_connection_request_content_yandex import UpdateConnectionRequestContentYandex from .update_connection_response_content import UpdateConnectionResponseContent + from .update_cross_app_access_resource_app import UpdateCrossAppAccessResourceApp from .update_custom_domain_response_content import UpdateCustomDomainResponseContent from .update_default_canonical_domain_response_content import UpdateDefaultCanonicalDomainResponseContent from .update_default_custom_domain_response_content import UpdateDefaultCustomDomainResponseContent @@ -3280,6 +6485,9 @@ from .update_enabled_client_connections_request_content import UpdateEnabledClientConnectionsRequestContent from .update_enabled_client_connections_request_content_item import UpdateEnabledClientConnectionsRequestContentItem from .update_event_stream_response_content import UpdateEventStreamResponseContent + from .update_experiment_response_content import UpdateExperimentResponseContent + from .update_feature_flag_parameters import UpdateFeatureFlagParameters + from .update_feature_flag_response_content import UpdateFeatureFlagResponseContent from .update_flow_response_content import UpdateFlowResponseContent from .update_flows_vault_connection_response_content import UpdateFlowsVaultConnectionResponseContent from .update_flows_vault_connection_setup import UpdateFlowsVaultConnectionSetup @@ -3299,9 +6507,11 @@ ) from .update_hook_response_content import UpdateHookResponseContent from .update_hook_secret_request_content import UpdateHookSecretRequestContent + from .update_identity_assertion_authorization_grant import UpdateIdentityAssertionAuthorizationGrant from .update_log_stream_response_content import UpdateLogStreamResponseContent from .update_network_acl_response_content import UpdateNetworkAclResponseContent from .update_organization_all_connection_response_content import UpdateOrganizationAllConnectionResponseContent + from .update_organization_client_response_content import UpdateOrganizationClientResponseContent from .update_organization_connection_response_content import UpdateOrganizationConnectionResponseContent from .update_organization_discovery_domain_response_content import UpdateOrganizationDiscoveryDomainResponseContent from .update_organization_response_content import UpdateOrganizationResponseContent @@ -3316,6 +6526,7 @@ from .update_role_response_content import UpdateRoleResponseContent from .update_rule_response_content import UpdateRuleResponseContent from .update_scim_configuration_response_content import UpdateScimConfigurationResponseContent + from .update_segment_response_content import UpdateSegmentResponseContent from .update_self_service_profile_response_content import UpdateSelfServiceProfileResponseContent from .update_session_response_content import UpdateSessionResponseContent from .update_settings_response_content import UpdateSettingsResponseContent @@ -3331,6 +6542,8 @@ from .update_user_attribute_profile_response_content import UpdateUserAttributeProfileResponseContent from .update_user_authentication_method_response_content import UpdateUserAuthenticationMethodResponseContent from .update_user_response_content import UpdateUserResponseContent + from .update_variation_overrides_map import UpdateVariationOverridesMap + from .update_variation_response_content import UpdateVariationResponseContent from .update_verifiable_credential_template_response_content import ( UpdateVerifiableCredentialTemplateResponseContent, ) @@ -3386,8 +6599,12 @@ from .user_response_schema import UserResponseSchema from .username_allowed_types import UsernameAllowedTypes from .username_attribute import UsernameAttribute + from .username_attribute_identifier import UsernameAttributeIdentifier from .username_validation import UsernameValidation from .users_enrollment import UsersEnrollment + from .validate_experiment_response_content import ValidateExperimentResponseContent + from .variation import Variation + from .variation_overrides_map import VariationOverridesMap from .verifiable_credential_template_response import VerifiableCredentialTemplateResponse from .verification_method_enum import VerificationMethodEnum from .verify_custom_domain_response_content import VerifyCustomDomainResponseContent @@ -3450,7 +6667,14 @@ "AculOrganizationMetadata": ".acul_organization_metadata", "AculRenderingModeEnum": ".acul_rendering_mode_enum", "AddOrganizationConnectionResponseContent": ".add_organization_connection_response_content", + "AdvanceRampResponseContent": ".advance_ramp_response_content", + "AgentMetadata": ".agent_metadata", + "AgentResponseContent": ".agent_response_content", + "AllocationItem": ".allocation_item", + "AllocationRequestItem": ".allocation_request_item", + "AllocationStrategyEnum": ".allocation_strategy_enum", "AnomalyIpFormat": ".anomaly_ip_format", + "AnonymousSessions": ".anonymous_sessions", "AppMetadata": ".app_metadata", "AssessorsTypeEnum": ".assessors_type_enum", "AssociateOrganizationClientGrantResponseContent": ".associate_organization_client_grant_response_content", @@ -3469,8 +6693,11 @@ "AttackProtectionUpdateCaptchaHcaptcha": ".attack_protection_update_captcha_hcaptcha", "AttackProtectionUpdateCaptchaRecaptchaEnterprise": ".attack_protection_update_captcha_recaptcha_enterprise", "AttackProtectionUpdateCaptchaRecaptchaV2": ".attack_protection_update_captcha_recaptcha_v_2", + "AuthenticationFlowEnum": ".authentication_flow_enum", "AuthenticationMethodTypeEnum": ".authentication_method_type_enum", "AuthenticationTypeEnum": ".authentication_type_enum", + "B2BIntegrationConfiguration": ".b_2_b_integration_configuration", + "B2BIntegrationConfigurationIntegrationTypeEnum": ".b_2_b_integration_configuration_integration_type_enum", "BadRequestSchema": ".bad_request_schema", "BadRequestSchemaError": ".bad_request_schema_error", "BotDetectionAllowlist": ".bot_detection_allowlist", @@ -3500,6 +6727,11 @@ "BrandingThemeFontSubtitle": ".branding_theme_font_subtitle", "BrandingThemeFontTitle": ".branding_theme_font_title", "BrandingThemeFonts": ".branding_theme_fonts", + "BrandingThemeIdentifiers": ".branding_theme_identifiers", + "BrandingThemeIdentifiersLoginDisplayEnum": ".branding_theme_identifiers_login_display_enum", + "BrandingThemeIdentifiersPhoneDisplay": ".branding_theme_identifiers_phone_display", + "BrandingThemeIdentifiersPhoneDisplayFormattingEnum": ".branding_theme_identifiers_phone_display_formatting_enum", + "BrandingThemeIdentifiersPhoneDisplayMaskingEnum": ".branding_theme_identifiers_phone_display_masking_enum", "BrandingThemePageBackground": ".branding_theme_page_background", "BrandingThemePageBackgroundPageLayoutEnum": ".branding_theme_page_background_page_layout_enum", "BrandingThemeWidget": ".branding_theme_widget", @@ -3514,6 +6746,7 @@ "BreachedPasswordDetectionPreUserRegistrationStage": ".breached_password_detection_pre_user_registration_stage", "BreachedPasswordDetectionShieldsEnum": ".breached_password_detection_shields_enum", "BreachedPasswordDetectionStage": ".breached_password_detection_stage", + "BruteForceProtectionFormSubmissionModeEnum": ".brute_force_protection_form_submission_mode_enum", "BruteForceProtectionModeEnum": ".brute_force_protection_mode_enum", "BruteForceProtectionShieldsEnum": ".brute_force_protection_shields_enum", "BulkUpdateAculResponseContent": ".bulk_update_acul_response_content", @@ -3521,6 +6754,7 @@ "CertificateSubjectDnCredentialTypeEnum": ".certificate_subject_dn_credential_type_enum", "ChangePasswordTicketIdentity": ".change_password_ticket_identity", "ChangePasswordTicketResponseContent": ".change_password_ticket_response_content", + "CimdExternalMetadataCreatedByEnum": ".cimd_external_metadata_created_by_enum", "CimdMappedClientAuthenticationMethods": ".cimd_mapped_client_authentication_methods", "CimdMappedClientAuthenticationMethodsPrivateKeyJwt": ".cimd_mapped_client_authentication_methods_private_key_jwt", "CimdMappedClientFields": ".cimd_mapped_client_fields", @@ -3560,6 +6794,7 @@ "ClientAddonZendesk": ".client_addon_zendesk", "ClientAddonZoom": ".client_addon_zoom", "ClientAddons": ".client_addons", + "ClientAnonymousSessionTransferNetworkBindingEnum": ".client_anonymous_session_transfer_network_binding_enum", "ClientAppTypeEnum": ".client_app_type_enum", "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration": ".client_async_approval_notifications_channels_api_patch_configuration", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration": ".client_async_approval_notifications_channels_api_post_configuration", @@ -3583,12 +6818,14 @@ "ClientDefaultOrganizationFlowsEnum": ".client_default_organization_flows_enum", "ClientEncryptionKey": ".client_encryption_key", "ClientExternalMetadataCreatedByEnum": ".client_external_metadata_created_by_enum", + "ClientExternalMetadataStatusEnum": ".client_external_metadata_status_enum", "ClientExternalMetadataTypeEnum": ".client_external_metadata_type_enum", "ClientGrantAllowAnyOrganizationEnum": ".client_grant_allow_any_organization_enum", "ClientGrantDefaultForEnum": ".client_grant_default_for_enum", "ClientGrantOrganizationNullableUsageEnum": ".client_grant_organization_nullable_usage_enum", "ClientGrantOrganizationUsageEnum": ".client_grant_organization_usage_enum", "ClientGrantResponseContent": ".client_grant_response_content", + "ClientGrantSortFieldEnum": ".client_grant_sort_field_enum", "ClientGrantSubjectTypeEnum": ".client_grant_subject_type_enum", "ClientJwtConfiguration": ".client_jwt_configuration", "ClientJwtConfigurationScopes": ".client_jwt_configuration_scopes", @@ -3597,23 +6834,53 @@ "ClientMobileAndroid": ".client_mobile_android", "ClientMobileiOs": ".client_mobilei_os", "ClientMyOrganizationConfigurationAllowedStrategiesEnum": ".client_my_organization_configuration_allowed_strategies_enum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum": ".client_my_organization_configuration_third_party_client_access_allowed_values_enum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum": ".client_my_organization_configuration_third_party_client_access_default_value_enum", "ClientMyOrganizationDeletionBehaviorEnum": ".client_my_organization_deletion_behavior_enum", "ClientMyOrganizationPatchConfiguration": ".client_my_organization_patch_configuration", "ClientMyOrganizationPostConfiguration": ".client_my_organization_post_configuration", "ClientMyOrganizationResponseConfiguration": ".client_my_organization_response_configuration", + "ClientMyOrganizationThirdPartyClientAccessConfiguration": ".client_my_organization_third_party_client_access_configuration", "ClientOidcBackchannelLogoutInitiators": ".client_oidc_backchannel_logout_initiators", "ClientOidcBackchannelLogoutInitiatorsEnum": ".client_oidc_backchannel_logout_initiators_enum", "ClientOidcBackchannelLogoutInitiatorsModeEnum": ".client_oidc_backchannel_logout_initiators_mode_enum", "ClientOidcBackchannelLogoutSessionMetadata": ".client_oidc_backchannel_logout_session_metadata", "ClientOidcBackchannelLogoutSettings": ".client_oidc_backchannel_logout_settings", + "ClientOidcSupport": ".client_oidc_support", + "ClientOidcSupportAllowedScopesEnum": ".client_oidc_support_allowed_scopes_enum", + "ClientOidcSupportPatch": ".client_oidc_support_patch", + "ClientOidcSupportPost": ".client_oidc_support_post", "ClientOrganizationDiscoveryEnum": ".client_organization_discovery_enum", "ClientOrganizationRequireBehaviorEnum": ".client_organization_require_behavior_enum", "ClientOrganizationRequireBehaviorPatchEnum": ".client_organization_require_behavior_patch_enum", "ClientOrganizationUsageEnum": ".client_organization_usage_enum", "ClientOrganizationUsagePatchEnum": ".client_organization_usage_patch_enum", + "ClientProfile": ".client_profile", + "ClientProfileApplyPolicy": ".client_profile_apply_policy", + "ClientProfileApplyPolicyExternalMetadataCreatedByEnum": ".client_profile_apply_policy_external_metadata_created_by_enum", + "ClientProfileApplyPolicyExternalMetadataTypeEnum": ".client_profile_apply_policy_external_metadata_type_enum", + "ClientProfileClientConfiguration": ".client_profile_client_configuration", + "ClientProfileClientConfigurationOidcSupport": ".client_profile_client_configuration_oidc_support", + "ClientProfileClientConfigurationOidcSupportAllowedScopesEnum": ".client_profile_client_configuration_oidc_support_allowed_scopes_enum", + "ClientProfileClientConfigurationOidcSupportDefaultValue": ".client_profile_client_configuration_oidc_support_default_value", + "ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum": ".client_profile_client_configuration_organization_discovery_method_enum", + "ClientProfileClientConfigurationOrganizationDiscoveryMethods": ".client_profile_client_configuration_organization_discovery_methods", + "ClientProfileClientConfigurationOrganizationRequireBehavior": ".client_profile_client_configuration_organization_require_behavior", + "ClientProfileClientConfigurationOrganizationRequireBehaviorEnum": ".client_profile_client_configuration_organization_require_behavior_enum", + "ClientProfileClientConfigurationOrganizationUsage": ".client_profile_client_configuration_organization_usage", + "ClientProfileClientConfigurationOrganizationUsageEnum": ".client_profile_client_configuration_organization_usage_enum", + "ClientProfileClientConfigurationRefreshToken": ".client_profile_client_configuration_refresh_token", + "ClientProfileClientConfigurationRequireProofOfPossession": ".client_profile_client_configuration_require_proof_of_possession", + "ClientProfileDescription": ".client_profile_description", + "ClientProfileId": ".client_profile_id", + "ClientProfileName": ".client_profile_name", + "ClientProfileRefreshTokenIdleTokenLifetime": ".client_profile_refresh_token_idle_token_lifetime", + "ClientProfileRefreshTokenLeeway": ".client_profile_refresh_token_leeway", + "ClientProfileRefreshTokenTokenLifetime": ".client_profile_refresh_token_token_lifetime", "ClientRedirectionPolicyEnum": ".client_redirection_policy_enum", "ClientRefreshTokenConfiguration": ".client_refresh_token_configuration", "ClientRefreshTokenPolicy": ".client_refresh_token_policy", + "ClientSearchResponse": ".client_search_response", "ClientSessionTransferAllowedAuthenticationMethodsEnum": ".client_session_transfer_allowed_authentication_methods_enum", "ClientSessionTransferConfiguration": ".client_session_transfer_configuration", "ClientSessionTransferDelegationConfiguration": ".client_session_transfer_delegation_configuration", @@ -3623,6 +6890,7 @@ "ClientSignedRequestObjectWithPublicKey": ".client_signed_request_object_with_public_key", "ClientSigningKey": ".client_signing_key", "ClientSigningKeys": ".client_signing_keys", + "ClientSortFieldEnum": ".client_sort_field_enum", "ClientThirdPartySecurityModeEnum": ".client_third_party_security_mode_enum", "ClientTokenEndpointAuthMethodEnum": ".client_token_endpoint_auth_method_enum", "ClientTokenEndpointAuthMethodOrNullEnum": ".client_token_endpoint_auth_method_or_null_enum", @@ -3631,6 +6899,8 @@ "ClientTokenExchangeTypeEnum": ".client_token_exchange_type_enum", "ClientTokenVaultPrivilegedAccessWithCredentialId": ".client_token_vault_privileged_access_with_credential_id", "ClientTokenVaultPrivilegedAccessWithPublicKey": ".client_token_vault_privileged_access_with_public_key", + "ConflictSchema": ".conflict_schema", + "ConflictSchemaError": ".conflict_schema_error", "ConnectedAccount": ".connected_account", "ConnectedAccountAccessTypeEnum": ".connected_account_access_type_enum", "ConnectionAccessTokenUrloAuth1": ".connection_access_token_urlo_auth_1", @@ -3650,7 +6920,6 @@ "ConnectionAppDomainAzureAd": ".connection_app_domain_azure_ad", "ConnectionAssertionDecryptionAlgorithmProfileEnum": ".connection_assertion_decryption_algorithm_profile_enum", "ConnectionAssertionDecryptionSettings": ".connection_assertion_decryption_settings", - "ConnectionAttributeIdentifier": ".connection_attribute_identifier", "ConnectionAttributeMapAttributes": ".connection_attribute_map_attributes", "ConnectionAttributeMapOidc": ".connection_attribute_map_oidc", "ConnectionAttributeMapOkta": ".connection_attribute_map_okta", @@ -3686,6 +6955,7 @@ "ConnectionClientIdOidc": ".connection_client_id_oidc", "ConnectionClientIdPaypal": ".connection_client_id_paypal", "ConnectionClientIdSalesforce": ".connection_client_id_salesforce", + "ConnectionClientIdSamlxaaRequestingApp": ".connection_client_id_samlxaa_requesting_app", "ConnectionClientIdWindowsLive": ".connection_client_id_windows_live", "ConnectionClientProtocolSaml": ".connection_client_protocol_saml", "ConnectionClientSecret": ".connection_client_secret", @@ -3703,6 +6973,7 @@ "ConnectionClientSecretOidc": ".connection_client_secret_oidc", "ConnectionClientSecretPaypal": ".connection_client_secret_paypal", "ConnectionClientSecretSalesforce": ".connection_client_secret_salesforce", + "ConnectionClientSecretSamlxaaRequestingApp": ".connection_client_secret_samlxaa_requesting_app", "ConnectionClientSecretWindowsLive": ".connection_client_secret_windows_live", "ConnectionCommon": ".connection_common", "ConnectionCommunityBaseUrlSalesforce": ".connection_community_base_url_salesforce", @@ -3711,6 +6982,8 @@ "ConnectionConnectedAccountsPurposeXaa": ".connection_connected_accounts_purpose_xaa", "ConnectionConnectionSettings": ".connection_connection_settings", "ConnectionConnectionSettingsPkceEnum": ".connection_connection_settings_pkce_enum", + "ConnectionCrossAppAccessResourceApp": ".connection_cross_app_access_resource_app", + "ConnectionCrossAppAccessResourceAppStatusEnum": ".connection_cross_app_access_resource_app_status_enum", "ConnectionCustomHeadersOAuth2": ".connection_custom_headers_o_auth_2", "ConnectionCustomScripts": ".connection_custom_scripts", "ConnectionDebugSaml": ".connection_debug_saml", @@ -3740,6 +7013,7 @@ "ConnectionEmailFromEmail": ".connection_email_from_email", "ConnectionEmailOtpAuthenticationMethod": ".connection_email_otp_authentication_method", "ConnectionEmailSubjectEmail": ".connection_email_subject_email", + "ConnectionEnablePushedAuthorizationRequests": ".connection_enable_pushed_authorization_requests", "ConnectionEnableScriptContext": ".connection_enable_script_context", "ConnectionEnabledClient": ".connection_enabled_client", "ConnectionEnabledClients": ".connection_enabled_clients", @@ -3757,7 +7031,6 @@ "ConnectionExtIsSuspended": ".connection_ext_is_suspended", "ConnectionExtIsSuspendedGoogleApps": ".connection_ext_is_suspended_google_apps", "ConnectionExtProfile": ".connection_ext_profile", - "ConnectionFederatedConnectionsAccessTokens": ".connection_federated_connections_access_tokens", "ConnectionFieldsMap": ".connection_fields_map", "ConnectionFieldsMapSaml": ".connection_fields_map_saml", "ConnectionFieldsMapSamlValue": ".connection_fields_map_saml_value", @@ -3893,6 +7166,8 @@ "ConnectionOptionsWordpress": ".connection_options_wordpress", "ConnectionOptionsYahoo": ".connection_options_yahoo", "ConnectionOptionsYandex": ".connection_options_yandex", + "ConnectionOtpChannelSettings": ".connection_otp_channel_settings", + "ConnectionOtpSettings": ".connection_otp_settings", "ConnectionPasskeyAuthenticationMethod": ".connection_passkey_authentication_method", "ConnectionPasskeyChallengeUiEnum": ".connection_passkey_challenge_ui_enum", "ConnectionPasskeyOptions": ".connection_passkey_options", @@ -3913,16 +7188,31 @@ "ConnectionProfile": ".connection_profile", "ConnectionProfileBitbucket": ".connection_profile_bitbucket", "ConnectionProfileConfig": ".connection_profile_config", + "ConnectionProfileCrossAppAccessResourceApp": ".connection_profile_cross_app_access_resource_app", + "ConnectionProfileCrossAppAccessResourceAppStatus": ".connection_profile_cross_app_access_resource_app_status", + "ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum": ".connection_profile_cross_app_access_resource_app_status_allowed_values_enum", + "ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum": ".connection_profile_cross_app_access_resource_app_status_default_value_enum", + "ConnectionProfileCrossAppAccessResourceAppStatusValueEnum": ".connection_profile_cross_app_access_resource_app_status_value_enum", "ConnectionProfileEnabledFeatures": ".connection_profile_enabled_features", "ConnectionProfileId": ".connection_profile_id", "ConnectionProfileName": ".connection_profile_name", "ConnectionProfileOrganization": ".connection_profile_organization", "ConnectionProfileOrganizationAssignMembershipOnLoginEnum": ".connection_profile_organization_assign_membership_on_login_enum", "ConnectionProfileOrganizationShowAsButtonEnum": ".connection_profile_organization_show_as_button_enum", + "ConnectionProfileProvisioning": ".connection_profile_provisioning", + "ConnectionProfileProvisioningGoogleWorkspace": ".connection_profile_provisioning_google_workspace", + "ConnectionProfileProvisioningGoogleWorkspaceSyncUsers": ".connection_profile_provisioning_google_workspace_sync_users", + "ConnectionProfileProvisioningScim": ".connection_profile_provisioning_scim", + "ConnectionProfileProvisioningScimTokenDefaultExpiry": ".connection_profile_provisioning_scim_token_default_expiry", + "ConnectionProfileProvisioningScimTokenMaxAllowedExpiry": ".connection_profile_provisioning_scim_token_max_allowed_expiry", + "ConnectionProfileProvisioningScimTokenScopeEnum": ".connection_profile_provisioning_scim_token_scope_enum", + "ConnectionProfileProvisioningScimTokenScopes": ".connection_profile_provisioning_scim_token_scopes", + "ConnectionProfileProvisioningScimTokens": ".connection_profile_provisioning_scim_tokens", "ConnectionProfileStrategyOverride": ".connection_profile_strategy_override", "ConnectionProfileStrategyOverrides": ".connection_profile_strategy_overrides", "ConnectionProfileStrategyOverridesConnectionConfig": ".connection_profile_strategy_overrides_connection_config", "ConnectionProfileStrategyOverridesEnabledFeatures": ".connection_profile_strategy_overrides_enabled_features", + "ConnectionProfileStrategyOverridesProvisioning": ".connection_profile_strategy_overrides_provisioning", "ConnectionProfileTemplate": ".connection_profile_template", "ConnectionProfileTemplateItem": ".connection_profile_template_item", "ConnectionPropertiesOptions": ".connection_properties_options", @@ -3932,6 +7222,7 @@ "ConnectionProviderSms": ".connection_provider_sms", "ConnectionProvisioningTicketUrl": ".connection_provisioning_ticket_url", "ConnectionPurposes": ".connection_purposes", + "ConnectionPushedAuthorizationRequestEndpoint": ".connection_pushed_authorization_request_endpoint", "ConnectionRealmFallback": ".connection_realm_fallback", "ConnectionRealms": ".connection_realms", "ConnectionRecipientUrlSaml": ".connection_recipient_url_saml", @@ -3943,6 +7234,7 @@ "ConnectionRequestTemplateSaml": ".connection_request_template_saml", "ConnectionRequestTokenUrloAuth1": ".connection_request_token_urlo_auth_1", "ConnectionRequestUriParameterSupported": ".connection_request_uri_parameter_supported", + "ConnectionRequirePushedAuthorizationRequests": ".connection_require_pushed_authorization_requests", "ConnectionRequireRequestUriRegistration": ".connection_require_request_uri_registration", "ConnectionRequiresUsername": ".connection_requires_username", "ConnectionResponseCommon": ".connection_response_common", @@ -4111,6 +7403,9 @@ "ConnectionThumbprints": ".connection_thumbprints", "ConnectionThumbprintsAd": ".connection_thumbprints_ad", "ConnectionThumbprintsSaml": ".connection_thumbprints_saml", + "ConnectionThumbprintsSha384": ".connection_thumbprints_sha_384", + "ConnectionThumbprintsSha384Ad": ".connection_thumbprints_sha_384_ad", + "ConnectionThumbprintsSha384Saml": ".connection_thumbprints_sha_384_saml", "ConnectionTokenEndpoint": ".connection_token_endpoint", "ConnectionTokenEndpointAuthMethodEnum": ".connection_token_endpoint_auth_method_enum", "ConnectionTokenEndpointAuthMethodsSupported": ".connection_token_endpoint_auth_methods_supported", @@ -4137,6 +7432,7 @@ "ConnectionUpstreamParamsFacebook": ".connection_upstream_params_facebook", "ConnectionUpstreamValue": ".connection_upstream_value", "ConnectionUseCommonEndpointAzureAd": ".connection_use_common_endpoint_azure_ad", + "ConnectionUseOauthSpecScope": ".connection_use_oauth_spec_scope", "ConnectionUserAuthorizationUrloAuth1": ".connection_user_authorization_urlo_auth_1", "ConnectionUserIdAttributeSaml": ".connection_user_id_attribute_saml", "ConnectionUseridAttributeAzureAd": ".connection_userid_attribute_azure_ad", @@ -4149,11 +7445,15 @@ "ConnectionValidationOptions": ".connection_validation_options", "ConnectionWaadProtocol": ".connection_waad_protocol", "ConnectionWaadProtocolEnumAzureAd": ".connection_waad_protocol_enum_azure_ad", + "ConnectionsDiscoveryUrl": ".connections_discovery_url", "ConnectionsMetadata": ".connections_metadata", + "ConnectionsOidcMetadata": ".connections_oidc_metadata", + "ConsentSigningKey": ".consent_signing_key", "ContentSecurityPolicyConfig": ".content_security_policy_config", "CreateActionModuleResponseContent": ".create_action_module_response_content", "CreateActionModuleVersionResponseContent": ".create_action_module_version_response_content", "CreateActionResponseContent": ".create_action_response_content", + "CreateAnonymousSessions": ".create_anonymous_sessions", "CreateBrandingPhoneProviderResponseContent": ".create_branding_phone_provider_response_content", "CreateBrandingThemeResponseContent": ".create_branding_theme_response_content", "CreateClientAuthenticationMethodSelfSignedTlsClientAuth": ".create_client_authentication_method_self_signed_tls_client_auth", @@ -4273,6 +7573,7 @@ "CreateConnectionRequestContentYandex": ".create_connection_request_content_yandex", "CreateConnectionRequestContentYandexStrategy": ".create_connection_request_content_yandex_strategy", "CreateConnectionResponseContent": ".create_connection_response_content", + "CreateCrossAppAccessResourceApp": ".create_cross_app_access_resource_app", "CreateCustomDomainResponseContent": ".create_custom_domain_response_content", "CreateDirectoryProvisioningRequestContent": ".create_directory_provisioning_request_content", "CreateDirectoryProvisioningResponseContent": ".create_directory_provisioning_response_content", @@ -4288,8 +7589,11 @@ "CreateEventStreamResponseContent": ".create_event_stream_response_content", "CreateEventStreamTestEventResponseContent": ".create_event_stream_test_event_response_content", "CreateEventStreamWebHookRequestContent": ".create_event_stream_web_hook_request_content", + "CreateExperimentResponseContent": ".create_experiment_response_content", "CreateExportUsersFields": ".create_export_users_fields", "CreateExportUsersResponseContent": ".create_export_users_response_content", + "CreateFeatureFlagParameters": ".create_feature_flag_parameters", + "CreateFeatureFlagResponseContent": ".create_feature_flag_response_content", "CreateFlowResponseContent": ".create_flow_response_content", "CreateFlowsVaultConnectionActivecampaign": ".create_flows_vault_connection_activecampaign", "CreateFlowsVaultConnectionActivecampaignApiKey": ".create_flows_vault_connection_activecampaign_api_key", @@ -4368,7 +7672,9 @@ "CreateGuardianEnrollmentTicketResponseContent": ".create_guardian_enrollment_ticket_response_content", "CreateHookResponseContent": ".create_hook_response_content", "CreateHookSecretRequestContent": ".create_hook_secret_request_content", + "CreateIdentityAssertionAuthorizationGrant": ".create_identity_assertion_authorization_grant", "CreateImportUsersResponseContent": ".create_import_users_response_content", + "CreateKeysNetworkAclsResponseContent": ".create_keys_network_acls_response_content", "CreateLogStreamDatadogRequestBody": ".create_log_stream_datadog_request_body", "CreateLogStreamEventBridgeRequestBody": ".create_log_stream_event_bridge_request_body", "CreateLogStreamEventGridRequestBody": ".create_log_stream_event_grid_request_body", @@ -4380,6 +7686,8 @@ "CreateLogStreamSplunkRequestBody": ".create_log_stream_splunk_request_body", "CreateLogStreamSumoRequestBody": ".create_log_stream_sumo_request_body", "CreateOrganizationAllConnectionResponseContent": ".create_organization_all_connection_response_content", + "CreateOrganizationClientRequestItem": ".create_organization_client_request_item", + "CreateOrganizationClientsResponseContent": ".create_organization_clients_response_content", "CreateOrganizationDiscoveryDomainResponseContent": ".create_organization_discovery_domain_response_content", "CreateOrganizationInvitationResponseContent": ".create_organization_invitation_response_content", "CreateOrganizationResponseContent": ".create_organization_response_content", @@ -4394,6 +7702,7 @@ "CreateScimConfigurationRequestContent": ".create_scim_configuration_request_content", "CreateScimConfigurationResponseContent": ".create_scim_configuration_response_content", "CreateScimTokenResponseContent": ".create_scim_token_response_content", + "CreateSegmentResponseContent": ".create_segment_response_content", "CreateSelfServiceProfileResponseContent": ".create_self_service_profile_response_content", "CreateSelfServiceProfileSsoTicketResponseContent": ".create_self_service_profile_sso_ticket_response_content", "CreateTokenExchangeProfileResponseContent": ".create_token_exchange_profile_response_content", @@ -4401,6 +7710,7 @@ "CreateUserAttributeProfileResponseContent": ".create_user_attribute_profile_response_content", "CreateUserAuthenticationMethodResponseContent": ".create_user_authentication_method_response_content", "CreateUserResponseContent": ".create_user_response_content", + "CreateVariationResponseContent": ".create_variation_response_content", "CreateVerifiableCredentialTemplateResponseContent": ".create_verifiable_credential_template_response_content", "CreateVerificationEmailResponseContent": ".create_verification_email_response_content", "CreatedAuthenticationMethodTypeEnum": ".created_authentication_method_type_enum", @@ -4408,6 +7718,8 @@ "CredentialDeviceTypeEnum": ".credential_device_type_enum", "CredentialId": ".credential_id", "CrossAppAccessRequestingApp": ".cross_app_access_requesting_app", + "CrossAppAccessResourceApp": ".cross_app_access_resource_app", + "CrossAppAccessResourceAppStatusEnum": ".cross_app_access_resource_app_status_enum", "CspDirectives": ".csp_directives", "CspFlag": ".csp_flag", "CspFlags": ".csp_flags", @@ -4438,7 +7750,9 @@ "CustomSigningKeyTypeEnum": ".custom_signing_key_type_enum", "CustomSigningKeyUseEnum": ".custom_signing_key_use_enum", "DailyStats": ".daily_stats", + "DefaultConfigEnum": ".default_config_enum", "DefaultMethodEmailIdentifierEnum": ".default_method_email_identifier_enum", + "DefaultMethodPhoneNumberIdentifierEnum": ".default_method_phone_number_identifier_enum", "DefaultTokenQuota": ".default_token_quota", "DeleteHookSecretRequestContent": ".delete_hook_secret_request_content", "DeleteUserIdentityResponseContent": ".delete_user_identity_response_content", @@ -4460,6 +7774,7 @@ "DomainVerificationMethodNameEnum": ".domain_verification_method_name_enum", "DomainVerificationStatusEnum": ".domain_verification_status_enum", "EmailAttribute": ".email_attribute", + "EmailAttributeIdentifier": ".email_attribute_identifier", "EmailMailgunRegionEnum": ".email_mailgun_region_enum", "EmailProviderCredentials": ".email_provider_credentials", "EmailProviderCredentialsSchema": ".email_provider_credentials_schema", @@ -4487,6 +7802,735 @@ "EventStreamActionResponseContent": ".event_stream_action_response_content", "EventStreamCloudEvent": ".event_stream_cloud_event", "EventStreamCloudEventA0PurposeEnum": ".event_stream_cloud_event_a_0_purpose_enum", + "EventStreamCloudEventConnectionCreated": ".event_stream_cloud_event_connection_created", + "EventStreamCloudEventConnectionCreatedCloudEvent": ".event_stream_cloud_event_connection_created_cloud_event", + "EventStreamCloudEventConnectionCreatedCloudEventTypeEnum": ".event_stream_cloud_event_connection_created_cloud_event_type_enum", + "EventStreamCloudEventConnectionCreatedData": ".event_stream_cloud_event_connection_created_data", + "EventStreamCloudEventConnectionCreatedObject": ".event_stream_cloud_event_connection_created_object", + "EventStreamCloudEventConnectionCreatedObject0": ".event_stream_cloud_event_connection_created_object_0", + "EventStreamCloudEventConnectionCreatedObject0Authentication": ".event_stream_cloud_event_connection_created_object_0_authentication", + "EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_0_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject0Metadata": ".event_stream_cloud_event_connection_created_object_0_metadata", + "EventStreamCloudEventConnectionCreatedObject0Options": ".event_stream_cloud_event_connection_created_object_0_options", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_created_object_0_options_attribute_map", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_created_object_0_options_connection_settings", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_created_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_created_object_0_options_type_enum", + "EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_0_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject0StrategyEnum": ".event_stream_cloud_event_connection_created_object_0_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject1": ".event_stream_cloud_event_connection_created_object_1", + "EventStreamCloudEventConnectionCreatedObject1Authentication": ".event_stream_cloud_event_connection_created_object_1_authentication", + "EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_1_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject1Metadata": ".event_stream_cloud_event_connection_created_object_1_metadata", + "EventStreamCloudEventConnectionCreatedObject1Options": ".event_stream_cloud_event_connection_created_object_1_options", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_created_object_1_options_attribute_map", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_created_object_1_options_connection_settings", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_created_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_created_object_1_options_type_enum", + "EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_1_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject1StrategyEnum": ".event_stream_cloud_event_connection_created_object_1_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject2": ".event_stream_cloud_event_connection_created_object_2", + "EventStreamCloudEventConnectionCreatedObject2Authentication": ".event_stream_cloud_event_connection_created_object_2_authentication", + "EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_2_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject2Metadata": ".event_stream_cloud_event_connection_created_object_2_metadata", + "EventStreamCloudEventConnectionCreatedObject2Options": ".event_stream_cloud_event_connection_created_object_2_options", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_created_object_2_options_fields_map", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_created_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSubject": ".event_stream_cloud_event_connection_created_object_2_options_subject", + "EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_2_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject2StrategyEnum": ".event_stream_cloud_event_connection_created_object_2_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject3": ".event_stream_cloud_event_connection_created_object_3", + "EventStreamCloudEventConnectionCreatedObject3Authentication": ".event_stream_cloud_event_connection_created_object_3_authentication", + "EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_3_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject3Metadata": ".event_stream_cloud_event_connection_created_object_3_metadata", + "EventStreamCloudEventConnectionCreatedObject3Options": ".event_stream_cloud_event_connection_created_object_3_options", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_created_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSubject": ".event_stream_cloud_event_connection_created_object_3_options_subject", + "EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_3_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject3StrategyEnum": ".event_stream_cloud_event_connection_created_object_3_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject4": ".event_stream_cloud_event_connection_created_object_4", + "EventStreamCloudEventConnectionCreatedObject4Authentication": ".event_stream_cloud_event_connection_created_object_4_authentication", + "EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_4_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject4Metadata": ".event_stream_cloud_event_connection_created_object_4_metadata", + "EventStreamCloudEventConnectionCreatedObject4Options": ".event_stream_cloud_event_connection_created_object_4_options", + "EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_4_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject4StrategyEnum": ".event_stream_cloud_event_connection_created_object_4_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject5": ".event_stream_cloud_event_connection_created_object_5", + "EventStreamCloudEventConnectionCreatedObject5Authentication": ".event_stream_cloud_event_connection_created_object_5_authentication", + "EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_5_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject5Metadata": ".event_stream_cloud_event_connection_created_object_5_metadata", + "EventStreamCloudEventConnectionCreatedObject5Options": ".event_stream_cloud_event_connection_created_object_5_options", + "EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_5_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject5StrategyEnum": ".event_stream_cloud_event_connection_created_object_5_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject6": ".event_stream_cloud_event_connection_created_object_6", + "EventStreamCloudEventConnectionCreatedObject6Authentication": ".event_stream_cloud_event_connection_created_object_6_authentication", + "EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_6_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject6Metadata": ".event_stream_cloud_event_connection_created_object_6_metadata", + "EventStreamCloudEventConnectionCreatedObject6Options": ".event_stream_cloud_event_connection_created_object_6_options", + "EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_6_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject6StrategyEnum": ".event_stream_cloud_event_connection_created_object_6_strategy_enum", + "EventStreamCloudEventConnectionCreatedObject7": ".event_stream_cloud_event_connection_created_object_7", + "EventStreamCloudEventConnectionCreatedObject7Authentication": ".event_stream_cloud_event_connection_created_object_7_authentication", + "EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts": ".event_stream_cloud_event_connection_created_object_7_connected_accounts", + "EventStreamCloudEventConnectionCreatedObject7Metadata": ".event_stream_cloud_event_connection_created_object_7_metadata", + "EventStreamCloudEventConnectionCreatedObject7Options": ".event_stream_cloud_event_connection_created_object_7_options", + "EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_created_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_object_7_options_upstream_params", + "EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionCreatedObject7StrategyEnum": ".event_stream_cloud_event_connection_created_object_7_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject": ".event_stream_cloud_event_connection_created_previous_object", + "EventStreamCloudEventConnectionCreatedPreviousObject0": ".event_stream_cloud_event_connection_created_previous_object_0", + "EventStreamCloudEventConnectionCreatedPreviousObject0Authentication": ".event_stream_cloud_event_connection_created_previous_object_0_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_0_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject0Metadata": ".event_stream_cloud_event_connection_created_previous_object_0_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0Options": ".event_stream_cloud_event_connection_created_previous_object_0_options", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_created_previous_object_0_options_type_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_0_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1": ".event_stream_cloud_event_connection_created_previous_object_1", + "EventStreamCloudEventConnectionCreatedPreviousObject1Authentication": ".event_stream_cloud_event_connection_created_previous_object_1_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_1_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject1Metadata": ".event_stream_cloud_event_connection_created_previous_object_1_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1Options": ".event_stream_cloud_event_connection_created_previous_object_1_options", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_created_previous_object_1_options_type_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_1_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2": ".event_stream_cloud_event_connection_created_previous_object_2", + "EventStreamCloudEventConnectionCreatedPreviousObject2Authentication": ".event_stream_cloud_event_connection_created_previous_object_2_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_2_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject2Metadata": ".event_stream_cloud_event_connection_created_previous_object_2_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2Options": ".event_stream_cloud_event_connection_created_previous_object_2_options", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_created_previous_object_2_options_fields_map", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject": ".event_stream_cloud_event_connection_created_previous_object_2_options_subject", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_2_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3": ".event_stream_cloud_event_connection_created_previous_object_3", + "EventStreamCloudEventConnectionCreatedPreviousObject3Authentication": ".event_stream_cloud_event_connection_created_previous_object_3_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_3_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject3Metadata": ".event_stream_cloud_event_connection_created_previous_object_3_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject3Options": ".event_stream_cloud_event_connection_created_previous_object_3_options", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject": ".event_stream_cloud_event_connection_created_previous_object_3_options_subject", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_3_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject4": ".event_stream_cloud_event_connection_created_previous_object_4", + "EventStreamCloudEventConnectionCreatedPreviousObject4Authentication": ".event_stream_cloud_event_connection_created_previous_object_4_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_4_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject4Metadata": ".event_stream_cloud_event_connection_created_previous_object_4_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject4Options": ".event_stream_cloud_event_connection_created_previous_object_4_options", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_4_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject5": ".event_stream_cloud_event_connection_created_previous_object_5", + "EventStreamCloudEventConnectionCreatedPreviousObject5Authentication": ".event_stream_cloud_event_connection_created_previous_object_5_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_5_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject5Metadata": ".event_stream_cloud_event_connection_created_previous_object_5_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject5Options": ".event_stream_cloud_event_connection_created_previous_object_5_options", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_5_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject6": ".event_stream_cloud_event_connection_created_previous_object_6", + "EventStreamCloudEventConnectionCreatedPreviousObject6Authentication": ".event_stream_cloud_event_connection_created_previous_object_6_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_6_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject6Metadata": ".event_stream_cloud_event_connection_created_previous_object_6_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject6Options": ".event_stream_cloud_event_connection_created_previous_object_6_options", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_6_strategy_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7": ".event_stream_cloud_event_connection_created_previous_object_7", + "EventStreamCloudEventConnectionCreatedPreviousObject7Authentication": ".event_stream_cloud_event_connection_created_previous_object_7_authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts": ".event_stream_cloud_event_connection_created_previous_object_7_connected_accounts", + "EventStreamCloudEventConnectionCreatedPreviousObject7Metadata": ".event_stream_cloud_event_connection_created_previous_object_7_metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject7Options": ".event_stream_cloud_event_connection_created_previous_object_7_options", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum": ".event_stream_cloud_event_connection_created_previous_object_7_strategy_enum", + "EventStreamCloudEventConnectionCreatedTypeEnum": ".event_stream_cloud_event_connection_created_type_enum", + "EventStreamCloudEventConnectionDeleted": ".event_stream_cloud_event_connection_deleted", + "EventStreamCloudEventConnectionDeletedCloudEvent": ".event_stream_cloud_event_connection_deleted_cloud_event", + "EventStreamCloudEventConnectionDeletedCloudEventTypeEnum": ".event_stream_cloud_event_connection_deleted_cloud_event_type_enum", + "EventStreamCloudEventConnectionDeletedData": ".event_stream_cloud_event_connection_deleted_data", + "EventStreamCloudEventConnectionDeletedObject": ".event_stream_cloud_event_connection_deleted_object", + "EventStreamCloudEventConnectionDeletedObject0": ".event_stream_cloud_event_connection_deleted_object_0", + "EventStreamCloudEventConnectionDeletedObject0Authentication": ".event_stream_cloud_event_connection_deleted_object_0_authentication", + "EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_0_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject0Metadata": ".event_stream_cloud_event_connection_deleted_object_0_metadata", + "EventStreamCloudEventConnectionDeletedObject0Options": ".event_stream_cloud_event_connection_deleted_object_0_options", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_deleted_object_0_options_attribute_map", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_deleted_object_0_options_connection_settings", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_deleted_object_0_options_type_enum", + "EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_0_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject0StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_0_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject1": ".event_stream_cloud_event_connection_deleted_object_1", + "EventStreamCloudEventConnectionDeletedObject1Authentication": ".event_stream_cloud_event_connection_deleted_object_1_authentication", + "EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_1_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject1Metadata": ".event_stream_cloud_event_connection_deleted_object_1_metadata", + "EventStreamCloudEventConnectionDeletedObject1Options": ".event_stream_cloud_event_connection_deleted_object_1_options", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_deleted_object_1_options_attribute_map", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_deleted_object_1_options_connection_settings", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_deleted_object_1_options_type_enum", + "EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_1_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject1StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_1_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject2": ".event_stream_cloud_event_connection_deleted_object_2", + "EventStreamCloudEventConnectionDeletedObject2Authentication": ".event_stream_cloud_event_connection_deleted_object_2_authentication", + "EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_2_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject2Metadata": ".event_stream_cloud_event_connection_deleted_object_2_metadata", + "EventStreamCloudEventConnectionDeletedObject2Options": ".event_stream_cloud_event_connection_deleted_object_2_options", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_deleted_object_2_options_fields_map", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSubject": ".event_stream_cloud_event_connection_deleted_object_2_options_subject", + "EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_2_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject2StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_2_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject3": ".event_stream_cloud_event_connection_deleted_object_3", + "EventStreamCloudEventConnectionDeletedObject3Authentication": ".event_stream_cloud_event_connection_deleted_object_3_authentication", + "EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_3_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject3Metadata": ".event_stream_cloud_event_connection_deleted_object_3_metadata", + "EventStreamCloudEventConnectionDeletedObject3Options": ".event_stream_cloud_event_connection_deleted_object_3_options", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSubject": ".event_stream_cloud_event_connection_deleted_object_3_options_subject", + "EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_3_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject3StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_3_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject4": ".event_stream_cloud_event_connection_deleted_object_4", + "EventStreamCloudEventConnectionDeletedObject4Authentication": ".event_stream_cloud_event_connection_deleted_object_4_authentication", + "EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_4_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject4Metadata": ".event_stream_cloud_event_connection_deleted_object_4_metadata", + "EventStreamCloudEventConnectionDeletedObject4Options": ".event_stream_cloud_event_connection_deleted_object_4_options", + "EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_4_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject4StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_4_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject5": ".event_stream_cloud_event_connection_deleted_object_5", + "EventStreamCloudEventConnectionDeletedObject5Authentication": ".event_stream_cloud_event_connection_deleted_object_5_authentication", + "EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_5_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject5Metadata": ".event_stream_cloud_event_connection_deleted_object_5_metadata", + "EventStreamCloudEventConnectionDeletedObject5Options": ".event_stream_cloud_event_connection_deleted_object_5_options", + "EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_5_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject5StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_5_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject6": ".event_stream_cloud_event_connection_deleted_object_6", + "EventStreamCloudEventConnectionDeletedObject6Authentication": ".event_stream_cloud_event_connection_deleted_object_6_authentication", + "EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_6_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject6Metadata": ".event_stream_cloud_event_connection_deleted_object_6_metadata", + "EventStreamCloudEventConnectionDeletedObject6Options": ".event_stream_cloud_event_connection_deleted_object_6_options", + "EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_6_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject6StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_6_strategy_enum", + "EventStreamCloudEventConnectionDeletedObject7": ".event_stream_cloud_event_connection_deleted_object_7", + "EventStreamCloudEventConnectionDeletedObject7Authentication": ".event_stream_cloud_event_connection_deleted_object_7_authentication", + "EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_object_7_connected_accounts", + "EventStreamCloudEventConnectionDeletedObject7Metadata": ".event_stream_cloud_event_connection_deleted_object_7_metadata", + "EventStreamCloudEventConnectionDeletedObject7Options": ".event_stream_cloud_event_connection_deleted_object_7_options", + "EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_object_7_options_upstream_params", + "EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionDeletedObject7StrategyEnum": ".event_stream_cloud_event_connection_deleted_object_7_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject": ".event_stream_cloud_event_connection_deleted_previous_object", + "EventStreamCloudEventConnectionDeletedPreviousObject0": ".event_stream_cloud_event_connection_deleted_previous_object_0", + "EventStreamCloudEventConnectionDeletedPreviousObject0Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_0_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject0Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_0_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0Options": ".event_stream_cloud_event_connection_deleted_previous_object_0_options", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1": ".event_stream_cloud_event_connection_deleted_previous_object_1", + "EventStreamCloudEventConnectionDeletedPreviousObject1Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_1_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject1Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_1_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1Options": ".event_stream_cloud_event_connection_deleted_previous_object_1_options", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2": ".event_stream_cloud_event_connection_deleted_previous_object_2", + "EventStreamCloudEventConnectionDeletedPreviousObject2Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_2_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject2Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_2_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2Options": ".event_stream_cloud_event_connection_deleted_previous_object_2_options", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_subject", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3": ".event_stream_cloud_event_connection_deleted_previous_object_3", + "EventStreamCloudEventConnectionDeletedPreviousObject3Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_3_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject3Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_3_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject3Options": ".event_stream_cloud_event_connection_deleted_previous_object_3_options", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_subject", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject4": ".event_stream_cloud_event_connection_deleted_previous_object_4", + "EventStreamCloudEventConnectionDeletedPreviousObject4Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_4_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject4Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_4_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject4Options": ".event_stream_cloud_event_connection_deleted_previous_object_4_options", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject5": ".event_stream_cloud_event_connection_deleted_previous_object_5", + "EventStreamCloudEventConnectionDeletedPreviousObject5Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_5_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject5Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_5_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject5Options": ".event_stream_cloud_event_connection_deleted_previous_object_5_options", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject6": ".event_stream_cloud_event_connection_deleted_previous_object_6", + "EventStreamCloudEventConnectionDeletedPreviousObject6Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_6_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject6Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_6_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject6Options": ".event_stream_cloud_event_connection_deleted_previous_object_6_options", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7": ".event_stream_cloud_event_connection_deleted_previous_object_7", + "EventStreamCloudEventConnectionDeletedPreviousObject7Authentication": ".event_stream_cloud_event_connection_deleted_previous_object_7_authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts": ".event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts", + "EventStreamCloudEventConnectionDeletedPreviousObject7Metadata": ".event_stream_cloud_event_connection_deleted_previous_object_7_metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject7Options": ".event_stream_cloud_event_connection_deleted_previous_object_7_options", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum": ".event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum", + "EventStreamCloudEventConnectionDeletedTypeEnum": ".event_stream_cloud_event_connection_deleted_type_enum", + "EventStreamCloudEventConnectionUpdated": ".event_stream_cloud_event_connection_updated", + "EventStreamCloudEventConnectionUpdatedCloudEvent": ".event_stream_cloud_event_connection_updated_cloud_event", + "EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum": ".event_stream_cloud_event_connection_updated_cloud_event_type_enum", + "EventStreamCloudEventConnectionUpdatedData": ".event_stream_cloud_event_connection_updated_data", + "EventStreamCloudEventConnectionUpdatedObject": ".event_stream_cloud_event_connection_updated_object", + "EventStreamCloudEventConnectionUpdatedObject0": ".event_stream_cloud_event_connection_updated_object_0", + "EventStreamCloudEventConnectionUpdatedObject0Authentication": ".event_stream_cloud_event_connection_updated_object_0_authentication", + "EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_0_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject0Metadata": ".event_stream_cloud_event_connection_updated_object_0_metadata", + "EventStreamCloudEventConnectionUpdatedObject0Options": ".event_stream_cloud_event_connection_updated_object_0_options", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_updated_object_0_options_attribute_map", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_updated_object_0_options_connection_settings", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_updated_object_0_options_type_enum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_0_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject0StrategyEnum": ".event_stream_cloud_event_connection_updated_object_0_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject1": ".event_stream_cloud_event_connection_updated_object_1", + "EventStreamCloudEventConnectionUpdatedObject1Authentication": ".event_stream_cloud_event_connection_updated_object_1_authentication", + "EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_1_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject1Metadata": ".event_stream_cloud_event_connection_updated_object_1_metadata", + "EventStreamCloudEventConnectionUpdatedObject1Options": ".event_stream_cloud_event_connection_updated_object_1_options", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_updated_object_1_options_attribute_map", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_updated_object_1_options_connection_settings", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_updated_object_1_options_type_enum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_1_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject1StrategyEnum": ".event_stream_cloud_event_connection_updated_object_1_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject2": ".event_stream_cloud_event_connection_updated_object_2", + "EventStreamCloudEventConnectionUpdatedObject2Authentication": ".event_stream_cloud_event_connection_updated_object_2_authentication", + "EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_2_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject2Metadata": ".event_stream_cloud_event_connection_updated_object_2_metadata", + "EventStreamCloudEventConnectionUpdatedObject2Options": ".event_stream_cloud_event_connection_updated_object_2_options", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_updated_object_2_options_fields_map", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_updated_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSubject": ".event_stream_cloud_event_connection_updated_object_2_options_subject", + "EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_2_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject2StrategyEnum": ".event_stream_cloud_event_connection_updated_object_2_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject3": ".event_stream_cloud_event_connection_updated_object_3", + "EventStreamCloudEventConnectionUpdatedObject3Authentication": ".event_stream_cloud_event_connection_updated_object_3_authentication", + "EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_3_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject3Metadata": ".event_stream_cloud_event_connection_updated_object_3_metadata", + "EventStreamCloudEventConnectionUpdatedObject3Options": ".event_stream_cloud_event_connection_updated_object_3_options", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_updated_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSubject": ".event_stream_cloud_event_connection_updated_object_3_options_subject", + "EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_3_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject3StrategyEnum": ".event_stream_cloud_event_connection_updated_object_3_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject4": ".event_stream_cloud_event_connection_updated_object_4", + "EventStreamCloudEventConnectionUpdatedObject4Authentication": ".event_stream_cloud_event_connection_updated_object_4_authentication", + "EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_4_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject4Metadata": ".event_stream_cloud_event_connection_updated_object_4_metadata", + "EventStreamCloudEventConnectionUpdatedObject4Options": ".event_stream_cloud_event_connection_updated_object_4_options", + "EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_4_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject4StrategyEnum": ".event_stream_cloud_event_connection_updated_object_4_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject5": ".event_stream_cloud_event_connection_updated_object_5", + "EventStreamCloudEventConnectionUpdatedObject5Authentication": ".event_stream_cloud_event_connection_updated_object_5_authentication", + "EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_5_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject5Metadata": ".event_stream_cloud_event_connection_updated_object_5_metadata", + "EventStreamCloudEventConnectionUpdatedObject5Options": ".event_stream_cloud_event_connection_updated_object_5_options", + "EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_5_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject5StrategyEnum": ".event_stream_cloud_event_connection_updated_object_5_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject6": ".event_stream_cloud_event_connection_updated_object_6", + "EventStreamCloudEventConnectionUpdatedObject6Authentication": ".event_stream_cloud_event_connection_updated_object_6_authentication", + "EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_6_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject6Metadata": ".event_stream_cloud_event_connection_updated_object_6_metadata", + "EventStreamCloudEventConnectionUpdatedObject6Options": ".event_stream_cloud_event_connection_updated_object_6_options", + "EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_6_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject6StrategyEnum": ".event_stream_cloud_event_connection_updated_object_6_strategy_enum", + "EventStreamCloudEventConnectionUpdatedObject7": ".event_stream_cloud_event_connection_updated_object_7", + "EventStreamCloudEventConnectionUpdatedObject7Authentication": ".event_stream_cloud_event_connection_updated_object_7_authentication", + "EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts": ".event_stream_cloud_event_connection_updated_object_7_connected_accounts", + "EventStreamCloudEventConnectionUpdatedObject7Metadata": ".event_stream_cloud_event_connection_updated_object_7_metadata", + "EventStreamCloudEventConnectionUpdatedObject7Options": ".event_stream_cloud_event_connection_updated_object_7_options", + "EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_object_7_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionUpdatedObject7StrategyEnum": ".event_stream_cloud_event_connection_updated_object_7_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject": ".event_stream_cloud_event_connection_updated_previous_object", + "EventStreamCloudEventConnectionUpdatedPreviousObject0": ".event_stream_cloud_event_connection_updated_previous_object_0", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication": ".event_stream_cloud_event_connection_updated_previous_object_0_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata": ".event_stream_cloud_event_connection_updated_previous_object_0_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Options": ".event_stream_cloud_event_connection_updated_previous_object_0_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap": ".event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings": ".event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1": ".event_stream_cloud_event_connection_updated_previous_object_1", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication": ".event_stream_cloud_event_connection_updated_previous_object_1_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata": ".event_stream_cloud_event_connection_updated_previous_object_1_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Options": ".event_stream_cloud_event_connection_updated_previous_object_1_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap": ".event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes": ".event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings": ".event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2": ".event_stream_cloud_event_connection_updated_previous_object_2", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication": ".event_stream_cloud_event_connection_updated_previous_object_2_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata": ".event_stream_cloud_event_connection_updated_previous_object_2_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Options": ".event_stream_cloud_event_connection_updated_previous_object_2_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap": ".event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated": ".event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata": ".event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject": ".event_stream_cloud_event_connection_updated_previous_object_2_options_subject", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3": ".event_stream_cloud_event_connection_updated_previous_object_3", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication": ".event_stream_cloud_event_connection_updated_previous_object_3_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata": ".event_stream_cloud_event_connection_updated_previous_object_3_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Options": ".event_stream_cloud_event_connection_updated_previous_object_3_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings": ".event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated": ".event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject": ".event_stream_cloud_event_connection_updated_previous_object_3_options_subject", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4": ".event_stream_cloud_event_connection_updated_previous_object_4", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication": ".event_stream_cloud_event_connection_updated_previous_object_4_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata": ".event_stream_cloud_event_connection_updated_previous_object_4_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Options": ".event_stream_cloud_event_connection_updated_previous_object_4_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5": ".event_stream_cloud_event_connection_updated_previous_object_5", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication": ".event_stream_cloud_event_connection_updated_previous_object_5_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata": ".event_stream_cloud_event_connection_updated_previous_object_5_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Options": ".event_stream_cloud_event_connection_updated_previous_object_5_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6": ".event_stream_cloud_event_connection_updated_previous_object_6", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication": ".event_stream_cloud_event_connection_updated_previous_object_6_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata": ".event_stream_cloud_event_connection_updated_previous_object_6_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Options": ".event_stream_cloud_event_connection_updated_previous_object_6_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7": ".event_stream_cloud_event_connection_updated_previous_object_7", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication": ".event_stream_cloud_event_connection_updated_previous_object_7_authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts": ".event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata": ".event_stream_cloud_event_connection_updated_previous_object_7_metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Options": ".event_stream_cloud_event_connection_updated_previous_object_7_options", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens": ".event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne": ".event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams": ".event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum": ".event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum", + "EventStreamCloudEventConnectionUpdatedTypeEnum": ".event_stream_cloud_event_connection_updated_type_enum", "EventStreamCloudEventContext": ".event_stream_cloud_event_context", "EventStreamCloudEventContextClient": ".event_stream_cloud_event_context_client", "EventStreamCloudEventContextClientMetadata": ".event_stream_cloud_event_context_client_metadata", @@ -4494,6 +8538,11 @@ "EventStreamCloudEventContextRequest": ".event_stream_cloud_event_context_request", "EventStreamCloudEventContextRequestGeo": ".event_stream_cloud_event_context_request_geo", "EventStreamCloudEventContextTenant": ".event_stream_cloud_event_context_tenant", + "EventStreamCloudEventContextTransaction": ".event_stream_cloud_event_context_transaction", + "EventStreamCloudEventContextTransactionProtocolEnum": ".event_stream_cloud_event_context_transaction_protocol_enum", + "EventStreamCloudEventContextTransactionResponseModeEnum": ".event_stream_cloud_event_context_transaction_response_mode_enum", + "EventStreamCloudEventContextTransactionResponseTypeItemEnum": ".event_stream_cloud_event_context_transaction_response_type_item_enum", + "EventStreamCloudEventData": ".event_stream_cloud_event_data", "EventStreamCloudEventErrorCodeEnum": ".event_stream_cloud_event_error_code_enum", "EventStreamCloudEventErrorDetail": ".event_stream_cloud_event_error_detail", "EventStreamCloudEventErrorMessage": ".event_stream_cloud_event_error_message", @@ -4509,6 +8558,13 @@ "EventStreamCloudEventGroupCreatedObject1TypeEnum": ".event_stream_cloud_event_group_created_object_1_type_enum", "EventStreamCloudEventGroupCreatedObject2": ".event_stream_cloud_event_group_created_object_2", "EventStreamCloudEventGroupCreatedObject2TypeEnum": ".event_stream_cloud_event_group_created_object_2_type_enum", + "EventStreamCloudEventGroupCreatedPreviousObject": ".event_stream_cloud_event_group_created_previous_object", + "EventStreamCloudEventGroupCreatedPreviousObject0": ".event_stream_cloud_event_group_created_previous_object_0", + "EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum": ".event_stream_cloud_event_group_created_previous_object_0_type_enum", + "EventStreamCloudEventGroupCreatedPreviousObject1": ".event_stream_cloud_event_group_created_previous_object_1", + "EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum": ".event_stream_cloud_event_group_created_previous_object_1_type_enum", + "EventStreamCloudEventGroupCreatedPreviousObject2": ".event_stream_cloud_event_group_created_previous_object_2", + "EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum": ".event_stream_cloud_event_group_created_previous_object_2_type_enum", "EventStreamCloudEventGroupCreatedTypeEnum": ".event_stream_cloud_event_group_created_type_enum", "EventStreamCloudEventGroupDeleted": ".event_stream_cloud_event_group_deleted", "EventStreamCloudEventGroupDeletedCloudEvent": ".event_stream_cloud_event_group_deleted_cloud_event", @@ -4521,6 +8577,13 @@ "EventStreamCloudEventGroupDeletedObject1TypeEnum": ".event_stream_cloud_event_group_deleted_object_1_type_enum", "EventStreamCloudEventGroupDeletedObject2": ".event_stream_cloud_event_group_deleted_object_2", "EventStreamCloudEventGroupDeletedObject2TypeEnum": ".event_stream_cloud_event_group_deleted_object_2_type_enum", + "EventStreamCloudEventGroupDeletedPreviousObject": ".event_stream_cloud_event_group_deleted_previous_object", + "EventStreamCloudEventGroupDeletedPreviousObject0": ".event_stream_cloud_event_group_deleted_previous_object_0", + "EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum": ".event_stream_cloud_event_group_deleted_previous_object_0_type_enum", + "EventStreamCloudEventGroupDeletedPreviousObject1": ".event_stream_cloud_event_group_deleted_previous_object_1", + "EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum": ".event_stream_cloud_event_group_deleted_previous_object_1_type_enum", + "EventStreamCloudEventGroupDeletedPreviousObject2": ".event_stream_cloud_event_group_deleted_previous_object_2", + "EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum": ".event_stream_cloud_event_group_deleted_previous_object_2_type_enum", "EventStreamCloudEventGroupDeletedTypeEnum": ".event_stream_cloud_event_group_deleted_type_enum", "EventStreamCloudEventGroupMemberAdded": ".event_stream_cloud_event_group_member_added", "EventStreamCloudEventGroupMemberAddedCloudEvent": ".event_stream_cloud_event_group_member_added_cloud_event", @@ -4539,6 +8602,19 @@ "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum": ".event_stream_cloud_event_group_member_added_object_member_0_member_type_enum", "EventStreamCloudEventGroupMemberAddedObjectMember1": ".event_stream_cloud_event_group_member_added_object_member_1", "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum": ".event_stream_cloud_event_group_member_added_object_member_1_member_type_enum", + "EventStreamCloudEventGroupMemberAddedPreviousObject": ".event_stream_cloud_event_group_member_added_previous_object", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup": ".event_stream_cloud_event_group_member_added_previous_object_group", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0": ".event_stream_cloud_event_group_member_added_previous_object_group_0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1": ".event_stream_cloud_event_group_member_added_previous_object_group_1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2": ".event_stream_cloud_event_group_member_added_previous_object_group_2", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember": ".event_stream_cloud_event_group_member_added_previous_object_member", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0": ".event_stream_cloud_event_group_member_added_previous_object_member_0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum": ".event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1": ".event_stream_cloud_event_group_member_added_previous_object_member_1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum": ".event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum", "EventStreamCloudEventGroupMemberAddedTypeEnum": ".event_stream_cloud_event_group_member_added_type_enum", "EventStreamCloudEventGroupMemberDeleted": ".event_stream_cloud_event_group_member_deleted", "EventStreamCloudEventGroupMemberDeletedCloudEvent": ".event_stream_cloud_event_group_member_deleted_cloud_event", @@ -4557,6 +8633,19 @@ "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum": ".event_stream_cloud_event_group_member_deleted_object_member_0_member_type_enum", "EventStreamCloudEventGroupMemberDeletedObjectMember1": ".event_stream_cloud_event_group_member_deleted_object_member_1", "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum": ".event_stream_cloud_event_group_member_deleted_object_member_1_member_type_enum", + "EventStreamCloudEventGroupMemberDeletedPreviousObject": ".event_stream_cloud_event_group_member_deleted_previous_object", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup": ".event_stream_cloud_event_group_member_deleted_previous_object_group", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0": ".event_stream_cloud_event_group_member_deleted_previous_object_group_0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1": ".event_stream_cloud_event_group_member_deleted_previous_object_group_1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2": ".event_stream_cloud_event_group_member_deleted_previous_object_group_2", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember": ".event_stream_cloud_event_group_member_deleted_previous_object_member", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0": ".event_stream_cloud_event_group_member_deleted_previous_object_member_0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum": ".event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1": ".event_stream_cloud_event_group_member_deleted_previous_object_member_1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum": ".event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum", "EventStreamCloudEventGroupMemberDeletedTypeEnum": ".event_stream_cloud_event_group_member_deleted_type_enum", "EventStreamCloudEventGroupRoleAssigned": ".event_stream_cloud_event_group_role_assigned", "EventStreamCloudEventGroupRoleAssignedCloudEvent": ".event_stream_cloud_event_group_role_assigned_cloud_event", @@ -4571,6 +8660,15 @@ "EventStreamCloudEventGroupRoleAssignedObjectGroup2": ".event_stream_cloud_event_group_role_assigned_object_group_2", "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum": ".event_stream_cloud_event_group_role_assigned_object_group_2_type_enum", "EventStreamCloudEventGroupRoleAssignedObjectRole": ".event_stream_cloud_event_group_role_assigned_object_role", + "EventStreamCloudEventGroupRoleAssignedPreviousObject": ".event_stream_cloud_event_group_role_assigned_previous_object", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup": ".event_stream_cloud_event_group_role_assigned_previous_object_group", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0": ".event_stream_cloud_event_group_role_assigned_previous_object_group_0", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1": ".event_stream_cloud_event_group_role_assigned_previous_object_group_1", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2": ".event_stream_cloud_event_group_role_assigned_previous_object_group_2", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectRole": ".event_stream_cloud_event_group_role_assigned_previous_object_role", "EventStreamCloudEventGroupRoleAssignedTypeEnum": ".event_stream_cloud_event_group_role_assigned_type_enum", "EventStreamCloudEventGroupRoleDeleted": ".event_stream_cloud_event_group_role_deleted", "EventStreamCloudEventGroupRoleDeletedCloudEvent": ".event_stream_cloud_event_group_role_deleted_cloud_event", @@ -4585,6 +8683,15 @@ "EventStreamCloudEventGroupRoleDeletedObjectGroup2": ".event_stream_cloud_event_group_role_deleted_object_group_2", "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum": ".event_stream_cloud_event_group_role_deleted_object_group_2_type_enum", "EventStreamCloudEventGroupRoleDeletedObjectRole": ".event_stream_cloud_event_group_role_deleted_object_role", + "EventStreamCloudEventGroupRoleDeletedPreviousObject": ".event_stream_cloud_event_group_role_deleted_previous_object", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup": ".event_stream_cloud_event_group_role_deleted_previous_object_group", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0": ".event_stream_cloud_event_group_role_deleted_previous_object_group_0", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1": ".event_stream_cloud_event_group_role_deleted_previous_object_group_1", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2": ".event_stream_cloud_event_group_role_deleted_previous_object_group_2", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectRole": ".event_stream_cloud_event_group_role_deleted_previous_object_role", "EventStreamCloudEventGroupRoleDeletedTypeEnum": ".event_stream_cloud_event_group_role_deleted_type_enum", "EventStreamCloudEventGroupUpdated": ".event_stream_cloud_event_group_updated", "EventStreamCloudEventGroupUpdatedCloudEvent": ".event_stream_cloud_event_group_updated_cloud_event", @@ -4597,6 +8704,13 @@ "EventStreamCloudEventGroupUpdatedObject1TypeEnum": ".event_stream_cloud_event_group_updated_object_1_type_enum", "EventStreamCloudEventGroupUpdatedObject2": ".event_stream_cloud_event_group_updated_object_2", "EventStreamCloudEventGroupUpdatedObject2TypeEnum": ".event_stream_cloud_event_group_updated_object_2_type_enum", + "EventStreamCloudEventGroupUpdatedPreviousObject": ".event_stream_cloud_event_group_updated_previous_object", + "EventStreamCloudEventGroupUpdatedPreviousObject0": ".event_stream_cloud_event_group_updated_previous_object_0", + "EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum": ".event_stream_cloud_event_group_updated_previous_object_0_type_enum", + "EventStreamCloudEventGroupUpdatedPreviousObject1": ".event_stream_cloud_event_group_updated_previous_object_1", + "EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum": ".event_stream_cloud_event_group_updated_previous_object_1_type_enum", + "EventStreamCloudEventGroupUpdatedPreviousObject2": ".event_stream_cloud_event_group_updated_previous_object_2", + "EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum": ".event_stream_cloud_event_group_updated_previous_object_2_type_enum", "EventStreamCloudEventGroupUpdatedTypeEnum": ".event_stream_cloud_event_group_updated_type_enum", "EventStreamCloudEventOffsetOnlyMessage": ".event_stream_cloud_event_offset_only_message", "EventStreamCloudEventOffsetOnlyMessageTypeEnum": ".event_stream_cloud_event_offset_only_message_type_enum", @@ -4607,6 +8721,29 @@ "EventStreamCloudEventOrgConnectionAddedObject": ".event_stream_cloud_event_org_connection_added_object", "EventStreamCloudEventOrgConnectionAddedObjectConnection": ".event_stream_cloud_event_org_connection_added_object_connection", "EventStreamCloudEventOrgConnectionAddedObjectOrganization": ".event_stream_cloud_event_org_connection_added_object_organization", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel": ".event_stream_cloud_event_org_connection_added_object_organization_access_level", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum": ".event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum": ".event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum": ".event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum": ".event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel": ".event_stream_cloud_event_org_connection_added_object_organization_member_access_level", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum": ".event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum": ".event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum": ".event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum": ".event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObject": ".event_stream_cloud_event_org_connection_added_previous_object", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection": ".event_stream_cloud_event_org_connection_added_previous_object_connection", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization": ".event_stream_cloud_event_org_connection_added_previous_object_organization", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel": ".event_stream_cloud_event_org_connection_added_previous_object_organization_access_level", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel": ".event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum": ".event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum", "EventStreamCloudEventOrgConnectionAddedTypeEnum": ".event_stream_cloud_event_org_connection_added_type_enum", "EventStreamCloudEventOrgConnectionRemoved": ".event_stream_cloud_event_org_connection_removed", "EventStreamCloudEventOrgConnectionRemovedCloudEvent": ".event_stream_cloud_event_org_connection_removed_cloud_event", @@ -4615,6 +8752,9 @@ "EventStreamCloudEventOrgConnectionRemovedObject": ".event_stream_cloud_event_org_connection_removed_object", "EventStreamCloudEventOrgConnectionRemovedObjectConnection": ".event_stream_cloud_event_org_connection_removed_object_connection", "EventStreamCloudEventOrgConnectionRemovedObjectOrganization": ".event_stream_cloud_event_org_connection_removed_object_organization", + "EventStreamCloudEventOrgConnectionRemovedPreviousObject": ".event_stream_cloud_event_org_connection_removed_previous_object", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection": ".event_stream_cloud_event_org_connection_removed_previous_object_connection", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization": ".event_stream_cloud_event_org_connection_removed_previous_object_organization", "EventStreamCloudEventOrgConnectionRemovedTypeEnum": ".event_stream_cloud_event_org_connection_removed_type_enum", "EventStreamCloudEventOrgConnectionUpdated": ".event_stream_cloud_event_org_connection_updated", "EventStreamCloudEventOrgConnectionUpdatedCloudEvent": ".event_stream_cloud_event_org_connection_updated_cloud_event", @@ -4623,6 +8763,29 @@ "EventStreamCloudEventOrgConnectionUpdatedObject": ".event_stream_cloud_event_org_connection_updated_object", "EventStreamCloudEventOrgConnectionUpdatedObjectConnection": ".event_stream_cloud_event_org_connection_updated_object_connection", "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization": ".event_stream_cloud_event_org_connection_updated_object_organization", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel": ".event_stream_cloud_event_org_connection_updated_object_organization_access_level", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel": ".event_stream_cloud_event_org_connection_updated_object_organization_member_access_level", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum": ".event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObject": ".event_stream_cloud_event_org_connection_updated_previous_object", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection": ".event_stream_cloud_event_org_connection_updated_previous_object_connection", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization": ".event_stream_cloud_event_org_connection_updated_previous_object_organization", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum": ".event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum", "EventStreamCloudEventOrgConnectionUpdatedTypeEnum": ".event_stream_cloud_event_org_connection_updated_type_enum", "EventStreamCloudEventOrgCreated": ".event_stream_cloud_event_org_created", "EventStreamCloudEventOrgCreatedCloudEvent": ".event_stream_cloud_event_org_created_cloud_event", @@ -4632,6 +8795,10 @@ "EventStreamCloudEventOrgCreatedObjectBranding": ".event_stream_cloud_event_org_created_object_branding", "EventStreamCloudEventOrgCreatedObjectBrandingColors": ".event_stream_cloud_event_org_created_object_branding_colors", "EventStreamCloudEventOrgCreatedObjectMetadata": ".event_stream_cloud_event_org_created_object_metadata", + "EventStreamCloudEventOrgCreatedPreviousObject": ".event_stream_cloud_event_org_created_previous_object", + "EventStreamCloudEventOrgCreatedPreviousObjectBranding": ".event_stream_cloud_event_org_created_previous_object_branding", + "EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors": ".event_stream_cloud_event_org_created_previous_object_branding_colors", + "EventStreamCloudEventOrgCreatedPreviousObjectMetadata": ".event_stream_cloud_event_org_created_previous_object_metadata", "EventStreamCloudEventOrgCreatedTypeEnum": ".event_stream_cloud_event_org_created_type_enum", "EventStreamCloudEventOrgDeleted": ".event_stream_cloud_event_org_deleted", "EventStreamCloudEventOrgDeletedCloudEvent": ".event_stream_cloud_event_org_deleted_cloud_event", @@ -4639,6 +8806,8 @@ "EventStreamCloudEventOrgDeletedData": ".event_stream_cloud_event_org_deleted_data", "EventStreamCloudEventOrgDeletedObject": ".event_stream_cloud_event_org_deleted_object", "EventStreamCloudEventOrgDeletedObjectMetadata": ".event_stream_cloud_event_org_deleted_object_metadata", + "EventStreamCloudEventOrgDeletedPreviousObject": ".event_stream_cloud_event_org_deleted_previous_object", + "EventStreamCloudEventOrgDeletedPreviousObjectMetadata": ".event_stream_cloud_event_org_deleted_previous_object_metadata", "EventStreamCloudEventOrgDeletedTypeEnum": ".event_stream_cloud_event_org_deleted_type_enum", "EventStreamCloudEventOrgGroupRoleAssigned": ".event_stream_cloud_event_org_group_role_assigned", "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent": ".event_stream_cloud_event_org_group_role_assigned_cloud_event", @@ -4654,6 +8823,16 @@ "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum": ".event_stream_cloud_event_org_group_role_assigned_object_group_2_type_enum", "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization": ".event_stream_cloud_event_org_group_role_assigned_object_organization", "EventStreamCloudEventOrgGroupRoleAssignedObjectRole": ".event_stream_cloud_event_org_group_role_assigned_object_role", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObject": ".event_stream_cloud_event_org_group_role_assigned_previous_object", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_0", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_1", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_2", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization": ".event_stream_cloud_event_org_group_role_assigned_previous_object_organization", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole": ".event_stream_cloud_event_org_group_role_assigned_previous_object_role", "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum": ".event_stream_cloud_event_org_group_role_assigned_type_enum", "EventStreamCloudEventOrgGroupRoleDeleted": ".event_stream_cloud_event_org_group_role_deleted", "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent": ".event_stream_cloud_event_org_group_role_deleted_cloud_event", @@ -4669,6 +8848,16 @@ "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum": ".event_stream_cloud_event_org_group_role_deleted_object_group_2_type_enum", "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization": ".event_stream_cloud_event_org_group_role_deleted_object_organization", "EventStreamCloudEventOrgGroupRoleDeletedObjectRole": ".event_stream_cloud_event_org_group_role_deleted_object_role", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObject": ".event_stream_cloud_event_org_group_role_deleted_previous_object", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_0", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_1", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_2", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum": ".event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization": ".event_stream_cloud_event_org_group_role_deleted_previous_object_organization", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole": ".event_stream_cloud_event_org_group_role_deleted_previous_object_role", "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum": ".event_stream_cloud_event_org_group_role_deleted_type_enum", "EventStreamCloudEventOrgMemberAdded": ".event_stream_cloud_event_org_member_added", "EventStreamCloudEventOrgMemberAddedCloudEvent": ".event_stream_cloud_event_org_member_added_cloud_event", @@ -4677,6 +8866,9 @@ "EventStreamCloudEventOrgMemberAddedObject": ".event_stream_cloud_event_org_member_added_object", "EventStreamCloudEventOrgMemberAddedObjectOrganization": ".event_stream_cloud_event_org_member_added_object_organization", "EventStreamCloudEventOrgMemberAddedObjectUser": ".event_stream_cloud_event_org_member_added_object_user", + "EventStreamCloudEventOrgMemberAddedPreviousObject": ".event_stream_cloud_event_org_member_added_previous_object", + "EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization": ".event_stream_cloud_event_org_member_added_previous_object_organization", + "EventStreamCloudEventOrgMemberAddedPreviousObjectUser": ".event_stream_cloud_event_org_member_added_previous_object_user", "EventStreamCloudEventOrgMemberAddedTypeEnum": ".event_stream_cloud_event_org_member_added_type_enum", "EventStreamCloudEventOrgMemberDeleted": ".event_stream_cloud_event_org_member_deleted", "EventStreamCloudEventOrgMemberDeletedCloudEvent": ".event_stream_cloud_event_org_member_deleted_cloud_event", @@ -4685,6 +8877,9 @@ "EventStreamCloudEventOrgMemberDeletedObject": ".event_stream_cloud_event_org_member_deleted_object", "EventStreamCloudEventOrgMemberDeletedObjectOrganization": ".event_stream_cloud_event_org_member_deleted_object_organization", "EventStreamCloudEventOrgMemberDeletedObjectUser": ".event_stream_cloud_event_org_member_deleted_object_user", + "EventStreamCloudEventOrgMemberDeletedPreviousObject": ".event_stream_cloud_event_org_member_deleted_previous_object", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization": ".event_stream_cloud_event_org_member_deleted_previous_object_organization", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectUser": ".event_stream_cloud_event_org_member_deleted_previous_object_user", "EventStreamCloudEventOrgMemberDeletedTypeEnum": ".event_stream_cloud_event_org_member_deleted_type_enum", "EventStreamCloudEventOrgMemberRoleAssigned": ".event_stream_cloud_event_org_member_role_assigned", "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent": ".event_stream_cloud_event_org_member_role_assigned_cloud_event", @@ -4694,6 +8889,10 @@ "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization": ".event_stream_cloud_event_org_member_role_assigned_object_organization", "EventStreamCloudEventOrgMemberRoleAssignedObjectRole": ".event_stream_cloud_event_org_member_role_assigned_object_role", "EventStreamCloudEventOrgMemberRoleAssignedObjectUser": ".event_stream_cloud_event_org_member_role_assigned_object_user", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObject": ".event_stream_cloud_event_org_member_role_assigned_previous_object", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization": ".event_stream_cloud_event_org_member_role_assigned_previous_object_organization", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole": ".event_stream_cloud_event_org_member_role_assigned_previous_object_role", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser": ".event_stream_cloud_event_org_member_role_assigned_previous_object_user", "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum": ".event_stream_cloud_event_org_member_role_assigned_type_enum", "EventStreamCloudEventOrgMemberRoleDeleted": ".event_stream_cloud_event_org_member_role_deleted", "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent": ".event_stream_cloud_event_org_member_role_deleted_cloud_event", @@ -4703,6 +8902,10 @@ "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization": ".event_stream_cloud_event_org_member_role_deleted_object_organization", "EventStreamCloudEventOrgMemberRoleDeletedObjectRole": ".event_stream_cloud_event_org_member_role_deleted_object_role", "EventStreamCloudEventOrgMemberRoleDeletedObjectUser": ".event_stream_cloud_event_org_member_role_deleted_object_user", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObject": ".event_stream_cloud_event_org_member_role_deleted_previous_object", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization": ".event_stream_cloud_event_org_member_role_deleted_previous_object_organization", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole": ".event_stream_cloud_event_org_member_role_deleted_previous_object_role", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser": ".event_stream_cloud_event_org_member_role_deleted_previous_object_user", "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum": ".event_stream_cloud_event_org_member_role_deleted_type_enum", "EventStreamCloudEventOrgUpdated": ".event_stream_cloud_event_org_updated", "EventStreamCloudEventOrgUpdatedCloudEvent": ".event_stream_cloud_event_org_updated_cloud_event", @@ -4712,7 +8915,12 @@ "EventStreamCloudEventOrgUpdatedObjectBranding": ".event_stream_cloud_event_org_updated_object_branding", "EventStreamCloudEventOrgUpdatedObjectBrandingColors": ".event_stream_cloud_event_org_updated_object_branding_colors", "EventStreamCloudEventOrgUpdatedObjectMetadata": ".event_stream_cloud_event_org_updated_object_metadata", + "EventStreamCloudEventOrgUpdatedPreviousObject": ".event_stream_cloud_event_org_updated_previous_object", + "EventStreamCloudEventOrgUpdatedPreviousObjectBranding": ".event_stream_cloud_event_org_updated_previous_object_branding", + "EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors": ".event_stream_cloud_event_org_updated_previous_object_branding_colors", + "EventStreamCloudEventOrgUpdatedPreviousObjectMetadata": ".event_stream_cloud_event_org_updated_previous_object_metadata", "EventStreamCloudEventOrgUpdatedTypeEnum": ".event_stream_cloud_event_org_updated_type_enum", + "EventStreamCloudEventSpecVersionEnum": ".event_stream_cloud_event_spec_version_enum", "EventStreamCloudEventUserCreated": ".event_stream_cloud_event_user_created", "EventStreamCloudEventUserCreatedCloudEvent": ".event_stream_cloud_event_user_created_cloud_event", "EventStreamCloudEventUserCreatedCloudEventTypeEnum": ".event_stream_cloud_event_user_created_cloud_event_type_enum", @@ -4746,6 +8954,35 @@ "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_created_object_identities_item_social_provider_enum", "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_created_object_identities_item_social_user_id", "EventStreamCloudEventUserCreatedObjectUserMetadata": ".event_stream_cloud_event_user_created_object_user_metadata", + "EventStreamCloudEventUserCreatedPreviousObject": ".event_stream_cloud_event_user_created_previous_object", + "EventStreamCloudEventUserCreatedPreviousObjectAppMetadata": ".event_stream_cloud_event_user_created_previous_object_app_metadata", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem": ".event_stream_cloud_event_user_created_previous_object_identities_item", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom": ".event_stream_cloud_event_user_created_previous_object_identities_item_custom", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData": ".event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId": ".event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase": ".event_stream_cloud_event_user_created_previous_object_identities_item_database", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData": ".event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId": ".event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise": ".event_stream_cloud_event_user_created_previous_object_identities_item_enterprise", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData": ".event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId": ".event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless": ".event_stream_cloud_event_user_created_previous_object_identities_item_passwordless", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData": ".event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId": ".event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial": ".event_stream_cloud_event_user_created_previous_object_identities_item_social", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData": ".event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id", + "EventStreamCloudEventUserCreatedPreviousObjectUserMetadata": ".event_stream_cloud_event_user_created_previous_object_user_metadata", "EventStreamCloudEventUserCreatedTypeEnum": ".event_stream_cloud_event_user_created_type_enum", "EventStreamCloudEventUserDeleted": ".event_stream_cloud_event_user_deleted", "EventStreamCloudEventUserDeletedCloudEvent": ".event_stream_cloud_event_user_deleted_cloud_event", @@ -4780,6 +9017,35 @@ "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum", "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_deleted_object_identities_item_social_user_id", "EventStreamCloudEventUserDeletedObjectUserMetadata": ".event_stream_cloud_event_user_deleted_object_user_metadata", + "EventStreamCloudEventUserDeletedPreviousObject": ".event_stream_cloud_event_user_deleted_previous_object", + "EventStreamCloudEventUserDeletedPreviousObjectAppMetadata": ".event_stream_cloud_event_user_deleted_previous_object_app_metadata", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem": ".event_stream_cloud_event_user_deleted_previous_object_identities_item", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_custom", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_database", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_social", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id", + "EventStreamCloudEventUserDeletedPreviousObjectUserMetadata": ".event_stream_cloud_event_user_deleted_previous_object_user_metadata", "EventStreamCloudEventUserDeletedTypeEnum": ".event_stream_cloud_event_user_deleted_type_enum", "EventStreamCloudEventUserUpdated": ".event_stream_cloud_event_user_updated", "EventStreamCloudEventUserUpdatedCloudEvent": ".event_stream_cloud_event_user_updated_cloud_event", @@ -4814,6 +9080,35 @@ "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum", "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_updated_object_identities_item_social_user_id", "EventStreamCloudEventUserUpdatedObjectUserMetadata": ".event_stream_cloud_event_user_updated_object_user_metadata", + "EventStreamCloudEventUserUpdatedPreviousObject": ".event_stream_cloud_event_user_updated_previous_object", + "EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata": ".event_stream_cloud_event_user_updated_previous_object_app_metadata", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem": ".event_stream_cloud_event_user_updated_previous_object_identities_item", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom": ".event_stream_cloud_event_user_updated_previous_object_identities_item_custom", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData": ".event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId": ".event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase": ".event_stream_cloud_event_user_updated_previous_object_identities_item_database", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData": ".event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId": ".event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise": ".event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData": ".event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId": ".event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless": ".event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData": ".event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId": ".event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial": ".event_stream_cloud_event_user_updated_previous_object_identities_item_social", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData": ".event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum": ".event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId": ".event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id", + "EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata": ".event_stream_cloud_event_user_updated_previous_object_user_metadata", "EventStreamCloudEventUserUpdatedTypeEnum": ".event_stream_cloud_event_user_updated_type_enum", "EventStreamDelivery": ".event_stream_delivery", "EventStreamDeliveryAttempt": ".event_stream_delivery_attempt", @@ -4831,6 +9126,9 @@ "EventStreamSubscribeEventsEventTypeEnum": ".event_stream_subscribe_events_event_type_enum", "EventStreamSubscribeEventsEventTypeParam": ".event_stream_subscribe_events_event_type_param", "EventStreamSubscribeEventsResponseContent": ".event_stream_subscribe_events_response_content", + "EventStreamSubscribeEventsResponseContent_ConnectionCreated": ".event_stream_subscribe_events_response_content", + "EventStreamSubscribeEventsResponseContent_ConnectionDeleted": ".event_stream_subscribe_events_response_content", + "EventStreamSubscribeEventsResponseContent_ConnectionUpdated": ".event_stream_subscribe_events_response_content", "EventStreamSubscribeEventsResponseContent_Error": ".event_stream_subscribe_events_response_content", "EventStreamSubscribeEventsResponseContent_GroupCreated": ".event_stream_subscribe_events_response_content", "EventStreamSubscribeEventsResponseContent_GroupDeleted": ".event_stream_subscribe_events_response_content", @@ -4868,14 +9166,23 @@ "EventStreamWebhookDestination": ".event_stream_webhook_destination", "EventStreamWebhookDestinationTypeEnum": ".event_stream_webhook_destination_type_enum", "EventStreamWebhookResponseContent": ".event_stream_webhook_response_content", + "ExperimentListItem": ".experiment_list_item", + "ExperimentStatusEnum": ".experiment_status_enum", + "ExperimentTransitionStatusEnum": ".experiment_transition_status_enum", + "ExperimentValidationError": ".experiment_validation_error", "ExpressConfiguration": ".express_configuration", "ExpressConfigurationOrNull": ".express_configuration_or_null", "ExtensibilityEmailProviderCredentials": ".extensibility_email_provider_credentials", + "FeatureFlag": ".feature_flag", + "FeatureFlagConfigParam": ".feature_flag_config_param", + "FeatureFlagConfigParamTypeEnum": ".feature_flag_config_param_type_enum", + "FeatureFlagConfigParams": ".feature_flag_config_params", + "FeatureFlagStatusEnum": ".feature_flag_status_enum", + "FeatureFlagTypeEnum": ".feature_flag_type_enum", "FedCmLogin": ".fed_cm_login", "FedCmLoginGoogle": ".fed_cm_login_google", "FedCmLoginGooglePatch": ".fed_cm_login_google_patch", "FedCmLoginPatch": ".fed_cm_login_patch", - "FederatedConnectionTokenSet": ".federated_connection_token_set", "FlowAction": ".flow_action", "FlowActionActivecampaign": ".flow_action_activecampaign", "FlowActionActivecampaignListContacts": ".flow_action_activecampaign_list_contacts", @@ -5444,6 +9751,7 @@ "GetActionVersionResponseContent": ".get_action_version_response_content", "GetActiveUsersCountStatsResponseContent": ".get_active_users_count_stats_response_content", "GetAculResponseContent": ".get_acul_response_content", + "GetAllKeysNetworkAclsResponseContent": ".get_all_keys_network_acls_response_content", "GetAttackProtectionCaptchaResponseContent": ".get_attack_protection_captcha_response_content", "GetBotDetectionSettingsResponseContent": ".get_bot_detection_settings_response_content", "GetBrandingDefaultThemeResponseContent": ".get_branding_default_theme_response_content", @@ -5467,11 +9775,14 @@ "GetDefaultDomainResponseContent": ".get_default_domain_response_content", "GetDirectoryProvisioningDefaultMappingResponseContent": ".get_directory_provisioning_default_mapping_response_content", "GetDirectoryProvisioningResponseContent": ".get_directory_provisioning_response_content", + "GetEmailFactorSettingsResponseContent": ".get_email_factor_settings_response_content", "GetEmailProviderResponseContent": ".get_email_provider_response_content", "GetEmailTemplateResponseContent": ".get_email_template_response_content", "GetEncryptionKeyResponseContent": ".get_encryption_key_response_content", "GetEventStreamDeliveryHistoryResponseContent": ".get_event_stream_delivery_history_response_content", "GetEventStreamResponseContent": ".get_event_stream_response_content", + "GetExperimentResponseContent": ".get_experiment_response_content", + "GetFeatureFlagResponseContent": ".get_feature_flag_response_content", "GetFlowExecutionRequestParametersHydrateEnum": ".get_flow_execution_request_parameters_hydrate_enum", "GetFlowExecutionResponseContent": ".get_flow_execution_response_content", "GetFlowRequestParametersHydrateEnum": ".get_flow_request_parameters_hydrate_enum", @@ -5492,6 +9803,7 @@ "GetGuardianFactorsProviderSmsResponseContent": ".get_guardian_factors_provider_sms_response_content", "GetGuardianFactorsProviderSmsTwilioResponseContent": ".get_guardian_factors_provider_sms_twilio_response_content", "GetGuardianFactorsProviderSnsResponseContent": ".get_guardian_factors_provider_sns_response_content", + "GetGuardianSettingsResponseContent": ".get_guardian_settings_response_content", "GetHookResponseContent": ".get_hook_response_content", "GetHookSecretResponseContent": ".get_hook_secret_response_content", "GetJobErrorResponseContent": ".get_job_error_response_content", @@ -5505,12 +9817,14 @@ "GetNetworkAclsResponseContent": ".get_network_acls_response_content", "GetOrganizationAllConnectionResponseContent": ".get_organization_all_connection_response_content", "GetOrganizationByNameResponseContent": ".get_organization_by_name_response_content", + "GetOrganizationClientResponseContent": ".get_organization_client_response_content", "GetOrganizationConnectionResponseContent": ".get_organization_connection_response_content", "GetOrganizationDiscoveryDomainByNameResponseContent": ".get_organization_discovery_domain_by_name_response_content", "GetOrganizationDiscoveryDomainResponseContent": ".get_organization_discovery_domain_response_content", "GetOrganizationInvitationResponseContent": ".get_organization_invitation_response_content", "GetOrganizationResponseContent": ".get_organization_response_content", "GetPartialsResponseContent": ".get_partials_response_content", + "GetPhoneFactorSettingsResponseContent": ".get_phone_factor_settings_response_content", "GetPhoneProviderProtectionResponseContent": ".get_phone_provider_protection_response_content", "GetPhoneTemplateResponseContent": ".get_phone_template_response_content", "GetRateLimitPolicyResponseContent": ".get_rate_limit_policy_response_content", @@ -5524,6 +9838,7 @@ "GetScimConfigurationDefaultMappingResponseContent": ".get_scim_configuration_default_mapping_response_content", "GetScimConfigurationResponseContent": ".get_scim_configuration_response_content", "GetScimTokensResponseContent": ".get_scim_tokens_response_content", + "GetSegmentResponseContent": ".get_segment_response_content", "GetSelfServiceProfileResponseContent": ".get_self_service_profile_response_content", "GetSessionResponseContent": ".get_session_response_content", "GetSettingsResponseContent": ".get_settings_response_content", @@ -5539,7 +9854,11 @@ "GetUserAuthenticationMethodResponseContent": ".get_user_authentication_method_response_content", "GetUserGroupsPaginatedResponseContent": ".get_user_groups_paginated_response_content", "GetUserResponseContent": ".get_user_response_content", + "GetVariationResponseContent": ".get_variation_response_content", "GetVerifiableCredentialTemplateResponseContent": ".get_verifiable_credential_template_response_content", + "GoogleAccountLinkingConfiguration": ".google_account_linking_configuration", + "GoogleAccountLinkingConfigurationCreate": ".google_account_linking_configuration_create", + "GoogleAccountLinkingConfigurationOrNull": ".google_account_linking_configuration_or_null", "Group": ".group", "GroupMember": ".group_member", "GroupMemberTypeEnum": ".group_member_type_enum", @@ -5550,6 +9869,7 @@ "GuardianFactor": ".guardian_factor", "GuardianFactorNameEnum": ".guardian_factor_name_enum", "GuardianFactorPhoneFactorMessageTypeEnum": ".guardian_factor_phone_factor_message_type_enum", + "GuardianFactorSettings": ".guardian_factor_settings", "GuardianFactorsProviderPushNotificationProviderDataEnum": ".guardian_factors_provider_push_notification_provider_data_enum", "GuardianFactorsProviderSmsProviderEnum": ".guardian_factors_provider_sms_provider_enum", "Hook": ".hook", @@ -5557,9 +9877,11 @@ "HookTriggerIdEnum": ".hook_trigger_id_enum", "HttpCustomHeader": ".http_custom_header", "Identity": ".identity", + "IdentityAssertionAuthorizationGrant": ".identity_assertion_authorization_grant", "IdentityProviderEnum": ".identity_provider_enum", "IdentityProviderOnlyAuth0Enum": ".identity_provider_only_auth_0_enum", "ImportEncryptionKeyResponseContent": ".import_encryption_key_response_content", + "IncludeUserProfileSizeHeaderEnum": ".include_user_profile_size_header_enum", "Integration": ".integration", "IntegrationFeatureTypeEnum": ".integration_feature_type_enum", "IntegrationRelease": ".integration_release", @@ -5567,6 +9889,8 @@ "IntegrationRequiredParamOption": ".integration_required_param_option", "IntegrationRequiredParamTypeEnum": ".integration_required_param_type_enum", "IntegrationSemVer": ".integration_sem_ver", + "InternalServerErrorBody": ".internal_server_error_body", + "InternalServerErrorBodyError": ".internal_server_error_body_error", "JobFileFormatEnum": ".job_file_format_enum", "LinkedClientConfiguration": ".linked_client_configuration", "ListActionBindingsPaginatedResponseContent": ".list_action_bindings_paginated_response_content", @@ -5575,10 +9899,12 @@ "ListActionsPaginatedResponseContent": ".list_actions_paginated_response_content", "ListAculsOffsetPaginatedResponseContent": ".list_aculs_offset_paginated_response_content", "ListAculsResponseContentItem": ".list_aculs_response_content_item", + "ListAgentsResponseContent": ".list_agents_response_content", "ListBrandingPhoneProvidersResponseContent": ".list_branding_phone_providers_response_content", "ListClientConnectionsResponseContent": ".list_client_connections_response_content", "ListClientGrantOrganizationsPaginatedResponseContent": ".list_client_grant_organizations_paginated_response_content", "ListClientGrantPaginatedResponseContent": ".list_client_grant_paginated_response_content", + "ListClientProfilesPaginatedResponseContent": ".list_client_profiles_paginated_response_content", "ListClientsOffsetPaginatedResponseContent": ".list_clients_offset_paginated_response_content", "ListConnectionProfileTemplateResponseContent": ".list_connection_profile_template_response_content", "ListConnectionProfilesPaginatedResponseContent": ".list_connection_profiles_paginated_response_content", @@ -5587,7 +9913,10 @@ "ListDeviceCredentialsOffsetPaginatedResponseContent": ".list_device_credentials_offset_paginated_response_content", "ListDirectoryProvisioningsResponseContent": ".list_directory_provisionings_response_content", "ListEncryptionKeyOffsetPaginatedResponseContent": ".list_encryption_key_offset_paginated_response_content", + "ListEventStreamDeliveriesResponseContent": ".list_event_stream_deliveries_response_content", "ListEventStreamsResponseContent": ".list_event_streams_response_content", + "ListExperimentsResponseContent": ".list_experiments_response_content", + "ListFeatureFlagsResponseContent": ".list_feature_flags_response_content", "ListFlowExecutionsPaginatedResponseContent": ".list_flow_executions_paginated_response_content", "ListFlowsOffsetPaginatedResponseContent": ".list_flows_offset_paginated_response_content", "ListFlowsRequestParametersHydrateEnum": ".list_flows_request_parameters_hydrate_enum", @@ -5601,6 +9930,7 @@ "ListNetworkAclsOffsetPaginatedResponseContent": ".list_network_acls_offset_paginated_response_content", "ListOrganizationAllConnectionsOffsetPaginatedResponseContent": ".list_organization_all_connections_offset_paginated_response_content", "ListOrganizationClientGrantsOffsetPaginatedResponseContent": ".list_organization_client_grants_offset_paginated_response_content", + "ListOrganizationClientsResponseContent": ".list_organization_clients_response_content", "ListOrganizationConnectionsOffsetPaginatedResponseContent": ".list_organization_connections_offset_paginated_response_content", "ListOrganizationDiscoveryDomainsResponseContent": ".list_organization_discovery_domains_response_content", "ListOrganizationGroupRolesResponseContent": ".list_organization_group_roles_response_content", @@ -5610,8 +9940,11 @@ "ListOrganizationMemberRoleSourceGroupsResponseContent": ".list_organization_member_role_source_groups_response_content", "ListOrganizationMemberRolesOffsetPaginatedResponseContent": ".list_organization_member_roles_offset_paginated_response_content", "ListOrganizationMembersPaginatedResponseContent": ".list_organization_members_paginated_response_content", + "ListOrganizationRoleGroupsResponseContent": ".list_organization_role_groups_response_content", + "ListOrganizationRoleMembersResponseContent": ".list_organization_role_members_response_content", "ListOrganizationsPaginatedResponseContent": ".list_organizations_paginated_response_content", "ListPhoneTemplatesResponseContent": ".list_phone_templates_response_content", + "ListPortalsResponseContent": ".list_portals_response_content", "ListRateLimitPoliciesPaginatedResponseContent": ".list_rate_limit_policies_paginated_response_content", "ListRefreshTokensPaginatedResponseContent": ".list_refresh_tokens_paginated_response_content", "ListResourceServerOffsetPaginatedResponseContent": ".list_resource_server_offset_paginated_response_content", @@ -5621,6 +9954,7 @@ "ListRolesOffsetPaginatedResponseContent": ".list_roles_offset_paginated_response_content", "ListRulesOffsetPaginatedResponseContent": ".list_rules_offset_paginated_response_content", "ListScimConfigurationsResponseContent": ".list_scim_configurations_response_content", + "ListSegmentsResponseContent": ".list_segments_response_content", "ListSelfServiceProfileCustomTextResponseContent": ".list_self_service_profile_custom_text_response_content", "ListSelfServiceProfilesPaginatedResponseContent": ".list_self_service_profiles_paginated_response_content", "ListSynchronizedGroupsResponseContent": ".list_synchronized_groups_response_content", @@ -5631,6 +9965,7 @@ "ListUserBlocksByIdentifierResponseContent": ".list_user_blocks_by_identifier_response_content", "ListUserBlocksResponseContent": ".list_user_blocks_response_content", "ListUserConnectedAccountsResponseContent": ".list_user_connected_accounts_response_content", + "ListUserConsentSigningKeysResponseContent": ".list_user_consent_signing_keys_response_content", "ListUserEffectivePermissionRoleSourcesResponseContent": ".list_user_effective_permission_role_sources_response_content", "ListUserEffectivePermissionsResponseContent": ".list_user_effective_permissions_response_content", "ListUserEffectiveRolesResponseContent": ".list_user_effective_roles_response_content", @@ -5641,6 +9976,7 @@ "ListUserRolesOffsetPaginatedResponseContent": ".list_user_roles_offset_paginated_response_content", "ListUserSessionsPaginatedResponseContent": ".list_user_sessions_paginated_response_content", "ListUsersOffsetPaginatedResponseContent": ".list_users_offset_paginated_response_content", + "ListVariationsResponseContent": ".list_variations_response_content", "ListVerifiableCredentialTemplatesPaginatedResponseContent": ".list_verifiable_credential_templates_paginated_response_content", "Log": ".log", "LogDate": ".log_date", @@ -5706,14 +10042,24 @@ "NetworkAclActionBlockEnum": ".network_acl_action_block_enum", "NetworkAclActionLogEnum": ".network_acl_action_log_enum", "NetworkAclActionRedirectEnum": ".network_acl_action_redirect_enum", + "NetworkAclHttpMessageSignature": ".network_acl_http_message_signature", + "NetworkAclHttpMessageSignatureKey": ".network_acl_http_message_signature_key", + "NetworkAclHttpMessageSignatureKeys": ".network_acl_http_message_signature_keys", + "NetworkAclKey": ".network_acl_key", + "NetworkAclKeyAlgorithmEnum": ".network_acl_key_algorithm_enum", "NetworkAclMatch": ".network_acl_match", "NetworkAclMatchConnectingIpv4Cidr": ".network_acl_match_connecting_ipv_4_cidr", "NetworkAclMatchConnectingIpv6Cidr": ".network_acl_match_connecting_ipv_6_cidr", "NetworkAclMatchIpv4Cidr": ".network_acl_match_ipv_4_cidr", "NetworkAclMatchIpv6Cidr": ".network_acl_match_ipv_6_cidr", "NetworkAclRule": ".network_acl_rule", + "NetworkAclRuleMatchAllEnum": ".network_acl_rule_match_all_enum", "NetworkAclRuleScopeEnum": ".network_acl_rule_scope_enum", "NetworkAclsResponseContent": ".network_acls_response_content", + "NotFoundErrorBody": ".not_found_error_body", + "NotFoundErrorBodyError": ".not_found_error_body_error", + "NotFoundSchema": ".not_found_schema", + "NotFoundSchemaError": ".not_found_schema_error", "OauthScope": ".oauth_scope", "Organization": ".organization", "OrganizationAccessLevelEnum": ".organization_access_level_enum", @@ -5721,7 +10067,11 @@ "OrganizationAllConnectionPost": ".organization_all_connection_post", "OrganizationBranding": ".organization_branding", "OrganizationBrandingColors": ".organization_branding_colors", + "OrganizationClient": ".organization_client", + "OrganizationClientAssociation": ".organization_client_association", "OrganizationClientGrant": ".organization_client_grant", + "OrganizationClientMetadata": ".organization_client_metadata", + "OrganizationClientMetadataOrganizationUsageEnum": ".organization_client_metadata_organization_usage_enum", "OrganizationConnection": ".organization_connection", "OrganizationConnectionInformation": ".organization_connection_information", "OrganizationDiscoveryDomain": ".organization_discovery_domain", @@ -5731,16 +10081,69 @@ "OrganizationInvitationInvitee": ".organization_invitation_invitee", "OrganizationInvitationInviter": ".organization_invitation_inviter", "OrganizationMember": ".organization_member", + "OrganizationMemberAccessLevelEnum": ".organization_member_access_level_enum", + "OrganizationMemberAccessLevelEnumWithNull": ".organization_member_access_level_enum_with_null", "OrganizationMemberEffectiveRole": ".organization_member_effective_role", "OrganizationMemberEffectiveRoleSource": ".organization_member_effective_role_source", "OrganizationMemberRole": ".organization_member_role", "OrganizationMetadata": ".organization_metadata", + "OrganizationSortFieldEnum": ".organization_sort_field_enum", + "OrganizationThirdPartyClientAccessEnum": ".organization_third_party_client_access_enum", "OrganizationUsageEnum": ".organization_usage_enum", + "PageComponent": ".page_component", + "PageComponentAuth0Form": ".page_component_auth_0_form", + "PageComponentAuth0FormConfig": ".page_component_auth_0_form_config", + "PageComponentAuth0MediaImage": ".page_component_auth_0_media_image", + "PageComponentAuth0MediaImageConfig": ".page_component_auth_0_media_image_config", + "PageComponentAuth0MyAccountMfaManagement": ".page_component_auth_0_my_account_mfa_management", + "PageComponentAuth0MyAccountMfaManagementConfig": ".page_component_auth_0_my_account_mfa_management_config", + "PageComponentAuth0MyAccountPasskeyManagement": ".page_component_auth_0_my_account_passkey_management", + "PageComponentAuth0MyAccountPasskeyManagementConfig": ".page_component_auth_0_my_account_passkey_management_config", + "PageComponentAuth0MyOrganizationDetailsEdit": ".page_component_auth_0_my_organization_details_edit", + "PageComponentAuth0MyOrganizationDetailsEditConfig": ".page_component_auth_0_my_organization_details_edit_config", + "PageComponentAuth0MyOrganizationDomainTable": ".page_component_auth_0_my_organization_domain_table", + "PageComponentAuth0MyOrganizationDomainTableConfig": ".page_component_auth_0_my_organization_domain_table_config", + "PageComponentAuth0MyOrganizationMemberManagement": ".page_component_auth_0_my_organization_member_management", + "PageComponentAuth0MyOrganizationMemberManagementConfig": ".page_component_auth_0_my_organization_member_management_config", + "PageComponentAuth0StructureSection": ".page_component_auth_0_structure_section", + "PageComponentAuth0StructureSectionConfig": ".page_component_auth_0_structure_section_config", + "PageComponentAuth0StructureSectionVariantEnum": ".page_component_auth_0_structure_section_variant_enum", + "PageComponentAuth0StructureSeparator": ".page_component_auth_0_structure_separator", + "PageComponentAuth0StructureSeparatorConfig": ".page_component_auth_0_structure_separator_config", + "PageComponentAuth0StructureSeparatorVariantEnum": ".page_component_auth_0_structure_separator_variant_enum", + "PageComponentAuth0TypographyHeading": ".page_component_auth_0_typography_heading", + "PageComponentAuth0TypographyHeadingConfig": ".page_component_auth_0_typography_heading_config", + "PageComponentAuth0TypographyRichText": ".page_component_auth_0_typography_rich_text", + "PageComponentAuth0TypographyRichTextConfig": ".page_component_auth_0_typography_rich_text_config", + "PageComponentNoChildren": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0Form": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MediaImage": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0StructureSeparator": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0TypographyHeading": ".page_component_no_children", + "PageComponentNoChildren_PageComponentAuth0TypographyRichText": ".page_component_no_children", + "PageComponent_PageComponentAuth0Form": ".page_component", + "PageComponent_PageComponentAuth0MediaImage": ".page_component", + "PageComponent_PageComponentAuth0MyAccountMfaManagement": ".page_component", + "PageComponent_PageComponentAuth0MyAccountPasskeyManagement": ".page_component", + "PageComponent_PageComponentAuth0MyOrganizationDetailsEdit": ".page_component", + "PageComponent_PageComponentAuth0MyOrganizationDomainTable": ".page_component", + "PageComponent_PageComponentAuth0MyOrganizationMemberManagement": ".page_component", + "PageComponent_PageComponentAuth0StructureSection": ".page_component", + "PageComponent_PageComponentAuth0StructureSeparator": ".page_component", + "PageComponent_PageComponentAuth0TypographyHeading": ".page_component", + "PageComponent_PageComponentAuth0TypographyRichText": ".page_component", + "PageSlug": ".page_slug", "PartialGroupsEnum": ".partial_groups_enum", "PartialPhoneTemplateContent": ".partial_phone_template_content", "PasswordCharacterTypeEnum": ".password_character_type_enum", "PasswordCharacterTypeRulePolicyEnum": ".password_character_type_rule_policy_enum", "PasswordDefaultDictionariesEnum": ".password_default_dictionaries_enum", + "PasswordDictionaryMatchTypeEnum": ".password_dictionary_match_type_enum", "PasswordIdenticalCharactersPolicyEnum": ".password_identical_characters_policy_enum", "PasswordMaxLengthExceededPolicyEnum": ".password_max_length_exceeded_policy_enum", "PasswordSequentialCharactersPolicyEnum": ".password_sequential_characters_policy_enum", @@ -5757,6 +10160,7 @@ "PermissionRequestPayload": ".permission_request_payload", "PermissionsResponsePayload": ".permissions_response_payload", "PhoneAttribute": ".phone_attribute", + "PhoneAttributeIdentifier": ".phone_attribute_identifier", "PhoneProviderChannelEnum": ".phone_provider_channel_enum", "PhoneProviderConfiguration": ".phone_provider_configuration", "PhoneProviderCredentials": ".phone_provider_credentials", @@ -5768,6 +10172,24 @@ "PhoneTemplateBody": ".phone_template_body", "PhoneTemplateContent": ".phone_template_content", "PhoneTemplateNotificationTypeEnum": ".phone_template_notification_type_enum", + "Portal": ".portal", + "PortalClientSecretPost": ".portal_client_secret_post", + "PortalClientSecretPostRequest": ".portal_client_secret_post_request", + "PortalClientSecretPostRequestTokenEndpointAuthMethod": ".portal_client_secret_post_request_token_endpoint_auth_method", + "PortalClientSecretPostTokenEndpointAuthMethod": ".portal_client_secret_post_token_endpoint_auth_method", + "PortalCustomCode": ".portal_custom_code", + "PortalCustomCodeNullable": ".portal_custom_code_nullable", + "PortalDateTime": ".portal_date_time", + "PortalId": ".portal_id", + "PortalName": ".portal_name", + "PortalNavigation": ".portal_navigation", + "PortalNavigationNullable": ".portal_navigation_nullable", + "PortalPage": ".portal_page", + "PortalPagesByType": ".portal_pages_by_type", + "PortalPagesByTypeNullable": ".portal_pages_by_type_nullable", + "PortalSlug": ".portal_slug", + "PortalSummary": ".portal_summary", + "Position": ".position", "PostClientCredentialResponseContent": ".post_client_credential_response_content", "PostConnectionKeysAlgEnum": ".post_connection_keys_alg_enum", "PostConnectionKeysRequestContent": ".post_connection_keys_request_content", @@ -5804,13 +10226,23 @@ "ResetPhoneTemplateRequestContent": ".reset_phone_template_request_content", "ResetPhoneTemplateResponseContent": ".reset_phone_template_response_content", "ResourceServer": ".resource_server", + "ResourceServerAccessToken": ".resource_server_access_token", + "ResourceServerAccessTokenClaimsMapping": ".resource_server_access_token_claims_mapping", + "ResourceServerAccessTokenCustomClaimsMapping": ".resource_server_access_token_custom_claims_mapping", + "ResourceServerAccessTokenCustomClaimsMappingRule": ".resource_server_access_token_custom_claims_mapping_rule", + "ResourceServerAgentSubjectClaimsResponseEnum": ".resource_server_agent_subject_claims_response_enum", + "ResourceServerAgentSubjectClaimsSchemaEnum": ".resource_server_agent_subject_claims_schema_enum", "ResourceServerAuthorizationPolicy": ".resource_server_authorization_policy", "ResourceServerConsentPolicyEnum": ".resource_server_consent_policy_enum", "ResourceServerProofOfPossession": ".resource_server_proof_of_possession", "ResourceServerProofOfPossessionMechanismEnum": ".resource_server_proof_of_possession_mechanism_enum", "ResourceServerProofOfPossessionRequiredForEnum": ".resource_server_proof_of_possession_required_for_enum", "ResourceServerScope": ".resource_server_scope", + "ResourceServerSearchResponse": ".resource_server_search_response", + "ResourceServerSortFieldEnum": ".resource_server_sort_field_enum", "ResourceServerSubjectTypeAuthorization": ".resource_server_subject_type_authorization", + "ResourceServerSubjectTypeAuthorizationAnonymousUser": ".resource_server_subject_type_authorization_anonymous_user", + "ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum": ".resource_server_subject_type_authorization_anonymous_user_policy_enum", "ResourceServerSubjectTypeAuthorizationClient": ".resource_server_subject_type_authorization_client", "ResourceServerSubjectTypeAuthorizationClientPolicyEnum": ".resource_server_subject_type_authorization_client_policy_enum", "ResourceServerSubjectTypeAuthorizationUser": ".resource_server_subject_type_authorization_user", @@ -5821,9 +10253,15 @@ "ResourceServerTokenEncryptionAlgorithmEnum": ".resource_server_token_encryption_algorithm_enum", "ResourceServerTokenEncryptionFormatEnum": ".resource_server_token_encryption_format_enum", "ResourceServerTokenEncryptionKey": ".resource_server_token_encryption_key", + "ResourceServerTypeEnum": ".resource_server_type_enum", "ResourceServerVerificationKeyPemCertificate": ".resource_server_verification_key_pem_certificate", "RevokedSigningKeysResponseContent": ".revoked_signing_keys_response_content", "Role": ".role", + "RoleGroup": ".role_group", + "RoleMember": ".role_member", + "RoleOwnerId": ".role_owner_id", + "RoleOwnerIdFilter": ".role_owner_id_filter", + "RoleTypeEnum": ".role_type_enum", "RoleUser": ".role_user", "RollbackActionModuleResponseContent": ".rollback_action_module_response_content", "RotateClientSecretResponseContent": ".rotate_client_secret_response_content", @@ -5837,7 +10275,25 @@ "ScimMappingItem": ".scim_mapping_item", "ScimTokenItem": ".scim_token_item", "ScreenGroupNameEnum": ".screen_group_name_enum", + "SearchClientGrantsResponseContent": ".search_client_grants_response_content", + "SearchClientsResponseContent": ".search_clients_response_content", "SearchEngineVersionsEnum": ".search_engine_versions_enum", + "SearchOrganization": ".search_organization", + "SearchOrganizationsPaginatedResponseContent": ".search_organizations_paginated_response_content", + "SearchParserEnum": ".search_parser_enum", + "SearchResourceServersResponseContent": ".search_resource_servers_response_content", + "Segment": ".segment", + "SegmentContainsExpression": ".segment_contains_expression", + "SegmentEndsWithExpression": ".segment_ends_with_expression", + "SegmentExistsExpression": ".segment_exists_expression", + "SegmentMatchConditions": ".segment_match_conditions", + "SegmentMatchExpression": ".segment_match_expression", + "SegmentNotMatchConditions": ".segment_not_match_conditions", + "SegmentRule": ".segment_rule", + "SegmentStartsWithExpression": ".segment_starts_with_expression", + "SegmentStatusEnum": ".segment_status_enum", + "SegmentTypeEnum": ".segment_type_enum", + "SegmentTypeFilterEnum": ".segment_type_filter_enum", "SelfServiceProfile": ".self_service_profile", "SelfServiceProfileAllowedStrategyEnum": ".self_service_profile_allowed_strategy_enum", "SelfServiceProfileBranding": ".self_service_profile_branding", @@ -5857,8 +10313,11 @@ "SelfServiceProfileSsoTicketIdpInitiatedOptions": ".self_service_profile_sso_ticket_idp_initiated_options", "SelfServiceProfileSsoTicketProvisioningConfig": ".self_service_profile_sso_ticket_provisioning_config", "SelfServiceProfileSsoTicketProvisioningScopeEnum": ".self_service_profile_sso_ticket_provisioning_scope_enum", + "SelfServiceProfileSsoTicketUniversalLogoutConfig": ".self_service_profile_sso_ticket_universal_logout_config", "SelfServiceProfileUserAttribute": ".self_service_profile_user_attribute", "SelfServiceProfileUserAttributes": ".self_service_profile_user_attributes", + "SessionActorClaimValue": ".session_actor_claim_value", + "SessionActorMetadata": ".session_actor_metadata", "SessionAuthenticationSignal": ".session_authentication_signal", "SessionAuthenticationSignals": ".session_authentication_signals", "SessionClientMetadata": ".session_client_metadata", @@ -5872,6 +10331,7 @@ "SessionMetadata": ".session_metadata", "SessionResponseContent": ".session_response_content", "SetCustomSigningKeysResponseContent": ".set_custom_signing_keys_response_content", + "SetEmailFactorSettingsResponseContent": ".set_email_factor_settings_response_content", "SetEmailTemplateResponseContent": ".set_email_template_response_content", "SetGuardianFactorDuoSettingsResponseContent": ".set_guardian_factor_duo_settings_response_content", "SetGuardianFactorPhoneMessageTypesResponseContent": ".set_guardian_factor_phone_message_types_response_content", @@ -5889,8 +10349,10 @@ "SetGuardianFactorsProviderSmsTwilioResponseContent": ".set_guardian_factors_provider_sms_twilio_response_content", "SetGuardianPoliciesRequestContent": ".set_guardian_policies_request_content", "SetGuardianPoliciesResponseContent": ".set_guardian_policies_response_content", + "SetGuardianSettingsResponseContent": ".set_guardian_settings_response_content", "SetNetworkAclsResponseContent": ".set_network_acls_response_content", "SetPartialsRequestContent": ".set_partials_request_content", + "SetPhoneFactorSettingsResponseContent": ".set_phone_factor_settings_response_content", "SetRulesConfigResponseContent": ".set_rules_config_response_content", "SetSelfServiceProfileCustomTextRequestContent": ".set_self_service_profile_custom_text_request_content", "SetSelfServiceProfileCustomTextResponseContent": ".set_self_service_profile_custom_text_response_content", @@ -5898,6 +10360,20 @@ "SetUserAuthenticationMethods": ".set_user_authentication_methods", "SetUserAuthenticationMethodsRequestContent": ".set_user_authentication_methods_request_content", "SetsCustomTextsByLanguageRequestContent": ".sets_custom_texts_by_language_request_content", + "Sidebar": ".sidebar", + "SidebarComponent": ".sidebar_component", + "SidebarComponentAuth0ExternalLink": ".sidebar_component_auth_0_external_link", + "SidebarComponentAuth0ExternalLinkConfig": ".sidebar_component_auth_0_external_link_config", + "SidebarComponentAuth0ExternalLinkV2": ".sidebar_component_auth_0_external_link_v_2", + "SidebarComponentAuth0ExternalLinkV2Config": ".sidebar_component_auth_0_external_link_v_2_config", + "SidebarComponentAuth0InternalLink": ".sidebar_component_auth_0_internal_link", + "SidebarComponentAuth0InternalLinkConfig": ".sidebar_component_auth_0_internal_link_config", + "SidebarComponentAuth0InternalLinkV2": ".sidebar_component_auth_0_internal_link_v_2", + "SidebarComponentAuth0InternalLinkV2Config": ".sidebar_component_auth_0_internal_link_v_2_config", + "SidebarComponent_SidebarComponentAuth0ExternalLink": ".sidebar_component", + "SidebarComponent_SidebarComponentAuth0ExternalLinkV2": ".sidebar_component", + "SidebarComponent_SidebarComponentAuth0InternalLink": ".sidebar_component", + "SidebarComponent_SidebarComponentAuth0InternalLinkV2": ".sidebar_component", "SigningAlgorithmEnum": ".signing_algorithm_enum", "SigningKeys": ".signing_keys", "SigningKeysDate": ".signing_keys_date", @@ -5908,12 +10384,15 @@ "SupportedLocales": ".supported_locales", "SuspiciousIpThrottlingAllowlist": ".suspicious_ip_throttling_allowlist", "SuspiciousIpThrottlingAllowlistItem": ".suspicious_ip_throttling_allowlist_item", + "SuspiciousIpThrottlingPreCustomTokenExchangeStage": ".suspicious_ip_throttling_pre_custom_token_exchange_stage", "SuspiciousIpThrottlingPreLoginStage": ".suspicious_ip_throttling_pre_login_stage", "SuspiciousIpThrottlingPreUserRegistrationStage": ".suspicious_ip_throttling_pre_user_registration_stage", "SuspiciousIpThrottlingShieldsEnum": ".suspicious_ip_throttling_shields_enum", "SuspiciousIpThrottlingStage": ".suspicious_ip_throttling_stage", "SynchronizeGroupsEnum": ".synchronize_groups_enum", "SynchronizedGroupPayload": ".synchronized_group_payload", + "SynchronizedGroupSelectionId": ".synchronized_group_selection_id", + "SystemRoleOwnerId": ".system_role_owner_id", "TenantOidcLogoutSettings": ".tenant_oidc_logout_settings", "TenantSettingsCountryCodes": ".tenant_settings_country_codes", "TenantSettingsCountryCodesMode": ".tenant_settings_country_codes_mode", @@ -5930,18 +10409,23 @@ "TenantSettingsPasswordPage": ".tenant_settings_password_page", "TenantSettingsResourceParameterProfile": ".tenant_settings_resource_parameter_profile", "TenantSettingsSessions": ".tenant_settings_sessions", + "TenantSettingsSessionsAnonymous": ".tenant_settings_sessions_anonymous", "TenantSettingsSupportedLocalesEnum": ".tenant_settings_supported_locales_enum", "TestActionPayload": ".test_action_payload", "TestActionResponseContent": ".test_action_response_content", "TestActionResultPayload": ".test_action_result_payload", "TestCustomDomainResponseContent": ".test_custom_domain_response_content", "TestEventDataContent": ".test_event_data_content", + "ThirdPartyClientAccessConfig": ".third_party_client_access_config", "TokenExchangeProfileResponseContent": ".token_exchange_profile_response_content", "TokenExchangeProfileTypeEnum": ".token_exchange_profile_type_enum", "TokenQuota": ".token_quota", "TokenQuotaClientCredentials": ".token_quota_client_credentials", "TokenQuotaConfiguration": ".token_quota_configuration", + "TokenVaultPrivilegedAccessGrant": ".token_vault_privileged_access_grant", "TokenVaultPrivilegedAccessIpAllowlistEntry": ".token_vault_privileged_access_ip_allowlist_entry", + "TooManyRequestsErrorBody": ".too_many_requests_error_body", + "TooManyRequestsErrorBodyError": ".too_many_requests_error_body_error", "TooManyRequestsSchema": ".too_many_requests_schema", "TooManyRequestsSchemaError": ".too_many_requests_schema_error", "TwilioProviderConfiguration": ".twilio_provider_configuration", @@ -5954,6 +10438,7 @@ "UpdateActionModuleResponseContent": ".update_action_module_response_content", "UpdateActionResponseContent": ".update_action_response_content", "UpdateAculResponseContent": ".update_acul_response_content", + "UpdateAnonymousSessions": ".update_anonymous_sessions", "UpdateAttackProtectionCaptchaResponseContent": ".update_attack_protection_captcha_response_content", "UpdateBotDetectionSettingsResponseContent": ".update_bot_detection_settings_response_content", "UpdateBrandingColors": ".update_branding_colors", @@ -6024,6 +10509,7 @@ "UpdateConnectionRequestContentYahoo": ".update_connection_request_content_yahoo", "UpdateConnectionRequestContentYandex": ".update_connection_request_content_yandex", "UpdateConnectionResponseContent": ".update_connection_response_content", + "UpdateCrossAppAccessResourceApp": ".update_cross_app_access_resource_app", "UpdateCustomDomainResponseContent": ".update_custom_domain_response_content", "UpdateDefaultCanonicalDomainResponseContent": ".update_default_canonical_domain_response_content", "UpdateDefaultCustomDomainResponseContent": ".update_default_custom_domain_response_content", @@ -6035,6 +10521,9 @@ "UpdateEnabledClientConnectionsRequestContent": ".update_enabled_client_connections_request_content", "UpdateEnabledClientConnectionsRequestContentItem": ".update_enabled_client_connections_request_content_item", "UpdateEventStreamResponseContent": ".update_event_stream_response_content", + "UpdateExperimentResponseContent": ".update_experiment_response_content", + "UpdateFeatureFlagParameters": ".update_feature_flag_parameters", + "UpdateFeatureFlagResponseContent": ".update_feature_flag_response_content", "UpdateFlowResponseContent": ".update_flow_response_content", "UpdateFlowsVaultConnectionResponseContent": ".update_flows_vault_connection_response_content", "UpdateFlowsVaultConnectionSetup": ".update_flows_vault_connection_setup", @@ -6046,9 +10535,11 @@ "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent": ".update_guardian_factors_provider_push_notification_sns_response_content", "UpdateHookResponseContent": ".update_hook_response_content", "UpdateHookSecretRequestContent": ".update_hook_secret_request_content", + "UpdateIdentityAssertionAuthorizationGrant": ".update_identity_assertion_authorization_grant", "UpdateLogStreamResponseContent": ".update_log_stream_response_content", "UpdateNetworkAclResponseContent": ".update_network_acl_response_content", "UpdateOrganizationAllConnectionResponseContent": ".update_organization_all_connection_response_content", + "UpdateOrganizationClientResponseContent": ".update_organization_client_response_content", "UpdateOrganizationConnectionResponseContent": ".update_organization_connection_response_content", "UpdateOrganizationDiscoveryDomainResponseContent": ".update_organization_discovery_domain_response_content", "UpdateOrganizationResponseContent": ".update_organization_response_content", @@ -6061,6 +10552,7 @@ "UpdateRoleResponseContent": ".update_role_response_content", "UpdateRuleResponseContent": ".update_rule_response_content", "UpdateScimConfigurationResponseContent": ".update_scim_configuration_response_content", + "UpdateSegmentResponseContent": ".update_segment_response_content", "UpdateSelfServiceProfileResponseContent": ".update_self_service_profile_response_content", "UpdateSessionResponseContent": ".update_session_response_content", "UpdateSettingsResponseContent": ".update_settings_response_content", @@ -6072,6 +10564,8 @@ "UpdateUserAttributeProfileResponseContent": ".update_user_attribute_profile_response_content", "UpdateUserAuthenticationMethodResponseContent": ".update_user_authentication_method_response_content", "UpdateUserResponseContent": ".update_user_response_content", + "UpdateVariationOverridesMap": ".update_variation_overrides_map", + "UpdateVariationResponseContent": ".update_variation_response_content", "UpdateVerifiableCredentialTemplateResponseContent": ".update_verifiable_credential_template_response_content", "UserAppMetadataSchema": ".user_app_metadata_schema", "UserAttributeProfile": ".user_attribute_profile", @@ -6119,8 +10613,12 @@ "UserResponseSchema": ".user_response_schema", "UsernameAllowedTypes": ".username_allowed_types", "UsernameAttribute": ".username_attribute", + "UsernameAttributeIdentifier": ".username_attribute_identifier", "UsernameValidation": ".username_validation", "UsersEnrollment": ".users_enrollment", + "ValidateExperimentResponseContent": ".validate_experiment_response_content", + "Variation": ".variation", + "VariationOverridesMap": ".variation_overrides_map", "VerifiableCredentialTemplateResponse": ".verifiable_credential_template_response", "VerificationMethodEnum": ".verification_method_enum", "VerifyCustomDomainResponseContent": ".verify_custom_domain_response_content", @@ -6207,7 +10705,14 @@ def __dir__(): "AculOrganizationMetadata", "AculRenderingModeEnum", "AddOrganizationConnectionResponseContent", + "AdvanceRampResponseContent", + "AgentMetadata", + "AgentResponseContent", + "AllocationItem", + "AllocationRequestItem", + "AllocationStrategyEnum", "AnomalyIpFormat", + "AnonymousSessions", "AppMetadata", "AssessorsTypeEnum", "AssociateOrganizationClientGrantResponseContent", @@ -6226,8 +10731,11 @@ def __dir__(): "AttackProtectionUpdateCaptchaHcaptcha", "AttackProtectionUpdateCaptchaRecaptchaEnterprise", "AttackProtectionUpdateCaptchaRecaptchaV2", + "AuthenticationFlowEnum", "AuthenticationMethodTypeEnum", "AuthenticationTypeEnum", + "B2BIntegrationConfiguration", + "B2BIntegrationConfigurationIntegrationTypeEnum", "BadRequestSchema", "BadRequestSchemaError", "BotDetectionAllowlist", @@ -6257,6 +10765,11 @@ def __dir__(): "BrandingThemeFontSubtitle", "BrandingThemeFontTitle", "BrandingThemeFonts", + "BrandingThemeIdentifiers", + "BrandingThemeIdentifiersLoginDisplayEnum", + "BrandingThemeIdentifiersPhoneDisplay", + "BrandingThemeIdentifiersPhoneDisplayFormattingEnum", + "BrandingThemeIdentifiersPhoneDisplayMaskingEnum", "BrandingThemePageBackground", "BrandingThemePageBackgroundPageLayoutEnum", "BrandingThemeWidget", @@ -6271,6 +10784,7 @@ def __dir__(): "BreachedPasswordDetectionPreUserRegistrationStage", "BreachedPasswordDetectionShieldsEnum", "BreachedPasswordDetectionStage", + "BruteForceProtectionFormSubmissionModeEnum", "BruteForceProtectionModeEnum", "BruteForceProtectionShieldsEnum", "BulkUpdateAculResponseContent", @@ -6278,6 +10792,7 @@ def __dir__(): "CertificateSubjectDnCredentialTypeEnum", "ChangePasswordTicketIdentity", "ChangePasswordTicketResponseContent", + "CimdExternalMetadataCreatedByEnum", "CimdMappedClientAuthenticationMethods", "CimdMappedClientAuthenticationMethodsPrivateKeyJwt", "CimdMappedClientFields", @@ -6317,6 +10832,7 @@ def __dir__(): "ClientAddonZendesk", "ClientAddonZoom", "ClientAddons", + "ClientAnonymousSessionTransferNetworkBindingEnum", "ClientAppTypeEnum", "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration", @@ -6340,12 +10856,14 @@ def __dir__(): "ClientDefaultOrganizationFlowsEnum", "ClientEncryptionKey", "ClientExternalMetadataCreatedByEnum", + "ClientExternalMetadataStatusEnum", "ClientExternalMetadataTypeEnum", "ClientGrantAllowAnyOrganizationEnum", "ClientGrantDefaultForEnum", "ClientGrantOrganizationNullableUsageEnum", "ClientGrantOrganizationUsageEnum", "ClientGrantResponseContent", + "ClientGrantSortFieldEnum", "ClientGrantSubjectTypeEnum", "ClientJwtConfiguration", "ClientJwtConfigurationScopes", @@ -6354,23 +10872,53 @@ def __dir__(): "ClientMobileAndroid", "ClientMobileiOs", "ClientMyOrganizationConfigurationAllowedStrategiesEnum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum", + "ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum", "ClientMyOrganizationDeletionBehaviorEnum", "ClientMyOrganizationPatchConfiguration", "ClientMyOrganizationPostConfiguration", "ClientMyOrganizationResponseConfiguration", + "ClientMyOrganizationThirdPartyClientAccessConfiguration", "ClientOidcBackchannelLogoutInitiators", "ClientOidcBackchannelLogoutInitiatorsEnum", "ClientOidcBackchannelLogoutInitiatorsModeEnum", "ClientOidcBackchannelLogoutSessionMetadata", "ClientOidcBackchannelLogoutSettings", + "ClientOidcSupport", + "ClientOidcSupportAllowedScopesEnum", + "ClientOidcSupportPatch", + "ClientOidcSupportPost", "ClientOrganizationDiscoveryEnum", "ClientOrganizationRequireBehaviorEnum", "ClientOrganizationRequireBehaviorPatchEnum", "ClientOrganizationUsageEnum", "ClientOrganizationUsagePatchEnum", + "ClientProfile", + "ClientProfileApplyPolicy", + "ClientProfileApplyPolicyExternalMetadataCreatedByEnum", + "ClientProfileApplyPolicyExternalMetadataTypeEnum", + "ClientProfileClientConfiguration", + "ClientProfileClientConfigurationOidcSupport", + "ClientProfileClientConfigurationOidcSupportAllowedScopesEnum", + "ClientProfileClientConfigurationOidcSupportDefaultValue", + "ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum", + "ClientProfileClientConfigurationOrganizationDiscoveryMethods", + "ClientProfileClientConfigurationOrganizationRequireBehavior", + "ClientProfileClientConfigurationOrganizationRequireBehaviorEnum", + "ClientProfileClientConfigurationOrganizationUsage", + "ClientProfileClientConfigurationOrganizationUsageEnum", + "ClientProfileClientConfigurationRefreshToken", + "ClientProfileClientConfigurationRequireProofOfPossession", + "ClientProfileDescription", + "ClientProfileId", + "ClientProfileName", + "ClientProfileRefreshTokenIdleTokenLifetime", + "ClientProfileRefreshTokenLeeway", + "ClientProfileRefreshTokenTokenLifetime", "ClientRedirectionPolicyEnum", "ClientRefreshTokenConfiguration", "ClientRefreshTokenPolicy", + "ClientSearchResponse", "ClientSessionTransferAllowedAuthenticationMethodsEnum", "ClientSessionTransferConfiguration", "ClientSessionTransferDelegationConfiguration", @@ -6380,6 +10928,7 @@ def __dir__(): "ClientSignedRequestObjectWithPublicKey", "ClientSigningKey", "ClientSigningKeys", + "ClientSortFieldEnum", "ClientThirdPartySecurityModeEnum", "ClientTokenEndpointAuthMethodEnum", "ClientTokenEndpointAuthMethodOrNullEnum", @@ -6388,6 +10937,8 @@ def __dir__(): "ClientTokenExchangeTypeEnum", "ClientTokenVaultPrivilegedAccessWithCredentialId", "ClientTokenVaultPrivilegedAccessWithPublicKey", + "ConflictSchema", + "ConflictSchemaError", "ConnectedAccount", "ConnectedAccountAccessTypeEnum", "ConnectionAccessTokenUrloAuth1", @@ -6407,7 +10958,6 @@ def __dir__(): "ConnectionAppDomainAzureAd", "ConnectionAssertionDecryptionAlgorithmProfileEnum", "ConnectionAssertionDecryptionSettings", - "ConnectionAttributeIdentifier", "ConnectionAttributeMapAttributes", "ConnectionAttributeMapOidc", "ConnectionAttributeMapOkta", @@ -6443,6 +10993,7 @@ def __dir__(): "ConnectionClientIdOidc", "ConnectionClientIdPaypal", "ConnectionClientIdSalesforce", + "ConnectionClientIdSamlxaaRequestingApp", "ConnectionClientIdWindowsLive", "ConnectionClientProtocolSaml", "ConnectionClientSecret", @@ -6460,6 +11011,7 @@ def __dir__(): "ConnectionClientSecretOidc", "ConnectionClientSecretPaypal", "ConnectionClientSecretSalesforce", + "ConnectionClientSecretSamlxaaRequestingApp", "ConnectionClientSecretWindowsLive", "ConnectionCommon", "ConnectionCommunityBaseUrlSalesforce", @@ -6468,6 +11020,8 @@ def __dir__(): "ConnectionConnectedAccountsPurposeXaa", "ConnectionConnectionSettings", "ConnectionConnectionSettingsPkceEnum", + "ConnectionCrossAppAccessResourceApp", + "ConnectionCrossAppAccessResourceAppStatusEnum", "ConnectionCustomHeadersOAuth2", "ConnectionCustomScripts", "ConnectionDebugSaml", @@ -6497,6 +11051,7 @@ def __dir__(): "ConnectionEmailFromEmail", "ConnectionEmailOtpAuthenticationMethod", "ConnectionEmailSubjectEmail", + "ConnectionEnablePushedAuthorizationRequests", "ConnectionEnableScriptContext", "ConnectionEnabledClient", "ConnectionEnabledClients", @@ -6514,7 +11069,6 @@ def __dir__(): "ConnectionExtIsSuspended", "ConnectionExtIsSuspendedGoogleApps", "ConnectionExtProfile", - "ConnectionFederatedConnectionsAccessTokens", "ConnectionFieldsMap", "ConnectionFieldsMapSaml", "ConnectionFieldsMapSamlValue", @@ -6650,6 +11204,8 @@ def __dir__(): "ConnectionOptionsWordpress", "ConnectionOptionsYahoo", "ConnectionOptionsYandex", + "ConnectionOtpChannelSettings", + "ConnectionOtpSettings", "ConnectionPasskeyAuthenticationMethod", "ConnectionPasskeyChallengeUiEnum", "ConnectionPasskeyOptions", @@ -6670,16 +11226,31 @@ def __dir__(): "ConnectionProfile", "ConnectionProfileBitbucket", "ConnectionProfileConfig", + "ConnectionProfileCrossAppAccessResourceApp", + "ConnectionProfileCrossAppAccessResourceAppStatus", + "ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum", + "ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum", + "ConnectionProfileCrossAppAccessResourceAppStatusValueEnum", "ConnectionProfileEnabledFeatures", "ConnectionProfileId", "ConnectionProfileName", "ConnectionProfileOrganization", "ConnectionProfileOrganizationAssignMembershipOnLoginEnum", "ConnectionProfileOrganizationShowAsButtonEnum", + "ConnectionProfileProvisioning", + "ConnectionProfileProvisioningGoogleWorkspace", + "ConnectionProfileProvisioningGoogleWorkspaceSyncUsers", + "ConnectionProfileProvisioningScim", + "ConnectionProfileProvisioningScimTokenDefaultExpiry", + "ConnectionProfileProvisioningScimTokenMaxAllowedExpiry", + "ConnectionProfileProvisioningScimTokenScopeEnum", + "ConnectionProfileProvisioningScimTokenScopes", + "ConnectionProfileProvisioningScimTokens", "ConnectionProfileStrategyOverride", "ConnectionProfileStrategyOverrides", "ConnectionProfileStrategyOverridesConnectionConfig", "ConnectionProfileStrategyOverridesEnabledFeatures", + "ConnectionProfileStrategyOverridesProvisioning", "ConnectionProfileTemplate", "ConnectionProfileTemplateItem", "ConnectionPropertiesOptions", @@ -6689,6 +11260,7 @@ def __dir__(): "ConnectionProviderSms", "ConnectionProvisioningTicketUrl", "ConnectionPurposes", + "ConnectionPushedAuthorizationRequestEndpoint", "ConnectionRealmFallback", "ConnectionRealms", "ConnectionRecipientUrlSaml", @@ -6700,6 +11272,7 @@ def __dir__(): "ConnectionRequestTemplateSaml", "ConnectionRequestTokenUrloAuth1", "ConnectionRequestUriParameterSupported", + "ConnectionRequirePushedAuthorizationRequests", "ConnectionRequireRequestUriRegistration", "ConnectionRequiresUsername", "ConnectionResponseCommon", @@ -6868,6 +11441,9 @@ def __dir__(): "ConnectionThumbprints", "ConnectionThumbprintsAd", "ConnectionThumbprintsSaml", + "ConnectionThumbprintsSha384", + "ConnectionThumbprintsSha384Ad", + "ConnectionThumbprintsSha384Saml", "ConnectionTokenEndpoint", "ConnectionTokenEndpointAuthMethodEnum", "ConnectionTokenEndpointAuthMethodsSupported", @@ -6894,6 +11470,7 @@ def __dir__(): "ConnectionUpstreamParamsFacebook", "ConnectionUpstreamValue", "ConnectionUseCommonEndpointAzureAd", + "ConnectionUseOauthSpecScope", "ConnectionUserAuthorizationUrloAuth1", "ConnectionUserIdAttributeSaml", "ConnectionUseridAttributeAzureAd", @@ -6906,11 +11483,15 @@ def __dir__(): "ConnectionValidationOptions", "ConnectionWaadProtocol", "ConnectionWaadProtocolEnumAzureAd", + "ConnectionsDiscoveryUrl", "ConnectionsMetadata", + "ConnectionsOidcMetadata", + "ConsentSigningKey", "ContentSecurityPolicyConfig", "CreateActionModuleResponseContent", "CreateActionModuleVersionResponseContent", "CreateActionResponseContent", + "CreateAnonymousSessions", "CreateBrandingPhoneProviderResponseContent", "CreateBrandingThemeResponseContent", "CreateClientAuthenticationMethodSelfSignedTlsClientAuth", @@ -7030,6 +11611,7 @@ def __dir__(): "CreateConnectionRequestContentYandex", "CreateConnectionRequestContentYandexStrategy", "CreateConnectionResponseContent", + "CreateCrossAppAccessResourceApp", "CreateCustomDomainResponseContent", "CreateDirectoryProvisioningRequestContent", "CreateDirectoryProvisioningResponseContent", @@ -7045,8 +11627,11 @@ def __dir__(): "CreateEventStreamResponseContent", "CreateEventStreamTestEventResponseContent", "CreateEventStreamWebHookRequestContent", + "CreateExperimentResponseContent", "CreateExportUsersFields", "CreateExportUsersResponseContent", + "CreateFeatureFlagParameters", + "CreateFeatureFlagResponseContent", "CreateFlowResponseContent", "CreateFlowsVaultConnectionActivecampaign", "CreateFlowsVaultConnectionActivecampaignApiKey", @@ -7125,7 +11710,9 @@ def __dir__(): "CreateGuardianEnrollmentTicketResponseContent", "CreateHookResponseContent", "CreateHookSecretRequestContent", + "CreateIdentityAssertionAuthorizationGrant", "CreateImportUsersResponseContent", + "CreateKeysNetworkAclsResponseContent", "CreateLogStreamDatadogRequestBody", "CreateLogStreamEventBridgeRequestBody", "CreateLogStreamEventGridRequestBody", @@ -7137,6 +11724,8 @@ def __dir__(): "CreateLogStreamSplunkRequestBody", "CreateLogStreamSumoRequestBody", "CreateOrganizationAllConnectionResponseContent", + "CreateOrganizationClientRequestItem", + "CreateOrganizationClientsResponseContent", "CreateOrganizationDiscoveryDomainResponseContent", "CreateOrganizationInvitationResponseContent", "CreateOrganizationResponseContent", @@ -7151,6 +11740,7 @@ def __dir__(): "CreateScimConfigurationRequestContent", "CreateScimConfigurationResponseContent", "CreateScimTokenResponseContent", + "CreateSegmentResponseContent", "CreateSelfServiceProfileResponseContent", "CreateSelfServiceProfileSsoTicketResponseContent", "CreateTokenExchangeProfileResponseContent", @@ -7158,6 +11748,7 @@ def __dir__(): "CreateUserAttributeProfileResponseContent", "CreateUserAuthenticationMethodResponseContent", "CreateUserResponseContent", + "CreateVariationResponseContent", "CreateVerifiableCredentialTemplateResponseContent", "CreateVerificationEmailResponseContent", "CreatedAuthenticationMethodTypeEnum", @@ -7165,6 +11756,8 @@ def __dir__(): "CredentialDeviceTypeEnum", "CredentialId", "CrossAppAccessRequestingApp", + "CrossAppAccessResourceApp", + "CrossAppAccessResourceAppStatusEnum", "CspDirectives", "CspFlag", "CspFlags", @@ -7195,7 +11788,9 @@ def __dir__(): "CustomSigningKeyTypeEnum", "CustomSigningKeyUseEnum", "DailyStats", + "DefaultConfigEnum", "DefaultMethodEmailIdentifierEnum", + "DefaultMethodPhoneNumberIdentifierEnum", "DefaultTokenQuota", "DeleteHookSecretRequestContent", "DeleteUserIdentityResponseContent", @@ -7217,6 +11812,7 @@ def __dir__(): "DomainVerificationMethodNameEnum", "DomainVerificationStatusEnum", "EmailAttribute", + "EmailAttributeIdentifier", "EmailMailgunRegionEnum", "EmailProviderCredentials", "EmailProviderCredentialsSchema", @@ -7244,6 +11840,735 @@ def __dir__(): "EventStreamActionResponseContent", "EventStreamCloudEvent", "EventStreamCloudEventA0PurposeEnum", + "EventStreamCloudEventConnectionCreated", + "EventStreamCloudEventConnectionCreatedCloudEvent", + "EventStreamCloudEventConnectionCreatedCloudEventTypeEnum", + "EventStreamCloudEventConnectionCreatedData", + "EventStreamCloudEventConnectionCreatedObject", + "EventStreamCloudEventConnectionCreatedObject0", + "EventStreamCloudEventConnectionCreatedObject0Authentication", + "EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject0Metadata", + "EventStreamCloudEventConnectionCreatedObject0Options", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject0StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject1", + "EventStreamCloudEventConnectionCreatedObject1Authentication", + "EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject1Metadata", + "EventStreamCloudEventConnectionCreatedObject1Options", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject1StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject2", + "EventStreamCloudEventConnectionCreatedObject2Authentication", + "EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject2Metadata", + "EventStreamCloudEventConnectionCreatedObject2Options", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject2OptionsSubject", + "EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject2StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject3", + "EventStreamCloudEventConnectionCreatedObject3Authentication", + "EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject3Metadata", + "EventStreamCloudEventConnectionCreatedObject3Options", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedObject3OptionsSubject", + "EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject3StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject4", + "EventStreamCloudEventConnectionCreatedObject4Authentication", + "EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject4Metadata", + "EventStreamCloudEventConnectionCreatedObject4Options", + "EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject4StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject5", + "EventStreamCloudEventConnectionCreatedObject5Authentication", + "EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject5Metadata", + "EventStreamCloudEventConnectionCreatedObject5Options", + "EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject5StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject6", + "EventStreamCloudEventConnectionCreatedObject6Authentication", + "EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject6Metadata", + "EventStreamCloudEventConnectionCreatedObject6Options", + "EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject6StrategyEnum", + "EventStreamCloudEventConnectionCreatedObject7", + "EventStreamCloudEventConnectionCreatedObject7Authentication", + "EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedObject7Metadata", + "EventStreamCloudEventConnectionCreatedObject7Options", + "EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionCreatedObject7StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject", + "EventStreamCloudEventConnectionCreatedPreviousObject0", + "EventStreamCloudEventConnectionCreatedPreviousObject0Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject0Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0Options", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1", + "EventStreamCloudEventConnectionCreatedPreviousObject1Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject1Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1Options", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2", + "EventStreamCloudEventConnectionCreatedPreviousObject2Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject2Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2Options", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3", + "EventStreamCloudEventConnectionCreatedPreviousObject3Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject3Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject3Options", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4", + "EventStreamCloudEventConnectionCreatedPreviousObject4Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject4Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject4Options", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject5", + "EventStreamCloudEventConnectionCreatedPreviousObject5Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject5Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject5Options", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject6", + "EventStreamCloudEventConnectionCreatedPreviousObject6Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject6Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject6Options", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7", + "EventStreamCloudEventConnectionCreatedPreviousObject7Authentication", + "EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionCreatedPreviousObject7Metadata", + "EventStreamCloudEventConnectionCreatedPreviousObject7Options", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionCreatedTypeEnum", + "EventStreamCloudEventConnectionDeleted", + "EventStreamCloudEventConnectionDeletedCloudEvent", + "EventStreamCloudEventConnectionDeletedCloudEventTypeEnum", + "EventStreamCloudEventConnectionDeletedData", + "EventStreamCloudEventConnectionDeletedObject", + "EventStreamCloudEventConnectionDeletedObject0", + "EventStreamCloudEventConnectionDeletedObject0Authentication", + "EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject0Metadata", + "EventStreamCloudEventConnectionDeletedObject0Options", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject0StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject1", + "EventStreamCloudEventConnectionDeletedObject1Authentication", + "EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject1Metadata", + "EventStreamCloudEventConnectionDeletedObject1Options", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject1StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject2", + "EventStreamCloudEventConnectionDeletedObject2Authentication", + "EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject2Metadata", + "EventStreamCloudEventConnectionDeletedObject2Options", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject2OptionsSubject", + "EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject2StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject3", + "EventStreamCloudEventConnectionDeletedObject3Authentication", + "EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject3Metadata", + "EventStreamCloudEventConnectionDeletedObject3Options", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedObject3OptionsSubject", + "EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject3StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject4", + "EventStreamCloudEventConnectionDeletedObject4Authentication", + "EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject4Metadata", + "EventStreamCloudEventConnectionDeletedObject4Options", + "EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject4StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject5", + "EventStreamCloudEventConnectionDeletedObject5Authentication", + "EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject5Metadata", + "EventStreamCloudEventConnectionDeletedObject5Options", + "EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject5StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject6", + "EventStreamCloudEventConnectionDeletedObject6Authentication", + "EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject6Metadata", + "EventStreamCloudEventConnectionDeletedObject6Options", + "EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject6StrategyEnum", + "EventStreamCloudEventConnectionDeletedObject7", + "EventStreamCloudEventConnectionDeletedObject7Authentication", + "EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedObject7Metadata", + "EventStreamCloudEventConnectionDeletedObject7Options", + "EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionDeletedObject7StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject", + "EventStreamCloudEventConnectionDeletedPreviousObject0", + "EventStreamCloudEventConnectionDeletedPreviousObject0Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject0Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0Options", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1", + "EventStreamCloudEventConnectionDeletedPreviousObject1Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject1Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1Options", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2", + "EventStreamCloudEventConnectionDeletedPreviousObject2Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject2Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2Options", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3", + "EventStreamCloudEventConnectionDeletedPreviousObject3Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject3Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject3Options", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4", + "EventStreamCloudEventConnectionDeletedPreviousObject4Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject4Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject4Options", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject5", + "EventStreamCloudEventConnectionDeletedPreviousObject5Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject5Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject5Options", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject6", + "EventStreamCloudEventConnectionDeletedPreviousObject6Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject6Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject6Options", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7", + "EventStreamCloudEventConnectionDeletedPreviousObject7Authentication", + "EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionDeletedPreviousObject7Metadata", + "EventStreamCloudEventConnectionDeletedPreviousObject7Options", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionDeletedTypeEnum", + "EventStreamCloudEventConnectionUpdated", + "EventStreamCloudEventConnectionUpdatedCloudEvent", + "EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum", + "EventStreamCloudEventConnectionUpdatedData", + "EventStreamCloudEventConnectionUpdatedObject", + "EventStreamCloudEventConnectionUpdatedObject0", + "EventStreamCloudEventConnectionUpdatedObject0Authentication", + "EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject0Metadata", + "EventStreamCloudEventConnectionUpdatedObject0Options", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject0StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject1", + "EventStreamCloudEventConnectionUpdatedObject1Authentication", + "EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject1Metadata", + "EventStreamCloudEventConnectionUpdatedObject1Options", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject1StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject2", + "EventStreamCloudEventConnectionUpdatedObject2Authentication", + "EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject2Metadata", + "EventStreamCloudEventConnectionUpdatedObject2Options", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject2OptionsSubject", + "EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject2StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject3", + "EventStreamCloudEventConnectionUpdatedObject3Authentication", + "EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject3Metadata", + "EventStreamCloudEventConnectionUpdatedObject3Options", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedObject3OptionsSubject", + "EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject3StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject4", + "EventStreamCloudEventConnectionUpdatedObject4Authentication", + "EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject4Metadata", + "EventStreamCloudEventConnectionUpdatedObject4Options", + "EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject4StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject5", + "EventStreamCloudEventConnectionUpdatedObject5Authentication", + "EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject5Metadata", + "EventStreamCloudEventConnectionUpdatedObject5Options", + "EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject5StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject6", + "EventStreamCloudEventConnectionUpdatedObject6Authentication", + "EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject6Metadata", + "EventStreamCloudEventConnectionUpdatedObject6Options", + "EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject6StrategyEnum", + "EventStreamCloudEventConnectionUpdatedObject7", + "EventStreamCloudEventConnectionUpdatedObject7Authentication", + "EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedObject7Metadata", + "EventStreamCloudEventConnectionUpdatedObject7Options", + "EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionUpdatedObject7StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject", + "EventStreamCloudEventConnectionUpdatedPreviousObject0", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject", + "EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject3Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject", + "EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject4Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject5Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject6Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication", + "EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata", + "EventStreamCloudEventConnectionUpdatedPreviousObject7Options", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum", + "EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum", + "EventStreamCloudEventConnectionUpdatedTypeEnum", "EventStreamCloudEventContext", "EventStreamCloudEventContextClient", "EventStreamCloudEventContextClientMetadata", @@ -7251,6 +12576,11 @@ def __dir__(): "EventStreamCloudEventContextRequest", "EventStreamCloudEventContextRequestGeo", "EventStreamCloudEventContextTenant", + "EventStreamCloudEventContextTransaction", + "EventStreamCloudEventContextTransactionProtocolEnum", + "EventStreamCloudEventContextTransactionResponseModeEnum", + "EventStreamCloudEventContextTransactionResponseTypeItemEnum", + "EventStreamCloudEventData", "EventStreamCloudEventErrorCodeEnum", "EventStreamCloudEventErrorDetail", "EventStreamCloudEventErrorMessage", @@ -7266,6 +12596,13 @@ def __dir__(): "EventStreamCloudEventGroupCreatedObject1TypeEnum", "EventStreamCloudEventGroupCreatedObject2", "EventStreamCloudEventGroupCreatedObject2TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject", + "EventStreamCloudEventGroupCreatedPreviousObject0", + "EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject1", + "EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupCreatedPreviousObject2", + "EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum", "EventStreamCloudEventGroupCreatedTypeEnum", "EventStreamCloudEventGroupDeleted", "EventStreamCloudEventGroupDeletedCloudEvent", @@ -7278,6 +12615,13 @@ def __dir__(): "EventStreamCloudEventGroupDeletedObject1TypeEnum", "EventStreamCloudEventGroupDeletedObject2", "EventStreamCloudEventGroupDeletedObject2TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject", + "EventStreamCloudEventGroupDeletedPreviousObject0", + "EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject1", + "EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupDeletedPreviousObject2", + "EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum", "EventStreamCloudEventGroupDeletedTypeEnum", "EventStreamCloudEventGroupMemberAdded", "EventStreamCloudEventGroupMemberAddedCloudEvent", @@ -7296,6 +12640,19 @@ def __dir__(): "EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum", "EventStreamCloudEventGroupMemberAddedObjectMember1", "EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObject", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2", + "EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1", + "EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum", "EventStreamCloudEventGroupMemberAddedTypeEnum", "EventStreamCloudEventGroupMemberDeleted", "EventStreamCloudEventGroupMemberDeletedCloudEvent", @@ -7314,6 +12671,19 @@ def __dir__(): "EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum", "EventStreamCloudEventGroupMemberDeletedObjectMember1", "EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObject", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1", + "EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum", "EventStreamCloudEventGroupMemberDeletedTypeEnum", "EventStreamCloudEventGroupRoleAssigned", "EventStreamCloudEventGroupRoleAssignedCloudEvent", @@ -7328,6 +12698,15 @@ def __dir__(): "EventStreamCloudEventGroupRoleAssignedObjectGroup2", "EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum", "EventStreamCloudEventGroupRoleAssignedObjectRole", + "EventStreamCloudEventGroupRoleAssignedPreviousObject", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupRoleAssignedPreviousObjectRole", "EventStreamCloudEventGroupRoleAssignedTypeEnum", "EventStreamCloudEventGroupRoleDeleted", "EventStreamCloudEventGroupRoleDeletedCloudEvent", @@ -7342,6 +12721,15 @@ def __dir__(): "EventStreamCloudEventGroupRoleDeletedObjectGroup2", "EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum", "EventStreamCloudEventGroupRoleDeletedObjectRole", + "EventStreamCloudEventGroupRoleDeletedPreviousObject", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventGroupRoleDeletedPreviousObjectRole", "EventStreamCloudEventGroupRoleDeletedTypeEnum", "EventStreamCloudEventGroupUpdated", "EventStreamCloudEventGroupUpdatedCloudEvent", @@ -7354,6 +12742,13 @@ def __dir__(): "EventStreamCloudEventGroupUpdatedObject1TypeEnum", "EventStreamCloudEventGroupUpdatedObject2", "EventStreamCloudEventGroupUpdatedObject2TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject", + "EventStreamCloudEventGroupUpdatedPreviousObject0", + "EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject1", + "EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum", + "EventStreamCloudEventGroupUpdatedPreviousObject2", + "EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum", "EventStreamCloudEventGroupUpdatedTypeEnum", "EventStreamCloudEventOffsetOnlyMessage", "EventStreamCloudEventOffsetOnlyMessageTypeEnum", @@ -7364,6 +12759,29 @@ def __dir__(): "EventStreamCloudEventOrgConnectionAddedObject", "EventStreamCloudEventOrgConnectionAddedObjectConnection", "EventStreamCloudEventOrgConnectionAddedObjectOrganization", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObject", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum", "EventStreamCloudEventOrgConnectionAddedTypeEnum", "EventStreamCloudEventOrgConnectionRemoved", "EventStreamCloudEventOrgConnectionRemovedCloudEvent", @@ -7372,6 +12790,9 @@ def __dir__(): "EventStreamCloudEventOrgConnectionRemovedObject", "EventStreamCloudEventOrgConnectionRemovedObjectConnection", "EventStreamCloudEventOrgConnectionRemovedObjectOrganization", + "EventStreamCloudEventOrgConnectionRemovedPreviousObject", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization", "EventStreamCloudEventOrgConnectionRemovedTypeEnum", "EventStreamCloudEventOrgConnectionUpdated", "EventStreamCloudEventOrgConnectionUpdatedCloudEvent", @@ -7380,6 +12801,29 @@ def __dir__(): "EventStreamCloudEventOrgConnectionUpdatedObject", "EventStreamCloudEventOrgConnectionUpdatedObjectConnection", "EventStreamCloudEventOrgConnectionUpdatedObjectOrganization", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObject", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum", + "EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum", "EventStreamCloudEventOrgConnectionUpdatedTypeEnum", "EventStreamCloudEventOrgCreated", "EventStreamCloudEventOrgCreatedCloudEvent", @@ -7389,6 +12833,10 @@ def __dir__(): "EventStreamCloudEventOrgCreatedObjectBranding", "EventStreamCloudEventOrgCreatedObjectBrandingColors", "EventStreamCloudEventOrgCreatedObjectMetadata", + "EventStreamCloudEventOrgCreatedPreviousObject", + "EventStreamCloudEventOrgCreatedPreviousObjectBranding", + "EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors", + "EventStreamCloudEventOrgCreatedPreviousObjectMetadata", "EventStreamCloudEventOrgCreatedTypeEnum", "EventStreamCloudEventOrgDeleted", "EventStreamCloudEventOrgDeletedCloudEvent", @@ -7396,6 +12844,8 @@ def __dir__(): "EventStreamCloudEventOrgDeletedData", "EventStreamCloudEventOrgDeletedObject", "EventStreamCloudEventOrgDeletedObjectMetadata", + "EventStreamCloudEventOrgDeletedPreviousObject", + "EventStreamCloudEventOrgDeletedPreviousObjectMetadata", "EventStreamCloudEventOrgDeletedTypeEnum", "EventStreamCloudEventOrgGroupRoleAssigned", "EventStreamCloudEventOrgGroupRoleAssignedCloudEvent", @@ -7411,6 +12861,16 @@ def __dir__(): "EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum", "EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization", "EventStreamCloudEventOrgGroupRoleAssignedObjectRole", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObject", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization", + "EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole", "EventStreamCloudEventOrgGroupRoleAssignedTypeEnum", "EventStreamCloudEventOrgGroupRoleDeleted", "EventStreamCloudEventOrgGroupRoleDeletedCloudEvent", @@ -7426,6 +12886,16 @@ def __dir__(): "EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum", "EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization", "EventStreamCloudEventOrgGroupRoleDeletedObjectRole", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObject", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole", "EventStreamCloudEventOrgGroupRoleDeletedTypeEnum", "EventStreamCloudEventOrgMemberAdded", "EventStreamCloudEventOrgMemberAddedCloudEvent", @@ -7434,6 +12904,9 @@ def __dir__(): "EventStreamCloudEventOrgMemberAddedObject", "EventStreamCloudEventOrgMemberAddedObjectOrganization", "EventStreamCloudEventOrgMemberAddedObjectUser", + "EventStreamCloudEventOrgMemberAddedPreviousObject", + "EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberAddedPreviousObjectUser", "EventStreamCloudEventOrgMemberAddedTypeEnum", "EventStreamCloudEventOrgMemberDeleted", "EventStreamCloudEventOrgMemberDeletedCloudEvent", @@ -7442,6 +12915,9 @@ def __dir__(): "EventStreamCloudEventOrgMemberDeletedObject", "EventStreamCloudEventOrgMemberDeletedObjectOrganization", "EventStreamCloudEventOrgMemberDeletedObjectUser", + "EventStreamCloudEventOrgMemberDeletedPreviousObject", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberDeletedPreviousObjectUser", "EventStreamCloudEventOrgMemberDeletedTypeEnum", "EventStreamCloudEventOrgMemberRoleAssigned", "EventStreamCloudEventOrgMemberRoleAssignedCloudEvent", @@ -7451,6 +12927,10 @@ def __dir__(): "EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization", "EventStreamCloudEventOrgMemberRoleAssignedObjectRole", "EventStreamCloudEventOrgMemberRoleAssignedObjectUser", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObject", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole", + "EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser", "EventStreamCloudEventOrgMemberRoleAssignedTypeEnum", "EventStreamCloudEventOrgMemberRoleDeleted", "EventStreamCloudEventOrgMemberRoleDeletedCloudEvent", @@ -7460,6 +12940,10 @@ def __dir__(): "EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization", "EventStreamCloudEventOrgMemberRoleDeletedObjectRole", "EventStreamCloudEventOrgMemberRoleDeletedObjectUser", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObject", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole", + "EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser", "EventStreamCloudEventOrgMemberRoleDeletedTypeEnum", "EventStreamCloudEventOrgUpdated", "EventStreamCloudEventOrgUpdatedCloudEvent", @@ -7469,7 +12953,12 @@ def __dir__(): "EventStreamCloudEventOrgUpdatedObjectBranding", "EventStreamCloudEventOrgUpdatedObjectBrandingColors", "EventStreamCloudEventOrgUpdatedObjectMetadata", + "EventStreamCloudEventOrgUpdatedPreviousObject", + "EventStreamCloudEventOrgUpdatedPreviousObjectBranding", + "EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors", + "EventStreamCloudEventOrgUpdatedPreviousObjectMetadata", "EventStreamCloudEventOrgUpdatedTypeEnum", + "EventStreamCloudEventSpecVersionEnum", "EventStreamCloudEventUserCreated", "EventStreamCloudEventUserCreatedCloudEvent", "EventStreamCloudEventUserCreatedCloudEventTypeEnum", @@ -7503,6 +12992,35 @@ def __dir__(): "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserCreatedObjectUserMetadata", + "EventStreamCloudEventUserCreatedPreviousObject", + "EventStreamCloudEventUserCreatedPreviousObjectAppMetadata", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserCreatedPreviousObjectUserMetadata", "EventStreamCloudEventUserCreatedTypeEnum", "EventStreamCloudEventUserDeleted", "EventStreamCloudEventUserDeletedCloudEvent", @@ -7537,6 +13055,35 @@ def __dir__(): "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserDeletedObjectUserMetadata", + "EventStreamCloudEventUserDeletedPreviousObject", + "EventStreamCloudEventUserDeletedPreviousObjectAppMetadata", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserDeletedPreviousObjectUserMetadata", "EventStreamCloudEventUserDeletedTypeEnum", "EventStreamCloudEventUserUpdated", "EventStreamCloudEventUserUpdatedCloudEvent", @@ -7571,6 +13118,35 @@ def __dir__(): "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum", "EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserId", "EventStreamCloudEventUserUpdatedObjectUserMetadata", + "EventStreamCloudEventUserUpdatedPreviousObject", + "EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum", + "EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId", + "EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata", "EventStreamCloudEventUserUpdatedTypeEnum", "EventStreamDelivery", "EventStreamDeliveryAttempt", @@ -7588,6 +13164,9 @@ def __dir__(): "EventStreamSubscribeEventsEventTypeEnum", "EventStreamSubscribeEventsEventTypeParam", "EventStreamSubscribeEventsResponseContent", + "EventStreamSubscribeEventsResponseContent_ConnectionCreated", + "EventStreamSubscribeEventsResponseContent_ConnectionDeleted", + "EventStreamSubscribeEventsResponseContent_ConnectionUpdated", "EventStreamSubscribeEventsResponseContent_Error", "EventStreamSubscribeEventsResponseContent_GroupCreated", "EventStreamSubscribeEventsResponseContent_GroupDeleted", @@ -7625,14 +13204,23 @@ def __dir__(): "EventStreamWebhookDestination", "EventStreamWebhookDestinationTypeEnum", "EventStreamWebhookResponseContent", + "ExperimentListItem", + "ExperimentStatusEnum", + "ExperimentTransitionStatusEnum", + "ExperimentValidationError", "ExpressConfiguration", "ExpressConfigurationOrNull", "ExtensibilityEmailProviderCredentials", + "FeatureFlag", + "FeatureFlagConfigParam", + "FeatureFlagConfigParamTypeEnum", + "FeatureFlagConfigParams", + "FeatureFlagStatusEnum", + "FeatureFlagTypeEnum", "FedCmLogin", "FedCmLoginGoogle", "FedCmLoginGooglePatch", "FedCmLoginPatch", - "FederatedConnectionTokenSet", "FlowAction", "FlowActionActivecampaign", "FlowActionActivecampaignListContacts", @@ -8201,6 +13789,7 @@ def __dir__(): "GetActionVersionResponseContent", "GetActiveUsersCountStatsResponseContent", "GetAculResponseContent", + "GetAllKeysNetworkAclsResponseContent", "GetAttackProtectionCaptchaResponseContent", "GetBotDetectionSettingsResponseContent", "GetBrandingDefaultThemeResponseContent", @@ -8224,11 +13813,14 @@ def __dir__(): "GetDefaultDomainResponseContent", "GetDirectoryProvisioningDefaultMappingResponseContent", "GetDirectoryProvisioningResponseContent", + "GetEmailFactorSettingsResponseContent", "GetEmailProviderResponseContent", "GetEmailTemplateResponseContent", "GetEncryptionKeyResponseContent", "GetEventStreamDeliveryHistoryResponseContent", "GetEventStreamResponseContent", + "GetExperimentResponseContent", + "GetFeatureFlagResponseContent", "GetFlowExecutionRequestParametersHydrateEnum", "GetFlowExecutionResponseContent", "GetFlowRequestParametersHydrateEnum", @@ -8249,6 +13841,7 @@ def __dir__(): "GetGuardianFactorsProviderSmsResponseContent", "GetGuardianFactorsProviderSmsTwilioResponseContent", "GetGuardianFactorsProviderSnsResponseContent", + "GetGuardianSettingsResponseContent", "GetHookResponseContent", "GetHookSecretResponseContent", "GetJobErrorResponseContent", @@ -8262,12 +13855,14 @@ def __dir__(): "GetNetworkAclsResponseContent", "GetOrganizationAllConnectionResponseContent", "GetOrganizationByNameResponseContent", + "GetOrganizationClientResponseContent", "GetOrganizationConnectionResponseContent", "GetOrganizationDiscoveryDomainByNameResponseContent", "GetOrganizationDiscoveryDomainResponseContent", "GetOrganizationInvitationResponseContent", "GetOrganizationResponseContent", "GetPartialsResponseContent", + "GetPhoneFactorSettingsResponseContent", "GetPhoneProviderProtectionResponseContent", "GetPhoneTemplateResponseContent", "GetRateLimitPolicyResponseContent", @@ -8281,6 +13876,7 @@ def __dir__(): "GetScimConfigurationDefaultMappingResponseContent", "GetScimConfigurationResponseContent", "GetScimTokensResponseContent", + "GetSegmentResponseContent", "GetSelfServiceProfileResponseContent", "GetSessionResponseContent", "GetSettingsResponseContent", @@ -8296,7 +13892,11 @@ def __dir__(): "GetUserAuthenticationMethodResponseContent", "GetUserGroupsPaginatedResponseContent", "GetUserResponseContent", + "GetVariationResponseContent", "GetVerifiableCredentialTemplateResponseContent", + "GoogleAccountLinkingConfiguration", + "GoogleAccountLinkingConfigurationCreate", + "GoogleAccountLinkingConfigurationOrNull", "Group", "GroupMember", "GroupMemberTypeEnum", @@ -8307,6 +13907,7 @@ def __dir__(): "GuardianFactor", "GuardianFactorNameEnum", "GuardianFactorPhoneFactorMessageTypeEnum", + "GuardianFactorSettings", "GuardianFactorsProviderPushNotificationProviderDataEnum", "GuardianFactorsProviderSmsProviderEnum", "Hook", @@ -8314,9 +13915,11 @@ def __dir__(): "HookTriggerIdEnum", "HttpCustomHeader", "Identity", + "IdentityAssertionAuthorizationGrant", "IdentityProviderEnum", "IdentityProviderOnlyAuth0Enum", "ImportEncryptionKeyResponseContent", + "IncludeUserProfileSizeHeaderEnum", "Integration", "IntegrationFeatureTypeEnum", "IntegrationRelease", @@ -8324,6 +13927,8 @@ def __dir__(): "IntegrationRequiredParamOption", "IntegrationRequiredParamTypeEnum", "IntegrationSemVer", + "InternalServerErrorBody", + "InternalServerErrorBodyError", "JobFileFormatEnum", "LinkedClientConfiguration", "ListActionBindingsPaginatedResponseContent", @@ -8332,10 +13937,12 @@ def __dir__(): "ListActionsPaginatedResponseContent", "ListAculsOffsetPaginatedResponseContent", "ListAculsResponseContentItem", + "ListAgentsResponseContent", "ListBrandingPhoneProvidersResponseContent", "ListClientConnectionsResponseContent", "ListClientGrantOrganizationsPaginatedResponseContent", "ListClientGrantPaginatedResponseContent", + "ListClientProfilesPaginatedResponseContent", "ListClientsOffsetPaginatedResponseContent", "ListConnectionProfileTemplateResponseContent", "ListConnectionProfilesPaginatedResponseContent", @@ -8344,7 +13951,10 @@ def __dir__(): "ListDeviceCredentialsOffsetPaginatedResponseContent", "ListDirectoryProvisioningsResponseContent", "ListEncryptionKeyOffsetPaginatedResponseContent", + "ListEventStreamDeliveriesResponseContent", "ListEventStreamsResponseContent", + "ListExperimentsResponseContent", + "ListFeatureFlagsResponseContent", "ListFlowExecutionsPaginatedResponseContent", "ListFlowsOffsetPaginatedResponseContent", "ListFlowsRequestParametersHydrateEnum", @@ -8358,6 +13968,7 @@ def __dir__(): "ListNetworkAclsOffsetPaginatedResponseContent", "ListOrganizationAllConnectionsOffsetPaginatedResponseContent", "ListOrganizationClientGrantsOffsetPaginatedResponseContent", + "ListOrganizationClientsResponseContent", "ListOrganizationConnectionsOffsetPaginatedResponseContent", "ListOrganizationDiscoveryDomainsResponseContent", "ListOrganizationGroupRolesResponseContent", @@ -8367,8 +13978,11 @@ def __dir__(): "ListOrganizationMemberRoleSourceGroupsResponseContent", "ListOrganizationMemberRolesOffsetPaginatedResponseContent", "ListOrganizationMembersPaginatedResponseContent", + "ListOrganizationRoleGroupsResponseContent", + "ListOrganizationRoleMembersResponseContent", "ListOrganizationsPaginatedResponseContent", "ListPhoneTemplatesResponseContent", + "ListPortalsResponseContent", "ListRateLimitPoliciesPaginatedResponseContent", "ListRefreshTokensPaginatedResponseContent", "ListResourceServerOffsetPaginatedResponseContent", @@ -8378,6 +13992,7 @@ def __dir__(): "ListRolesOffsetPaginatedResponseContent", "ListRulesOffsetPaginatedResponseContent", "ListScimConfigurationsResponseContent", + "ListSegmentsResponseContent", "ListSelfServiceProfileCustomTextResponseContent", "ListSelfServiceProfilesPaginatedResponseContent", "ListSynchronizedGroupsResponseContent", @@ -8388,6 +14003,7 @@ def __dir__(): "ListUserBlocksByIdentifierResponseContent", "ListUserBlocksResponseContent", "ListUserConnectedAccountsResponseContent", + "ListUserConsentSigningKeysResponseContent", "ListUserEffectivePermissionRoleSourcesResponseContent", "ListUserEffectivePermissionsResponseContent", "ListUserEffectiveRolesResponseContent", @@ -8398,6 +14014,7 @@ def __dir__(): "ListUserRolesOffsetPaginatedResponseContent", "ListUserSessionsPaginatedResponseContent", "ListUsersOffsetPaginatedResponseContent", + "ListVariationsResponseContent", "ListVerifiableCredentialTemplatesPaginatedResponseContent", "Log", "LogDate", @@ -8463,14 +14080,24 @@ def __dir__(): "NetworkAclActionBlockEnum", "NetworkAclActionLogEnum", "NetworkAclActionRedirectEnum", + "NetworkAclHttpMessageSignature", + "NetworkAclHttpMessageSignatureKey", + "NetworkAclHttpMessageSignatureKeys", + "NetworkAclKey", + "NetworkAclKeyAlgorithmEnum", "NetworkAclMatch", "NetworkAclMatchConnectingIpv4Cidr", "NetworkAclMatchConnectingIpv6Cidr", "NetworkAclMatchIpv4Cidr", "NetworkAclMatchIpv6Cidr", "NetworkAclRule", + "NetworkAclRuleMatchAllEnum", "NetworkAclRuleScopeEnum", "NetworkAclsResponseContent", + "NotFoundErrorBody", + "NotFoundErrorBodyError", + "NotFoundSchema", + "NotFoundSchemaError", "OauthScope", "Organization", "OrganizationAccessLevelEnum", @@ -8478,7 +14105,11 @@ def __dir__(): "OrganizationAllConnectionPost", "OrganizationBranding", "OrganizationBrandingColors", + "OrganizationClient", + "OrganizationClientAssociation", "OrganizationClientGrant", + "OrganizationClientMetadata", + "OrganizationClientMetadataOrganizationUsageEnum", "OrganizationConnection", "OrganizationConnectionInformation", "OrganizationDiscoveryDomain", @@ -8488,16 +14119,69 @@ def __dir__(): "OrganizationInvitationInvitee", "OrganizationInvitationInviter", "OrganizationMember", + "OrganizationMemberAccessLevelEnum", + "OrganizationMemberAccessLevelEnumWithNull", "OrganizationMemberEffectiveRole", "OrganizationMemberEffectiveRoleSource", "OrganizationMemberRole", "OrganizationMetadata", + "OrganizationSortFieldEnum", + "OrganizationThirdPartyClientAccessEnum", "OrganizationUsageEnum", + "PageComponent", + "PageComponentAuth0Form", + "PageComponentAuth0FormConfig", + "PageComponentAuth0MediaImage", + "PageComponentAuth0MediaImageConfig", + "PageComponentAuth0MyAccountMfaManagement", + "PageComponentAuth0MyAccountMfaManagementConfig", + "PageComponentAuth0MyAccountPasskeyManagement", + "PageComponentAuth0MyAccountPasskeyManagementConfig", + "PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponentAuth0MyOrganizationDetailsEditConfig", + "PageComponentAuth0MyOrganizationDomainTable", + "PageComponentAuth0MyOrganizationDomainTableConfig", + "PageComponentAuth0MyOrganizationMemberManagement", + "PageComponentAuth0MyOrganizationMemberManagementConfig", + "PageComponentAuth0StructureSection", + "PageComponentAuth0StructureSectionConfig", + "PageComponentAuth0StructureSectionVariantEnum", + "PageComponentAuth0StructureSeparator", + "PageComponentAuth0StructureSeparatorConfig", + "PageComponentAuth0StructureSeparatorVariantEnum", + "PageComponentAuth0TypographyHeading", + "PageComponentAuth0TypographyHeadingConfig", + "PageComponentAuth0TypographyRichText", + "PageComponentAuth0TypographyRichTextConfig", + "PageComponentNoChildren", + "PageComponentNoChildren_PageComponentAuth0Form", + "PageComponentNoChildren_PageComponentAuth0MediaImage", + "PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement", + "PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable", + "PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement", + "PageComponentNoChildren_PageComponentAuth0StructureSeparator", + "PageComponentNoChildren_PageComponentAuth0TypographyHeading", + "PageComponentNoChildren_PageComponentAuth0TypographyRichText", + "PageComponent_PageComponentAuth0Form", + "PageComponent_PageComponentAuth0MediaImage", + "PageComponent_PageComponentAuth0MyAccountMfaManagement", + "PageComponent_PageComponentAuth0MyAccountPasskeyManagement", + "PageComponent_PageComponentAuth0MyOrganizationDetailsEdit", + "PageComponent_PageComponentAuth0MyOrganizationDomainTable", + "PageComponent_PageComponentAuth0MyOrganizationMemberManagement", + "PageComponent_PageComponentAuth0StructureSection", + "PageComponent_PageComponentAuth0StructureSeparator", + "PageComponent_PageComponentAuth0TypographyHeading", + "PageComponent_PageComponentAuth0TypographyRichText", + "PageSlug", "PartialGroupsEnum", "PartialPhoneTemplateContent", "PasswordCharacterTypeEnum", "PasswordCharacterTypeRulePolicyEnum", "PasswordDefaultDictionariesEnum", + "PasswordDictionaryMatchTypeEnum", "PasswordIdenticalCharactersPolicyEnum", "PasswordMaxLengthExceededPolicyEnum", "PasswordSequentialCharactersPolicyEnum", @@ -8514,6 +14198,7 @@ def __dir__(): "PermissionRequestPayload", "PermissionsResponsePayload", "PhoneAttribute", + "PhoneAttributeIdentifier", "PhoneProviderChannelEnum", "PhoneProviderConfiguration", "PhoneProviderCredentials", @@ -8525,6 +14210,24 @@ def __dir__(): "PhoneTemplateBody", "PhoneTemplateContent", "PhoneTemplateNotificationTypeEnum", + "Portal", + "PortalClientSecretPost", + "PortalClientSecretPostRequest", + "PortalClientSecretPostRequestTokenEndpointAuthMethod", + "PortalClientSecretPostTokenEndpointAuthMethod", + "PortalCustomCode", + "PortalCustomCodeNullable", + "PortalDateTime", + "PortalId", + "PortalName", + "PortalNavigation", + "PortalNavigationNullable", + "PortalPage", + "PortalPagesByType", + "PortalPagesByTypeNullable", + "PortalSlug", + "PortalSummary", + "Position", "PostClientCredentialResponseContent", "PostConnectionKeysAlgEnum", "PostConnectionKeysRequestContent", @@ -8561,13 +14264,23 @@ def __dir__(): "ResetPhoneTemplateRequestContent", "ResetPhoneTemplateResponseContent", "ResourceServer", + "ResourceServerAccessToken", + "ResourceServerAccessTokenClaimsMapping", + "ResourceServerAccessTokenCustomClaimsMapping", + "ResourceServerAccessTokenCustomClaimsMappingRule", + "ResourceServerAgentSubjectClaimsResponseEnum", + "ResourceServerAgentSubjectClaimsSchemaEnum", "ResourceServerAuthorizationPolicy", "ResourceServerConsentPolicyEnum", "ResourceServerProofOfPossession", "ResourceServerProofOfPossessionMechanismEnum", "ResourceServerProofOfPossessionRequiredForEnum", "ResourceServerScope", + "ResourceServerSearchResponse", + "ResourceServerSortFieldEnum", "ResourceServerSubjectTypeAuthorization", + "ResourceServerSubjectTypeAuthorizationAnonymousUser", + "ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum", "ResourceServerSubjectTypeAuthorizationClient", "ResourceServerSubjectTypeAuthorizationClientPolicyEnum", "ResourceServerSubjectTypeAuthorizationUser", @@ -8578,9 +14291,15 @@ def __dir__(): "ResourceServerTokenEncryptionAlgorithmEnum", "ResourceServerTokenEncryptionFormatEnum", "ResourceServerTokenEncryptionKey", + "ResourceServerTypeEnum", "ResourceServerVerificationKeyPemCertificate", "RevokedSigningKeysResponseContent", "Role", + "RoleGroup", + "RoleMember", + "RoleOwnerId", + "RoleOwnerIdFilter", + "RoleTypeEnum", "RoleUser", "RollbackActionModuleResponseContent", "RotateClientSecretResponseContent", @@ -8594,7 +14313,25 @@ def __dir__(): "ScimMappingItem", "ScimTokenItem", "ScreenGroupNameEnum", + "SearchClientGrantsResponseContent", + "SearchClientsResponseContent", "SearchEngineVersionsEnum", + "SearchOrganization", + "SearchOrganizationsPaginatedResponseContent", + "SearchParserEnum", + "SearchResourceServersResponseContent", + "Segment", + "SegmentContainsExpression", + "SegmentEndsWithExpression", + "SegmentExistsExpression", + "SegmentMatchConditions", + "SegmentMatchExpression", + "SegmentNotMatchConditions", + "SegmentRule", + "SegmentStartsWithExpression", + "SegmentStatusEnum", + "SegmentTypeEnum", + "SegmentTypeFilterEnum", "SelfServiceProfile", "SelfServiceProfileAllowedStrategyEnum", "SelfServiceProfileBranding", @@ -8614,8 +14351,11 @@ def __dir__(): "SelfServiceProfileSsoTicketIdpInitiatedOptions", "SelfServiceProfileSsoTicketProvisioningConfig", "SelfServiceProfileSsoTicketProvisioningScopeEnum", + "SelfServiceProfileSsoTicketUniversalLogoutConfig", "SelfServiceProfileUserAttribute", "SelfServiceProfileUserAttributes", + "SessionActorClaimValue", + "SessionActorMetadata", "SessionAuthenticationSignal", "SessionAuthenticationSignals", "SessionClientMetadata", @@ -8629,6 +14369,7 @@ def __dir__(): "SessionMetadata", "SessionResponseContent", "SetCustomSigningKeysResponseContent", + "SetEmailFactorSettingsResponseContent", "SetEmailTemplateResponseContent", "SetGuardianFactorDuoSettingsResponseContent", "SetGuardianFactorPhoneMessageTypesResponseContent", @@ -8646,8 +14387,10 @@ def __dir__(): "SetGuardianFactorsProviderSmsTwilioResponseContent", "SetGuardianPoliciesRequestContent", "SetGuardianPoliciesResponseContent", + "SetGuardianSettingsResponseContent", "SetNetworkAclsResponseContent", "SetPartialsRequestContent", + "SetPhoneFactorSettingsResponseContent", "SetRulesConfigResponseContent", "SetSelfServiceProfileCustomTextRequestContent", "SetSelfServiceProfileCustomTextResponseContent", @@ -8655,6 +14398,20 @@ def __dir__(): "SetUserAuthenticationMethods", "SetUserAuthenticationMethodsRequestContent", "SetsCustomTextsByLanguageRequestContent", + "Sidebar", + "SidebarComponent", + "SidebarComponentAuth0ExternalLink", + "SidebarComponentAuth0ExternalLinkConfig", + "SidebarComponentAuth0ExternalLinkV2", + "SidebarComponentAuth0ExternalLinkV2Config", + "SidebarComponentAuth0InternalLink", + "SidebarComponentAuth0InternalLinkConfig", + "SidebarComponentAuth0InternalLinkV2", + "SidebarComponentAuth0InternalLinkV2Config", + "SidebarComponent_SidebarComponentAuth0ExternalLink", + "SidebarComponent_SidebarComponentAuth0ExternalLinkV2", + "SidebarComponent_SidebarComponentAuth0InternalLink", + "SidebarComponent_SidebarComponentAuth0InternalLinkV2", "SigningAlgorithmEnum", "SigningKeys", "SigningKeysDate", @@ -8665,12 +14422,15 @@ def __dir__(): "SupportedLocales", "SuspiciousIpThrottlingAllowlist", "SuspiciousIpThrottlingAllowlistItem", + "SuspiciousIpThrottlingPreCustomTokenExchangeStage", "SuspiciousIpThrottlingPreLoginStage", "SuspiciousIpThrottlingPreUserRegistrationStage", "SuspiciousIpThrottlingShieldsEnum", "SuspiciousIpThrottlingStage", "SynchronizeGroupsEnum", "SynchronizedGroupPayload", + "SynchronizedGroupSelectionId", + "SystemRoleOwnerId", "TenantOidcLogoutSettings", "TenantSettingsCountryCodes", "TenantSettingsCountryCodesMode", @@ -8687,18 +14447,23 @@ def __dir__(): "TenantSettingsPasswordPage", "TenantSettingsResourceParameterProfile", "TenantSettingsSessions", + "TenantSettingsSessionsAnonymous", "TenantSettingsSupportedLocalesEnum", "TestActionPayload", "TestActionResponseContent", "TestActionResultPayload", "TestCustomDomainResponseContent", "TestEventDataContent", + "ThirdPartyClientAccessConfig", "TokenExchangeProfileResponseContent", "TokenExchangeProfileTypeEnum", "TokenQuota", "TokenQuotaClientCredentials", "TokenQuotaConfiguration", + "TokenVaultPrivilegedAccessGrant", "TokenVaultPrivilegedAccessIpAllowlistEntry", + "TooManyRequestsErrorBody", + "TooManyRequestsErrorBodyError", "TooManyRequestsSchema", "TooManyRequestsSchemaError", "TwilioProviderConfiguration", @@ -8711,6 +14476,7 @@ def __dir__(): "UpdateActionModuleResponseContent", "UpdateActionResponseContent", "UpdateAculResponseContent", + "UpdateAnonymousSessions", "UpdateAttackProtectionCaptchaResponseContent", "UpdateBotDetectionSettingsResponseContent", "UpdateBrandingColors", @@ -8781,6 +14547,7 @@ def __dir__(): "UpdateConnectionRequestContentYahoo", "UpdateConnectionRequestContentYandex", "UpdateConnectionResponseContent", + "UpdateCrossAppAccessResourceApp", "UpdateCustomDomainResponseContent", "UpdateDefaultCanonicalDomainResponseContent", "UpdateDefaultCustomDomainResponseContent", @@ -8792,6 +14559,9 @@ def __dir__(): "UpdateEnabledClientConnectionsRequestContent", "UpdateEnabledClientConnectionsRequestContentItem", "UpdateEventStreamResponseContent", + "UpdateExperimentResponseContent", + "UpdateFeatureFlagParameters", + "UpdateFeatureFlagResponseContent", "UpdateFlowResponseContent", "UpdateFlowsVaultConnectionResponseContent", "UpdateFlowsVaultConnectionSetup", @@ -8803,9 +14573,11 @@ def __dir__(): "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent", "UpdateHookResponseContent", "UpdateHookSecretRequestContent", + "UpdateIdentityAssertionAuthorizationGrant", "UpdateLogStreamResponseContent", "UpdateNetworkAclResponseContent", "UpdateOrganizationAllConnectionResponseContent", + "UpdateOrganizationClientResponseContent", "UpdateOrganizationConnectionResponseContent", "UpdateOrganizationDiscoveryDomainResponseContent", "UpdateOrganizationResponseContent", @@ -8818,6 +14590,7 @@ def __dir__(): "UpdateRoleResponseContent", "UpdateRuleResponseContent", "UpdateScimConfigurationResponseContent", + "UpdateSegmentResponseContent", "UpdateSelfServiceProfileResponseContent", "UpdateSessionResponseContent", "UpdateSettingsResponseContent", @@ -8829,6 +14602,8 @@ def __dir__(): "UpdateUserAttributeProfileResponseContent", "UpdateUserAuthenticationMethodResponseContent", "UpdateUserResponseContent", + "UpdateVariationOverridesMap", + "UpdateVariationResponseContent", "UpdateVerifiableCredentialTemplateResponseContent", "UserAppMetadataSchema", "UserAttributeProfile", @@ -8876,8 +14651,12 @@ def __dir__(): "UserResponseSchema", "UsernameAllowedTypes", "UsernameAttribute", + "UsernameAttributeIdentifier", "UsernameValidation", "UsersEnrollment", + "ValidateExperimentResponseContent", + "Variation", + "VariationOverridesMap", "VerifiableCredentialTemplateResponse", "VerificationMethodEnum", "VerifyCustomDomainResponseContent", diff --git a/src/auth0/management/types/action_trigger_type_enum.py b/src/auth0/management/types/action_trigger_type_enum.py index 6c98c3cd..9370bda9 100644 --- a/src/auth0/management/types/action_trigger_type_enum.py +++ b/src/auth0/management/types/action_trigger_type_enum.py @@ -18,6 +18,7 @@ "password-hash-migration", "login-post-identifier", "signup-post-identifier", + "post-credential-validation", ], typing.Any, ] diff --git a/src/auth0/management/types/acul_context_enum.py b/src/auth0/management/types/acul_context_enum.py index ca924aad..8dbf2b7b 100644 --- a/src/auth0/management/types/acul_context_enum.py +++ b/src/auth0/management/types/acul_context_enum.py @@ -6,6 +6,7 @@ typing.Literal[ "branding.settings", "branding.themes.default", + "country_codes", "client.logo_uri", "client.description", "organization.display_name", diff --git a/src/auth0/management/types/advance_ramp_response_content.py b/src/auth0/management/types/advance_ramp_response_content.py new file mode 100644 index 00000000..b3194d57 --- /dev/null +++ b/src/auth0/management/types/advance_ramp_response_content.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class AdvanceRampResponseContent(UniversalBaseModel): + experiment_id: str + from_level: int + to_level: int + current_level: int + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/agent_metadata.py b/src/auth0/management/types/agent_metadata.py new file mode 100644 index 00000000..fa2c73f5 --- /dev/null +++ b/src/auth0/management/types/agent_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AgentMetadata = typing.Dict[str, typing.Any] +""" +Arbitrary key-value metadata for the agent +""" diff --git a/src/auth0/management/types/agent_response_content.py b/src/auth0/management/types/agent_response_content.py new file mode 100644 index 00000000..f845f9ee --- /dev/null +++ b/src/auth0/management/types/agent_response_content.py @@ -0,0 +1,46 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .agent_metadata import AgentMetadata + + +class AgentResponseContent(UniversalBaseModel): + agent_id: str = pydantic.Field() + """ + The agent ID + """ + + name: str = pydantic.Field() + """ + The agent name + """ + + created_at: dt.datetime = pydantic.Field() + """ + When the agent was created + """ + + updated_at: dt.datetime = pydantic.Field() + """ + When the agent was last updated + """ + + external_agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + External identifier for the agent, if set. Omitted when not set. + """ + + metadata: AgentMetadata + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/allocation_item.py b/src/auth0/management/types/allocation_item.py new file mode 100644 index 00000000..08202bf7 --- /dev/null +++ b/src/auth0/management/types/allocation_item.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class AllocationItem(UniversalBaseModel): + variation_id: typing.Optional[str] = None + variation_name: typing.Optional[str] = None + segment_id: typing.Optional[str] = None + segment_name: typing.Optional[str] = None + weight: typing.Optional[int] = None + priority: typing.Optional[int] = None + is_control: typing.Optional[bool] = None + is_fallback: typing.Optional[bool] = None + variation_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + segment_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/allocation_request_item.py b/src/auth0/management/types/allocation_request_item.py new file mode 100644 index 00000000..760fc1f6 --- /dev/null +++ b/src/auth0/management/types/allocation_request_item.py @@ -0,0 +1,47 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class AllocationRequestItem(UniversalBaseModel): + variation_id: str = pydantic.Field() + """ + The ID of the variation to allocate + """ + + weight: typing.Optional[int] = pydantic.Field(default=None) + """ + Percentage weight for this allocation (percentage strategy only) + """ + + segment_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The segment this allocation targets (segment strategy only) + """ + + priority: typing.Optional[int] = pydantic.Field(default=None) + """ + Evaluation order; 1 = highest priority (segment strategy only) + """ + + is_control: bool = pydantic.Field() + """ + Whether this allocation is the control group + """ + + is_fallback: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this allocation is the default fallback (segment strategy only) + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/allocation_strategy_enum.py b/src/auth0/management/types/allocation_strategy_enum.py new file mode 100644 index 00000000..e2ec53e8 --- /dev/null +++ b/src/auth0/management/types/allocation_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AllocationStrategyEnum = typing.Union[typing.Literal["percentage", "segment"], typing.Any] diff --git a/src/auth0/management/types/anonymous_sessions.py b/src/auth0/management/types/anonymous_sessions.py new file mode 100644 index 00000000..7986a6fd --- /dev/null +++ b/src/auth0/management/types/anonymous_sessions.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class AnonymousSessions(UniversalBaseModel): + """ + Anonymous sessions configuration for this client. + """ + + active: bool = pydantic.Field() + """ + If set to true, this client is allowed to create anonymous sessions. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/async_approval_notifications_channels_enum.py b/src/auth0/management/types/async_approval_notifications_channels_enum.py index f012147e..b2571a94 100644 --- a/src/auth0/management/types/async_approval_notifications_channels_enum.py +++ b/src/auth0/management/types/async_approval_notifications_channels_enum.py @@ -2,4 +2,6 @@ import typing -AsyncApprovalNotificationsChannelsEnum = typing.Union[typing.Literal["guardian-push", "email"], typing.Any] +AsyncApprovalNotificationsChannelsEnum = typing.Union[ + typing.Literal["guardian-push", "email", "my-account"], typing.Any +] diff --git a/src/auth0/management/types/authentication_flow_enum.py b/src/auth0/management/types/authentication_flow_enum.py new file mode 100644 index 00000000..1facfb0d --- /dev/null +++ b/src/auth0/management/types/authentication_flow_enum.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +AuthenticationFlowEnum = typing.Union[ + typing.Literal["authentication", "mfa_enrollment", "mfa_challenge", "password_reset", "passkey_enrollment", "all"], + typing.Any, +] diff --git a/src/auth0/management/types/b_2_b_integration_configuration.py b/src/auth0/management/types/b_2_b_integration_configuration.py new file mode 100644 index 00000000..90d90f78 --- /dev/null +++ b/src/auth0/management/types/b_2_b_integration_configuration.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .b_2_b_integration_configuration_integration_type_enum import B2BIntegrationConfigurationIntegrationTypeEnum + + +class B2BIntegrationConfiguration(UniversalBaseModel): + """ + Configuration for B2B Integration clients. + """ + + sso_profiles: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of SSO profile IDs linked to this B2B integration client. Maximum 1 entry. + """ + + integration_type: typing.Optional[B2BIntegrationConfigurationIntegrationTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/b_2_b_integration_configuration_integration_type_enum.py b/src/auth0/management/types/b_2_b_integration_configuration_integration_type_enum.py new file mode 100644 index 00000000..6aa8c9f0 --- /dev/null +++ b/src/auth0/management/types/b_2_b_integration_configuration_integration_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +B2BIntegrationConfigurationIntegrationTypeEnum = typing.Union[ + typing.Literal["custom_auth_server", "third_party", "application"], typing.Any +] diff --git a/src/auth0/management/types/branding_theme_identifiers.py b/src/auth0/management/types/branding_theme_identifiers.py new file mode 100644 index 00000000..3ce57ebf --- /dev/null +++ b/src/auth0/management/types/branding_theme_identifiers.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .branding_theme_identifiers_login_display_enum import BrandingThemeIdentifiersLoginDisplayEnum +from .branding_theme_identifiers_phone_display import BrandingThemeIdentifiersPhoneDisplay + + +class BrandingThemeIdentifiers(UniversalBaseModel): + login_display: BrandingThemeIdentifiersLoginDisplayEnum + otp_autocomplete: bool = pydantic.Field() + """ + OTP autocomplete + """ + + phone_display: BrandingThemeIdentifiersPhoneDisplay + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/branding_theme_identifiers_login_display_enum.py b/src/auth0/management/types/branding_theme_identifiers_login_display_enum.py new file mode 100644 index 00000000..39aee76d --- /dev/null +++ b/src/auth0/management/types/branding_theme_identifiers_login_display_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BrandingThemeIdentifiersLoginDisplayEnum = typing.Union[typing.Literal["separate", "unified"], typing.Any] diff --git a/src/auth0/management/types/branding_theme_identifiers_phone_display.py b/src/auth0/management/types/branding_theme_identifiers_phone_display.py new file mode 100644 index 00000000..93d6d15b --- /dev/null +++ b/src/auth0/management/types/branding_theme_identifiers_phone_display.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .branding_theme_identifiers_phone_display_formatting_enum import BrandingThemeIdentifiersPhoneDisplayFormattingEnum +from .branding_theme_identifiers_phone_display_masking_enum import BrandingThemeIdentifiersPhoneDisplayMaskingEnum + + +class BrandingThemeIdentifiersPhoneDisplay(UniversalBaseModel): + """ + Phone display + """ + + formatting: BrandingThemeIdentifiersPhoneDisplayFormattingEnum + masking: BrandingThemeIdentifiersPhoneDisplayMaskingEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/branding_theme_identifiers_phone_display_formatting_enum.py b/src/auth0/management/types/branding_theme_identifiers_phone_display_formatting_enum.py new file mode 100644 index 00000000..24891b86 --- /dev/null +++ b/src/auth0/management/types/branding_theme_identifiers_phone_display_formatting_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BrandingThemeIdentifiersPhoneDisplayFormattingEnum = typing.Union[ + typing.Literal["international", "regional"], typing.Any +] diff --git a/src/auth0/management/types/branding_theme_identifiers_phone_display_masking_enum.py b/src/auth0/management/types/branding_theme_identifiers_phone_display_masking_enum.py new file mode 100644 index 00000000..c6d42263 --- /dev/null +++ b/src/auth0/management/types/branding_theme_identifiers_phone_display_masking_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BrandingThemeIdentifiersPhoneDisplayMaskingEnum = typing.Union[ + typing.Literal["hide_country_code", "mask_digits", "show_all"], typing.Any +] diff --git a/src/auth0/management/types/brute_force_protection_form_submission_mode_enum.py b/src/auth0/management/types/brute_force_protection_form_submission_mode_enum.py new file mode 100644 index 00000000..682a79bd --- /dev/null +++ b/src/auth0/management/types/brute_force_protection_form_submission_mode_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +BruteForceProtectionFormSubmissionModeEnum = typing.Union[typing.Literal["auto", "manual"], typing.Any] diff --git a/src/auth0/management/types/cimd_external_metadata_created_by_enum.py b/src/auth0/management/types/cimd_external_metadata_created_by_enum.py new file mode 100644 index 00000000..81b73f40 --- /dev/null +++ b/src/auth0/management/types/cimd_external_metadata_created_by_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CimdExternalMetadataCreatedByEnum = typing.Union[typing.Literal["admin", "client"], typing.Any] diff --git a/src/auth0/management/types/client.py b/src/auth0/management/types/client.py index 1ee110c9..c3774934 100644 --- a/src/auth0/management/types/client.py +++ b/src/auth0/management/types/client.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +import datetime as dt import typing import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration from .client_addons import ClientAddons +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_post_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -16,12 +20,14 @@ from .client_default_organization import ClientDefaultOrganization from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_metadata import ClientMetadata from .client_mobile import ClientMobile from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum @@ -36,6 +42,8 @@ from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId from .express_configuration import ExpressConfiguration from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .native_social_login import NativeSocialLogin from .token_quota import TokenQuota @@ -46,6 +54,16 @@ class Client(UniversalBaseModel): ID of this client. """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + tenant: typing.Optional[str] = pydantic.Field(default=None) """ Name of the tenant this client belongs to. @@ -69,6 +87,10 @@ class Client(UniversalBaseModel): description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", ), ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + client_secret: typing.Optional[str] = pydantic.Field(default=None) """ Client secret (which you must not make public). @@ -226,8 +248,20 @@ class Client(UniversalBaseModel): token_quota: typing.Optional[TokenQuota] = None express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) """ @@ -239,6 +273,12 @@ class Client(UniversalBaseModel): ] = None external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + external_client_id: typing.Optional[str] = pydantic.Field(default=None) """ An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. diff --git a/src/auth0/management/types/client_addon_azure_blob.py b/src/auth0/management/types/client_addon_azure_blob.py index bc10a0d2..e0aa175f 100644 --- a/src/auth0/management/types/client_addon_azure_blob.py +++ b/src/auth0/management/types/client_addon_azure_blob.py @@ -21,16 +21,28 @@ class ClientAddonAzureBlob(UniversalBaseModel): description="Your Azure storage account name. Usually first segment in your Azure storage URL. e.g. `https://acme-org.blob.core.windows.net` would be the account name `acme-org`.", ), ] = None + """ + Your Azure storage account name. Usually first segment in your Azure storage URL. e.g. `https://acme-org.blob.core.windows.net` would be the account name `acme-org`. + """ + storage_access_key: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="storageAccessKey"), pydantic.Field(alias="storageAccessKey", description="Access key associated with this storage account."), ] = None + """ + Access key associated with this storage account. + """ + container_name: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="containerName"), pydantic.Field(alias="containerName", description="Container to request a token for. e.g. `my-container`."), ] = None + """ + Container to request a token for. e.g. `my-container`. + """ + blob_name: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="blobName"), @@ -39,6 +51,10 @@ class ClientAddonAzureBlob(UniversalBaseModel): description="Entity to request a token for. e.g. `my-blob`. If blank the computed SAS will apply to the entire storage container.", ), ] = None + """ + Entity to request a token for. e.g. `my-blob`. If blank the computed SAS will apply to the entire storage container. + """ + expiration: typing.Optional[int] = pydantic.Field(default=None) """ Expiration in minutes for the generated token (default of 5 minutes). @@ -52,6 +68,10 @@ class ClientAddonAzureBlob(UniversalBaseModel): description="Shared access policy identifier defined in your storage account resource.", ), ] = None + """ + Shared access policy identifier defined in your storage account resource. + """ + blob_read: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates if the issued token has permission to read the content, properties, metadata and block list. Use the blob as the source of a copy operation. diff --git a/src/auth0/management/types/client_addon_azure_sb.py b/src/auth0/management/types/client_addon_azure_sb.py index 9a1df56b..e5682057 100644 --- a/src/auth0/management/types/client_addon_azure_sb.py +++ b/src/auth0/management/types/client_addon_azure_sb.py @@ -25,16 +25,28 @@ class ClientAddonAzureSb(UniversalBaseModel): alias="sasKeyName", description="Your shared access policy name defined in your Service Bus entity." ), ] = None + """ + Your shared access policy name defined in your Service Bus entity. + """ + sas_key: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="sasKey"), pydantic.Field(alias="sasKey", description="Primary Key associated with your shared access policy."), ] = None + """ + Primary Key associated with your shared access policy. + """ + entity_path: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="entityPath"), pydantic.Field(alias="entityPath", description="Entity you want to request a token for. e.g. `my-queue`.'"), ] = None + """ + Entity you want to request a token for. e.g. `my-queue`.' + """ + expiration: typing.Optional[int] = pydantic.Field(default=None) """ Optional expiration in minutes for the generated token. Defaults to 5 minutes. diff --git a/src/auth0/management/types/client_addon_layer.py b/src/auth0/management/types/client_addon_layer.py index 4ba4a297..d553c7c8 100644 --- a/src/auth0/management/types/client_addon_layer.py +++ b/src/auth0/management/types/client_addon_layer.py @@ -18,16 +18,28 @@ class ClientAddonLayer(UniversalBaseModel): FieldMetadata(alias="providerId"), pydantic.Field(alias="providerId", description="Provider ID of your Layer account"), ] + """ + Provider ID of your Layer account + """ + key_id: typing_extensions.Annotated[ str, FieldMetadata(alias="keyId"), pydantic.Field(alias="keyId", description="Authentication Key identifier used to sign the Layer token."), ] + """ + Authentication Key identifier used to sign the Layer token. + """ + private_key: typing_extensions.Annotated[ str, FieldMetadata(alias="privateKey"), pydantic.Field(alias="privateKey", description="Private key for signing the Layer token."), ] + """ + Private key for signing the Layer token. + """ + principal: typing.Optional[str] = pydantic.Field(default=None) """ Name of the property used as the unique user id in Layer. If not specified `user_id` is used. diff --git a/src/auth0/management/types/client_addon_salesforce_api.py b/src/auth0/management/types/client_addon_salesforce_api.py index 15faf2bd..443b4e8e 100644 --- a/src/auth0/management/types/client_addon_salesforce_api.py +++ b/src/auth0/management/types/client_addon_salesforce_api.py @@ -28,6 +28,10 @@ class ClientAddonSalesforceApi(UniversalBaseModel): FieldMetadata(alias="communityName"), pydantic.Field(alias="communityName", description="Community name."), ] = None + """ + Community name. + """ + community_url_section: typing.Optional[str] = pydantic.Field(default=None) """ Community url section. diff --git a/src/auth0/management/types/client_addon_salesforce_sandbox_api.py b/src/auth0/management/types/client_addon_salesforce_sandbox_api.py index a70e1284..763d0125 100644 --- a/src/auth0/management/types/client_addon_salesforce_sandbox_api.py +++ b/src/auth0/management/types/client_addon_salesforce_sandbox_api.py @@ -28,6 +28,10 @@ class ClientAddonSalesforceSandboxApi(UniversalBaseModel): FieldMetadata(alias="communityName"), pydantic.Field(alias="communityName", description="Community name."), ] = None + """ + Community name. + """ + community_url_section: typing.Optional[str] = pydantic.Field(default=None) """ Community url section. diff --git a/src/auth0/management/types/client_addon_sapapi.py b/src/auth0/management/types/client_addon_sapapi.py index a619a631..ecddab8c 100644 --- a/src/auth0/management/types/client_addon_sapapi.py +++ b/src/auth0/management/types/client_addon_sapapi.py @@ -26,11 +26,19 @@ class ClientAddonSapapi(UniversalBaseModel): description="Name of the property in the user object that maps to a SAP username. e.g. `email`.", ), ] = None + """ + Name of the property in the user object that maps to a SAP username. e.g. `email`. + """ + token_endpoint_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="tokenEndpointUrl"), pydantic.Field(alias="tokenEndpointUrl", description="Your SAP OData server OAuth2 token endpoint URL."), ] = None + """ + Your SAP OData server OAuth2 token endpoint URL. + """ + scope: typing.Optional[str] = pydantic.Field(default=None) """ Requested scope for SAP APIs. @@ -44,6 +52,10 @@ class ClientAddonSapapi(UniversalBaseModel): description="Service account password to use to authenticate API calls to the token endpoint.", ), ] = None + """ + Service account password to use to authenticate API calls to the token endpoint. + """ + name_identifier_format: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="nameIdentifierFormat"), @@ -52,6 +64,9 @@ class ClientAddonSapapi(UniversalBaseModel): description="NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.", ), ] = None + """ + NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_addon_zendesk.py b/src/auth0/management/types/client_addon_zendesk.py index 444fb841..2b231974 100644 --- a/src/auth0/management/types/client_addon_zendesk.py +++ b/src/auth0/management/types/client_addon_zendesk.py @@ -21,6 +21,9 @@ class ClientAddonZendesk(UniversalBaseModel): description="Zendesk account name usually first segment in your Zendesk URL. e.g. `https://acme-org.zendesk.com` would be `acme-org`.", ), ] = None + """ + Zendesk account name usually first segment in your Zendesk URL. e.g. `https://acme-org.zendesk.com` would be `acme-org`. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_anonymous_session_transfer_network_binding_enum.py b/src/auth0/management/types/client_anonymous_session_transfer_network_binding_enum.py new file mode 100644 index 00000000..be429783 --- /dev/null +++ b/src/auth0/management/types/client_anonymous_session_transfer_network_binding_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientAnonymousSessionTransferNetworkBindingEnum = typing.Union[typing.Literal["ip", "asn", "none"], typing.Any] diff --git a/src/auth0/management/types/client_async_approval_notifications_channels_api_patch_configuration.py b/src/auth0/management/types/client_async_approval_notifications_channels_api_patch_configuration.py index b7e62188..9fa2c4e3 100644 --- a/src/auth0/management/types/client_async_approval_notifications_channels_api_patch_configuration.py +++ b/src/auth0/management/types/client_async_approval_notifications_channels_api_patch_configuration.py @@ -8,5 +8,5 @@ typing.List[AsyncApprovalNotificationsChannelsEnum] ] """ -Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`. +Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`, `my-account`. """ diff --git a/src/auth0/management/types/client_async_approval_notifications_channels_api_post_configuration.py b/src/auth0/management/types/client_async_approval_notifications_channels_api_post_configuration.py index 6b723600..ef7fa6f3 100644 --- a/src/auth0/management/types/client_async_approval_notifications_channels_api_post_configuration.py +++ b/src/auth0/management/types/client_async_approval_notifications_channels_api_post_configuration.py @@ -6,5 +6,5 @@ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration = typing.List[AsyncApprovalNotificationsChannelsEnum] """ -Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`. +Array of notification channels for contacting the user when their approval is required. Valid values are `guardian-push`, `email`, `my-account`. """ diff --git a/src/auth0/management/types/client_credential.py b/src/auth0/management/types/client_credential.py index 73d20e0a..4f16a08a 100644 --- a/src/auth0/management/types/client_credential.py +++ b/src/auth0/management/types/client_credential.py @@ -39,6 +39,10 @@ class ClientCredential(UniversalBaseModel): FieldMetadata(alias="thumbprint_sha256"), pydantic.Field(alias="thumbprint_sha256", description="The X509 certificate's SHA256 thumbprint"), ] = None + """ + The X509 certificate's SHA256 thumbprint + """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ The ISO 8601 formatted date the credential was created. diff --git a/src/auth0/management/types/client_credential_algorithm_enum.py b/src/auth0/management/types/client_credential_algorithm_enum.py index 88f6f3fa..5a35d5d1 100644 --- a/src/auth0/management/types/client_credential_algorithm_enum.py +++ b/src/auth0/management/types/client_credential_algorithm_enum.py @@ -2,4 +2,4 @@ import typing -ClientCredentialAlgorithmEnum = typing.Union[typing.Literal["RS256", "RS384", "PS256"], typing.Any] +ClientCredentialAlgorithmEnum = typing.Union[typing.Literal["RS256", "RS384", "PS256", "ES256", "PS384"], typing.Any] diff --git a/src/auth0/management/types/client_external_metadata_status_enum.py b/src/auth0/management/types/client_external_metadata_status_enum.py new file mode 100644 index 00000000..99437acf --- /dev/null +++ b/src/auth0/management/types/client_external_metadata_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientExternalMetadataStatusEnum = typing.Union[typing.Literal["available", "unavailable"], typing.Any] diff --git a/src/auth0/management/types/client_grant_sort_field_enum.py b/src/auth0/management/types/client_grant_sort_field_enum.py new file mode 100644 index 00000000..44741018 --- /dev/null +++ b/src/auth0/management/types/client_grant_sort_field_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientGrantSortFieldEnum = typing.Union[typing.Literal["audience", "updated_at"], typing.Any] diff --git a/src/auth0/management/types/client_grant_subject_type_enum.py b/src/auth0/management/types/client_grant_subject_type_enum.py index f38b5895..9fbf9b77 100644 --- a/src/auth0/management/types/client_grant_subject_type_enum.py +++ b/src/auth0/management/types/client_grant_subject_type_enum.py @@ -2,4 +2,4 @@ import typing -ClientGrantSubjectTypeEnum = typing.Union[typing.Literal["client", "user"], typing.Any] +ClientGrantSubjectTypeEnum = typing.Union[typing.Literal["client", "user", "anonymous_user"], typing.Any] diff --git a/src/auth0/management/types/client_mobile_android.py b/src/auth0/management/types/client_mobile_android.py index 7f44c213..fd2e45dc 100644 --- a/src/auth0/management/types/client_mobile_android.py +++ b/src/auth0/management/types/client_mobile_android.py @@ -26,6 +26,9 @@ class ClientMobileAndroid(UniversalBaseModel): description="SHA256 fingerprints of the app's signing certificate. Multiple fingerprints can be used to support different versions of your app, such as debug and production builds.", ), ] = None + """ + SHA256 fingerprints of the app's signing certificate. Multiple fingerprints can be used to support different versions of your app, such as debug and production builds. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_allowed_values_enum.py b/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_allowed_values_enum.py new file mode 100644 index 00000000..7294d79e --- /dev/null +++ b/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_allowed_values_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum = typing.Union[ + typing.Literal["allow", "block"], typing.Any +] diff --git a/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_default_value_enum.py b/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_default_value_enum.py new file mode 100644 index 00000000..68de45ec --- /dev/null +++ b/src/auth0/management/types/client_my_organization_configuration_third_party_client_access_default_value_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum = typing.Union[ + typing.Literal["block"], typing.Any +] diff --git a/src/auth0/management/types/client_my_organization_patch_configuration.py b/src/auth0/management/types/client_my_organization_patch_configuration.py index 4eb70a77..baba9c3c 100644 --- a/src/auth0/management/types/client_my_organization_patch_configuration.py +++ b/src/auth0/management/types/client_my_organization_patch_configuration.py @@ -8,6 +8,9 @@ ClientMyOrganizationConfigurationAllowedStrategiesEnum, ) from .client_my_organization_deletion_behavior_enum import ClientMyOrganizationDeletionBehaviorEnum +from .client_my_organization_third_party_client_access_configuration import ( + ClientMyOrganizationThirdPartyClientAccessConfiguration, +) class ClientMyOrganizationPatchConfiguration(UniversalBaseModel): @@ -30,12 +33,23 @@ class ClientMyOrganizationPatchConfiguration(UniversalBaseModel): The allowed connection strategies for the My Organization Configuration. """ + third_party_client_access: typing.Optional[ClientMyOrganizationThirdPartyClientAccessConfiguration] = None connection_deletion_behavior: ClientMyOrganizationDeletionBehaviorEnum invitation_landing_client_id: typing.Optional[str] = pydantic.Field(default=None) """ The client ID this client uses while creating invitations through My Organization API. """ + enforce_permission_ceiling: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. + """ + + enforce_self_assignment_restriction: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, prevents organization admins from assigning permissions to themselves. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/client_my_organization_post_configuration.py b/src/auth0/management/types/client_my_organization_post_configuration.py index 6055ead0..1d747021 100644 --- a/src/auth0/management/types/client_my_organization_post_configuration.py +++ b/src/auth0/management/types/client_my_organization_post_configuration.py @@ -8,6 +8,9 @@ ClientMyOrganizationConfigurationAllowedStrategiesEnum, ) from .client_my_organization_deletion_behavior_enum import ClientMyOrganizationDeletionBehaviorEnum +from .client_my_organization_third_party_client_access_configuration import ( + ClientMyOrganizationThirdPartyClientAccessConfiguration, +) class ClientMyOrganizationPostConfiguration(UniversalBaseModel): @@ -30,12 +33,23 @@ class ClientMyOrganizationPostConfiguration(UniversalBaseModel): The allowed connection strategies for the My Organization Configuration. """ + third_party_client_access: typing.Optional[ClientMyOrganizationThirdPartyClientAccessConfiguration] = None connection_deletion_behavior: ClientMyOrganizationDeletionBehaviorEnum invitation_landing_client_id: typing.Optional[str] = pydantic.Field(default=None) """ The client ID this client uses while creating invitations through My Organization API. """ + enforce_permission_ceiling: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. + """ + + enforce_self_assignment_restriction: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, prevents organization admins from assigning permissions to themselves. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/client_my_organization_response_configuration.py b/src/auth0/management/types/client_my_organization_response_configuration.py index 4f98f3ab..5b408530 100644 --- a/src/auth0/management/types/client_my_organization_response_configuration.py +++ b/src/auth0/management/types/client_my_organization_response_configuration.py @@ -8,6 +8,9 @@ ClientMyOrganizationConfigurationAllowedStrategiesEnum, ) from .client_my_organization_deletion_behavior_enum import ClientMyOrganizationDeletionBehaviorEnum +from .client_my_organization_third_party_client_access_configuration import ( + ClientMyOrganizationThirdPartyClientAccessConfiguration, +) class ClientMyOrganizationResponseConfiguration(UniversalBaseModel): @@ -30,12 +33,23 @@ class ClientMyOrganizationResponseConfiguration(UniversalBaseModel): The allowed connection strategies for the My Organization Configuration. """ + third_party_client_access: typing.Optional[ClientMyOrganizationThirdPartyClientAccessConfiguration] = None connection_deletion_behavior: ClientMyOrganizationDeletionBehaviorEnum invitation_landing_client_id: typing.Optional[str] = pydantic.Field(default=None) """ The client ID this client uses while creating invitations through My Organization API. """ + enforce_permission_ceiling: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. + """ + + enforce_self_assignment_restriction: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, prevents organization admins from assigning permissions to themselves. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/client_my_organization_third_party_client_access_configuration.py b/src/auth0/management/types/client_my_organization_third_party_client_access_configuration.py new file mode 100644 index 00000000..feee9895 --- /dev/null +++ b/src/auth0/management/types/client_my_organization_third_party_client_access_configuration.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_my_organization_configuration_third_party_client_access_allowed_values_enum import ( + ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum, +) +from .client_my_organization_configuration_third_party_client_access_default_value_enum import ( + ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum, +) + + +class ClientMyOrganizationThirdPartyClientAccessConfiguration(UniversalBaseModel): + """ + The third-party client access configuration for the My Organization Configuration. + """ + + default_value: ClientMyOrganizationConfigurationThirdPartyClientAccessDefaultValueEnum + allowed_values: typing.List[ClientMyOrganizationConfigurationThirdPartyClientAccessAllowedValuesEnum] = ( + pydantic.Field() + ) + """ + The allowed third-party client access values for the My Organization Configuration. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_oidc_backchannel_logout_initiators_enum.py b/src/auth0/management/types/client_oidc_backchannel_logout_initiators_enum.py index 9ed1eb90..88526b6f 100644 --- a/src/auth0/management/types/client_oidc_backchannel_logout_initiators_enum.py +++ b/src/auth0/management/types/client_oidc_backchannel_logout_initiators_enum.py @@ -13,6 +13,7 @@ "email-identifier-changed", "mfa-phone-unenrolled", "account-deactivated", + "profile-changed", ], typing.Any, ] diff --git a/src/auth0/management/types/client_oidc_support.py b/src/auth0/management/types/client_oidc_support.py new file mode 100644 index 00000000..53cb2156 --- /dev/null +++ b/src/auth0/management/types/client_oidc_support.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_oidc_support_allowed_scopes_enum import ClientOidcSupportAllowedScopesEnum + + +class ClientOidcSupport(UniversalBaseModel): + """ + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. + """ + + is_allowed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_oidc_support_allowed_scopes_enum.py b/src/auth0/management/types/client_oidc_support_allowed_scopes_enum.py new file mode 100644 index 00000000..b11e3c4a --- /dev/null +++ b/src/auth0/management/types/client_oidc_support_allowed_scopes_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientOidcSupportAllowedScopesEnum = typing.Union[typing.Literal["profile", "email", "address", "phone"], typing.Any] diff --git a/src/auth0/management/types/client_oidc_support_patch.py b/src/auth0/management/types/client_oidc_support_patch.py new file mode 100644 index 00000000..12302a1d --- /dev/null +++ b/src/auth0/management/types/client_oidc_support_patch.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_oidc_support_allowed_scopes_enum import ClientOidcSupportAllowedScopesEnum + + +class ClientOidcSupportPatch(UniversalBaseModel): + """ + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. + """ + + is_allowed: bool = pydantic.Field() + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_oidc_support_post.py b/src/auth0/management/types/client_oidc_support_post.py new file mode 100644 index 00000000..a58413af --- /dev/null +++ b/src/auth0/management/types/client_oidc_support_post.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_oidc_support_allowed_scopes_enum import ClientOidcSupportAllowedScopesEnum + + +class ClientOidcSupportPost(UniversalBaseModel): + """ + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. + """ + + is_allowed: bool = pydantic.Field() + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile.py b/src/auth0/management/types/client_profile.py new file mode 100644 index 00000000..10c695d6 --- /dev/null +++ b/src/auth0/management/types/client_profile.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_apply_policy import ClientProfileApplyPolicy +from .client_profile_client_configuration import ClientProfileClientConfiguration +from .client_profile_description import ClientProfileDescription +from .client_profile_id import ClientProfileId +from .client_profile_name import ClientProfileName + + +class ClientProfile(UniversalBaseModel): + id: ClientProfileId + name: ClientProfileName + description: typing.Optional[ClientProfileDescription] = None + client_configuration: ClientProfileClientConfiguration + apply_policy: ClientProfileApplyPolicy + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of creation. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of last update. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_apply_policy.py b/src/auth0/management/types/client_profile_apply_policy.py new file mode 100644 index 00000000..adb33924 --- /dev/null +++ b/src/auth0/management/types/client_profile_apply_policy.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_apply_policy_external_metadata_created_by_enum import ( + ClientProfileApplyPolicyExternalMetadataCreatedByEnum, +) +from .client_profile_apply_policy_external_metadata_type_enum import ClientProfileApplyPolicyExternalMetadataTypeEnum + + +class ClientProfileApplyPolicy(UniversalBaseModel): + """ + Runtime matching rules that determine which clients this profile governs. + """ + + external_metadata_type: ClientProfileApplyPolicyExternalMetadataTypeEnum + external_metadata_created_by: ClientProfileApplyPolicyExternalMetadataCreatedByEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_apply_policy_external_metadata_created_by_enum.py b/src/auth0/management/types/client_profile_apply_policy_external_metadata_created_by_enum.py new file mode 100644 index 00000000..70f13ed9 --- /dev/null +++ b/src/auth0/management/types/client_profile_apply_policy_external_metadata_created_by_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileApplyPolicyExternalMetadataCreatedByEnum = typing.Union[typing.Literal["client"], typing.Any] diff --git a/src/auth0/management/types/client_profile_apply_policy_external_metadata_type_enum.py b/src/auth0/management/types/client_profile_apply_policy_external_metadata_type_enum.py new file mode 100644 index 00000000..f41a3147 --- /dev/null +++ b/src/auth0/management/types/client_profile_apply_policy_external_metadata_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileApplyPolicyExternalMetadataTypeEnum = typing.Union[typing.Literal["cimd"], typing.Any] diff --git a/src/auth0/management/types/client_profile_client_configuration.py b/src/auth0/management/types/client_profile_client_configuration.py new file mode 100644 index 00000000..b0a51e4d --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_oidc_support import ClientProfileClientConfigurationOidcSupport +from .client_profile_client_configuration_organization_discovery_methods import ( + ClientProfileClientConfigurationOrganizationDiscoveryMethods, +) +from .client_profile_client_configuration_organization_require_behavior import ( + ClientProfileClientConfigurationOrganizationRequireBehavior, +) +from .client_profile_client_configuration_organization_usage import ClientProfileClientConfigurationOrganizationUsage +from .client_profile_client_configuration_refresh_token import ClientProfileClientConfigurationRefreshToken +from .client_profile_client_configuration_require_proof_of_possession import ( + ClientProfileClientConfigurationRequireProofOfPossession, +) + + +class ClientProfileClientConfiguration(UniversalBaseModel): + """ + Runtime policy applied to matched clients. Omitted fields fall back to each client's own setting. + """ + + refresh_token: typing.Optional[ClientProfileClientConfigurationRefreshToken] = None + organization_usage: typing.Optional[ClientProfileClientConfigurationOrganizationUsage] = None + organization_require_behavior: typing.Optional[ClientProfileClientConfigurationOrganizationRequireBehavior] = None + organization_discovery_methods: typing.Optional[ClientProfileClientConfigurationOrganizationDiscoveryMethods] = None + require_proof_of_possession: typing.Optional[ClientProfileClientConfigurationRequireProofOfPossession] = None + oidc_support: typing.Optional[ClientProfileClientConfigurationOidcSupport] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_oidc_support.py b/src/auth0/management/types/client_profile_client_configuration_oidc_support.py new file mode 100644 index 00000000..a53550cd --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_oidc_support.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_oidc_support_default_value import ( + ClientProfileClientConfigurationOidcSupportDefaultValue, +) + + +class ClientProfileClientConfigurationOidcSupport(UniversalBaseModel): + """ + Default OIDC support configuration applied to matched clients. + """ + + default_value: ClientProfileClientConfigurationOidcSupportDefaultValue + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.py b/src/auth0/management/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.py new file mode 100644 index 00000000..8ed41079 --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileClientConfigurationOidcSupportAllowedScopesEnum = typing.Union[ + typing.Literal["profile", "email", "address", "phone"], typing.Any +] diff --git a/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py b/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py new file mode 100644 index 00000000..a6ae8c25 --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_oidc_support_allowed_scopes_enum import ( + ClientProfileClientConfigurationOidcSupportAllowedScopesEnum, +) + + +class ClientProfileClientConfigurationOidcSupportDefaultValue(UniversalBaseModel): + """ + Controls whether matched clients can receive ID tokens and use the UserInfo endpoint, and which user profile information they can request through OIDC scopes. + """ + + is_allowed: bool = pydantic.Field() + """ + Allows matched clients to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows matched clients to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientProfileClientConfigurationOidcSupportAllowedScopesEnum]] = ( + pydantic.Field(default=None) + ) + """ + OIDC scopes matched clients may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information they can access. Mutually exclusive with allow_all_scopes. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_discovery_method_enum.py b/src/auth0/management/types/client_profile_client_configuration_organization_discovery_method_enum.py new file mode 100644 index 00000000..9356620d --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_discovery_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum = typing.Union[ + typing.Literal["email", "organization_name"], typing.Any +] diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_discovery_methods.py b/src/auth0/management/types/client_profile_client_configuration_organization_discovery_methods.py new file mode 100644 index 00000000..81162123 --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_discovery_methods.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_organization_discovery_method_enum import ( + ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum, +) + + +class ClientProfileClientConfigurationOrganizationDiscoveryMethods(UniversalBaseModel): + """ + Default organization discovery methods applied to matched clients. + """ + + default_value: typing.Optional[typing.List[ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior.py b/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior.py new file mode 100644 index 00000000..68359783 --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_organization_require_behavior_enum import ( + ClientProfileClientConfigurationOrganizationRequireBehaviorEnum, +) + + +class ClientProfileClientConfigurationOrganizationRequireBehavior(UniversalBaseModel): + """ + Default organization prompt behavior applied to matched clients. + """ + + default_value: typing.Optional[ClientProfileClientConfigurationOrganizationRequireBehaviorEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior_enum.py b/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior_enum.py new file mode 100644 index 00000000..6b53df5f --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_require_behavior_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileClientConfigurationOrganizationRequireBehaviorEnum = typing.Union[ + typing.Literal["no_prompt", "pre_login_prompt", "post_login_prompt"], typing.Any +] diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_usage.py b/src/auth0/management/types/client_profile_client_configuration_organization_usage.py new file mode 100644 index 00000000..0caffa58 --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_usage.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_client_configuration_organization_usage_enum import ( + ClientProfileClientConfigurationOrganizationUsageEnum, +) + + +class ClientProfileClientConfigurationOrganizationUsage(UniversalBaseModel): + """ + Default organization usage applied to matched clients. + """ + + default_value: typing.Optional[ClientProfileClientConfigurationOrganizationUsageEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_organization_usage_enum.py b/src/auth0/management/types/client_profile_client_configuration_organization_usage_enum.py new file mode 100644 index 00000000..ddc1284e --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_organization_usage_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileClientConfigurationOrganizationUsageEnum = typing.Union[ + typing.Literal["deny", "allow", "require"], typing.Any +] diff --git a/src/auth0/management/types/client_profile_client_configuration_refresh_token.py b/src/auth0/management/types/client_profile_client_configuration_refresh_token.py new file mode 100644 index 00000000..f5980e9b --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_refresh_token.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile_refresh_token_idle_token_lifetime import ClientProfileRefreshTokenIdleTokenLifetime +from .client_profile_refresh_token_leeway import ClientProfileRefreshTokenLeeway +from .client_profile_refresh_token_token_lifetime import ClientProfileRefreshTokenTokenLifetime + + +class ClientProfileClientConfigurationRefreshToken(UniversalBaseModel): + """ + Refresh token settings. Omit any sub-field to use the client's own value. + """ + + token_lifetime: typing.Optional[ClientProfileRefreshTokenTokenLifetime] = None + idle_token_lifetime: typing.Optional[ClientProfileRefreshTokenIdleTokenLifetime] = None + leeway: typing.Optional[ClientProfileRefreshTokenLeeway] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_client_configuration_require_proof_of_possession.py b/src/auth0/management/types/client_profile_client_configuration_require_proof_of_possession.py new file mode 100644 index 00000000..a5b4b1fa --- /dev/null +++ b/src/auth0/management/types/client_profile_client_configuration_require_proof_of_possession.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ClientProfileClientConfigurationRequireProofOfPossession(UniversalBaseModel): + """ + Whether matched clients default to requiring proof of possession. + """ + + default_value: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_description.py b/src/auth0/management/types/client_profile_description.py new file mode 100644 index 00000000..4de059fb --- /dev/null +++ b/src/auth0/management/types/client_profile_description.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientProfileDescription = typing.Optional[str] +""" +Optional description of the client profile. +""" diff --git a/src/auth0/management/types/client_profile_id.py b/src/auth0/management/types/client_profile_id.py new file mode 100644 index 00000000..ab6b68cf --- /dev/null +++ b/src/auth0/management/types/client_profile_id.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ClientProfileId = str +""" +Client Profile identifier. +""" diff --git a/src/auth0/management/types/client_profile_name.py b/src/auth0/management/types/client_profile_name.py new file mode 100644 index 00000000..95dfb903 --- /dev/null +++ b/src/auth0/management/types/client_profile_name.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ClientProfileName = str +""" +Display name of the client profile. +""" diff --git a/src/auth0/management/types/client_profile_refresh_token_idle_token_lifetime.py b/src/auth0/management/types/client_profile_refresh_token_idle_token_lifetime.py new file mode 100644 index 00000000..7f0d8733 --- /dev/null +++ b/src/auth0/management/types/client_profile_refresh_token_idle_token_lifetime.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ClientProfileRefreshTokenIdleTokenLifetime(UniversalBaseModel): + """ + Default idle refresh token lifetime, in seconds, applied to matched clients. + """ + + default_value: typing.Optional[int] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_refresh_token_leeway.py b/src/auth0/management/types/client_profile_refresh_token_leeway.py new file mode 100644 index 00000000..9517a2f8 --- /dev/null +++ b/src/auth0/management/types/client_profile_refresh_token_leeway.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ClientProfileRefreshTokenLeeway(UniversalBaseModel): + """ + Default refresh token rotation leeway, in seconds, applied to matched clients. + """ + + default_value: typing.Optional[int] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_profile_refresh_token_token_lifetime.py b/src/auth0/management/types/client_profile_refresh_token_token_lifetime.py new file mode 100644 index 00000000..d1246e73 --- /dev/null +++ b/src/auth0/management/types/client_profile_refresh_token_token_lifetime.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ClientProfileRefreshTokenTokenLifetime(UniversalBaseModel): + """ + Default refresh token lifetime, in seconds, applied to matched clients. + """ + + default_value: typing.Optional[int] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_search_response.py b/src/auth0/management/types/client_search_response.py new file mode 100644 index 00000000..b8d53962 --- /dev/null +++ b/src/auth0/management/types/client_search_response.py @@ -0,0 +1,288 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum +from .client_app_type_enum import ClientAppTypeEnum +from .client_async_approval_notifications_channels_api_post_configuration import ( + ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, +) +from .client_authentication_method import ClientAuthenticationMethod +from .client_compliance_level_enum import ClientComplianceLevelEnum +from .client_default_organization import ClientDefaultOrganization +from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum +from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum +from .client_jwt_configuration import ClientJwtConfiguration +from .client_metadata import ClientMetadata +from .client_mobile import ClientMobile +from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration +from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport +from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum +from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum +from .client_organization_usage_enum import ClientOrganizationUsageEnum +from .client_redirection_policy_enum import ClientRedirectionPolicyEnum +from .client_refresh_token_configuration import ClientRefreshTokenConfiguration +from .client_session_transfer_configuration import ClientSessionTransferConfiguration +from .client_signed_request_object_with_credential_id import ClientSignedRequestObjectWithCredentialId +from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum +from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum +from .client_token_exchange_configuration import ClientTokenExchangeConfiguration +from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId +from .express_configuration import ExpressConfiguration +from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant +from .native_social_login import NativeSocialLogin +from .token_quota import TokenQuota + + +class ClientSearchResponse(UniversalBaseModel): + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of this client. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + + tenant: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the tenant this client belongs to. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this client (min length: 1 character, does not allow `<` or `>`). + """ + + description: typing.Optional[str] = pydantic.Field(default=None) + """ + Free text description of this client (max length: 140 characters). + """ + + global_: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="global"), + pydantic.Field( + alias="global", + description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", + ), + ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + + app_type: typing.Optional[ClientAppTypeEnum] = None + logo_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the logo to display for this client. Recommended size is 150x150 pixels. + """ + + is_first_party: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this client a first party client (true) or not (false). + """ + + oidc_conformant: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false). + """ + + callbacks: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication. + """ + + allowed_origins: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs. + """ + + web_origins: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode. + """ + + client_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of audiences/realms for SAML protocol. Used by the wsfed addon. + """ + + allowed_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed. + """ + + allowed_logout_urls: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains. + """ + + session_transfer: typing.Optional[ClientSessionTransferConfiguration] = None + oidc_logout: typing.Optional[ClientOidcBackchannelLogoutSettings] = None + grant_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of grant types supported for this application. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`. + """ + + jwt_configuration: typing.Optional[ClientJwtConfiguration] = None + sso: typing.Optional[bool] = pydantic.Field(default=None) + """ + Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false). + """ + + sso_disabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Single Sign On is disabled (true) or enabled (true). Defaults to true. + """ + + cross_origin_authentication: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false). + """ + + cross_origin_loc: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page. + """ + + custom_login_page_on: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether a custom login page is to be used (true) or the default provided login page (false). + """ + + custom_login_page: typing.Optional[str] = pydantic.Field(default=None) + """ + The content (HTML, CSS, JS) of the custom login page. + """ + + custom_login_page_preview: typing.Optional[str] = pydantic.Field(default=None) + """ + The content (HTML, CSS, JS) of the custom login page. (Used on Previews) + """ + + form_template: typing.Optional[str] = pydantic.Field(default=None) + """ + HTML form template to be used for WS-Federation. + """ + + token_endpoint_auth_method: typing.Optional[ClientTokenEndpointAuthMethodEnum] = None + is_token_endpoint_ip_header_trusted: typing.Optional[bool] = pydantic.Field(default=None) + """ + If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint. + """ + + client_metadata: typing.Optional[ClientMetadata] = None + mobile: typing.Optional[ClientMobile] = None + initiate_login_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + Initiate login uri, must be https + """ + + native_social_login: typing.Optional[NativeSocialLogin] = None + fedcm_login: typing.Optional[FedCmLogin] = None + refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None + default_organization: typing.Optional[ClientDefaultOrganization] = None + organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None + organization_require_behavior: typing.Optional[ClientOrganizationRequireBehaviorEnum] = None + organization_discovery_methods: typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]] = pydantic.Field( + default=None + ) + """ + Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both. + """ + + client_authentication_methods: typing.Optional[ClientAuthenticationMethod] = None + require_pushed_authorization_requests: typing.Optional[bool] = pydantic.Field(default=None) + """ + Makes the use of Pushed Authorization Requests mandatory for this client + """ + + require_proof_of_possession: typing.Optional[bool] = pydantic.Field(default=None) + """ + Makes the use of Proof-of-Possession mandatory for this client + """ + + signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None + token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None + compliance_level: typing.Optional[ClientComplianceLevelEnum] = None + skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). + If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps. + See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information. + """ + + token_exchange: typing.Optional[ClientTokenExchangeConfiguration] = None + par_request_expiry: typing.Optional[int] = pydantic.Field(default=None) + """ + Specifies how long, in seconds, a Pushed Authorization Request URI remains valid + """ + + token_quota: typing.Optional[TokenQuota] = None + express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None + my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) + third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None + redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None + resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + The identifier of the resource server that this client is linked to. + """ + + async_approval_notification_channels: typing.Optional[ + ClientAsyncApprovalNotificationsChannelsApiPostConfiguration + ] = None + external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None + external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + + external_client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the JSON Web Key Set (JWKS) containing the public keys used for private_key_jwt authentication. Only present for CIMD clients using private_key_jwt authentication. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py b/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py index 3ef120e8..acd2d456 100644 --- a/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py +++ b/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py @@ -2,4 +2,4 @@ import typing -ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip", "asn"], typing.Any] +ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip"], typing.Any] diff --git a/src/auth0/management/types/client_signing_key.py b/src/auth0/management/types/client_signing_key.py index aabc1b9b..6f694f0d 100644 --- a/src/auth0/management/types/client_signing_key.py +++ b/src/auth0/management/types/client_signing_key.py @@ -14,6 +14,10 @@ class ClientSigningKey(UniversalBaseModel): FieldMetadata(alias="pkcs7"), pydantic.Field(alias="pkcs7", description="Signing certificate public key and chain in PKCS#7 (.P7B) format."), ] = None + """ + Signing certificate public key and chain in PKCS#7 (.P7B) format. + """ + cert: typing.Optional[str] = pydantic.Field(default=None) """ Signing certificate public key in X.509 (.CER) format. diff --git a/src/auth0/management/types/client_sort_field_enum.py b/src/auth0/management/types/client_sort_field_enum.py new file mode 100644 index 00000000..e7e54a66 --- /dev/null +++ b/src/auth0/management/types/client_sort_field_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ClientSortFieldEnum = typing.Union[typing.Literal["name", "updated_at"], typing.Any] diff --git a/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py b/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py index 7db72db8..b503b4b0 100644 --- a/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py +++ b/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .credential_id import CredentialId +from .token_vault_privileged_access_grant import TokenVaultPrivilegedAccessGrant from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry @@ -15,6 +16,7 @@ class ClientTokenVaultPrivilegedAccessWithCredentialId(UniversalBaseModel): credentials: typing.List[CredentialId] ip_allowlist: typing.Optional[typing.List[TokenVaultPrivilegedAccessIpAllowlistEntry]] = None + grants: typing.Optional[typing.List[TokenVaultPrivilegedAccessGrant]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py b/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py index 52aca00e..450ffb46 100644 --- a/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py +++ b/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .public_key_credential import PublicKeyCredential +from .token_vault_privileged_access_grant import TokenVaultPrivilegedAccessGrant from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry @@ -15,6 +16,7 @@ class ClientTokenVaultPrivilegedAccessWithPublicKey(UniversalBaseModel): credentials: typing.List[PublicKeyCredential] ip_allowlist: typing.Optional[typing.List[TokenVaultPrivilegedAccessIpAllowlistEntry]] = None + grants: typing.Optional[typing.List[TokenVaultPrivilegedAccessGrant]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/conflict_schema.py b/src/auth0/management/types/conflict_schema.py new file mode 100644 index 00000000..18d1430c --- /dev/null +++ b/src/auth0/management/types/conflict_schema.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .conflict_schema_error import ConflictSchemaError + + +class ConflictSchema(UniversalBaseModel): + """ + Conflict + """ + + message: str + status_code: typing_extensions.Annotated[str, FieldMetadata(alias="statusCode"), pydantic.Field(alias="statusCode")] + error: ConflictSchemaError + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/conflict_schema_error.py b/src/auth0/management/types/conflict_schema_error.py new file mode 100644 index 00000000..8eb87e4d --- /dev/null +++ b/src/auth0/management/types/conflict_schema_error.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConflictSchemaError = typing.Union[typing.Literal["Conflict"], typing.Any] diff --git a/src/auth0/management/types/connection_allowed_audiences_google_o_auth_2.py b/src/auth0/management/types/connection_allowed_audiences_google_o_auth_2.py index 5aaa12f7..b6adbb5e 100644 --- a/src/auth0/management/types/connection_allowed_audiences_google_o_auth_2.py +++ b/src/auth0/management/types/connection_allowed_audiences_google_o_auth_2.py @@ -4,5 +4,5 @@ ConnectionAllowedAudiencesGoogleOAuth2 = typing.List[str] """ -List of allowed audiences in the ID token for Google Native Social Login +Additional Google client IDs accepted as the `aud` (audience) of Google ID tokens, used by Google native login and Google Streamlined Linking. """ diff --git a/src/auth0/management/types/connection_client_id_samlxaa_requesting_app.py b/src/auth0/management/types/connection_client_id_samlxaa_requesting_app.py new file mode 100644 index 00000000..411b30bd --- /dev/null +++ b/src/auth0/management/types/connection_client_id_samlxaa_requesting_app.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_client_id_oidc import ConnectionClientIdOidc + +ConnectionClientIdSamlxaaRequestingApp = ConnectionClientIdOidc +""" +OIDC client identifier issued by the identity provider during application registration. Used to authenticate your Auth0 connection when exchanging SAML Assertions for Refresh Tokens. +""" diff --git a/src/auth0/management/types/connection_client_secret_samlxaa_requesting_app.py b/src/auth0/management/types/connection_client_secret_samlxaa_requesting_app.py new file mode 100644 index 00000000..1009f144 --- /dev/null +++ b/src/auth0/management/types/connection_client_secret_samlxaa_requesting_app.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionClientSecretSamlxaaRequestingApp = str +""" +OAuth 2.0 client secret issued by the identity provider during application registration. Used to authenticate your Auth0 connection when exchanging authorization codes for tokens. May be null for public clients. +""" diff --git a/src/auth0/management/types/connection_connected_accounts_purpose.py b/src/auth0/management/types/connection_connected_accounts_purpose.py index f04483fc..b64f282c 100644 --- a/src/auth0/management/types/connection_connected_accounts_purpose.py +++ b/src/auth0/management/types/connection_connected_accounts_purpose.py @@ -13,6 +13,10 @@ class ConnectionConnectedAccountsPurpose(UniversalBaseModel): active: bool cross_app_access: typing.Optional[bool] = None + allow_missing_user_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows storing a connected account without an upstream identity provider user id. At most one such connected account is allowed per user per connection. Default false preserves the strict behaviour (an upstream user id is required). + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_connected_accounts_purpose_xaa.py b/src/auth0/management/types/connection_connected_accounts_purpose_xaa.py index f25136be..b51b5749 100644 --- a/src/auth0/management/types/connection_connected_accounts_purpose_xaa.py +++ b/src/auth0/management/types/connection_connected_accounts_purpose_xaa.py @@ -13,6 +13,10 @@ class ConnectionConnectedAccountsPurposeXaa(UniversalBaseModel): cross_app_access: typing.Optional[bool] = None active: bool + allow_missing_user_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows storing a connected account without an upstream identity provider user id. At most one such connected account is allowed per user per connection. Default false preserves the strict behaviour (an upstream user id is required). + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_cross_app_access_resource_app.py b/src/auth0/management/types/connection_cross_app_access_resource_app.py new file mode 100644 index 00000000..0943e8db --- /dev/null +++ b/src/auth0/management/types/connection_cross_app_access_resource_app.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_cross_app_access_resource_app_status_enum import ConnectionCrossAppAccessResourceAppStatusEnum + + +class ConnectionCrossAppAccessResourceApp(UniversalBaseModel): + """ + Cross App Access - Resource App settings that apply to this connection. + """ + + status: ConnectionCrossAppAccessResourceAppStatusEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_cross_app_access_resource_app_status_enum.py b/src/auth0/management/types/connection_cross_app_access_resource_app_status_enum.py new file mode 100644 index 00000000..7894b678 --- /dev/null +++ b/src/auth0/management/types/connection_cross_app_access_resource_app_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionCrossAppAccessResourceAppStatusEnum = typing.Union[typing.Literal["disabled", "enabled"], typing.Any] diff --git a/src/auth0/management/types/connection_enable_pushed_authorization_requests.py b/src/auth0/management/types/connection_enable_pushed_authorization_requests.py new file mode 100644 index 00000000..8b709b2d --- /dev/null +++ b/src/auth0/management/types/connection_enable_pushed_authorization_requests.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionEnablePushedAuthorizationRequests = bool +""" +When true, the server uses Pushed Authorization Requests (PAR) to start the authorization transaction with the identity provider, pushing authorization parameters over back-channel HTTP and redirecting with only a request_uri. +""" diff --git a/src/auth0/management/types/connection_for_list.py b/src/auth0/management/types/connection_for_list.py index 83921553..7e924391 100644 --- a/src/auth0/management/types/connection_for_list.py +++ b/src/auth0/management/types/connection_for_list.py @@ -9,6 +9,7 @@ from .connection_options import ConnectionOptions from .connections_metadata import ConnectionsMetadata from .cross_app_access_requesting_app import CrossAppAccessRequestingApp +from .cross_app_access_resource_app import CrossAppAccessResourceApp class ConnectionForList(UniversalBaseModel): @@ -52,6 +53,7 @@ class ConnectionForList(UniversalBaseModel): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[CrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_gateway_authentication.py b/src/auth0/management/types/connection_gateway_authentication.py index 9ac591f3..66dbf3c9 100644 --- a/src/auth0/management/types/connection_gateway_authentication.py +++ b/src/auth0/management/types/connection_gateway_authentication.py @@ -40,6 +40,9 @@ class ConnectionGatewayAuthentication(UniversalBaseModel): alias="secret_base64_encoded", description="Set to true if the provided secret is base64 encoded." ), ] = None + """ + Set to true if the provided secret is base64 encoded. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_gateway_authentication_sms.py b/src/auth0/management/types/connection_gateway_authentication_sms.py index 62b37bc7..1099312e 100644 --- a/src/auth0/management/types/connection_gateway_authentication_sms.py +++ b/src/auth0/management/types/connection_gateway_authentication_sms.py @@ -28,6 +28,10 @@ class ConnectionGatewayAuthenticationSms(UniversalBaseModel): FieldMetadata(alias="secret_base64_encoded"), pydantic.Field(alias="secret_base64_encoded", description="Set to true if the secret is base64-url-encoded"), ] = None + """ + Set to true if the secret is base64-url-encoded + """ + subject: typing.Optional[ConnectionGatewayAuthenticationSubjectSms] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_identity_provider_enum.py b/src/auth0/management/types/connection_identity_provider_enum.py index 8b319df8..4ee4bc75 100644 --- a/src/auth0/management/types/connection_identity_provider_enum.py +++ b/src/auth0/management/types/connection_identity_provider_enum.py @@ -59,6 +59,15 @@ "wordpress", "yahoo", "yandex", + "notion-mcp", + "asana", + "atlassian", + "cloudflare-mcp", + "gitlab", + "hubspot-mcp", + "linear-mcp", + "sentry-mcp", + "slack", ], typing.Any, ] diff --git a/src/auth0/management/types/connection_key.py b/src/auth0/management/types/connection_key.py index 0e8da96a..a069335e 100644 --- a/src/auth0/management/types/connection_key.py +++ b/src/auth0/management/types/connection_key.py @@ -10,17 +10,17 @@ class ConnectionKey(UniversalBaseModel): kid: str = pydantic.Field() """ - The key id of the signing key + The key id of the signing or encryption key """ cert: str = pydantic.Field() """ - The public certificate of the signing key + The public certificate of the signing or encryption key """ pkcs: typing.Optional[str] = pydantic.Field(default=None) """ - The public certificate of the signing key in pkcs7 format + The public certificate of the signing or encryption key in pkcs7 format """ current: typing.Optional[bool] = pydantic.Field(default=None) @@ -55,7 +55,7 @@ class ConnectionKey(UniversalBaseModel): algorithm: typing.Optional[str] = pydantic.Field(default=None) """ - Signing key algorithm + Key algorithm: a signing algorithm for signing keys, or a key-management algorithm for encryption keys """ key_use: typing.Optional[ConnectionKeyUseEnum] = None diff --git a/src/auth0/management/types/connection_options_ad.py b/src/auth0/management/types/connection_options_ad.py index 556e4689..aa516f30 100644 --- a/src/auth0/management/types/connection_options_ad.py +++ b/src/auth0/management/types/connection_options_ad.py @@ -19,6 +19,7 @@ from .connection_sign_in_endpoint_ad import ConnectionSignInEndpointAd from .connection_tenant_domain_ad import ConnectionTenantDomainAd from .connection_thumbprints_ad import ConnectionThumbprintsAd +from .connection_thumbprints_sha_384_ad import ConnectionThumbprintsSha384Ad from .connection_upstream_params import ConnectionUpstreamParams @@ -47,6 +48,10 @@ class ConnectionOptionsAd(ConnectionOptionsCommon): description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", ), ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + certs: typing.Optional[ConnectionCertsAd] = None disable_cache: typing.Optional[bool] = pydantic.Field(default=None) """ @@ -74,6 +79,11 @@ class ConnectionOptionsAd(ConnectionOptionsCommon): ] = None tenant_domain: typing.Optional[ConnectionTenantDomainAd] = None thumbprints: typing.Optional[ConnectionThumbprintsAd] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384Ad], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None upstream_params: typing.Optional[ConnectionUpstreamParams] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_options_adfs.py b/src/auth0/management/types/connection_options_adfs.py index c193f549..05e35434 100644 --- a/src/auth0/management/types/connection_options_adfs.py +++ b/src/auth0/management/types/connection_options_adfs.py @@ -15,6 +15,7 @@ from .connection_sign_in_endpoint_adfs import ConnectionSignInEndpointAdfs from .connection_tenant_domain import ConnectionTenantDomain from .connection_thumbprints import ConnectionThumbprints +from .connection_thumbprints_sha_384 import ConnectionThumbprintsSha384 from .connection_upstream_params import ConnectionUpstreamParams @@ -37,6 +38,10 @@ class ConnectionOptionsAdfs(ConnectionOptionsCommon): description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", ), ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + fed_metadata_xml: typing_extensions.Annotated[ typing.Optional[ConnectionMetadataXmlAdfs], FieldMetadata(alias="fedMetadataXml"), @@ -53,6 +58,11 @@ class ConnectionOptionsAdfs(ConnectionOptionsCommon): ] = None tenant_domain: typing.Optional[ConnectionTenantDomain] = None thumbprints: typing.Optional[ConnectionThumbprints] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None upstream_params: typing.Optional[ConnectionUpstreamParams] = None user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/auth0/management/types/connection_options_auth_0.py b/src/auth0/management/types/connection_options_auth_0.py index 4f0c007d..8767ff42 100644 --- a/src/auth0/management/types/connection_options_auth_0.py +++ b/src/auth0/management/types/connection_options_auth_0.py @@ -19,6 +19,7 @@ from .connection_import_mode import ConnectionImportMode from .connection_mfa import ConnectionMfa from .connection_options_common import ConnectionOptionsCommon +from .connection_otp_settings import ConnectionOtpSettings from .connection_passkey_options import ConnectionPasskeyOptions from .connection_password_complexity_options import ConnectionPasswordComplexityOptions from .connection_password_dictionary_options import ConnectionPasswordDictionaryOptions @@ -55,6 +56,7 @@ class ConnectionOptionsAuth0(ConnectionOptionsCommon): ] = None import_mode: typing.Optional[ConnectionImportMode] = None mfa: typing.Optional[ConnectionMfa] = None + otp_settings: typing.Optional[ConnectionOtpSettings] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ typing.Optional[ConnectionPasswordPolicyEnum], diff --git a/src/auth0/management/types/connection_options_azure_ad.py b/src/auth0/management/types/connection_options_azure_ad.py index e547d8c7..31416423 100644 --- a/src/auth0/management/types/connection_options_azure_ad.py +++ b/src/auth0/management/types/connection_options_azure_ad.py @@ -16,7 +16,6 @@ from .connection_ext_groups_azure_ad import ConnectionExtGroupsAzureAd from .connection_ext_is_suspended import ConnectionExtIsSuspended from .connection_ext_profile import ConnectionExtProfile -from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens from .connection_icon_url_azure_ad import ConnectionIconUrlAzureAd from .connection_identity_api_azure_ad import ConnectionIdentityApiAzureAd from .connection_max_groups_to_retrieve import ConnectionMaxGroupsToRetrieve @@ -27,6 +26,7 @@ from .connection_tenant_domain_azure_ad_one import ConnectionTenantDomainAzureAdOne from .connection_tenant_id_azure_ad import ConnectionTenantIdAzureAd from .connection_thumbprints import ConnectionThumbprints +from .connection_thumbprints_sha_384 import ConnectionThumbprintsSha384 from .connection_upstream_params import ConnectionUpstreamParams from .connection_use_common_endpoint_azure_ad import ConnectionUseCommonEndpointAzureAd from .connection_userid_attribute_azure_ad import ConnectionUseridAttributeAzureAd @@ -236,6 +236,10 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): description="When false, prevents storing the user's telephone number from Azure AD. When true (default), telephone number is persisted in the user profile.", ), ] = None + """ + When false, prevents storing the user's telephone number from Azure AD. When true (default), telephone number is persisted in the user profile. + """ + ext_tenantid: typing.Optional[bool] = pydantic.Field(default=None) """ When false, prevents storing the user's Azure AD tenant ID. When true (default), tenant ID is persisted. Useful for identifying which Azure AD organization the user belongs to. @@ -256,7 +260,6 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): When false, prevents storing an alternative user ID. When true (default), this user ID is persisted in the user profile. """ - federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None granted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. @@ -273,6 +276,11 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): typing.Optional[ConnectionTenantIdAzureAd], FieldMetadata(alias="tenantId"), pydantic.Field(alias="tenantId") ] = None thumbprints: typing.Optional[ConnectionThumbprints] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None upstream_params: typing.Optional[ConnectionUpstreamParams] = None use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) """ diff --git a/src/auth0/management/types/connection_options_common_oidc.py b/src/auth0/management/types/connection_options_common_oidc.py index 40a764a9..abf892a5 100644 --- a/src/auth0/management/types/connection_options_common_oidc.py +++ b/src/auth0/management/types/connection_options_common_oidc.py @@ -3,20 +3,23 @@ import typing import pydantic +import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata from .connection_authorization_endpoint import ConnectionAuthorizationEndpoint from .connection_client_id_oidc import ConnectionClientIdOidc from .connection_client_secret_oidc import ConnectionClientSecretOidc from .connection_connection_settings import ConnectionConnectionSettings from .connection_domain_aliases import ConnectionDomainAliases from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum -from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens +from .connection_enable_pushed_authorization_requests import ConnectionEnablePushedAuthorizationRequests from .connection_icon_url import ConnectionIconUrl from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs from .connection_issuer import ConnectionIssuer from .connection_jwks_uri import ConnectionJwksUri from .connection_options_oidc_metadata import ConnectionOptionsOidcMetadata +from .connection_pushed_authorization_request_endpoint import ConnectionPushedAuthorizationRequestEndpoint from .connection_scope_oidc import ConnectionScopeOidc from .connection_send_back_channel_nonce import ConnectionSendBackChannelNonce from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum @@ -26,6 +29,7 @@ from .connection_token_endpoint_auth_signing_alg_enum import ConnectionTokenEndpointAuthSigningAlgEnum from .connection_token_endpoint_jwtca_aud_format_enum_oidc import ConnectionTokenEndpointJwtcaAudFormatEnumOidc from .connection_upstream_params import ConnectionUpstreamParams +from .connection_use_oauth_spec_scope import ConnectionUseOauthSpecScope from .connection_userinfo_endpoint import ConnectionUserinfoEndpoint @@ -40,13 +44,14 @@ class ConnectionOptionsCommonOidc(UniversalBaseModel): connection_settings: typing.Optional[ConnectionConnectionSettings] = None domain_aliases: typing.Optional[ConnectionDomainAliases] = None dpop_signing_alg: typing.Optional[ConnectionDpopSigningAlgEnum] = None - federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None + enable_pushed_authorization_requests: typing.Optional[ConnectionEnablePushedAuthorizationRequests] = None icon_url: typing.Optional[ConnectionIconUrl] = None id_token_session_expiry_supported: typing.Optional[ConnectionIdTokenSessionExpirySupported] = None id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None issuer: typing.Optional[ConnectionIssuer] = None jwks_uri: typing.Optional[ConnectionJwksUri] = None oidc_metadata: typing.Optional[ConnectionOptionsOidcMetadata] = None + pushed_authorization_request_endpoint: typing.Optional[ConnectionPushedAuthorizationRequestEndpoint] = None scope: typing.Optional[ConnectionScopeOidc] = None send_back_channel_nonce: typing.Optional[ConnectionSendBackChannelNonce] = None set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None @@ -57,6 +62,11 @@ class ConnectionOptionsCommonOidc(UniversalBaseModel): token_endpoint_jwtca_aud_format: typing.Optional[ConnectionTokenEndpointJwtcaAudFormatEnumOidc] = None upstream_params: typing.Optional[ConnectionUpstreamParams] = None userinfo_endpoint: typing.Optional[ConnectionUserinfoEndpoint] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[ConnectionUseOauthSpecScope], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field(alias="useOauthSpecScope"), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_options_common_saml.py b/src/auth0/management/types/connection_options_common_saml.py index 49071575..10597544 100644 --- a/src/auth0/management/types/connection_options_common_saml.py +++ b/src/auth0/management/types/connection_options_common_saml.py @@ -21,6 +21,7 @@ from .connection_signing_certificate_der_saml import ConnectionSigningCertificateDerSaml from .connection_tenant_domain_saml import ConnectionTenantDomainSaml from .connection_thumbprints_saml import ConnectionThumbprintsSaml +from .connection_thumbprints_sha_384_saml import ConnectionThumbprintsSha384Saml from .connection_upstream_params import ConnectionUpstreamParams @@ -70,6 +71,11 @@ class ConnectionOptionsCommonSaml(UniversalBaseModel): ] = None tenant_domain: typing.Optional[ConnectionTenantDomainSaml] = None thumbprints: typing.Optional[ConnectionThumbprintsSaml] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384Saml], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None upstream_params: typing.Optional[ConnectionUpstreamParams] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_options_google_apps.py b/src/auth0/management/types/connection_options_google_apps.py index 424285ff..95949457 100644 --- a/src/auth0/management/types/connection_options_google_apps.py +++ b/src/auth0/management/types/connection_options_google_apps.py @@ -17,7 +17,6 @@ from .connection_ext_groups_google_apps import ConnectionExtGroupsGoogleApps from .connection_ext_is_admin_google_apps import ConnectionExtIsAdminGoogleApps from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps -from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens from .connection_handle_login_from_social_google_apps import ConnectionHandleLoginFromSocialGoogleApps from .connection_icon_url_google_apps import ConnectionIconUrlGoogleApps from .connection_options_common import ConnectionOptionsCommon @@ -60,7 +59,6 @@ class ConnectionOptionsGoogleApps(ConnectionOptionsCommon): ext_is_admin: typing.Optional[ConnectionExtIsAdminGoogleApps] = None ext_is_suspended: typing.Optional[ConnectionExtIsSuspendedGoogleApps] = None - federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None handle_login_from_social: typing.Optional[ConnectionHandleLoginFromSocialGoogleApps] = None icon_url: typing.Optional[ConnectionIconUrlGoogleApps] = None map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) diff --git a/src/auth0/management/types/connection_options_o_auth_2.py b/src/auth0/management/types/connection_options_o_auth_2.py index 09955cde..ae0e6646 100644 --- a/src/auth0/management/types/connection_options_o_auth_2.py +++ b/src/auth0/management/types/connection_options_o_auth_2.py @@ -79,6 +79,9 @@ class ConnectionOptionsOAuth2(ConnectionOptionsCommon): description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", ), ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_options_oidc_metadata.py b/src/auth0/management/types/connection_options_oidc_metadata.py index 9d456507..e9fda892 100644 --- a/src/auth0/management/types/connection_options_oidc_metadata.py +++ b/src/auth0/management/types/connection_options_oidc_metadata.py @@ -21,6 +21,7 @@ from .connection_jwks_uri import ConnectionJwksUri from .connection_op_policy_uri import ConnectionOpPolicyUri from .connection_op_tos_uri import ConnectionOpTosUri +from .connection_pushed_authorization_request_endpoint import ConnectionPushedAuthorizationRequestEndpoint from .connection_registration_endpoint import ConnectionRegistrationEndpoint from .connection_request_object_encryption_alg_values_supported import ( ConnectionRequestObjectEncryptionAlgValuesSupported, @@ -31,6 +32,7 @@ from .connection_request_object_signing_alg_values_supported import ConnectionRequestObjectSigningAlgValuesSupported from .connection_request_parameter_supported import ConnectionRequestParameterSupported from .connection_request_uri_parameter_supported import ConnectionRequestUriParameterSupported +from .connection_require_pushed_authorization_requests import ConnectionRequirePushedAuthorizationRequests from .connection_require_request_uri_registration import ConnectionRequireRequestUriRegistration from .connection_response_modes_supported import ConnectionResponseModesSupported from .connection_response_types_supported import ConnectionResponseTypesSupported @@ -71,6 +73,7 @@ class ConnectionOptionsOidcMetadata(UniversalBaseModel): jwks_uri: ConnectionJwksUri op_policy_uri: typing.Optional[ConnectionOpPolicyUri] = None op_tos_uri: typing.Optional[ConnectionOpTosUri] = None + pushed_authorization_request_endpoint: typing.Optional[ConnectionPushedAuthorizationRequestEndpoint] = None registration_endpoint: typing.Optional[ConnectionRegistrationEndpoint] = None request_object_encryption_alg_values_supported: typing.Optional[ ConnectionRequestObjectEncryptionAlgValuesSupported @@ -83,6 +86,7 @@ class ConnectionOptionsOidcMetadata(UniversalBaseModel): ) request_parameter_supported: typing.Optional[ConnectionRequestParameterSupported] = None request_uri_parameter_supported: typing.Optional[ConnectionRequestUriParameterSupported] = None + require_pushed_authorization_requests: typing.Optional[ConnectionRequirePushedAuthorizationRequests] = None require_request_uri_registration: typing.Optional[ConnectionRequireRequestUriRegistration] = None response_modes_supported: typing.Optional[ConnectionResponseModesSupported] = None response_types_supported: typing.Optional[ConnectionResponseTypesSupported] = None diff --git a/src/auth0/management/types/connection_options_saml.py b/src/auth0/management/types/connection_options_saml.py index 65215c58..7b1d999d 100644 --- a/src/auth0/management/types/connection_options_saml.py +++ b/src/auth0/management/types/connection_options_saml.py @@ -6,8 +6,11 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2 from ..core.serialization import FieldMetadata +from .connection_client_id_samlxaa_requesting_app import ConnectionClientIdSamlxaaRequestingApp +from .connection_client_secret_samlxaa_requesting_app import ConnectionClientSecretSamlxaaRequestingApp from .connection_debug_saml import ConnectionDebugSaml from .connection_destination_url_saml import ConnectionDestinationUrlSaml +from .connection_discovery_url import ConnectionDiscoveryUrl from .connection_fields_map_saml import ConnectionFieldsMapSaml from .connection_global_token_revocation_jwt_iss_saml import ConnectionGlobalTokenRevocationJwtIssSaml from .connection_global_token_revocation_jwt_sub_saml import ConnectionGlobalTokenRevocationJwtSubSaml @@ -16,11 +19,15 @@ from .connection_options_common import ConnectionOptionsCommon from .connection_options_common_saml import ConnectionOptionsCommonSaml from .connection_options_deflate_saml import ConnectionOptionsDeflateSaml +from .connection_options_oidc_metadata import ConnectionOptionsOidcMetadata from .connection_recipient_url_saml import ConnectionRecipientUrlSaml from .connection_request_template_saml import ConnectionRequestTemplateSaml from .connection_sign_out_endpoint_saml import ConnectionSignOutEndpointSaml from .connection_signing_cert_saml import ConnectionSigningCertSaml from .connection_signing_key_saml import ConnectionSigningKeySaml +from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum +from .connection_token_endpoint_auth_signing_alg_enum import ConnectionTokenEndpointAuthSigningAlgEnum +from .connection_token_endpoint_jwtca_aud_format_enum_oidc import ConnectionTokenEndpointJwtcaAudFormatEnumOidc from .connection_user_id_attribute_saml import ConnectionUserIdAttributeSaml @@ -29,6 +36,8 @@ class ConnectionOptionsSaml(ConnectionOptionsCommonSaml, ConnectionOptionsCommon Options for the 'samlp' connection """ + client_id: typing.Optional[ConnectionClientIdSamlxaaRequestingApp] = None + client_secret: typing.Optional[ConnectionClientSecretSamlxaaRequestingApp] = None debug: typing.Optional[ConnectionDebugSaml] = None deflate: typing.Optional[ConnectionOptionsDeflateSaml] = None destination_url: typing_extensions.Annotated[ @@ -44,6 +53,11 @@ class ConnectionOptionsSaml(ConnectionOptionsCommonSaml, ConnectionOptionsCommon description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", ), ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[ConnectionDiscoveryUrl] = None fields_map: typing_extensions.Annotated[ typing.Optional[ConnectionFieldsMapSaml], FieldMetadata(alias="fieldsMap"), pydantic.Field(alias="fieldsMap") ] = None @@ -59,6 +73,7 @@ class ConnectionOptionsSaml(ConnectionOptionsCommonSaml, ConnectionOptionsCommon FieldMetadata(alias="metadataXml"), pydantic.Field(alias="metadataXml"), ] = None + oidc_metadata: typing.Optional[ConnectionOptionsOidcMetadata] = None recipient_url: typing_extensions.Annotated[ typing.Optional[ConnectionRecipientUrlSaml], FieldMetadata(alias="recipientUrl"), @@ -80,6 +95,9 @@ class ConnectionOptionsSaml(ConnectionOptionsCommonSaml, ConnectionOptionsCommon FieldMetadata(alias="signOutEndpoint"), pydantic.Field(alias="signOutEndpoint"), ] = None + token_endpoint_auth_method: typing.Optional[ConnectionTokenEndpointAuthMethodEnum] = None + token_endpoint_auth_signing_alg: typing.Optional[ConnectionTokenEndpointAuthSigningAlgEnum] = None + token_endpoint_jwtca_aud_format: typing.Optional[ConnectionTokenEndpointJwtcaAudFormatEnumOidc] = None user_id_attribute: typing.Optional[ConnectionUserIdAttributeSaml] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_otp_channel_settings.py b/src/auth0/management/types/connection_otp_channel_settings.py new file mode 100644 index 00000000..591f10de --- /dev/null +++ b/src/auth0/management/types/connection_otp_channel_settings.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionOtpChannelSettings(UniversalBaseModel): + """ + OTP settings for a delivery channel. + """ + + otp_length: typing.Optional[int] = pydantic.Field(default=None) + """ + Number of digits in the generated one-time password. + """ + + otp_expiry: typing.Optional[int] = pydantic.Field(default=None) + """ + Number of seconds before the one-time password expires. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_otp_settings.py b/src/auth0/management/types/connection_otp_settings.py new file mode 100644 index 00000000..613b8da5 --- /dev/null +++ b/src/auth0/management/types/connection_otp_settings.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_otp_channel_settings import ConnectionOtpChannelSettings + + +class ConnectionOtpSettings(UniversalBaseModel): + """ + One-time password settings, configurable per delivery channel. + """ + + email: typing.Optional[ConnectionOtpChannelSettings] = None + phone: typing.Optional[ConnectionOtpChannelSettings] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_passkey_authentication_method.py b/src/auth0/management/types/connection_passkey_authentication_method.py index 9946735c..54bd271a 100644 --- a/src/auth0/management/types/connection_passkey_authentication_method.py +++ b/src/auth0/management/types/connection_passkey_authentication_method.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_signup_behavior_enum import ConnectionSignupBehaviorEnum class ConnectionPasskeyAuthenticationMethod(UniversalBaseModel): @@ -16,6 +17,11 @@ class ConnectionPasskeyAuthenticationMethod(UniversalBaseModel): Determines whether passkeys are enabled """ + signup_behavior: typing.Optional[ConnectionSignupBehaviorEnum] = pydantic.Field(default=None) + """ + Specifies the signup behavior for passkey authentication + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/connection_password_options_dictionary.py b/src/auth0/management/types/connection_password_options_dictionary.py index d59d7f7a..b3271bc8 100644 --- a/src/auth0/management/types/connection_password_options_dictionary.py +++ b/src/auth0/management/types/connection_password_options_dictionary.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .password_default_dictionaries_enum import PasswordDefaultDictionariesEnum +from .password_dictionary_match_type_enum import PasswordDictionaryMatchTypeEnum class ConnectionPasswordOptionsDictionary(UniversalBaseModel): @@ -19,9 +20,10 @@ class ConnectionPasswordOptionsDictionary(UniversalBaseModel): custom: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ - Array of custom words to block in passwords. Maximum 200 items, each up to 50 characters + Array of custom words to block in passwords """ + match_type: typing.Optional[PasswordDictionaryMatchTypeEnum] = None default: typing.Optional[PasswordDefaultDictionariesEnum] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_profile.py b/src/auth0/management/types/connection_profile.py index 01ecdf43..14d953fb 100644 --- a/src/auth0/management/types/connection_profile.py +++ b/src/auth0/management/types/connection_profile.py @@ -6,10 +6,12 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .connection_name_prefix_template import ConnectionNamePrefixTemplate from .connection_profile_config import ConnectionProfileConfig +from .connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_id import ConnectionProfileId from .connection_profile_name import ConnectionProfileName from .connection_profile_organization import ConnectionProfileOrganization +from .connection_profile_provisioning import ConnectionProfileProvisioning from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides @@ -21,6 +23,8 @@ class ConnectionProfile(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileConfig] = None strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = None + provisioning: typing.Optional[ConnectionProfileProvisioning] = None + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_profile_cross_app_access_resource_app.py b/src/auth0/management/types/connection_profile_cross_app_access_resource_app.py new file mode 100644 index 00000000..99e1fb59 --- /dev/null +++ b/src/auth0/management/types/connection_profile_cross_app_access_resource_app.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_cross_app_access_resource_app_status import ConnectionProfileCrossAppAccessResourceAppStatus + + +class ConnectionProfileCrossAppAccessResourceApp(UniversalBaseModel): + """ + Controls whether organization admins may enable Cross App Access (XAA) on their Identity Providers. + """ + + status: ConnectionProfileCrossAppAccessResourceAppStatus + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status.py b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status.py new file mode 100644 index 00000000..786eb960 --- /dev/null +++ b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_cross_app_access_resource_app_status_allowed_values_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum, +) +from .connection_profile_cross_app_access_resource_app_status_default_value_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum, +) + + +class ConnectionProfileCrossAppAccessResourceAppStatus(UniversalBaseModel): + """ + The Cross App Access resource app status configuration. + """ + + default_value: ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum + allowed_values: typing.Optional[ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_allowed_values_enum.py b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_allowed_values_enum.py new file mode 100644 index 00000000..ca8eff62 --- /dev/null +++ b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_allowed_values_enum.py @@ -0,0 +1,14 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_profile_cross_app_access_resource_app_status_value_enum import ( + ConnectionProfileCrossAppAccessResourceAppStatusValueEnum, +) + +ConnectionProfileCrossAppAccessResourceAppStatusAllowedValuesEnum = typing.List[ + ConnectionProfileCrossAppAccessResourceAppStatusValueEnum +] +""" +The allowed Cross App Access resource app status values. +""" diff --git a/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_default_value_enum.py b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_default_value_enum.py new file mode 100644 index 00000000..74e7811c --- /dev/null +++ b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_default_value_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProfileCrossAppAccessResourceAppStatusDefaultValueEnum = typing.Union[ + typing.Literal["enabled", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_value_enum.py b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_value_enum.py new file mode 100644 index 00000000..9bcf2f41 --- /dev/null +++ b/src/auth0/management/types/connection_profile_cross_app_access_resource_app_status_value_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProfileCrossAppAccessResourceAppStatusValueEnum = typing.Union[ + typing.Literal["enabled", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/connection_profile_provisioning.py b/src/auth0/management/types/connection_profile_provisioning.py new file mode 100644 index 00000000..0766f512 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_provisioning_google_workspace import ConnectionProfileProvisioningGoogleWorkspace +from .connection_profile_provisioning_scim import ConnectionProfileProvisioningScim + + +class ConnectionProfileProvisioning(UniversalBaseModel): + """ + Provisioning settings for connections created from this profile. + """ + + scim: typing.Optional[ConnectionProfileProvisioningScim] = None + google_workspace: typing.Optional[ConnectionProfileProvisioningGoogleWorkspace] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_provisioning_google_workspace.py b/src/auth0/management/types/connection_profile_provisioning_google_workspace.py new file mode 100644 index 00000000..9c079d4d --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_google_workspace.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_provisioning_google_workspace_sync_users import ( + ConnectionProfileProvisioningGoogleWorkspaceSyncUsers, +) + + +class ConnectionProfileProvisioningGoogleWorkspace(UniversalBaseModel): + """ + Google Workspace provisioning settings. + """ + + sync_users: ConnectionProfileProvisioningGoogleWorkspaceSyncUsers + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_provisioning_google_workspace_sync_users.py b/src/auth0/management/types/connection_profile_provisioning_google_workspace_sync_users.py new file mode 100644 index 00000000..bf956297 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_google_workspace_sync_users.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionProfileProvisioningGoogleWorkspaceSyncUsers = bool +""" +Whether the connection is authorized to run Google Workspace user provisioning. +""" diff --git a/src/auth0/management/types/connection_profile_provisioning_scim.py b/src/auth0/management/types/connection_profile_provisioning_scim.py new file mode 100644 index 00000000..b586b08b --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_provisioning_scim_tokens import ConnectionProfileProvisioningScimTokens + + +class ConnectionProfileProvisioningScim(UniversalBaseModel): + """ + SCIM provisioning settings. + """ + + tokens: ConnectionProfileProvisioningScimTokens + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_provisioning_scim_token_default_expiry.py b/src/auth0/management/types/connection_profile_provisioning_scim_token_default_expiry.py new file mode 100644 index 00000000..3a3edd76 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim_token_default_expiry.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProfileProvisioningScimTokenDefaultExpiry = typing.Optional[int] +""" +The default SCIM token expiry, in seconds. `null` means the token never expires by default. +""" diff --git a/src/auth0/management/types/connection_profile_provisioning_scim_token_max_allowed_expiry.py b/src/auth0/management/types/connection_profile_provisioning_scim_token_max_allowed_expiry.py new file mode 100644 index 00000000..2a994e88 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim_token_max_allowed_expiry.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProfileProvisioningScimTokenMaxAllowedExpiry = typing.Optional[int] +""" +The maximum SCIM token expiry, in seconds. `null` means there is no maximum. +""" diff --git a/src/auth0/management/types/connection_profile_provisioning_scim_token_scope_enum.py b/src/auth0/management/types/connection_profile_provisioning_scim_token_scope_enum.py new file mode 100644 index 00000000..698d3fd8 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim_token_scope_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProfileProvisioningScimTokenScopeEnum = typing.Union[ + typing.Literal["get:users", "post:users", "patch:users", "delete:users", "put:users"], typing.Any +] diff --git a/src/auth0/management/types/connection_profile_provisioning_scim_token_scopes.py b/src/auth0/management/types/connection_profile_provisioning_scim_token_scopes.py new file mode 100644 index 00000000..bccfd280 --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim_token_scopes.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_profile_provisioning_scim_token_scope_enum import ConnectionProfileProvisioningScimTokenScopeEnum + +ConnectionProfileProvisioningScimTokenScopes = typing.List[ConnectionProfileProvisioningScimTokenScopeEnum] +""" +The scopes granted to SCIM tokens. +""" diff --git a/src/auth0/management/types/connection_profile_provisioning_scim_tokens.py b/src/auth0/management/types/connection_profile_provisioning_scim_tokens.py new file mode 100644 index 00000000..881fed9a --- /dev/null +++ b/src/auth0/management/types/connection_profile_provisioning_scim_tokens.py @@ -0,0 +1,32 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_provisioning_scim_token_default_expiry import ( + ConnectionProfileProvisioningScimTokenDefaultExpiry, +) +from .connection_profile_provisioning_scim_token_max_allowed_expiry import ( + ConnectionProfileProvisioningScimTokenMaxAllowedExpiry, +) +from .connection_profile_provisioning_scim_token_scopes import ConnectionProfileProvisioningScimTokenScopes + + +class ConnectionProfileProvisioningScimTokens(UniversalBaseModel): + """ + SCIM token settings for connections created from this profile. + """ + + scopes: ConnectionProfileProvisioningScimTokenScopes + default_expiry: typing.Optional[ConnectionProfileProvisioningScimTokenDefaultExpiry] = None + max_allowed_expiry: typing.Optional[ConnectionProfileProvisioningScimTokenMaxAllowedExpiry] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_strategy_override.py b/src/auth0/management/types/connection_profile_strategy_override.py index 8ac61c9d..b53366f8 100644 --- a/src/auth0/management/types/connection_profile_strategy_override.py +++ b/src/auth0/management/types/connection_profile_strategy_override.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .connection_profile_strategy_overrides_connection_config import ConnectionProfileStrategyOverridesConnectionConfig from .connection_profile_strategy_overrides_enabled_features import ConnectionProfileStrategyOverridesEnabledFeatures +from .connection_profile_strategy_overrides_provisioning import ConnectionProfileStrategyOverridesProvisioning class ConnectionProfileStrategyOverride(UniversalBaseModel): @@ -15,6 +16,7 @@ class ConnectionProfileStrategyOverride(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileStrategyOverridesEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileStrategyOverridesConnectionConfig] = None + provisioning: typing.Optional[ConnectionProfileStrategyOverridesProvisioning] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_profile_strategy_overrides_provisioning.py b/src/auth0/management/types/connection_profile_strategy_overrides_provisioning.py new file mode 100644 index 00000000..54f070c1 --- /dev/null +++ b/src/auth0/management/types/connection_profile_strategy_overrides_provisioning.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_profile_provisioning_google_workspace import ConnectionProfileProvisioningGoogleWorkspace +from .connection_profile_provisioning_scim import ConnectionProfileProvisioningScim + + +class ConnectionProfileStrategyOverridesProvisioning(UniversalBaseModel): + """ + Provisioning settings for a connection profile strategy override. + """ + + scim: typing.Optional[ConnectionProfileProvisioningScim] = None + google_workspace: typing.Optional[ConnectionProfileProvisioningGoogleWorkspace] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_profile_template.py b/src/auth0/management/types/connection_profile_template.py index bc7fb7d1..5a8d16bb 100644 --- a/src/auth0/management/types/connection_profile_template.py +++ b/src/auth0/management/types/connection_profile_template.py @@ -9,6 +9,7 @@ from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_name import ConnectionProfileName from .connection_profile_organization import ConnectionProfileOrganization +from .connection_profile_provisioning import ConnectionProfileProvisioning from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides @@ -23,6 +24,7 @@ class ConnectionProfileTemplate(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileConfig] = None strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = None + provisioning: typing.Optional[ConnectionProfileProvisioning] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_properties_options.py b/src/auth0/management/types/connection_properties_options.py index 6fb288da..6de1dc9e 100644 --- a/src/auth0/management/types/connection_properties_options.py +++ b/src/auth0/management/types/connection_properties_options.py @@ -11,11 +11,12 @@ from .connection_authentication_methods import ConnectionAuthenticationMethods from .connection_custom_scripts import ConnectionCustomScripts from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum -from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens +from .connection_enable_pushed_authorization_requests import ConnectionEnablePushedAuthorizationRequests from .connection_gateway_authentication import ConnectionGatewayAuthentication from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs from .connection_identifier_precedence_enum import ConnectionIdentifierPrecedenceEnum +from .connection_otp_settings import ConnectionOtpSettings from .connection_passkey_options import ConnectionPasskeyOptions from .connection_password_complexity_options import ConnectionPasswordComplexityOptions from .connection_password_dictionary_options import ConnectionPasswordDictionaryOptions @@ -23,12 +24,18 @@ from .connection_password_no_personal_info_options import ConnectionPasswordNoPersonalInfoOptions from .connection_password_options import ConnectionPasswordOptions from .connection_password_policy_enum import ConnectionPasswordPolicyEnum +from .connection_pushed_authorization_request_endpoint import ConnectionPushedAuthorizationRequestEndpoint from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_thumbprints import ConnectionThumbprints +from .connection_thumbprints_sha_384 import ConnectionThumbprintsSha384 from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum from .connection_token_endpoint_auth_signing_alg_enum import ConnectionTokenEndpointAuthSigningAlgEnum from .connection_token_endpoint_jwtca_aud_format_enum_oidc import ConnectionTokenEndpointJwtcaAudFormatEnumOidc from .connection_upstream_params import ConnectionUpstreamParams +from .connection_use_oauth_spec_scope import ConnectionUseOauthSpecScope from .connection_validation_options import ConnectionValidationOptions +from .connections_discovery_url import ConnectionsDiscoveryUrl +from .connections_oidc_metadata import ConnectionsOidcMetadata class ConnectionPropertiesOptions(UniversalBaseModel): @@ -58,6 +65,10 @@ class ConnectionPropertiesOptions(UniversalBaseModel): FieldMetadata(alias="enabledDatabaseCustomization"), pydantic.Field(alias="enabledDatabaseCustomization", description="Set to true to use a legacy user store"), ] = None + """ + Set to true to use a legacy user store + """ + import_mode: typing.Optional[bool] = pydantic.Field(default=None) """ Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store @@ -73,6 +84,7 @@ class ConnectionPropertiesOptions(UniversalBaseModel): FieldMetadata(alias="customScripts"), pydantic.Field(alias="customScripts"), ] = None + otp_settings: typing.Optional[ConnectionOtpSettings] = None authentication_methods: typing.Optional[ConnectionAuthenticationMethods] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ @@ -97,15 +109,39 @@ class ConnectionPropertiesOptions(UniversalBaseModel): upstream_params: typing.Optional[ConnectionUpstreamParams] = None set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None gateway_authentication: typing.Optional[ConnectionGatewayAuthentication] = None - federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None password_options: typing.Optional[ConnectionPasswordOptions] = None assertion_decryption_settings: typing.Optional[ConnectionAssertionDecryptionSettings] = None id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None dpop_signing_alg: typing.Optional[ConnectionDpopSigningAlgEnum] = None + enable_pushed_authorization_requests: typing.Optional[ConnectionEnablePushedAuthorizationRequests] = None + pushed_authorization_request_endpoint: typing.Optional[ConnectionPushedAuthorizationRequestEndpoint] = None token_endpoint_auth_method: typing.Optional[ConnectionTokenEndpointAuthMethodEnum] = None token_endpoint_auth_signing_alg: typing.Optional[ConnectionTokenEndpointAuthSigningAlgEnum] = None token_endpoint_jwtca_aud_format: typing.Optional[ConnectionTokenEndpointJwtcaAudFormatEnumOidc] = None id_token_session_expiry_supported: typing.Optional[ConnectionIdTokenSessionExpirySupported] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[ConnectionUseOauthSpecScope], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field(alias="useOauthSpecScope"), + ] = None + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID registered with the identity provider + """ + + allowed_audiences: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional Google client IDs accepted as the `aud` (audience) of Google ID tokens, used by Google native login and Google Streamlined Linking. + """ + + discovery_url: typing.Optional[ConnectionsDiscoveryUrl] = None + oidc_metadata: typing.Optional[ConnectionsOidcMetadata] = None + thumbprints: typing.Optional[ConnectionThumbprints] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_pushed_authorization_request_endpoint.py b/src/auth0/management/types/connection_pushed_authorization_request_endpoint.py new file mode 100644 index 00000000..a10390f5 --- /dev/null +++ b/src/auth0/management/types/connection_pushed_authorization_request_endpoint.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionPushedAuthorizationRequestEndpoint = str +""" +URL of the identity provider's Pushed Authorization Request (PAR) endpoint, as per https://datatracker.ietf.org/doc/html/rfc9126. Must use HTTPS scheme. +""" diff --git a/src/auth0/management/types/connection_require_pushed_authorization_requests.py b/src/auth0/management/types/connection_require_pushed_authorization_requests.py new file mode 100644 index 00000000..3377cf51 --- /dev/null +++ b/src/auth0/management/types/connection_require_pushed_authorization_requests.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionRequirePushedAuthorizationRequests = bool +""" +Boolean parameter indicating whether the identity provider requires Pushed Authorization Requests (PAR), as per https://datatracker.ietf.org/doc/html/rfc9126. Discovered from the identity provider's metadata; not used to decide whether the server performs PAR. +""" diff --git a/src/auth0/management/types/connection_response_common.py b/src/auth0/management/types/connection_response_common.py index 9bc63e2c..029db176 100644 --- a/src/auth0/management/types/connection_response_common.py +++ b/src/auth0/management/types/connection_response_common.py @@ -3,15 +3,27 @@ import typing import pydantic -from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_display_name import ConnectionDisplayName from .connection_id import ConnectionId +from .connection_is_domain_connection import ConnectionIsDomainConnection +from .connection_name import ConnectionName from .connection_realms import ConnectionRealms -from .create_connection_common import CreateConnectionCommon +from .connections_metadata import ConnectionsMetadata -class ConnectionResponseCommon(CreateConnectionCommon): +class ConnectionResponseCommon(UniversalBaseModel): + display_name: ConnectionDisplayName id: ConnectionId realms: typing.Optional[ConnectionRealms] = None + name: ConnectionName + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + is_domain_connection: typing.Optional[ConnectionIsDomainConnection] = None + metadata: typing.Optional[ConnectionsMetadata] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_oidc.py b/src/auth0/management/types/connection_response_content_oidc.py index fc5a3346..99d46a58 100644 --- a/src/auth0/management/types/connection_response_content_oidc.py +++ b/src/auth0/management/types/connection_response_content_oidc.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_authentication_purpose import ConnectionAuthenticationPurpose from .connection_connected_accounts_purpose_xaa import ConnectionConnectedAccountsPurposeXaa +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_oidc import ConnectionOptionsOidc from .connection_response_common import ConnectionResponseCommon from .connection_response_content_oidc_strategy import ConnectionResponseContentOidcStrategy @@ -22,6 +23,7 @@ class ConnectionResponseContentOidc(ConnectionResponseCommon): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None options: typing.Optional[ConnectionOptionsOidc] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None diff --git a/src/auth0/management/types/connection_response_content_saml.py b/src/auth0/management/types/connection_response_content_saml.py index 46127f12..914fef66 100644 --- a/src/auth0/management/types/connection_response_content_saml.py +++ b/src/auth0/management/types/connection_response_content_saml.py @@ -4,12 +4,14 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_saml import ConnectionOptionsSaml from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_purposes import ConnectionPurposes from .connection_response_common import ConnectionResponseCommon from .connection_response_content_saml_strategy import ConnectionResponseContentSamlStrategy from .connection_show_as_button import ConnectionShowAsButton +from .cross_app_access_requesting_app import CrossAppAccessRequestingApp class ConnectionResponseContentSaml(ConnectionPurposes, ConnectionResponseCommon): @@ -18,6 +20,8 @@ class ConnectionResponseContentSaml(ConnectionPurposes, ConnectionResponseCommon """ strategy: ConnectionResponseContentSamlStrategy + cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None options: typing.Optional[ConnectionOptionsSaml] = None provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None diff --git a/src/auth0/management/types/connection_scripts_o_auth_1.py b/src/auth0/management/types/connection_scripts_o_auth_1.py index ce70a1c2..9006cc71 100644 --- a/src/auth0/management/types/connection_scripts_o_auth_1.py +++ b/src/auth0/management/types/connection_scripts_o_auth_1.py @@ -21,6 +21,9 @@ class ConnectionScriptsOAuth1(UniversalBaseModel): description="Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used.", ), ] = None + """ + Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_scripts_o_auth_2.py b/src/auth0/management/types/connection_scripts_o_auth_2.py index 1a555a3a..5005b3ba 100644 --- a/src/auth0/management/types/connection_scripts_o_auth_2.py +++ b/src/auth0/management/types/connection_scripts_o_auth_2.py @@ -21,6 +21,10 @@ class ConnectionScriptsOAuth2(UniversalBaseModel): description="Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used.", ), ] = None + """ + Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used. + """ + get_logout_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="getLogoutUrl"), @@ -29,6 +33,9 @@ class ConnectionScriptsOAuth2(UniversalBaseModel): description="Custom JavaScript function to dynamically construct the logout URL for the identity provider. Called with the request query parameters and must invoke a callback with the logout URL. Only used if 'logoutUrl' is not configured. Executed in a sandboxed environment.", ), ] = None + """ + Custom JavaScript function to dynamically construct the logout URL for the identity provider. Called with the request query parameters and must invoke a callback with the logout URL. Only used if 'logoutUrl' is not configured. Executed in a sandboxed environment. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_strategy_enum.py b/src/auth0/management/types/connection_strategy_enum.py index 0818f0e3..d54edf12 100644 --- a/src/auth0/management/types/connection_strategy_enum.py +++ b/src/auth0/management/types/connection_strategy_enum.py @@ -59,6 +59,15 @@ "wordpress", "yahoo", "yandex", + "notion-mcp", + "asana", + "atlassian", + "cloudflare-mcp", + "gitlab", + "hubspot-mcp", + "linear-mcp", + "sentry-mcp", + "slack", "auth0-adldap", ], typing.Any, diff --git a/src/auth0/management/types/connection_thumbprints.py b/src/auth0/management/types/connection_thumbprints.py index fff89341..8764f29a 100644 --- a/src/auth0/management/types/connection_thumbprints.py +++ b/src/auth0/management/types/connection_thumbprints.py @@ -4,5 +4,5 @@ ConnectionThumbprints = typing.List[str] """ -Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. +Array of certificate thumbprints (SHA-128 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. """ diff --git a/src/auth0/management/types/connection_thumbprints_sha_384.py b/src/auth0/management/types/connection_thumbprints_sha_384.py new file mode 100644 index 00000000..cce1b26f --- /dev/null +++ b/src/auth0/management/types/connection_thumbprints_sha_384.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionThumbprintsSha384 = typing.List[str] +""" +Array of certificate thumbprints (SHA-384 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a 96-character hexadecimal string. +""" diff --git a/src/auth0/management/types/connection_thumbprints_sha_384_ad.py b/src/auth0/management/types/connection_thumbprints_sha_384_ad.py new file mode 100644 index 00000000..2e4f4800 --- /dev/null +++ b/src/auth0/management/types/connection_thumbprints_sha_384_ad.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionThumbprintsSha384Ad = typing.List[str] +""" +Array of certificate SHA-384 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. +""" diff --git a/src/auth0/management/types/connection_thumbprints_sha_384_saml.py b/src/auth0/management/types/connection_thumbprints_sha_384_saml.py new file mode 100644 index 00000000..fb1a7be5 --- /dev/null +++ b/src/auth0/management/types/connection_thumbprints_sha_384_saml.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionThumbprintsSha384Saml = typing.List[str] +""" +SHA-384 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 96-character hexadecimal string. +""" diff --git a/src/auth0/management/types/connection_use_oauth_spec_scope.py b/src/auth0/management/types/connection_use_oauth_spec_scope.py new file mode 100644 index 00000000..79ee599a --- /dev/null +++ b/src/auth0/management/types/connection_use_oauth_spec_scope.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionUseOauthSpecScope = bool +""" +When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint +""" diff --git a/src/auth0/management/types/connections_discovery_url.py b/src/auth0/management/types/connections_discovery_url.py new file mode 100644 index 00000000..7da38dad --- /dev/null +++ b/src/auth0/management/types/connections_discovery_url.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionsDiscoveryUrl = typing.Optional[str] +""" +URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Only applicable when strategy=oidc, okta, or samlp. +""" diff --git a/src/auth0/management/types/connections_oidc_metadata.py b/src/auth0/management/types/connections_oidc_metadata.py new file mode 100644 index 00000000..342165f9 --- /dev/null +++ b/src/auth0/management/types/connections_oidc_metadata.py @@ -0,0 +1,216 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionsOidcMetadata(UniversalBaseModel): + """ + Additional OIDC metadata to include in the discovery document. Only applicable when strategy=oidc, okta, or samlp. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + id_token_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the display parameter values that the OpenID Provider supports. These values are described in Section 3.1.2.1 of OpenID Connect Core 1.0 [OpenID.Core] + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + pushed_authorization_request_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's Pushed Authorization Request (PAR) endpoint, as per https://datatracker.ietf.org/doc/html/rfc9126. Must use HTTPS scheme. + """ + + require_pushed_authorization_requests: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean parameter indicating whether the identity provider requires Pushed Authorization Requests (PAR), as per https://datatracker.ietf.org/doc/html/rfc9126. Discovered from the identity provider's metadata; not used to decide whether the server performs PAR. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/consent_signing_key.py b/src/auth0/management/types/consent_signing_key.py new file mode 100644 index 00000000..0e83131d --- /dev/null +++ b/src/auth0/management/types/consent_signing_key.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConsentSigningKey(UniversalBaseModel): + kid: str = pydantic.Field() + """ + The key identifier of the consent signing key. + """ + + device_identifier: str = pydantic.Field() + """ + A human-readable label for the device holding the corresponding private key. + """ + + created_at: dt.datetime = pydantic.Field() + """ + The ISO 8601 timestamp at which the key was registered. + """ + + expires_at: dt.datetime = pydantic.Field() + """ + The ISO 8601 timestamp at which the key expires and can no longer be used to verify consent decisions. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_anonymous_sessions.py b/src/auth0/management/types/create_anonymous_sessions.py new file mode 100644 index 00000000..94837280 --- /dev/null +++ b/src/auth0/management/types/create_anonymous_sessions.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class CreateAnonymousSessions(UniversalBaseModel): + """ + Anonymous sessions configuration for this client. + """ + + active: bool = pydantic.Field() + """ + If set to true, this client is allowed to create anonymous sessions. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_branding_theme_response_content.py b/src/auth0/management/types/create_branding_theme_response_content.py index d92bbadc..8ebb6bfb 100644 --- a/src/auth0/management/types/create_branding_theme_response_content.py +++ b/src/auth0/management/types/create_branding_theme_response_content.py @@ -9,6 +9,7 @@ from .branding_theme_borders import BrandingThemeBorders from .branding_theme_colors import BrandingThemeColors from .branding_theme_fonts import BrandingThemeFonts +from .branding_theme_identifiers import BrandingThemeIdentifiers from .branding_theme_page_background import BrandingThemePageBackground from .branding_theme_widget import BrandingThemeWidget @@ -19,11 +20,20 @@ class CreateBrandingThemeResponseContent(UniversalBaseModel): display_name: typing_extensions.Annotated[ str, FieldMetadata(alias="displayName"), pydantic.Field(alias="displayName", description="Display Name") ] + """ + Display Name + """ + fonts: BrandingThemeFonts + identifiers: typing.Optional[BrandingThemeIdentifiers] = None page_background: BrandingThemePageBackground theme_id: typing_extensions.Annotated[ str, FieldMetadata(alias="themeId"), pydantic.Field(alias="themeId", description="Theme Id") ] + """ + Theme Id + """ + widget: BrandingThemeWidget if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_client_response_content.py b/src/auth0/management/types/create_client_response_content.py index 2b41bc67..0f86e9a0 100644 --- a/src/auth0/management/types/create_client_response_content.py +++ b/src/auth0/management/types/create_client_response_content.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +import datetime as dt import typing import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration from .client_addons import ClientAddons +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_post_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -16,12 +20,14 @@ from .client_default_organization import ClientDefaultOrganization from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_metadata import ClientMetadata from .client_mobile import ClientMobile from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum @@ -36,6 +42,8 @@ from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId from .express_configuration import ExpressConfiguration from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .native_social_login import NativeSocialLogin from .token_quota import TokenQuota @@ -46,6 +54,16 @@ class CreateClientResponseContent(UniversalBaseModel): ID of this client. """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + tenant: typing.Optional[str] = pydantic.Field(default=None) """ Name of the tenant this client belongs to. @@ -69,6 +87,10 @@ class CreateClientResponseContent(UniversalBaseModel): description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", ), ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + client_secret: typing.Optional[str] = pydantic.Field(default=None) """ Client secret (which you must not make public). @@ -226,8 +248,20 @@ class CreateClientResponseContent(UniversalBaseModel): token_quota: typing.Optional[TokenQuota] = None express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) """ @@ -239,6 +273,12 @@ class CreateClientResponseContent(UniversalBaseModel): ] = None external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + external_client_id: typing.Optional[str] = pydantic.Field(default=None) """ An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. diff --git a/src/auth0/management/types/create_connection_profile_response_content.py b/src/auth0/management/types/create_connection_profile_response_content.py index fb227f61..4859e31d 100644 --- a/src/auth0/management/types/create_connection_profile_response_content.py +++ b/src/auth0/management/types/create_connection_profile_response_content.py @@ -6,10 +6,12 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .connection_name_prefix_template import ConnectionNamePrefixTemplate from .connection_profile_config import ConnectionProfileConfig +from .connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_id import ConnectionProfileId from .connection_profile_name import ConnectionProfileName from .connection_profile_organization import ConnectionProfileOrganization +from .connection_profile_provisioning import ConnectionProfileProvisioning from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides @@ -21,6 +23,8 @@ class CreateConnectionProfileResponseContent(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileConfig] = None strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = None + provisioning: typing.Optional[ConnectionProfileProvisioning] = None + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_oidc.py b/src/auth0/management/types/create_connection_request_content_oidc.py index 77bc6987..932970ab 100644 --- a/src/auth0/management/types/create_connection_request_content_oidc.py +++ b/src/auth0/management/types/create_connection_request_content_oidc.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_authentication_purpose import ConnectionAuthenticationPurpose from .connection_connected_accounts_purpose_xaa import ConnectionConnectedAccountsPurposeXaa +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_oidc import ConnectionOptionsOidc from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon @@ -22,6 +23,7 @@ class CreateConnectionRequestContentOidc(CreateConnectionCommon): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None options: typing.Optional[ConnectionOptionsOidc] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None diff --git a/src/auth0/management/types/create_connection_request_content_saml.py b/src/auth0/management/types/create_connection_request_content_saml.py index 1e91476e..ff1e3958 100644 --- a/src/auth0/management/types/create_connection_request_content_saml.py +++ b/src/auth0/management/types/create_connection_request_content_saml.py @@ -4,10 +4,12 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_saml import ConnectionOptionsSaml from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon from .create_connection_request_content_saml_strategy import CreateConnectionRequestContentSamlStrategy +from .cross_app_access_requesting_app import CrossAppAccessRequestingApp class CreateConnectionRequestContentSaml(CreateConnectionCommon): @@ -16,6 +18,8 @@ class CreateConnectionRequestContentSaml(CreateConnectionCommon): """ strategy: CreateConnectionRequestContentSamlStrategy + cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None options: typing.Optional[ConnectionOptionsSaml] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None diff --git a/src/auth0/management/types/create_connection_response_content.py b/src/auth0/management/types/create_connection_response_content.py index e63dcaa3..2f9510dd 100644 --- a/src/auth0/management/types/create_connection_response_content.py +++ b/src/auth0/management/types/create_connection_response_content.py @@ -9,6 +9,7 @@ from .connection_options import ConnectionOptions from .connections_metadata import ConnectionsMetadata from .cross_app_access_requesting_app import CrossAppAccessRequestingApp +from .cross_app_access_resource_app import CrossAppAccessResourceApp class CreateConnectionResponseContent(UniversalBaseModel): @@ -57,6 +58,7 @@ class CreateConnectionResponseContent(UniversalBaseModel): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[CrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_cross_app_access_resource_app.py b/src/auth0/management/types/create_cross_app_access_resource_app.py new file mode 100644 index 00000000..d80b9081 --- /dev/null +++ b/src/auth0/management/types/create_cross_app_access_resource_app.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .cross_app_access_resource_app_status_enum import CrossAppAccessResourceAppStatusEnum + + +class CreateCrossAppAccessResourceApp(UniversalBaseModel): + """ + Cross App Access - Resource App settings that apply to this connection. + """ + + status: CrossAppAccessResourceAppStatusEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_email_template_response_content.py b/src/auth0/management/types/create_email_template_response_content.py index 7758c090..9fdf50b5 100644 --- a/src/auth0/management/types/create_email_template_response_content.py +++ b/src/auth0/management/types/create_email_template_response_content.py @@ -21,11 +21,19 @@ class CreateEmailTemplateResponseContent(UniversalBaseModel): FieldMetadata(alias="from"), pydantic.Field(alias="from", description="Senders `from` email address."), ] = None + """ + Senders `from` email address. + """ + result_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="resultUrl"), pydantic.Field(alias="resultUrl", description="URL to redirect the user to after a successful action."), ] = None + """ + URL to redirect the user to after a successful action. + """ + subject: typing.Optional[str] = pydantic.Field(default=None) """ Subject line of the email. @@ -44,6 +52,10 @@ class CreateEmailTemplateResponseContent(UniversalBaseModel): description="Lifetime in seconds that the link within the email will be valid for.", ), ] = None + """ + Lifetime in seconds that the link within the email will be valid for. + """ + include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect"), @@ -52,6 +64,10 @@ class CreateEmailTemplateResponseContent(UniversalBaseModel): description="Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.", ), ] = None + """ + Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + """ + enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the template is enabled (true) or disabled (false). diff --git a/src/auth0/management/types/create_experiment_response_content.py b/src/auth0/management/types/create_experiment_response_content.py new file mode 100644 index 00000000..ef0de3f1 --- /dev/null +++ b/src/auth0/management/types/create_experiment_response_content.py @@ -0,0 +1,58 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .allocation_item import AllocationItem +from .allocation_strategy_enum import AllocationStrategyEnum +from .default_config_enum import DefaultConfigEnum +from .experiment_status_enum import ExperimentStatusEnum + + +class CreateExperimentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + feature_flag_id: str + feature_flag_name: typing.Optional[str] = None + authentication_flow: str + allocation_strategy: AllocationStrategyEnum + status: ExperimentStatusEnum + is_valid: bool = pydantic.Field() + """ + Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. + """ + + default_config: typing.Optional[DefaultConfigEnum] = None + feature_flag_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + allocations: typing.List[AllocationItem] + editable_fields: typing.List[str] = pydantic.Field() + """ + Fields that may be mutated given the experiment's current status. Computed at response time; always current with the API's enforcement logic. + """ + + levels: typing.Optional[typing.List[int]] = pydantic.Field(default=None) + """ + Ramp experiment levels configuration. + """ + + current_level: typing.Optional[int] = pydantic.Field(default=None) + """ + Read-only. The active exposure percentage for the current ramp step. Null when no ramp schedule is active. + """ + + started_at: typing.Optional[dt.datetime] = None + ended_at: typing.Optional[dt.datetime] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_feature_flag_parameters.py b/src/auth0/management/types/create_feature_flag_parameters.py new file mode 100644 index 00000000..4b6ba458 --- /dev/null +++ b/src/auth0/management/types/create_feature_flag_parameters.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .feature_flag_config_param import FeatureFlagConfigParam + +CreateFeatureFlagParameters = typing.Dict[str, FeatureFlagConfigParam] +""" +Configuration parameters for this feature flag +""" diff --git a/src/auth0/management/types/create_feature_flag_response_content.py b/src/auth0/management/types/create_feature_flag_response_content.py new file mode 100644 index 00000000..938d278f --- /dev/null +++ b/src/auth0/management/types/create_feature_flag_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag_config_params import FeatureFlagConfigParams +from .feature_flag_status_enum import FeatureFlagStatusEnum +from .feature_flag_type_enum import FeatureFlagTypeEnum + + +class CreateFeatureFlagResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: FeatureFlagTypeEnum + status: FeatureFlagStatusEnum + parameters: typing.Optional[FeatureFlagConfigParams] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_hook_response_content.py b/src/auth0/management/types/create_hook_response_content.py index a011a94e..266cb16f 100644 --- a/src/auth0/management/types/create_hook_response_content.py +++ b/src/auth0/management/types/create_hook_response_content.py @@ -15,6 +15,10 @@ class CreateHookResponseContent(UniversalBaseModel): FieldMetadata(alias="triggerId"), pydantic.Field(alias="triggerId", description="Trigger ID"), ] = None + """ + Trigger ID + """ + id: typing.Optional[str] = pydantic.Field(default=None) """ ID of this hook. diff --git a/src/auth0/management/types/create_identity_assertion_authorization_grant.py b/src/auth0/management/types/create_identity_assertion_authorization_grant.py new file mode 100644 index 00000000..f4f7e001 --- /dev/null +++ b/src/auth0/management/types/create_identity_assertion_authorization_grant.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class CreateIdentityAssertionAuthorizationGrant(UniversalBaseModel): + """ + Configuration on the use of ID-JAGs for Cross App Access. + """ + + active: bool = pydantic.Field() + """ + If set to true, the client can exchange ID-JAGs for access tokens. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_keys_network_acls_response_content.py b/src/auth0/management/types/create_keys_network_acls_response_content.py new file mode 100644 index 00000000..7d000f97 --- /dev/null +++ b/src/auth0/management/types/create_keys_network_acls_response_content.py @@ -0,0 +1,44 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .network_acl_key_algorithm_enum import NetworkAclKeyAlgorithmEnum + + +class CreateKeysNetworkAclsResponseContent(UniversalBaseModel): + id: str = pydantic.Field() + """ + Auth0-generated identifier for the key. Used to reference the key from a Network ACL and to identify it in Tenant Logs. + """ + + name: str = pydantic.Field() + """ + Customer-supplied label with no cryptographic meaning. + """ + + alg: NetworkAclKeyAlgorithmEnum + fingerprint: str = pydantic.Field() + """ + Fingerprint of the key material, determined by the algorithm specified. Currently only HMAC-SHA256 is supported. + """ + + created_at: str = pydantic.Field() + """ + Time when the key was created. + """ + + updated_at: str = pydantic.Field() + """ + Time when the key was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_log_stream_datadog_request_body.py b/src/auth0/management/types/create_log_stream_datadog_request_body.py index 2feb733f..93e55835 100644 --- a/src/auth0/management/types/create_log_stream_datadog_request_body.py +++ b/src/auth0/management/types/create_log_stream_datadog_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamDatadogRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamDatadogRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_event_bridge_request_body.py b/src/auth0/management/types/create_log_stream_event_bridge_request_body.py index 7d15711c..94e1765d 100644 --- a/src/auth0/management/types/create_log_stream_event_bridge_request_body.py +++ b/src/auth0/management/types/create_log_stream_event_bridge_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamEventBridgeRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamEventBridgeRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_event_grid_request_body.py b/src/auth0/management/types/create_log_stream_event_grid_request_body.py index b7607dc4..97e0c8e8 100644 --- a/src/auth0/management/types/create_log_stream_event_grid_request_body.py +++ b/src/auth0/management/types/create_log_stream_event_grid_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamEventGridRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamEventGridRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_http_request_body.py b/src/auth0/management/types/create_log_stream_http_request_body.py index b8ef0181..c2d53b84 100644 --- a/src/auth0/management/types/create_log_stream_http_request_body.py +++ b/src/auth0/management/types/create_log_stream_http_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamHttpRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamHttpRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_mixpanel_request_body.py b/src/auth0/management/types/create_log_stream_mixpanel_request_body.py index 3ad4da91..ea61381d 100644 --- a/src/auth0/management/types/create_log_stream_mixpanel_request_body.py +++ b/src/auth0/management/types/create_log_stream_mixpanel_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamMixpanelRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamMixpanelRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_segment_request_body.py b/src/auth0/management/types/create_log_stream_segment_request_body.py index 87f5daca..b08952be 100644 --- a/src/auth0/management/types/create_log_stream_segment_request_body.py +++ b/src/auth0/management/types/create_log_stream_segment_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamSegmentRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamSegmentRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_splunk_request_body.py b/src/auth0/management/types/create_log_stream_splunk_request_body.py index f4d63f72..9737b93d 100644 --- a/src/auth0/management/types/create_log_stream_splunk_request_body.py +++ b/src/auth0/management/types/create_log_stream_splunk_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamSplunkRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamSplunkRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_log_stream_sumo_request_body.py b/src/auth0/management/types/create_log_stream_sumo_request_body.py index 9fea23d0..5165cbb0 100644 --- a/src/auth0/management/types/create_log_stream_sumo_request_body.py +++ b/src/auth0/management/types/create_log_stream_sumo_request_body.py @@ -24,6 +24,10 @@ class CreateLogStreamSumoRequestBody(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. @@ -36,6 +40,9 @@ class CreateLogStreamSumoRequestBody(UniversalBaseModel): FieldMetadata(alias="startFrom"), pydantic.Field(alias="startFrom", description="The optional datetime (ISO 8601) to start streaming logs from"), ] = None + """ + The optional datetime (ISO 8601) to start streaming logs from + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_organization_all_connection_response_content.py b/src/auth0/management/types/create_organization_all_connection_response_content.py index 46871fa7..d15e2dfa 100644 --- a/src/auth0/management/types/create_organization_all_connection_response_content.py +++ b/src/auth0/management/types/create_organization_all_connection_response_content.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_access_level_enum import OrganizationAccessLevelEnum from .organization_connection_information import OrganizationConnectionInformation +from .organization_member_access_level_enum import OrganizationMemberAccessLevelEnum class CreateOrganizationAllConnectionResponseContent(UniversalBaseModel): @@ -30,6 +31,7 @@ class CreateOrganizationAllConnectionResponseContent(UniversalBaseModel): """ organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = None + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = None is_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the connection is enabled for the organization. diff --git a/src/auth0/management/types/create_organization_client_request_item.py b/src/auth0/management/types/create_organization_client_request_item.py new file mode 100644 index 00000000..338e1f26 --- /dev/null +++ b/src/auth0/management/types/create_organization_client_request_item.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class CreateOrganizationClientRequestItem(UniversalBaseModel): + client_id: str = pydantic.Field() + """ + The identifier of the client to associate. + """ + + use_for_member_access: bool = pydantic.Field() + """ + Whether this client is used for member access to the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_organization_clients_response_content.py b/src/auth0/management/types/create_organization_clients_response_content.py new file mode 100644 index 00000000..63832aa9 --- /dev/null +++ b/src/auth0/management/types/create_organization_clients_response_content.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .organization_client import OrganizationClient + +CreateOrganizationClientsResponseContent = typing.List[OrganizationClient] diff --git a/src/auth0/management/types/create_organization_response_content.py b/src/auth0/management/types/create_organization_response_content.py index be7d7b90..40f805d8 100644 --- a/src/auth0/management/types/create_organization_response_content.py +++ b/src/auth0/management/types/create_organization_response_content.py @@ -5,8 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_branding import OrganizationBranding +from .organization_client_association import OrganizationClientAssociation from .organization_enabled_connection import OrganizationEnabledConnection from .organization_metadata import OrganizationMetadata +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .token_quota import TokenQuota @@ -29,6 +31,13 @@ class CreateOrganizationResponseContent(UniversalBaseModel): branding: typing.Optional[OrganizationBranding] = None metadata: typing.Optional[OrganizationMetadata] = None token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + client: typing.Optional[OrganizationClientAssociation] = None enabled_connections: typing.Optional[typing.List[OrganizationEnabledConnection]] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_resource_server_response_content.py b/src/auth0/management/types/create_resource_server_response_content.py index 537200a9..b9066934 100644 --- a/src/auth0/management/types/create_resource_server_response_content.py +++ b/src/auth0/management/types/create_resource_server_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token import ResourceServerAccessToken +from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from .resource_server_proof_of_possession import ResourceServerProofOfPossession @@ -11,6 +13,7 @@ from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from .resource_server_token_dialect_response_enum import ResourceServerTokenDialectResponseEnum from .resource_server_token_encryption import ResourceServerTokenEncryption +from .resource_server_type_enum import ResourceServerTypeEnum from .signing_algorithm_enum import SigningAlgorithmEnum @@ -81,9 +84,20 @@ class CreateResourceServerResponseContent(UniversalBaseModel): Whether authorization polices are enforced (true) or unenforced (false). """ + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + """ + token_dialect: typing.Optional[ResourceServerTokenDialectResponseEnum] = None + access_token: typing.Optional[ResourceServerAccessToken] = None token_encryption: typing.Optional[ResourceServerTokenEncryption] = None consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = None + require_consent_non_repudiation: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + """ + authorization_details: typing.Optional[typing.List[typing.Any]] = None proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = None subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = None @@ -93,6 +107,9 @@ class CreateResourceServerResponseContent(UniversalBaseModel): The client ID of the client that this resource server is linked to """ + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsResponseEnum] = None + type: typing.Optional[ResourceServerTypeEnum] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/create_role_response_content.py b/src/auth0/management/types/create_role_response_content.py index 7dafd79e..9137a164 100644 --- a/src/auth0/management/types/create_role_response_content.py +++ b/src/auth0/management/types/create_role_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_owner_id import RoleOwnerId +from .role_type_enum import RoleTypeEnum class CreateRoleResponseContent(UniversalBaseModel): @@ -22,6 +24,9 @@ class CreateRoleResponseContent(UniversalBaseModel): Description of this role. """ + type: typing.Optional[RoleTypeEnum] = None + owner_id: typing.Optional[RoleOwnerId] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/create_segment_response_content.py b/src/auth0/management/types/create_segment_response_content.py new file mode 100644 index 00000000..a6404cfa --- /dev/null +++ b/src/auth0/management/types/create_segment_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_rule import SegmentRule +from .segment_status_enum import SegmentStatusEnum +from .segment_type_enum import SegmentTypeEnum + + +class CreateSegmentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: SegmentTypeEnum + status: SegmentStatusEnum + rules: typing.List[SegmentRule] + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/federated_connection_token_set.py b/src/auth0/management/types/create_variation_response_content.py similarity index 59% rename from src/auth0/management/types/federated_connection_token_set.py rename to src/auth0/management/types/create_variation_response_content.py index 7e91759d..e7da6aeb 100644 --- a/src/auth0/management/types/federated_connection_token_set.py +++ b/src/auth0/management/types/create_variation_response_content.py @@ -5,15 +5,17 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .variation_overrides_map import VariationOverridesMap -class FederatedConnectionTokenSet(UniversalBaseModel): - id: typing.Optional[str] = None - connection: typing.Optional[str] = None - scope: typing.Optional[str] = None - expires_at: typing.Optional[dt.datetime] = None - issued_at: typing.Optional[dt.datetime] = None - last_used_at: typing.Optional[dt.datetime] = None +class CreateVariationResponseContent(UniversalBaseModel): + id: str + feature_flag_id: str + name: str + description: typing.Optional[str] = None + overrides: VariationOverridesMap + created_at: dt.datetime + updated_at: dt.datetime if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/cross_app_access_requesting_app.py b/src/auth0/management/types/cross_app_access_requesting_app.py index b2f8ea04..868b448c 100644 --- a/src/auth0/management/types/cross_app_access_requesting_app.py +++ b/src/auth0/management/types/cross_app_access_requesting_app.py @@ -13,7 +13,7 @@ class CrossAppAccessRequestingApp(UniversalBaseModel): active: bool = pydantic.Field() """ - Set to `true` to enable the connection as a Requesting Application for Cross App Access. + Set to `true` to enable the connection as a Requesting Application for Cross App Access. On `oidc` connections this requires `options.type` to be `back_channel`. Setting `false` is always accepted, so the role can be turned off even if the tenant or connection no longer supports it. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/cross_app_access_resource_app.py b/src/auth0/management/types/cross_app_access_resource_app.py new file mode 100644 index 00000000..332785d6 --- /dev/null +++ b/src/auth0/management/types/cross_app_access_resource_app.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .cross_app_access_resource_app_status_enum import CrossAppAccessResourceAppStatusEnum + + +class CrossAppAccessResourceApp(UniversalBaseModel): + """ + Cross App Access - Resource App settings that apply to this connection. + """ + + status: CrossAppAccessResourceAppStatusEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/cross_app_access_resource_app_status_enum.py b/src/auth0/management/types/cross_app_access_resource_app_status_enum.py new file mode 100644 index 00000000..a6faf39a --- /dev/null +++ b/src/auth0/management/types/cross_app_access_resource_app_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CrossAppAccessResourceAppStatusEnum = typing.Union[typing.Literal["enabled", "disabled"], typing.Any] diff --git a/src/auth0/management/types/csp_policy_reporting.py b/src/auth0/management/types/csp_policy_reporting.py index 347eedf3..50e93376 100644 --- a/src/auth0/management/types/csp_policy_reporting.py +++ b/src/auth0/management/types/csp_policy_reporting.py @@ -18,7 +18,7 @@ class CspPolicyReporting(UniversalBaseModel): report_to_group: typing.Optional[str] = pydantic.Field(default=None) """ - Report-To group name for modern reporting. + Report-To group name for modern reporting. Letters, digits, underscores and hyphens only; enforced on write by the request validator. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/custom_signing_key_jwk.py b/src/auth0/management/types/custom_signing_key_jwk.py index f5b3fa2e..6d89ea43 100644 --- a/src/auth0/management/types/custom_signing_key_jwk.py +++ b/src/auth0/management/types/custom_signing_key_jwk.py @@ -55,21 +55,36 @@ class CustomSigningKeyJwk(UniversalBaseModel): x_5_u: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="x5u"), pydantic.Field(alias="x5u", description="X.509 URL") ] = None + """ + X.509 URL + """ + x_5_c: typing_extensions.Annotated[ typing.Optional[typing.List[str]], FieldMetadata(alias="x5c"), pydantic.Field(alias="x5c", description="X.509 certificate chain"), ] = None + """ + X.509 certificate chain + """ + x_5_t: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="x5t"), pydantic.Field(alias="x5t", description="X.509 certificate SHA-1 thumbprint"), ] = None + """ + X.509 certificate SHA-1 thumbprint + """ + x_5_t_s_256: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="x5t#S256"), pydantic.Field(alias="x5t#S256", description="X.509 certificate SHA-256 thumbprint"), ] = None + """ + X.509 certificate SHA-256 thumbprint + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/default_config_enum.py b/src/auth0/management/types/default_config_enum.py new file mode 100644 index 00000000..0916c304 --- /dev/null +++ b/src/auth0/management/types/default_config_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DefaultConfigEnum = typing.Union[typing.Literal["tenant", "flag"], typing.Any] diff --git a/src/auth0/management/types/default_method_phone_number_identifier_enum.py b/src/auth0/management/types/default_method_phone_number_identifier_enum.py new file mode 100644 index 00000000..a9d38665 --- /dev/null +++ b/src/auth0/management/types/default_method_phone_number_identifier_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DefaultMethodPhoneNumberIdentifierEnum = typing.Union[typing.Literal["password", "phone_otp"], typing.Any] diff --git a/src/auth0/management/types/delete_user_identity_response_content_item.py b/src/auth0/management/types/delete_user_identity_response_content_item.py index e073a759..ddcb4c5c 100644 --- a/src/auth0/management/types/delete_user_identity_response_content_item.py +++ b/src/auth0/management/types/delete_user_identity_response_content_item.py @@ -34,6 +34,10 @@ class DeleteUserIdentityResponseContentItem(UniversalBaseModel): description="true if the identity provider is a social provider, falses otherwise", ), ] = None + """ + true if the identity provider is a social provider, falses otherwise + """ + access_token: typing.Optional[str] = pydantic.Field(default=None) """ IDP access token returned only if scope read:user_idp_tokens is defined diff --git a/src/auth0/management/types/directory_provisioning_mapping_item.py b/src/auth0/management/types/directory_provisioning_mapping_item.py index 1cacbf31..21b6fb29 100644 --- a/src/auth0/management/types/directory_provisioning_mapping_item.py +++ b/src/auth0/management/types/directory_provisioning_mapping_item.py @@ -14,6 +14,10 @@ class DirectoryProvisioningMappingItem(UniversalBaseModel): FieldMetadata(alias="auth0"), pydantic.Field(alias="auth0", description="The field location in the Auth0 schema"), ] + """ + The field location in the Auth0 schema + """ + idp: str = pydantic.Field() """ The field location in the IDP schema diff --git a/src/auth0/management/types/email_attribute.py b/src/auth0/management/types/email_attribute.py index 248a64eb..85ca94e9 100644 --- a/src/auth0/management/types/email_attribute.py +++ b/src/auth0/management/types/email_attribute.py @@ -4,7 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .connection_attribute_identifier import ConnectionAttributeIdentifier +from .email_attribute_identifier import EmailAttributeIdentifier from .signup_verified import SignupVerified from .verification_method_enum import VerificationMethodEnum @@ -14,7 +14,7 @@ class EmailAttribute(UniversalBaseModel): Configuration for the email attribute for users. """ - identifier: typing.Optional[ConnectionAttributeIdentifier] = None + identifier: typing.Optional[EmailAttributeIdentifier] = None unique: typing.Optional[bool] = pydantic.Field(default=None) """ Determines if the attribute is unique in a given connection diff --git a/src/auth0/management/types/connection_attribute_identifier.py b/src/auth0/management/types/email_attribute_identifier.py similarity index 93% rename from src/auth0/management/types/connection_attribute_identifier.py rename to src/auth0/management/types/email_attribute_identifier.py index 142c235e..97f7aeec 100644 --- a/src/auth0/management/types/connection_attribute_identifier.py +++ b/src/auth0/management/types/email_attribute_identifier.py @@ -7,7 +7,7 @@ from .default_method_email_identifier_enum import DefaultMethodEmailIdentifierEnum -class ConnectionAttributeIdentifier(UniversalBaseModel): +class EmailAttributeIdentifier(UniversalBaseModel): active: typing.Optional[bool] = pydantic.Field(default=None) """ Determines if the attribute is used for identification diff --git a/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py b/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py index 45305d96..a21c2fa8 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py +++ b/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py @@ -14,11 +14,19 @@ class EmailProviderCredentialsSchemaAccessKeyId(UniversalBaseModel): FieldMetadata(alias="accessKeyId"), pydantic.Field(alias="accessKeyId", description="AWS Access Key ID."), ] = None + """ + AWS Access Key ID. + """ + secret_access_key: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="secretAccessKey"), pydantic.Field(alias="secretAccessKey", description="AWS Secret Access Key."), ] = None + """ + AWS Secret Access Key. + """ + region: typing.Optional[str] = pydantic.Field(default=None) """ AWS region. diff --git a/src/auth0/management/types/email_provider_credentials_schema_client_id.py b/src/auth0/management/types/email_provider_credentials_schema_client_id.py index f49eb56e..ec0a42ab 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_client_id.py +++ b/src/auth0/management/types/email_provider_credentials_schema_client_id.py @@ -14,16 +14,27 @@ class EmailProviderCredentialsSchemaClientId(UniversalBaseModel): FieldMetadata(alias="tenantId"), pydantic.Field(alias="tenantId", description="Microsoft 365 Tenant ID."), ] = None + """ + Microsoft 365 Tenant ID. + """ + client_id: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="clientId"), pydantic.Field(alias="clientId", description="Microsoft 365 Client ID."), ] = None + """ + Microsoft 365 Client ID. + """ + client_secret: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="clientSecret"), pydantic.Field(alias="clientSecret", description="Microsoft 365 Client Secret."), ] = None + """ + Microsoft 365 Client Secret. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/email_provider_credentials_schema_connection_string.py b/src/auth0/management/types/email_provider_credentials_schema_connection_string.py index d37d9387..4b4951c1 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_connection_string.py +++ b/src/auth0/management/types/email_provider_credentials_schema_connection_string.py @@ -14,6 +14,9 @@ class EmailProviderCredentialsSchemaConnectionString(UniversalBaseModel): FieldMetadata(alias="connectionString"), pydantic.Field(alias="connectionString", description="Azure Communication Services Connection String."), ] = None + """ + Azure Communication Services Connection String. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/enabled_features_enum.py b/src/auth0/management/types/enabled_features_enum.py index 23283f92..88893555 100644 --- a/src/auth0/management/types/enabled_features_enum.py +++ b/src/auth0/management/types/enabled_features_enum.py @@ -2,4 +2,4 @@ import typing -EnabledFeaturesEnum = typing.Union[typing.Literal["scim", "universal_logout"], typing.Any] +EnabledFeaturesEnum = typing.Union[typing.Literal["scim", "universal_logout", "directory_sync"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event.py index 3964de94..4b0d009f 100644 --- a/src/auth0/management/types/event_stream_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_data import EventStreamCloudEventData class EventStreamCloudEvent(UniversalBaseModel): @@ -37,10 +38,7 @@ class EventStreamCloudEvent(UniversalBaseModel): Timestamp at which the event was generated """ - data: typing.Optional[str] = pydantic.Field(default=None) - """ - Event contents encoded as a string. - """ + data: typing.Optional[EventStreamCloudEventData] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created.py b/src/auth0/management/types/event_stream_cloud_event_connection_created.py new file mode 100644 index 00000000..75454384 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_cloud_event import EventStreamCloudEventConnectionCreatedCloudEvent + + +class EventStreamCloudEventConnectionCreated(UniversalBaseModel): + """ + SSE message for connection.created. + """ + + offset: str = pydantic.Field() + """ + Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume. + """ + + event: EventStreamCloudEventConnectionCreatedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event.py new file mode 100644 index 00000000..ab78ad12 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event.py @@ -0,0 +1,77 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_connection_created_cloud_event_type_enum import ( + EventStreamCloudEventConnectionCreatedCloudEventTypeEnum, +) +from .event_stream_cloud_event_connection_created_data import EventStreamCloudEventConnectionCreatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum + + +class EventStreamCloudEventConnectionCreatedCloudEvent(UniversalBaseModel): + """ + Represents an event that occurs when a connection is created. + """ + + specversion: EventStreamCloudEventSpecVersionEnum + type: EventStreamCloudEventConnectionCreatedCloudEventTypeEnum + source: str = pydantic.Field() + """ + The source of the event. This will take the form 'urn:auth0:.'. + """ + + id: str = pydantic.Field() + """ + A unique identifier for the event. + """ + + time: dt.datetime = pydantic.Field() + """ + An ISO-8601 timestamp indicating when the event physically occurred. + """ + + data: EventStreamCloudEventConnectionCreatedData + a_0_tenant: typing_extensions.Annotated[ + str, + FieldMetadata(alias="a0tenant"), + pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), + ] + """ + The auth0 tenant ID to which the event is associated. + """ + + a_0_stream: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="a0stream"), + pydantic.Field( + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", + ), + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + + a_0_purpose: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventA0PurposeEnum], + FieldMetadata(alias="a0purpose"), + pydantic.Field(alias="a0purpose"), + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.py new file mode 100644 index 00000000..9c7fcdef --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedCloudEventTypeEnum = typing.Union[ + typing.Literal["connection.created"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_data.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_data.py new file mode 100644 index 00000000..8221bdca --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_data.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object import EventStreamCloudEventConnectionCreatedObject +from .event_stream_cloud_event_connection_created_previous_object import ( + EventStreamCloudEventConnectionCreatedPreviousObject, +) +from .event_stream_cloud_event_context import EventStreamCloudEventContext + + +class EventStreamCloudEventConnectionCreatedData(UniversalBaseModel): + """ + The event payload. + """ + + object: EventStreamCloudEventConnectionCreatedObject + previous_object: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject] = None + context: typing.Optional[EventStreamCloudEventContext] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object.py new file mode 100644 index 00000000..a16248f3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_created_object_0 import EventStreamCloudEventConnectionCreatedObject0 +from .event_stream_cloud_event_connection_created_object_1 import EventStreamCloudEventConnectionCreatedObject1 +from .event_stream_cloud_event_connection_created_object_2 import EventStreamCloudEventConnectionCreatedObject2 +from .event_stream_cloud_event_connection_created_object_3 import EventStreamCloudEventConnectionCreatedObject3 +from .event_stream_cloud_event_connection_created_object_4 import EventStreamCloudEventConnectionCreatedObject4 +from .event_stream_cloud_event_connection_created_object_5 import EventStreamCloudEventConnectionCreatedObject5 +from .event_stream_cloud_event_connection_created_object_6 import EventStreamCloudEventConnectionCreatedObject6 +from .event_stream_cloud_event_connection_created_object_7 import EventStreamCloudEventConnectionCreatedObject7 + +EventStreamCloudEventConnectionCreatedObject = typing.Union[ + EventStreamCloudEventConnectionCreatedObject0, + EventStreamCloudEventConnectionCreatedObject1, + EventStreamCloudEventConnectionCreatedObject2, + EventStreamCloudEventConnectionCreatedObject3, + EventStreamCloudEventConnectionCreatedObject4, + EventStreamCloudEventConnectionCreatedObject5, + EventStreamCloudEventConnectionCreatedObject6, + EventStreamCloudEventConnectionCreatedObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0.py new file mode 100644 index 00000000..535a2dc8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_0_authentication import ( + EventStreamCloudEventConnectionCreatedObject0Authentication, +) +from .event_stream_cloud_event_connection_created_object_0_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_0_metadata import ( + EventStreamCloudEventConnectionCreatedObject0Metadata, +) +from .event_stream_cloud_event_connection_created_object_0_options import ( + EventStreamCloudEventConnectionCreatedObject0Options, +) +from .event_stream_cloud_event_connection_created_object_0_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_authentication.py new file mode 100644 index 00000000..7107f370 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_connected_accounts.py new file mode 100644 index 00000000..995296ce --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_metadata.py new file mode 100644 index 00000000..2e4c3d90 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options.py new file mode 100644 index 00000000..d307c983 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_created_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_type_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_created_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map.py new file mode 100644 index 00000000..a79c5290 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..51de169f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..9def87c3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings.py new file mode 100644 index 00000000..1a645f1e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..3493b159 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..9d959bbc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..0a39fe18 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..8c19d14d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..8a944941 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..8dac1a4b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..5738571e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..c4f161ed --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..d6a3220d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..a511380e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_type_enum.py new file mode 100644 index 00000000..7fbe7e4b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_upstream_params.py new file mode 100644 index 00000000..57f4f157 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_strategy_enum.py new file mode 100644 index 00000000..823bb773 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1.py new file mode 100644 index 00000000..5d9fbdec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_1_authentication import ( + EventStreamCloudEventConnectionCreatedObject1Authentication, +) +from .event_stream_cloud_event_connection_created_object_1_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_1_metadata import ( + EventStreamCloudEventConnectionCreatedObject1Metadata, +) +from .event_stream_cloud_event_connection_created_object_1_options import ( + EventStreamCloudEventConnectionCreatedObject1Options, +) +from .event_stream_cloud_event_connection_created_object_1_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_authentication.py new file mode 100644 index 00000000..f311ee50 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_connected_accounts.py new file mode 100644 index 00000000..d6a2b3c4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_metadata.py new file mode 100644 index 00000000..8f8cce28 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options.py new file mode 100644 index 00000000..e707b164 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_created_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_type_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_created_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map.py new file mode 100644 index 00000000..2ce41217 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..f27409e6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..4455343e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings.py new file mode 100644 index 00000000..6bb4cc48 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..996e44ab --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..e40c1b92 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..71f4d52a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..e51e0f1b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..e201dbaa --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..3d4f8f3c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..e293bf36 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..9821224e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..1d000dab --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..18cac386 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_type_enum.py new file mode 100644 index 00000000..8fa45342 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum = typing.Union[typing.Literal["back_channel"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_upstream_params.py new file mode 100644 index 00000000..f3c073ee --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_strategy_enum.py new file mode 100644 index 00000000..77b09643 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2.py new file mode 100644 index 00000000..11a3ce00 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_2_authentication import ( + EventStreamCloudEventConnectionCreatedObject2Authentication, +) +from .event_stream_cloud_event_connection_created_object_2_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_2_metadata import ( + EventStreamCloudEventConnectionCreatedObject2Metadata, +) +from .event_stream_cloud_event_connection_created_object_2_options import ( + EventStreamCloudEventConnectionCreatedObject2Options, +) +from .event_stream_cloud_event_connection_created_object_2_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_authentication.py new file mode 100644 index 00000000..278b0d2d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_connected_accounts.py new file mode 100644 index 00000000..c326b58f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_metadata.py new file mode 100644 index 00000000..ee10aa59 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options.py new file mode 100644 index 00000000..48431000 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_object_2_options_fields_map import ( + EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_created_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_created_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_object_2_options_subject import ( + EventStreamCloudEventConnectionCreatedObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_created_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..56fe6e39 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..e01ace1f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..5e32a39f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_fields_map.py new file mode 100644 index 00000000..98e9d940 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated.py new file mode 100644 index 00000000..568daf0c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..4d6c91e4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..aaaa6b98 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..89d15b19 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..f878ea1e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..196ecf16 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_subject.py new file mode 100644 index 00000000..266587b9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_upstream_params.py new file mode 100644 index 00000000..45734370 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_strategy_enum.py new file mode 100644 index 00000000..2530ab81 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3.py new file mode 100644 index 00000000..2894a987 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_3_authentication import ( + EventStreamCloudEventConnectionCreatedObject3Authentication, +) +from .event_stream_cloud_event_connection_created_object_3_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_3_metadata import ( + EventStreamCloudEventConnectionCreatedObject3Metadata, +) +from .event_stream_cloud_event_connection_created_object_3_options import ( + EventStreamCloudEventConnectionCreatedObject3Options, +) +from .event_stream_cloud_event_connection_created_object_3_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_authentication.py new file mode 100644 index 00000000..b3917cbc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_connected_accounts.py new file mode 100644 index 00000000..74bc95cc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_metadata.py new file mode 100644 index 00000000..2c9f1294 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options.py new file mode 100644 index 00000000..9783e96f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_object_3_options_subject import ( + EventStreamCloudEventConnectionCreatedObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_created_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..0fd637f7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..0e422e97 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..a76e655f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated.py new file mode 100644 index 00000000..8c99ac01 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..a99aa1a5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..7c2a6e79 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..0587cf6f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..87f46f4f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_subject.py new file mode 100644 index 00000000..82777bc8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_upstream_params.py new file mode 100644 index 00000000..a9dc6665 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_strategy_enum.py new file mode 100644 index 00000000..451666c5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_3_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject3StrategyEnum = typing.Union[typing.Literal["pingfederate"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4.py new file mode 100644 index 00000000..000f9415 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_4_authentication import ( + EventStreamCloudEventConnectionCreatedObject4Authentication, +) +from .event_stream_cloud_event_connection_created_object_4_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_4_metadata import ( + EventStreamCloudEventConnectionCreatedObject4Metadata, +) +from .event_stream_cloud_event_connection_created_object_4_options import ( + EventStreamCloudEventConnectionCreatedObject4Options, +) +from .event_stream_cloud_event_connection_created_object_4_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_authentication.py new file mode 100644 index 00000000..4f3b15be --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_connected_accounts.py new file mode 100644 index 00000000..06238f04 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_metadata.py new file mode 100644 index 00000000..f8b200f2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options.py new file mode 100644 index 00000000..9de98380 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_created_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..82ab5016 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..481b0835 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_upstream_params.py new file mode 100644 index 00000000..3b547f0c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_strategy_enum.py new file mode 100644 index 00000000..36e05327 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5.py new file mode 100644 index 00000000..8695b3af --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_5_authentication import ( + EventStreamCloudEventConnectionCreatedObject5Authentication, +) +from .event_stream_cloud_event_connection_created_object_5_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_5_metadata import ( + EventStreamCloudEventConnectionCreatedObject5Metadata, +) +from .event_stream_cloud_event_connection_created_object_5_options import ( + EventStreamCloudEventConnectionCreatedObject5Options, +) +from .event_stream_cloud_event_connection_created_object_5_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject5Options] = None + strategy: EventStreamCloudEventConnectionCreatedObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_authentication.py new file mode 100644 index 00000000..f7c8cbad --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_connected_accounts.py new file mode 100644 index 00000000..b2bdfb68 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_metadata.py new file mode 100644 index 00000000..6d0ae5bb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options.py new file mode 100644 index 00000000..09c433e7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..b73f0d3a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_upstream_params.py new file mode 100644 index 00000000..ef8eb925 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_strategy_enum.py new file mode 100644 index 00000000..f8eacbf7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6.py new file mode 100644 index 00000000..8920ddb4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_6_authentication import ( + EventStreamCloudEventConnectionCreatedObject6Authentication, +) +from .event_stream_cloud_event_connection_created_object_6_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_6_metadata import ( + EventStreamCloudEventConnectionCreatedObject6Metadata, +) +from .event_stream_cloud_event_connection_created_object_6_options import ( + EventStreamCloudEventConnectionCreatedObject6Options, +) +from .event_stream_cloud_event_connection_created_object_6_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_authentication.py new file mode 100644 index 00000000..f4ec9820 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_connected_accounts.py new file mode 100644 index 00000000..b0c35a67 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_metadata.py new file mode 100644 index 00000000..435bc18b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options.py new file mode 100644 index 00000000..d0299ef8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..4b15e33a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..173982df --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_upstream_params.py new file mode 100644 index 00000000..d17d5b86 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_strategy_enum.py new file mode 100644 index 00000000..ad8ee50a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_6_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject6StrategyEnum = typing.Union[typing.Literal["google-apps"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7.py new file mode 100644 index 00000000..b549b639 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_object_7_authentication import ( + EventStreamCloudEventConnectionCreatedObject7Authentication, +) +from .event_stream_cloud_event_connection_created_object_7_connected_accounts import ( + EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_object_7_metadata import ( + EventStreamCloudEventConnectionCreatedObject7Metadata, +) +from .event_stream_cloud_event_connection_created_object_7_options import ( + EventStreamCloudEventConnectionCreatedObject7Options, +) +from .event_stream_cloud_event_connection_created_object_7_strategy_enum import ( + EventStreamCloudEventConnectionCreatedObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_authentication.py new file mode 100644 index 00000000..edc226dc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_connected_accounts.py new file mode 100644 index 00000000..99f1e0f3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_metadata.py new file mode 100644 index 00000000..3b2beac2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options.py new file mode 100644 index 00000000..ddf88998 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options.py @@ -0,0 +1,177 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_created_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..2478bfaf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..0e972ef8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..13fe9b35 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..b8e51f3e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..1f3dd78b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_upstream_params.py new file mode 100644 index 00000000..5eb2da59 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..5e8adcf6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..5d77ad20 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_strategy_enum.py new file mode 100644 index 00000000..bfdb095d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object.py new file mode 100644 index 00000000..9b2fb31a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_created_previous_object_0 import ( + EventStreamCloudEventConnectionCreatedPreviousObject0, +) +from .event_stream_cloud_event_connection_created_previous_object_1 import ( + EventStreamCloudEventConnectionCreatedPreviousObject1, +) +from .event_stream_cloud_event_connection_created_previous_object_2 import ( + EventStreamCloudEventConnectionCreatedPreviousObject2, +) +from .event_stream_cloud_event_connection_created_previous_object_3 import ( + EventStreamCloudEventConnectionCreatedPreviousObject3, +) +from .event_stream_cloud_event_connection_created_previous_object_4 import ( + EventStreamCloudEventConnectionCreatedPreviousObject4, +) +from .event_stream_cloud_event_connection_created_previous_object_5 import ( + EventStreamCloudEventConnectionCreatedPreviousObject5, +) +from .event_stream_cloud_event_connection_created_previous_object_6 import ( + EventStreamCloudEventConnectionCreatedPreviousObject6, +) +from .event_stream_cloud_event_connection_created_previous_object_7 import ( + EventStreamCloudEventConnectionCreatedPreviousObject7, +) + +EventStreamCloudEventConnectionCreatedPreviousObject = typing.Union[ + EventStreamCloudEventConnectionCreatedPreviousObject0, + EventStreamCloudEventConnectionCreatedPreviousObject1, + EventStreamCloudEventConnectionCreatedPreviousObject2, + EventStreamCloudEventConnectionCreatedPreviousObject3, + EventStreamCloudEventConnectionCreatedPreviousObject4, + EventStreamCloudEventConnectionCreatedPreviousObject5, + EventStreamCloudEventConnectionCreatedPreviousObject6, + EventStreamCloudEventConnectionCreatedPreviousObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0.py new file mode 100644 index 00000000..9321f1da --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_0_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_0_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject0Options, +) +from .event_stream_cloud_event_connection_created_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_authentication.py new file mode 100644 index 00000000..94ddfd7a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_connected_accounts.py new file mode 100644 index 00000000..c0a250d9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_metadata.py new file mode 100644 index 00000000..92c851e6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options.py new file mode 100644 index 00000000..8fba7bf4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map.py new file mode 100644 index 00000000..6055f623 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..b42faa60 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..a6a5b8da --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings.py new file mode 100644 index 00000000..88179250 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..fbf2dfb7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..d952064c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..1d650420 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..dccc15d2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..0e003d1b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..b8371805 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..5f5feb18 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..b44b36b3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..bf7d2add --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..a4a4e93b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_type_enum.py new file mode 100644 index 00000000..00bf37a3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params.py new file mode 100644 index 00000000..55bd00ad --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_strategy_enum.py new file mode 100644 index 00000000..b6a11ed1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1.py new file mode 100644 index 00000000..87c356f0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_1_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_1_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject1Options, +) +from .event_stream_cloud_event_connection_created_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_authentication.py new file mode 100644 index 00000000..337c4b65 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_connected_accounts.py new file mode 100644 index 00000000..b664a72f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_metadata.py new file mode 100644 index 00000000..c192cb5a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options.py new file mode 100644 index 00000000..9f24f97b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map.py new file mode 100644 index 00000000..05867b47 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..053d6a1d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..d4b1e4f0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings.py new file mode 100644 index 00000000..c2b83553 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..33b1c06e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..2073c8f6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..d1ffa152 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..c1247152 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..244c8344 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..a15c02c5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..22a06617 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..5decd166 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..781633c5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..b18be440 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_type_enum.py new file mode 100644 index 00000000..2d44d5db --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params.py new file mode 100644 index 00000000..99c3b02c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_strategy_enum.py new file mode 100644 index 00000000..7f43d9eb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2.py new file mode 100644 index 00000000..eba87812 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_2_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_2_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject2Options, +) +from .event_stream_cloud_event_connection_created_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_authentication.py new file mode 100644 index 00000000..2ae29b2e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_connected_accounts.py new file mode 100644 index 00000000..abd9843d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_metadata.py new file mode 100644 index 00000000..f975766f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options.py new file mode 100644 index 00000000..24984c2a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..c7613f66 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..b5e02d27 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..114b44ec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_fields_map.py new file mode 100644 index 00000000..371e61f8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated.py new file mode 100644 index 00000000..ee96b93b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..e85fe539 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..093b1655 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..5d398897 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..79d7f593 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..0b17d16f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_subject.py new file mode 100644 index 00000000..27d68863 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params.py new file mode 100644 index 00000000..9605f318 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_strategy_enum.py new file mode 100644 index 00000000..77bc4c02 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3.py new file mode 100644 index 00000000..7a5acdd7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_3_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_3_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject3Options, +) +from .event_stream_cloud_event_connection_created_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_authentication.py new file mode 100644 index 00000000..3f2b979e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_connected_accounts.py new file mode 100644 index 00000000..85d76b46 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_metadata.py new file mode 100644 index 00000000..d75546c7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options.py new file mode 100644 index 00000000..19f9cf3b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..cb466956 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..b96d47dc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..ec2d2010 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated.py new file mode 100644 index 00000000..8c99b57a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..f87555f5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..23c25c48 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..c4758854 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..51f2e708 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_subject.py new file mode 100644 index 00000000..5c87ac04 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params.py new file mode 100644 index 00000000..e2315588 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_strategy_enum.py new file mode 100644 index 00000000..d9639c51 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_3_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject3StrategyEnum = typing.Union[ + typing.Literal["pingfederate"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4.py new file mode 100644 index 00000000..bf2ed411 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_4_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_4_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_4_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject4Options, +) +from .event_stream_cloud_event_connection_created_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_authentication.py new file mode 100644 index 00000000..62e1a5bb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_connected_accounts.py new file mode 100644 index 00000000..2d1a1207 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_metadata.py new file mode 100644 index 00000000..ad64634b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options.py new file mode 100644 index 00000000..2aa210fe --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..850619e7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..d9cdaf75 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params.py new file mode 100644 index 00000000..c3c9e51e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_strategy_enum.py new file mode 100644 index 00000000..63d97f24 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5.py new file mode 100644 index 00000000..8d37f597 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_5_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_5_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_5_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject5Options, +) +from .event_stream_cloud_event_connection_created_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject5Options] = None + strategy: EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_authentication.py new file mode 100644 index 00000000..8d8b1646 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_connected_accounts.py new file mode 100644 index 00000000..6c04a537 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_metadata.py new file mode 100644 index 00000000..0c4360ae --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options.py new file mode 100644 index 00000000..ee1fe36c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..1b643370 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params.py new file mode 100644 index 00000000..d6d08315 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_strategy_enum.py new file mode 100644 index 00000000..780d58b3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6.py new file mode 100644 index 00000000..65edde4b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_6_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_6_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_6_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject6Options, +) +from .event_stream_cloud_event_connection_created_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_authentication.py new file mode 100644 index 00000000..f14e6b84 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_connected_accounts.py new file mode 100644 index 00000000..90035761 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_metadata.py new file mode 100644 index 00000000..94dd369f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options.py new file mode 100644 index 00000000..c349625f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..e3494d7d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..071eeb4f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params.py new file mode 100644 index 00000000..0719021a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_strategy_enum.py new file mode 100644 index 00000000..22e875d3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_6_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject6StrategyEnum = typing.Union[ + typing.Literal["google-apps"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7.py new file mode 100644 index 00000000..7b89adef --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_previous_object_7_authentication import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Authentication, +) +from .event_stream_cloud_event_connection_created_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_created_previous_object_7_metadata import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Metadata, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options import ( + EventStreamCloudEventConnectionCreatedPreviousObject7Options, +) +from .event_stream_cloud_event_connection_created_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_authentication.py new file mode 100644 index 00000000..28498ed0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_connected_accounts.py new file mode 100644 index 00000000..1dac59b5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_metadata.py new file mode 100644 index 00000000..04154d14 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options.py new file mode 100644 index 00000000..c6edc090 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options.py @@ -0,0 +1,179 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionCreatedPreviousObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[ + EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum + ] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..eca22806 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionCreatedPreviousObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..db880b65 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..d007416f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..dd83fd08 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..cc92505f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params.py new file mode 100644 index 00000000..ea0fd312 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..66a81cf2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..86ffe6f4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_strategy_enum.py new file mode 100644 index 00000000..fcbb9f98 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_previous_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedPreviousObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_created_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_created_type_enum.py new file mode 100644 index 00000000..9e977300 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_created_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionCreatedTypeEnum = typing.Union[typing.Literal["connection.created"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted.py new file mode 100644 index 00000000..aa8b234d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_cloud_event import EventStreamCloudEventConnectionDeletedCloudEvent + + +class EventStreamCloudEventConnectionDeleted(UniversalBaseModel): + """ + SSE message for connection.deleted. + """ + + offset: str = pydantic.Field() + """ + Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume. + """ + + event: EventStreamCloudEventConnectionDeletedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event.py new file mode 100644 index 00000000..780c7b65 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event.py @@ -0,0 +1,77 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_connection_deleted_cloud_event_type_enum import ( + EventStreamCloudEventConnectionDeletedCloudEventTypeEnum, +) +from .event_stream_cloud_event_connection_deleted_data import EventStreamCloudEventConnectionDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum + + +class EventStreamCloudEventConnectionDeletedCloudEvent(UniversalBaseModel): + """ + Represents an event that occurs when a connection is deleted. + """ + + specversion: EventStreamCloudEventSpecVersionEnum + type: EventStreamCloudEventConnectionDeletedCloudEventTypeEnum + source: str = pydantic.Field() + """ + The source of the event. This will take the form 'urn:auth0:.'. + """ + + id: str = pydantic.Field() + """ + A unique identifier for the event. + """ + + time: dt.datetime = pydantic.Field() + """ + An ISO-8601 timestamp indicating when the event physically occurred. + """ + + data: EventStreamCloudEventConnectionDeletedData + a_0_tenant: typing_extensions.Annotated[ + str, + FieldMetadata(alias="a0tenant"), + pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), + ] + """ + The auth0 tenant ID to which the event is associated. + """ + + a_0_stream: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="a0stream"), + pydantic.Field( + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", + ), + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + + a_0_purpose: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventA0PurposeEnum], + FieldMetadata(alias="a0purpose"), + pydantic.Field(alias="a0purpose"), + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.py new file mode 100644 index 00000000..5239acb7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedCloudEventTypeEnum = typing.Union[ + typing.Literal["connection.deleted"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_data.py new file mode 100644 index 00000000..fb31469f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_data.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object import EventStreamCloudEventConnectionDeletedObject +from .event_stream_cloud_event_connection_deleted_previous_object import ( + EventStreamCloudEventConnectionDeletedPreviousObject, +) +from .event_stream_cloud_event_context import EventStreamCloudEventContext + + +class EventStreamCloudEventConnectionDeletedData(UniversalBaseModel): + """ + The event payload. + """ + + object: EventStreamCloudEventConnectionDeletedObject + previous_object: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject] = None + context: typing.Optional[EventStreamCloudEventContext] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object.py new file mode 100644 index 00000000..56e7d3ea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_deleted_object_0 import EventStreamCloudEventConnectionDeletedObject0 +from .event_stream_cloud_event_connection_deleted_object_1 import EventStreamCloudEventConnectionDeletedObject1 +from .event_stream_cloud_event_connection_deleted_object_2 import EventStreamCloudEventConnectionDeletedObject2 +from .event_stream_cloud_event_connection_deleted_object_3 import EventStreamCloudEventConnectionDeletedObject3 +from .event_stream_cloud_event_connection_deleted_object_4 import EventStreamCloudEventConnectionDeletedObject4 +from .event_stream_cloud_event_connection_deleted_object_5 import EventStreamCloudEventConnectionDeletedObject5 +from .event_stream_cloud_event_connection_deleted_object_6 import EventStreamCloudEventConnectionDeletedObject6 +from .event_stream_cloud_event_connection_deleted_object_7 import EventStreamCloudEventConnectionDeletedObject7 + +EventStreamCloudEventConnectionDeletedObject = typing.Union[ + EventStreamCloudEventConnectionDeletedObject0, + EventStreamCloudEventConnectionDeletedObject1, + EventStreamCloudEventConnectionDeletedObject2, + EventStreamCloudEventConnectionDeletedObject3, + EventStreamCloudEventConnectionDeletedObject4, + EventStreamCloudEventConnectionDeletedObject5, + EventStreamCloudEventConnectionDeletedObject6, + EventStreamCloudEventConnectionDeletedObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0.py new file mode 100644 index 00000000..604cf04c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_0_authentication import ( + EventStreamCloudEventConnectionDeletedObject0Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_0_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_0_metadata import ( + EventStreamCloudEventConnectionDeletedObject0Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_0_options import ( + EventStreamCloudEventConnectionDeletedObject0Options, +) +from .event_stream_cloud_event_connection_deleted_object_0_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_authentication.py new file mode 100644 index 00000000..cd1d2920 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_connected_accounts.py new file mode 100644 index 00000000..87e90c77 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_metadata.py new file mode 100644 index 00000000..b9b6a92b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options.py new file mode 100644 index 00000000..bf4ac9d1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_type_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map.py new file mode 100644 index 00000000..b4dfcf0b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..13e0d534 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..fcad8148 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings.py new file mode 100644 index 00000000..4de676ef --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..65c9182b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..7d6fa83a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..0e69b44d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..3877354a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..d717bf73 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..0c3ae743 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..840da894 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..52ce035e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..6b36f4d9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..6691947a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_type_enum.py new file mode 100644 index 00000000..f589af7d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_upstream_params.py new file mode 100644 index 00000000..c73c3ad9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_strategy_enum.py new file mode 100644 index 00000000..5013ec2d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1.py new file mode 100644 index 00000000..4943928f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_1_authentication import ( + EventStreamCloudEventConnectionDeletedObject1Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_1_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_1_metadata import ( + EventStreamCloudEventConnectionDeletedObject1Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_1_options import ( + EventStreamCloudEventConnectionDeletedObject1Options, +) +from .event_stream_cloud_event_connection_deleted_object_1_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_authentication.py new file mode 100644 index 00000000..7c8ad286 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_connected_accounts.py new file mode 100644 index 00000000..b0b584cc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_metadata.py new file mode 100644 index 00000000..528abad4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options.py new file mode 100644 index 00000000..d3fb7ecb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_type_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map.py new file mode 100644 index 00000000..f5a4c7e4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..5cbb97c0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..1d794d32 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings.py new file mode 100644 index 00000000..5980badf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..5c90f54e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..fc170d36 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..f0aa0266 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..f8c7a133 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..8c2c9840 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..cd150599 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..5c6e46e0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..d0042aab --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..49d4a3ba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..aa326b7d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_type_enum.py new file mode 100644 index 00000000..530b058d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum = typing.Union[typing.Literal["back_channel"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_upstream_params.py new file mode 100644 index 00000000..f2f30e31 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_strategy_enum.py new file mode 100644 index 00000000..1787b53d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2.py new file mode 100644 index 00000000..e232d6a9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_2_authentication import ( + EventStreamCloudEventConnectionDeletedObject2Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_2_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_2_metadata import ( + EventStreamCloudEventConnectionDeletedObject2Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_2_options import ( + EventStreamCloudEventConnectionDeletedObject2Options, +) +from .event_stream_cloud_event_connection_deleted_object_2_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_authentication.py new file mode 100644 index 00000000..bd0e4023 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_connected_accounts.py new file mode 100644 index 00000000..0997ace7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_metadata.py new file mode 100644 index 00000000..a9608d54 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options.py new file mode 100644 index 00000000..fdc71ac7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_fields_map import ( + EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_subject import ( + EventStreamCloudEventConnectionDeletedObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_deleted_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..4522445d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..928220cc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..27297e27 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_fields_map.py new file mode 100644 index 00000000..f1708b92 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated.py new file mode 100644 index 00000000..987c4cbd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..3b5b2ad4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..d4b5159d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..46b8e30d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..28087bbf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..400e1627 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_subject.py new file mode 100644 index 00000000..43535cda --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_upstream_params.py new file mode 100644 index 00000000..573098a6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_strategy_enum.py new file mode 100644 index 00000000..5e59ef82 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3.py new file mode 100644 index 00000000..5cf9056c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_3_authentication import ( + EventStreamCloudEventConnectionDeletedObject3Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_3_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_3_metadata import ( + EventStreamCloudEventConnectionDeletedObject3Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_3_options import ( + EventStreamCloudEventConnectionDeletedObject3Options, +) +from .event_stream_cloud_event_connection_deleted_object_3_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_authentication.py new file mode 100644 index 00000000..448462a5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_connected_accounts.py new file mode 100644 index 00000000..aff922fc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_metadata.py new file mode 100644 index 00000000..dbf64c56 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options.py new file mode 100644 index 00000000..ae5b97a2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_subject import ( + EventStreamCloudEventConnectionDeletedObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_deleted_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..e2bf7bd7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..13accc27 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..bae1c9ea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated.py new file mode 100644 index 00000000..a7fd33b8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..718aed94 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..e2dd3645 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..cf6549fe --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..45a47237 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_subject.py new file mode 100644 index 00000000..be9fe661 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_upstream_params.py new file mode 100644 index 00000000..3a7b44b7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_strategy_enum.py new file mode 100644 index 00000000..7cc21c5d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_3_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject3StrategyEnum = typing.Union[typing.Literal["pingfederate"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4.py new file mode 100644 index 00000000..a8aa1259 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_4_authentication import ( + EventStreamCloudEventConnectionDeletedObject4Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_4_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_4_metadata import ( + EventStreamCloudEventConnectionDeletedObject4Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_4_options import ( + EventStreamCloudEventConnectionDeletedObject4Options, +) +from .event_stream_cloud_event_connection_deleted_object_4_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_authentication.py new file mode 100644 index 00000000..3ae1619a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_connected_accounts.py new file mode 100644 index 00000000..2d30ec8e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_metadata.py new file mode 100644 index 00000000..91963023 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options.py new file mode 100644 index 00000000..6b3a0e5b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_deleted_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..7001bab0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..dc097f73 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_upstream_params.py new file mode 100644 index 00000000..ba9e17dc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_strategy_enum.py new file mode 100644 index 00000000..136e5447 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5.py new file mode 100644 index 00000000..191529f3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_5_authentication import ( + EventStreamCloudEventConnectionDeletedObject5Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_5_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_5_metadata import ( + EventStreamCloudEventConnectionDeletedObject5Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_5_options import ( + EventStreamCloudEventConnectionDeletedObject5Options, +) +from .event_stream_cloud_event_connection_deleted_object_5_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject5Options] = None + strategy: EventStreamCloudEventConnectionDeletedObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_authentication.py new file mode 100644 index 00000000..e3c0bf77 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_connected_accounts.py new file mode 100644 index 00000000..035c0e74 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_metadata.py new file mode 100644 index 00000000..8a2f5126 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options.py new file mode 100644 index 00000000..369eb889 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..1e0dad53 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_upstream_params.py new file mode 100644 index 00000000..dffee75a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_strategy_enum.py new file mode 100644 index 00000000..5e3e8a96 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6.py new file mode 100644 index 00000000..00ea456d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_6_authentication import ( + EventStreamCloudEventConnectionDeletedObject6Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_6_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_6_metadata import ( + EventStreamCloudEventConnectionDeletedObject6Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_6_options import ( + EventStreamCloudEventConnectionDeletedObject6Options, +) +from .event_stream_cloud_event_connection_deleted_object_6_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_authentication.py new file mode 100644 index 00000000..ea910736 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_connected_accounts.py new file mode 100644 index 00000000..a7df1ae3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_metadata.py new file mode 100644 index 00000000..3a5e652e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options.py new file mode 100644 index 00000000..f1ff6479 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..fd66d489 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..17be67ba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_upstream_params.py new file mode 100644 index 00000000..799fd03c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_strategy_enum.py new file mode 100644 index 00000000..b8509a34 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_6_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject6StrategyEnum = typing.Union[typing.Literal["google-apps"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7.py new file mode 100644 index 00000000..01d18813 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_object_7_authentication import ( + EventStreamCloudEventConnectionDeletedObject7Authentication, +) +from .event_stream_cloud_event_connection_deleted_object_7_connected_accounts import ( + EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_object_7_metadata import ( + EventStreamCloudEventConnectionDeletedObject7Metadata, +) +from .event_stream_cloud_event_connection_deleted_object_7_options import ( + EventStreamCloudEventConnectionDeletedObject7Options, +) +from .event_stream_cloud_event_connection_deleted_object_7_strategy_enum import ( + EventStreamCloudEventConnectionDeletedObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_authentication.py new file mode 100644 index 00000000..caaa1ef4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_connected_accounts.py new file mode 100644 index 00000000..2158c2e9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_metadata.py new file mode 100644 index 00000000..dde0f202 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options.py new file mode 100644 index 00000000..867acd87 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options.py @@ -0,0 +1,177 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..5b88046c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..1d82a3ce --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..66e6da97 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..c8df13bc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..a364cad2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_upstream_params.py new file mode 100644 index 00000000..efa21dd1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..4fa15dce --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..1cdb7b5a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_strategy_enum.py new file mode 100644 index 00000000..906b32fa --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object.py new file mode 100644 index 00000000..27f91bf2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_deleted_previous_object_0 import ( + EventStreamCloudEventConnectionDeletedPreviousObject0, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1 import ( + EventStreamCloudEventConnectionDeletedPreviousObject1, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2 import ( + EventStreamCloudEventConnectionDeletedPreviousObject2, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3 import ( + EventStreamCloudEventConnectionDeletedPreviousObject3, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4 import ( + EventStreamCloudEventConnectionDeletedPreviousObject4, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5 import ( + EventStreamCloudEventConnectionDeletedPreviousObject5, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6 import ( + EventStreamCloudEventConnectionDeletedPreviousObject6, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7 import ( + EventStreamCloudEventConnectionDeletedPreviousObject7, +) + +EventStreamCloudEventConnectionDeletedPreviousObject = typing.Union[ + EventStreamCloudEventConnectionDeletedPreviousObject0, + EventStreamCloudEventConnectionDeletedPreviousObject1, + EventStreamCloudEventConnectionDeletedPreviousObject2, + EventStreamCloudEventConnectionDeletedPreviousObject3, + EventStreamCloudEventConnectionDeletedPreviousObject4, + EventStreamCloudEventConnectionDeletedPreviousObject5, + EventStreamCloudEventConnectionDeletedPreviousObject6, + EventStreamCloudEventConnectionDeletedPreviousObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0.py new file mode 100644 index 00000000..2b91943e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_0_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject0Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_authentication.py new file mode 100644 index 00000000..ee009e36 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts.py new file mode 100644 index 00000000..53390080 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_metadata.py new file mode 100644 index 00000000..16ace8ba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options.py new file mode 100644 index 00000000..324a3bd9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map.py new file mode 100644 index 00000000..05b62fc4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..6cff28b0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..31573d2b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings.py new file mode 100644 index 00000000..db7ae75d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..ea28fe4c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..8829bb88 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..0e93351e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..fbe0a3bd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..52963198 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..bd15f8ea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..c35cecf0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..37d1a83e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..a4d18896 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..8c496c98 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum.py new file mode 100644 index 00000000..a62f91b6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params.py new file mode 100644 index 00000000..341f8dfd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum.py new file mode 100644 index 00000000..c2b2ed04 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1.py new file mode 100644 index 00000000..54c17174 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_1_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject1Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_authentication.py new file mode 100644 index 00000000..0465d5e5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts.py new file mode 100644 index 00000000..3ea666eb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_metadata.py new file mode 100644 index 00000000..1f5a70fc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options.py new file mode 100644 index 00000000..d97c43de --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map.py new file mode 100644 index 00000000..27202ef0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..7b42b5a2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..3a681855 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings.py new file mode 100644 index 00000000..c716c7fe --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..b48eb0a1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..d591bfb7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..dd4fd6ae --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..a6343101 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..7151fb34 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..60591170 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..444d4f54 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..14541774 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..3d90f0ed --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..9721cdd2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum.py new file mode 100644 index 00000000..f09b9105 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params.py new file mode 100644 index 00000000..a806c4ee --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum.py new file mode 100644 index 00000000..bb4801da --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2.py new file mode 100644 index 00000000..a81645a2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_2_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject2Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_authentication.py new file mode 100644 index 00000000..d4b2628b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts.py new file mode 100644 index 00000000..13b6f3aa --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_metadata.py new file mode 100644 index 00000000..a0d626bf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options.py new file mode 100644 index 00000000..b1ee4f6e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..d5f60e6c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..17fdf005 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..561ac083 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map.py new file mode 100644 index 00000000..7878b8f1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated.py new file mode 100644 index 00000000..3e005bab --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..b49898c5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..3f293ead --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..750e4f5f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..b9fc2d1c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..b80390d5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_subject.py new file mode 100644 index 00000000..9efd8413 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params.py new file mode 100644 index 00000000..55eb2a6b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum.py new file mode 100644 index 00000000..c402fd76 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3.py new file mode 100644 index 00000000..14a41ec6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_3_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject3Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_authentication.py new file mode 100644 index 00000000..d80b2828 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts.py new file mode 100644 index 00000000..32c85ba4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_metadata.py new file mode 100644 index 00000000..db129a72 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options.py new file mode 100644 index 00000000..e1b32322 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..b622b878 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..ead6f850 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..c7488750 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated.py new file mode 100644 index 00000000..7b58178c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..38f43ca2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..764979be --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..f4a383b4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..8bae8157 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_subject.py new file mode 100644 index 00000000..dc345046 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params.py new file mode 100644 index 00000000..62711ba1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum.py new file mode 100644 index 00000000..ff51837e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_3_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject3StrategyEnum = typing.Union[ + typing.Literal["pingfederate"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4.py new file mode 100644 index 00000000..ee05012e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_4_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject4Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_authentication.py new file mode 100644 index 00000000..28ee04aa --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts.py new file mode 100644 index 00000000..b473d446 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_metadata.py new file mode 100644 index 00000000..6c4d58ab --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options.py new file mode 100644 index 00000000..9b037cb0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..63ffbf51 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..f08b4795 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params.py new file mode 100644 index 00000000..511da9e9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum.py new file mode 100644 index 00000000..ae76c418 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5.py new file mode 100644 index 00000000..0e6f2b1e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_5_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject5Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject5Options] = None + strategy: EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_authentication.py new file mode 100644 index 00000000..fd41d894 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts.py new file mode 100644 index 00000000..e7cf5e11 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_metadata.py new file mode 100644 index 00000000..40c0ec2e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options.py new file mode 100644 index 00000000..3c68066e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..eda77ea4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params.py new file mode 100644 index 00000000..35f8e48f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum.py new file mode 100644 index 00000000..794d251e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6.py new file mode 100644 index 00000000..961405d5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_6_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject6Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_authentication.py new file mode 100644 index 00000000..ec8a2633 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts.py new file mode 100644 index 00000000..5740b766 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_metadata.py new file mode 100644 index 00000000..8d7055d5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options.py new file mode 100644 index 00000000..9c08e029 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..c5a2a793 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..ff8c18cb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params.py new file mode 100644 index 00000000..14355fd4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum.py new file mode 100644 index 00000000..2ef97db4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_6_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject6StrategyEnum = typing.Union[ + typing.Literal["google-apps"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7.py new file mode 100644 index 00000000..5c569707 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_deleted_previous_object_7_authentication import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Authentication, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_metadata import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Metadata, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options import ( + EventStreamCloudEventConnectionDeletedPreviousObject7Options, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_authentication.py new file mode 100644 index 00000000..6844f20b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts.py new file mode 100644 index 00000000..044e8ac2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_metadata.py new file mode 100644 index 00000000..24e9a597 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options.py new file mode 100644 index 00000000..dccb1736 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options.py @@ -0,0 +1,179 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionDeletedPreviousObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[ + EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum + ] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..29df5e9f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionDeletedPreviousObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..7eeeabe9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..b33e07b0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..53570390 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..8ce15931 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params.py new file mode 100644 index 00000000..1dd6ce9d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..61caca09 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..f7830f24 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum.py new file mode 100644 index 00000000..4257c96a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_previous_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedPreviousObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_deleted_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_type_enum.py new file mode 100644 index 00000000..254281e7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_deleted_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionDeletedTypeEnum = typing.Union[typing.Literal["connection.deleted"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated.py new file mode 100644 index 00000000..38cb6f23 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_cloud_event import EventStreamCloudEventConnectionUpdatedCloudEvent + + +class EventStreamCloudEventConnectionUpdated(UniversalBaseModel): + """ + SSE message for connection.updated. + """ + + offset: str = pydantic.Field() + """ + Opaque cursor representing position in the stream. Pass as the `from` query parameter to resume. + """ + + event: EventStreamCloudEventConnectionUpdatedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event.py new file mode 100644 index 00000000..15b52cd0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event.py @@ -0,0 +1,77 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_connection_updated_cloud_event_type_enum import ( + EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum, +) +from .event_stream_cloud_event_connection_updated_data import EventStreamCloudEventConnectionUpdatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum + + +class EventStreamCloudEventConnectionUpdatedCloudEvent(UniversalBaseModel): + """ + Represents an event that occurs when a connection is updated. + """ + + specversion: EventStreamCloudEventSpecVersionEnum + type: EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum + source: str = pydantic.Field() + """ + The source of the event. This will take the form 'urn:auth0:.'. + """ + + id: str = pydantic.Field() + """ + A unique identifier for the event. + """ + + time: dt.datetime = pydantic.Field() + """ + An ISO-8601 timestamp indicating when the event physically occurred. + """ + + data: EventStreamCloudEventConnectionUpdatedData + a_0_tenant: typing_extensions.Annotated[ + str, + FieldMetadata(alias="a0tenant"), + pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), + ] + """ + The auth0 tenant ID to which the event is associated. + """ + + a_0_stream: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="a0stream"), + pydantic.Field( + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", + ), + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + + a_0_purpose: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventA0PurposeEnum], + FieldMetadata(alias="a0purpose"), + pydantic.Field(alias="a0purpose"), + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.py new file mode 100644 index 00000000..245ce6f2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum = typing.Union[ + typing.Literal["connection.updated"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_data.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_data.py new file mode 100644 index 00000000..3621a782 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_data.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object import EventStreamCloudEventConnectionUpdatedObject +from .event_stream_cloud_event_connection_updated_previous_object import ( + EventStreamCloudEventConnectionUpdatedPreviousObject, +) +from .event_stream_cloud_event_context import EventStreamCloudEventContext + + +class EventStreamCloudEventConnectionUpdatedData(UniversalBaseModel): + """ + The event payload. + """ + + object: EventStreamCloudEventConnectionUpdatedObject + previous_object: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject] = None + context: typing.Optional[EventStreamCloudEventContext] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object.py new file mode 100644 index 00000000..30ebccc4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_updated_object_0 import EventStreamCloudEventConnectionUpdatedObject0 +from .event_stream_cloud_event_connection_updated_object_1 import EventStreamCloudEventConnectionUpdatedObject1 +from .event_stream_cloud_event_connection_updated_object_2 import EventStreamCloudEventConnectionUpdatedObject2 +from .event_stream_cloud_event_connection_updated_object_3 import EventStreamCloudEventConnectionUpdatedObject3 +from .event_stream_cloud_event_connection_updated_object_4 import EventStreamCloudEventConnectionUpdatedObject4 +from .event_stream_cloud_event_connection_updated_object_5 import EventStreamCloudEventConnectionUpdatedObject5 +from .event_stream_cloud_event_connection_updated_object_6 import EventStreamCloudEventConnectionUpdatedObject6 +from .event_stream_cloud_event_connection_updated_object_7 import EventStreamCloudEventConnectionUpdatedObject7 + +EventStreamCloudEventConnectionUpdatedObject = typing.Union[ + EventStreamCloudEventConnectionUpdatedObject0, + EventStreamCloudEventConnectionUpdatedObject1, + EventStreamCloudEventConnectionUpdatedObject2, + EventStreamCloudEventConnectionUpdatedObject3, + EventStreamCloudEventConnectionUpdatedObject4, + EventStreamCloudEventConnectionUpdatedObject5, + EventStreamCloudEventConnectionUpdatedObject6, + EventStreamCloudEventConnectionUpdatedObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0.py new file mode 100644 index 00000000..d9dd8848 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_0_authentication import ( + EventStreamCloudEventConnectionUpdatedObject0Authentication, +) +from .event_stream_cloud_event_connection_updated_object_0_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_0_metadata import ( + EventStreamCloudEventConnectionUpdatedObject0Metadata, +) +from .event_stream_cloud_event_connection_updated_object_0_options import ( + EventStreamCloudEventConnectionUpdatedObject0Options, +) +from .event_stream_cloud_event_connection_updated_object_0_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_authentication.py new file mode 100644 index 00000000..e314875c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_connected_accounts.py new file mode 100644 index 00000000..c197a81b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_metadata.py new file mode 100644 index 00000000..0f890ecf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options.py new file mode 100644 index 00000000..3ac78b3b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_updated_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_updated_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map.py new file mode 100644 index 00000000..107b5d11 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..14c8a21f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..df45d0a3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings.py new file mode 100644 index 00000000..4b6a925c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..984b1c65 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..556e0fc7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..e4948678 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..6a89b877 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..5d13bc1f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..ded3ddc5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..2f983407 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..8bbf69d6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..05fa3029 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..d23e00f5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_type_enum.py new file mode 100644 index 00000000..655da01f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_upstream_params.py new file mode 100644 index 00000000..121ad8a5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_strategy_enum.py new file mode 100644 index 00000000..05428964 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1.py new file mode 100644 index 00000000..332c403c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_1_authentication import ( + EventStreamCloudEventConnectionUpdatedObject1Authentication, +) +from .event_stream_cloud_event_connection_updated_object_1_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_1_metadata import ( + EventStreamCloudEventConnectionUpdatedObject1Metadata, +) +from .event_stream_cloud_event_connection_updated_object_1_options import ( + EventStreamCloudEventConnectionUpdatedObject1Options, +) +from .event_stream_cloud_event_connection_updated_object_1_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_authentication.py new file mode 100644 index 00000000..0bdcc6c7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_connected_accounts.py new file mode 100644 index 00000000..98cb4950 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_metadata.py new file mode 100644 index 00000000..d48334b1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options.py new file mode 100644 index 00000000..0a13ceae --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options.py @@ -0,0 +1,174 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_updated_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_updated_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum] = None + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map.py new file mode 100644 index 00000000..e5f009af --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes] = None + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum] = ( + None + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..9d69f0c3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..233b7a38 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings.py new file mode 100644 index 00000000..0f40d5a0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..9d6b9a8d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..51a0b351 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..6da5bc3d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..23831fe9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..0102a249 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..3997fb0c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..d129fb38 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..5f77ef86 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..48c0f727 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..81d4145f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_type_enum.py new file mode 100644 index 00000000..3df8687c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum = typing.Union[typing.Literal["back_channel"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_upstream_params.py new file mode 100644 index 00000000..b5ffeaba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_strategy_enum.py new file mode 100644 index 00000000..59ec938a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2.py new file mode 100644 index 00000000..64387a55 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_2_authentication import ( + EventStreamCloudEventConnectionUpdatedObject2Authentication, +) +from .event_stream_cloud_event_connection_updated_object_2_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_2_metadata import ( + EventStreamCloudEventConnectionUpdatedObject2Metadata, +) +from .event_stream_cloud_event_connection_updated_object_2_options import ( + EventStreamCloudEventConnectionUpdatedObject2Options, +) +from .event_stream_cloud_event_connection_updated_object_2_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_authentication.py new file mode 100644 index 00000000..e3737485 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_connected_accounts.py new file mode 100644 index 00000000..aa4eb66b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_metadata.py new file mode 100644 index 00000000..66031073 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options.py new file mode 100644 index 00000000..d57a3bb7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_object_2_options_fields_map import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_updated_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_object_2_options_subject import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_updated_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..18532956 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..a306a571 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..09c8191b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_fields_map.py new file mode 100644 index 00000000..155c76bc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated.py new file mode 100644 index 00000000..0ae1a044 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..0358cfde --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..a036d828 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..a2119f6f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..e85b6231 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..ae071b42 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_subject.py new file mode 100644 index 00000000..8ec83162 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_upstream_params.py new file mode 100644 index 00000000..e38cf2f1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_strategy_enum.py new file mode 100644 index 00000000..926d2897 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3.py new file mode 100644 index 00000000..05b8bb47 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_3_authentication import ( + EventStreamCloudEventConnectionUpdatedObject3Authentication, +) +from .event_stream_cloud_event_connection_updated_object_3_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_3_metadata import ( + EventStreamCloudEventConnectionUpdatedObject3Metadata, +) +from .event_stream_cloud_event_connection_updated_object_3_options import ( + EventStreamCloudEventConnectionUpdatedObject3Options, +) +from .event_stream_cloud_event_connection_updated_object_3_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_authentication.py new file mode 100644 index 00000000..8a11d577 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_connected_accounts.py new file mode 100644 index 00000000..39b6caa9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_metadata.py new file mode 100644 index 00000000..0618060d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options.py new file mode 100644 index 00000000..d0bcb8dc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_object_3_options_subject import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_updated_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..6adfa372 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..6c954a0e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = typing.Union[ + typing.Literal["v2026-1"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..52eab845 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated.py new file mode 100644 index 00000000..f804a494 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..4244ce0c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..f4ecc14f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..e15e4154 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..53bd7c9f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_subject.py new file mode 100644 index 00000000..68a649b4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_upstream_params.py new file mode 100644 index 00000000..2d94354e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_strategy_enum.py new file mode 100644 index 00000000..a7b88fde --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_3_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject3StrategyEnum = typing.Union[typing.Literal["pingfederate"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4.py new file mode 100644 index 00000000..4d15e9a0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_4_authentication import ( + EventStreamCloudEventConnectionUpdatedObject4Authentication, +) +from .event_stream_cloud_event_connection_updated_object_4_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_4_metadata import ( + EventStreamCloudEventConnectionUpdatedObject4Metadata, +) +from .event_stream_cloud_event_connection_updated_object_4_options import ( + EventStreamCloudEventConnectionUpdatedObject4Options, +) +from .event_stream_cloud_event_connection_updated_object_4_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_authentication.py new file mode 100644 index 00000000..66dbcee3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_connected_accounts.py new file mode 100644 index 00000000..e86aa6c5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_metadata.py new file mode 100644 index 00000000..a8c8ef59 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options.py new file mode 100644 index 00000000..d265d005 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_updated_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..5be2ac66 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..a665acd5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_upstream_params.py new file mode 100644 index 00000000..77aa6e7a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_strategy_enum.py new file mode 100644 index 00000000..6e921a89 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5.py new file mode 100644 index 00000000..e109672d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_5_authentication import ( + EventStreamCloudEventConnectionUpdatedObject5Authentication, +) +from .event_stream_cloud_event_connection_updated_object_5_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_5_metadata import ( + EventStreamCloudEventConnectionUpdatedObject5Metadata, +) +from .event_stream_cloud_event_connection_updated_object_5_options import ( + EventStreamCloudEventConnectionUpdatedObject5Options, +) +from .event_stream_cloud_event_connection_updated_object_5_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject5Options] = None + strategy: EventStreamCloudEventConnectionUpdatedObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_authentication.py new file mode 100644 index 00000000..c69f2895 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_connected_accounts.py new file mode 100644 index 00000000..f13e88cd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_metadata.py new file mode 100644 index 00000000..5f888d0d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options.py new file mode 100644 index 00000000..7fc67b3b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..9e19195e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_upstream_params.py new file mode 100644 index 00000000..9a6f6e82 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_strategy_enum.py new file mode 100644 index 00000000..f8ea046f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6.py new file mode 100644 index 00000000..1c1c7216 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_6_authentication import ( + EventStreamCloudEventConnectionUpdatedObject6Authentication, +) +from .event_stream_cloud_event_connection_updated_object_6_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_6_metadata import ( + EventStreamCloudEventConnectionUpdatedObject6Metadata, +) +from .event_stream_cloud_event_connection_updated_object_6_options import ( + EventStreamCloudEventConnectionUpdatedObject6Options, +) +from .event_stream_cloud_event_connection_updated_object_6_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_authentication.py new file mode 100644 index 00000000..0db5159d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_connected_accounts.py new file mode 100644 index 00000000..abd2ec0a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_metadata.py new file mode 100644 index 00000000..97818438 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options.py new file mode 100644 index 00000000..8e3f0cd7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..b56953d7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..05089814 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_upstream_params.py new file mode 100644 index 00000000..5646488b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_strategy_enum.py new file mode 100644 index 00000000..6fca7c19 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_6_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject6StrategyEnum = typing.Union[typing.Literal["google-apps"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7.py new file mode 100644 index 00000000..e5231ed5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_object_7_authentication import ( + EventStreamCloudEventConnectionUpdatedObject7Authentication, +) +from .event_stream_cloud_event_connection_updated_object_7_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_object_7_metadata import ( + EventStreamCloudEventConnectionUpdatedObject7Metadata, +) +from .event_stream_cloud_event_connection_updated_object_7_options import ( + EventStreamCloudEventConnectionUpdatedObject7Options, +) +from .event_stream_cloud_event_connection_updated_object_7_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_authentication.py new file mode 100644 index 00000000..5d56b545 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_connected_accounts.py new file mode 100644 index 00000000..b5f1ae3c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_metadata.py new file mode 100644 index 00000000..f3d0ab1a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options.py new file mode 100644 index 00000000..056f4713 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options.py @@ -0,0 +1,177 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_updated_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..c776789f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..9f8ba882 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..16a8b095 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..9011a15e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..c5afd3c7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_upstream_params.py new file mode 100644 index 00000000..ee0f1659 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..9a6a2397 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..be7269e4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_strategy_enum.py new file mode 100644 index 00000000..80947a87 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object.py new file mode 100644 index 00000000..70f458e0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_connection_updated_previous_object_0 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0, +) +from .event_stream_cloud_event_connection_updated_previous_object_1 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1, +) +from .event_stream_cloud_event_connection_updated_previous_object_2 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2, +) +from .event_stream_cloud_event_connection_updated_previous_object_3 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3, +) +from .event_stream_cloud_event_connection_updated_previous_object_4 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4, +) +from .event_stream_cloud_event_connection_updated_previous_object_5 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5, +) +from .event_stream_cloud_event_connection_updated_previous_object_6 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6, +) +from .event_stream_cloud_event_connection_updated_previous_object_7 import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7, +) + +EventStreamCloudEventConnectionUpdatedPreviousObject = typing.Union[ + EventStreamCloudEventConnectionUpdatedPreviousObject0, + EventStreamCloudEventConnectionUpdatedPreviousObject1, + EventStreamCloudEventConnectionUpdatedPreviousObject2, + EventStreamCloudEventConnectionUpdatedPreviousObject3, + EventStreamCloudEventConnectionUpdatedPreviousObject4, + EventStreamCloudEventConnectionUpdatedPreviousObject5, + EventStreamCloudEventConnectionUpdatedPreviousObject6, + EventStreamCloudEventConnectionUpdatedPreviousObject7, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0.py new file mode 100644 index 00000000..d2d0f4b5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_0_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts] = None + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_authentication.py new file mode 100644 index 00000000..1b1c93ec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts.py new file mode 100644 index 00000000..9f8975c4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_connected_accounts.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + cross_app_access: typing.Optional[bool] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_metadata.py new file mode 100644 index 00000000..9024aacc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options.py new file mode 100644 index 00000000..4c5ecce8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0Options(UniversalBaseModel): + """ + Options for the 'oidc' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap] = None + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. + """ + + type: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map.py new file mode 100644 index 00000000..3c796afc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMap(UniversalBaseModel): + """ + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes.py new file mode 100644 index 00000000..c27091b5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..d905f188 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["bind_all", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings.py new file mode 100644 index 00000000..7b93fc22 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..3aeaf01e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..be2f0941 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..1fa03a19 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..39315fe2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata.py new file mode 100644 index 00000000..642cf2f7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum.py new file mode 100644 index 00000000..847388ac --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..73cc2281 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..424399b6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..6a860e31 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..2c78f0df --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum.py new file mode 100644 index 00000000..42aa336b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel", "front_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params.py new file mode 100644 index 00000000..3fe4ad69 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum.py new file mode 100644 index 00000000..ede519c1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_0_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject0StrategyEnum = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1.py new file mode 100644 index 00000000..8f99079f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_1_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_authentication.py new file mode 100644 index 00000000..9a023ab5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts.py new file mode 100644 index 00000000..a8fd1a70 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_metadata.py new file mode 100644 index 00000000..b18abbd2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options.py new file mode 100644 index 00000000..9a551e94 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options.py @@ -0,0 +1,180 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1Options(UniversalBaseModel): + """ + Options for the 'okta' connection + """ + + authorization_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + connection_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + dpop_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum + ] = None + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens + ] = None + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + id_token_session_expiry_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry. + """ + + id_token_signed_response_algs: typing.Optional[ + typing.List[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum] + ] = pydantic.Field(default=None) + """ + List of algorithms allowed to verify the ID tokens. Applicable when strategy=oidc or okta. + """ + + issuer: typing.Optional[str] = pydantic.Field(default=None) + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata] = None + schema_version: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum] = ( + None + ) + scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Space-separated list of OAuth 2.0 scopes requested during authorization. Must include 'openid' (required by OIDC spec). Common values: 'openid profile email'. Additional scopes depend on the identity provider. + """ + + send_back_channel_nonce: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true and type is 'back_channel', includes a cryptographic nonce in authorization requests to prevent replay attacks. The identity provider must include this nonce in the ID token for validation. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_method: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum + ] = None + token_endpoint_auth_signing_alg: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum + ] = None + token_endpoint_jwtca_aud_format: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum + ] = None + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field( + alias="useOauthSpecScope", + description="When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint", + ), + ] = None + """ + When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + attribute_map: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap] = None + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided + """ + + type: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map.py new file mode 100644 index 00000000..cf708fac --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes, +) +from .event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMap(UniversalBaseModel): + """ + Mapping of claims received from the identity provider (IdP) + """ + + attributes: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes] = ( + None + ) + userinfo_scope: typing.Optional[str] = pydantic.Field(default=None) + """ + Scopes to send to the IdP's Userinfo endpoint + """ + + mapping_mode: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes.py new file mode 100644 index 00000000..e0aaec6b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_attributes.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapAttributes = typing.Dict[str, typing.Any] +""" +Object containing mapping details for incoming claims +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum.py new file mode 100644 index 00000000..c11fdd7a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_attribute_map_mapping_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsAttributeMapMappingModeEnum = typing.Union[ + typing.Literal["basic_profile", "use_map"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings.py new file mode 100644 index 00000000..fbac9076 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettings(UniversalBaseModel): + """ + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + """ + + pkce: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum.py new file mode 100644 index 00000000..0c96bb41 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_connection_settings_pkce_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsConnectionSettingsPkceEnum = typing.Union[ + typing.Literal["auto", "S256", "plain", "disabled"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum.py new file mode 100644 index 00000000..38bdb9a7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_dpop_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsDpopSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "ES512", "Ed25519"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..99458bd4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum.py new file mode 100644 index 00000000..1d46d2ce --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_id_token_signed_response_algs_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsIdTokenSignedResponseAlgsItemEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata.py new file mode 100644 index 00000000..75f74529 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum.py new file mode 100644 index 00000000..75eae56b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_schema_version_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSchemaVersionEnum = typing.Union[ + typing.Literal["openid-1.0.0", "oidc-v4"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..12feb549 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum.py new file mode 100644 index 00000000..18e395d8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_method_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthMethodEnum = typing.Union[ + typing.Literal["client_secret_post", "private_key_jwt"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py new file mode 100644 index 00000000..1c1e868c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_auth_signing_alg_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointAuthSigningAlgEnum = typing.Union[ + typing.Literal["ES256", "ES384", "PS256", "PS384", "RS256", "RS384", "RS512"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py new file mode 100644 index 00000000..2722cdc8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_token_endpoint_jwtca_aud_format_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTokenEndpointJwtcaAudFormatEnum = typing.Union[ + typing.Literal["issuer", "token_endpoint"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum.py new file mode 100644 index 00000000..9ce104e1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsTypeEnum = typing.Union[ + typing.Literal["back_channel"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params.py new file mode 100644 index 00000000..4b0c4397 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum.py new file mode 100644 index 00000000..3af16c45 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_1_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject1StrategyEnum = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2.py new file mode 100644 index 00000000..c3600ceb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_2_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_authentication.py new file mode 100644 index 00000000..2c41023b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts.py new file mode 100644 index 00000000..5e7b06a8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_metadata.py new file mode 100644 index 00000000..7d067a13 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options.py new file mode 100644 index 00000000..930b1636 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options.py @@ -0,0 +1,298 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_subject import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject, +) +from .event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2Options(UniversalBaseModel): + """ + Options for the 'samlp' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams] = None + debug: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables detailed SAML debugging by issuing 'w' (warning) events in tenant logs containing SAML request/response details. WARNING: Potentially exposes sensitive user information (PII, credentials) and should only be enabled temporarily for debugging purposes. + """ + + deflate: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables DEFLATE compression for SAML requests sent via HTTP-Redirect binding. + """ + + destination_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="destinationUrl"), + pydantic.Field( + alias="destinationUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + disable_fields_map_fix: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableFieldsMapFix"), + pydantic.Field( + alias="disableFieldsMapFix", + description="When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled).", + ), + ] = None + """ + When true, disables the automatic correction of the fieldsMap configuration to ensure proper mapping of SAML attributes to user profile fields. Defaults to false (fieldsMap fix enabled). + """ + + disable_signout: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="disableSignout"), + pydantic.Field( + alias="disableSignout", + description="When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled).", + ), + ] = None + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + discovery_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OIDC Discovery endpoint (/.well-known/openid-configuration). When provided and oidc_metadata is empty, Auth0 automatically retrieves the provider's configuration including endpoints and supported features. Used with Cross App Access. + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap], + FieldMetadata(alias="fieldsMap"), + pydantic.Field(alias="fieldsMap"), + ] = None + fields_map_json_raw: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fieldsMapJsonRaw"), + pydantic.Field( + alias="fieldsMapJsonRaw", + description="Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object.", + ), + ] = None + """ + Raw JSON string representation of the fieldsMap configuration. Used internally for storage and retrieval of the fieldsMap object. + """ + + global_token_revocation_jwt_iss: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'iss' (Issuer) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT issuer matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_sub. + """ + + global_token_revocation_jwt_sub: typing.Optional[str] = pydantic.Field(default=None) + """ + Expected 'sub' (Subject) claim value for JWT tokens in Global Token Revocation requests from the identity provider. When configured, Auth0 validates the JWT subject matches this value before processing token revocation. Must be used together with global_token_revocation_jwt_iss. + """ + + metadata_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="metadataUrl"), + pydantic.Field( + alias="metadataUrl", + description="HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both.", + ), + ] = None + """ + HTTPS URL to the identity provider's SAML metadata document. When provided, Auth0 automatically fetches and parses the metadata to extract signInEndpoint, signOutEndpoint, signingCert, signSAMLRequest, and protocolBinding. Use metadataUrl OR metadataXml, not both. + """ + + oidc_metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata] = None + recipient_url: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="recipientUrl"), + pydantic.Field( + alias="recipientUrl", + description="The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL.", + ), + ] = None + """ + The URL where Auth0 will send SAML authentication requests (the Identity Provider's SSO URL). Must be a valid HTTPS URL. + """ + + request_template: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="requestTemplate"), + pydantic.Field( + alias="requestTemplate", + description="Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template", + ), + ] = None + """ + Custom XML template for SAML authentication requests. Supports variable substitution using @@variableName@@ syntax. When not provided, uses default SAML AuthnRequest template. See https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider#customize-the-request-template + """ + + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signOutEndpoint"), + pydantic.Field( + alias="signOutEndpoint", + description="Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false.", + ), + ] = None + """ + Identity provider's SAML SingleLogoutService endpoint URL where Auth0 sends logout requests for federated sign-out. When not provided, defaults to signInEndpoint. Only used if disableSignout is false. + """ + + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom SAML assertion attribute to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single SAML attribute name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings.py new file mode 100644 index 00000000..3f470741 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..7e5bab7f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum.py new file mode 100644 index 00000000..47166e6e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map.py new file mode 100644 index 00000000..b559088f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_fields_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsFieldsMap = typing.Dict[str, typing.Any] +""" +Maps SAML assertion attributes from the identity provider to Auth0 user profile attributes. Format: { 'auth0_field': 'saml_attribute' } or { 'auth0_field': ['saml_attr1', 'saml_attr2'] } for fallback options. Merged with default mappings for email, name, given_name, family_name, and groups. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated.py new file mode 100644 index 00000000..f4a830af --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..4ca97214 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata.py new file mode 100644 index 00000000..4e54fc90 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_oidc_metadata.py @@ -0,0 +1,211 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsOidcMetadata(UniversalBaseModel): + """ + OpenID Connect Provider Metadata as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata. Used with Cross App Access. + """ + + acr_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Authentication Context Class References that this OP supports + """ + + authorization_endpoint: str = pydantic.Field() + """ + URL of the identity provider's OAuth 2.0 authorization endpoint where users are redirected for authentication. Must be a valid HTTPS URL. This endpoint initiates the OAuth 2.0 authorization code flow. + """ + + claim_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. If omitted, the implementation supports only normal Claims. + """ + + claims_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values. + """ + + claims_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false. + """ + + claims_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + """ + + code_challenge_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Proof Key for Code Exchange (PKCE) code challenge methods supported by this OP (e.g., S256, plain), as defined in RFC 7636. + """ + + display_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + dpop_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing. + """ + + end_session_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's logout/end session endpoint. When configured as a static URL, users are redirected here after logging out from Auth0. Must use HTTPS scheme. + """ + + grant_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"]. + """ + + id_token_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT + """ + + id_token_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. + """ + + id_token_signing_alg_values_supported: typing.List[str] = pydantic.Field() + """ + A list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be included. The value none MAY be supported, but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow). https://datatracker.ietf.org/doc/html/rfc7518 + """ + + issuer: str = pydantic.Field() + """ + The identity provider's unique issuer identifier URL (e.g., https://accounts.google.com). Must match the 'iss' claim in ID tokens from the identity provider. + """ + + jwks_uri: str = pydantic.Field() + """ + URL of the identity provider's JSON Web Key Set (JWKS) endpoint containing public keys for signature verification. Auth0 retrieves these keys to validate ID token signatures. + """ + + op_policy_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about the OPs requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + op_tos_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + URL that the OpenID Provider provides to the person registering the Client to read about OpenID Providers terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given. + """ + + registration_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the OPs Dynamic Client Registration Endpoint. RECOMMENDED but not REQUIRED. https://openid.net/specs/openid-connect-discovery-1_0.html#OpenID.Registration + """ + + request_object_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference. + """ + + request_object_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256. + """ + + request_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false. + """ + + request_uri_parameter_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is false. + """ + + require_request_uri_registration: typing.Optional[bool] = pydantic.Field(default=None) + """ + Boolean value specifying whether the OP requires use of the request_uri parameter. If omitted, the default value is false. + """ + + response_modes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_mode values that this OP supports. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"] + """ + + response_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values + """ + + scopes_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported. RECOMMENDED but not REQUIRED + """ + + service_documentation: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation. + """ + + subject_types_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of the Subject Identifier types that this OP supports. Valid types include pairwise and public + """ + + token_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the identity provider's OAuth 2.0 token endpoint where authorization codes are exchanged for access tokens. Must be a valid HTTPS URL. Required for authorization code flow but optional for implicit flow. + """ + + token_endpoint_auth_methods_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749]. + """ + + token_endpoint_auth_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used. + """ + + ui_locales_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values. + """ + + userinfo_encryption_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_encryption_enc_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + """ + + userinfo_endpoint: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional URL of the identity provider's UserInfo endpoint. When configured with attribute mapping, Auth0 calls this endpoint to retrieve additional user profile claims using the access token. + """ + + userinfo_signing_alg_values_supported: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum.py new file mode 100644 index 00000000..8c3a2ed1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..cc4eeea7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum.py new file mode 100644 index 00000000..c842206c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_subject.py new file mode 100644 index 00000000..1e08a611 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params.py new file mode 100644 index 00000000..1f417c8e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum.py new file mode 100644 index 00000000..bf670d97 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_2_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject2StrategyEnum = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3.py new file mode 100644 index 00000000..7d49a31d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_3_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_authentication.py new file mode 100644 index 00000000..66815f7c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts.py new file mode 100644 index 00000000..18a97451 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_metadata.py new file mode 100644 index 00000000..b48110ad --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options.py new file mode 100644 index 00000000..fd08c5b7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options.py @@ -0,0 +1,172 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_subject import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject, +) +from .event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3Options(UniversalBaseModel): + """ + Options for the 'pingfederate' connection + """ + + assertion_decryption_settings: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings + ] = None + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + X.509 signing certificate from the identity provider in .der format. Used to validate signatures in SAML Responses and Assertions. This is an alternative to signingCert and is kept for backward compatibility. Prefer using signingCert instead. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum], + FieldMetadata(alias="digestAlgorithm"), + pydantic.Field(alias="digestAlgorithm"), + ] = None + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Domain aliases for the connection + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider.", + ), + ] = None + """ + The entity identifier (Issuer) for the SAML Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. This value is included in SAML AuthnRequest messages sent to the identity provider. + """ + + expires: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + ISO 8601 formatted datetime indicating when the identity provider's signing certificate expires. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + idpinitiated: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated] = None + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + protocol_binding: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum], + FieldMetadata(alias="protocolBinding"), + pydantic.Field(alias="protocolBinding"), + ] = None + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum + ] = None + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum], + FieldMetadata(alias="signatureAlgorithm"), + pydantic.Field(alias="signatureAlgorithm"), + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml.", + ), + ] = None + """ + Identity provider's SAML SingleSignOnService endpoint URL where Auth0 sends SAML authentication requests. This is the primary login URL for the SAML connection. Required unless using metadataUrl or metadataXml. + """ + + signing_cert: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signingCert"), + pydantic.Field( + alias="signingCert", + description="Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification.", + ), + ] = None + """ + Base64-encoded X.509 certificate from the identity provider used to validate signatures in SAML responses and assertions. The certificate is decoded and used for cryptographic signature verification. + """ + + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="signSAMLRequest"), + pydantic.Field( + alias="signSAMLRequest", + description="When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests).", + ), + ] = None + """ + When true, Auth0 signs SAML authentication requests using the connection's signing key. The signature includes the request's digest and is validated by the identity provider. Defaults to false (unsigned requests). + """ + + subject: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + For SAML connections, the tenant domain used to construct the login endpoint URL. Can be a string for single-tenant or an array of strings for multi-tenant validation. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + SHA-1 thumbprints (fingerprints) of the identity provider's signing certificates. Automatically computed from signingCert during connection creation. Each thumbprint must be a 40-character hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams] = None + ping_federate_base_url: typing_extensions.Annotated[ + str, + FieldMetadata(alias="pingFederateBaseUrl"), + pydantic.Field( + alias="pingFederateBaseUrl", + description="URL provided by PingFederate which returns information used for creating the connection", + ), + ] + """ + URL provided by PingFederate which returns information used for creating the connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings.py new file mode 100644 index 00000000..5ac30784 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettings(UniversalBaseModel): + """ + Settings for SAML assertion decryption. + """ + + algorithm_exceptions: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + A list of insecure algorithms to allow for SAML assertion decryption. + """ + + algorithm_profile: ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + ) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py new file mode 100644 index 00000000..d210b077 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_assertion_decryption_settings_algorithm_profile_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum = ( + typing.Union[typing.Literal["v2026-1"], typing.Any] +) diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum.py new file mode 100644 index 00000000..4155fb34 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_digest_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsDigestAlgorithmEnum = typing.Union[ + typing.Literal["sha1", "sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated.py new file mode 100644 index 00000000..18acc57d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiated(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum + ] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum.py new file mode 100644 index 00000000..e49dd44e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_idpinitiated_client_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsIdpinitiatedClientProtocolEnum = typing.Union[ + typing.Literal["oidc", "samlp", "wsfed"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum.py new file mode 100644 index 00000000..559f8ed1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_protocol_binding_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsProtocolBindingEnum = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..0ddd56b7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum.py new file mode 100644 index 00000000..931e830a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_signature_algorithm_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSignatureAlgorithmEnum = typing.Union[ + typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_subject.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_subject.py new file mode 100644 index 00000000..c95492a4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_subject.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsSubject(UniversalBaseModel): + """ + Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params.py new file mode 100644 index 00000000..6c7321fd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum.py new file mode 100644 index 00000000..36ce3ab4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_3_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject3StrategyEnum = typing.Union[ + typing.Literal["pingfederate"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4.py new file mode 100644 index 00000000..08cde7f2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_4_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject4(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject4Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_authentication.py new file mode 100644 index 00000000..612eae72 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject4Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts.py new file mode 100644 index 00000000..3318a57a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject4ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_metadata.py new file mode 100644 index 00000000..f61c3418 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject4Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options.py new file mode 100644 index 00000000..0439ae74 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options.py @@ -0,0 +1,121 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject4Options(UniversalBaseModel): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + entity_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="entityId"), + pydantic.Field( + alias="entityId", + description="The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'.", + ), + ] = None + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="fedMetadataXml"), + pydantic.Field( + alias="fedMetadataXml", + description="Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'.", + ), + ] = None + """ + Inline XML alternative to 'adfs_server'. Cannot be set together with 'adfs_server'. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + prev_thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly.", + ), + ] = None + """ + Passive Requestor (WS-Fed) sign-in endpoint discovered from metadata or provided explicitly. + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant domain + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..4d3390e1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..34f019e3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params.py new file mode 100644 index 00000000..55958620 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject4OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum.py new file mode 100644 index 00000000..edb88b65 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_4_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject4StrategyEnum = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5.py new file mode 100644 index 00000000..cd604df1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_5_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_5_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_5_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject5(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject5Options] = None + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_authentication.py new file mode 100644 index 00000000..54862b91 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject5Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts.py new file mode 100644 index 00000000..534416fe --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject5ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_metadata.py new file mode 100644 index 00000000..e6f91019 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject5Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options.py new file mode 100644 index 00000000..c8f5fb1a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options.py @@ -0,0 +1,154 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject5Options(UniversalBaseModel): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentIP"), + pydantic.Field( + alias="agentIP", + description="IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent).", + ), + ] = None + """ + IP address of the AD connector agent used to validate that authentication requests originate from the corporate network for Kerberos authentication (managed by the AD Connector agent). + """ + + agent_mode: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="agentMode"), + pydantic.Field( + alias="agentMode", + description="When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent).", + ), + ] = None + """ + When enabled, allows direct username/password authentication through the AD connector agent instead of WS-Federation protocol (managed by the AD Connector agent). + """ + + agent_version: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="agentVersion"), + pydantic.Field( + alias="agentVersion", + description="Version identifier of the installed AD connector agent software (managed by the AD Connector agent).", + ), + ] = None + """ + Version identifier of the installed AD connector agent software (managed by the AD Connector agent). + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Auth0's brute force protection to prevent credential stuffing attacks. When enabled, blocks suspicious login attempts from specific IP addresses after repeated failures. + """ + + cert_auth: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="certAuth"), + pydantic.Field( + alias="certAuth", + description="Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint", + ), + ] = None + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of X.509 certificates in PEM format used for validating SAML signatures from the AD identity provider (managed by the AD Connector agent). + """ + + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of domain names that can be used with identifier-first authentication flow to route users to this AD connection; each domain must be a valid DNS name up to 256 characters + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + https url of the icon to be shown + """ + + ips: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of IP address ranges in CIDR notation used to determine if authentication requests originate from the corporate network for Kerberos or certificate authentication. + """ + + kerberos: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + kerberos_only: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, restricts the connection to Kerberos-only authentication, disallowing username/password fallback. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum + ] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="signInEndpoint"), + pydantic.Field( + alias="signInEndpoint", + description="The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent).", + ), + ] = None + """ + The sign-in endpoint type for the AD-LDAP connector agent (managed by the AD Connector agent). + """ + + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary AD domain hint used for HRD and discovery. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate SHA-1 thumbprints for validating signatures. Managed by Auth0 when using the AD Connector agent. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..3758f78d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params.py new file mode 100644 index 00000000..c08a5b3a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject5OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum.py new file mode 100644 index 00000000..60252d47 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_5_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject5StrategyEnum = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6.py new file mode 100644 index 00000000..20b48557 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_6_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject6Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_authentication.py new file mode 100644 index 00000000..f22bb993 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts.py new file mode 100644 index 00000000..3924a380 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_metadata.py new file mode 100644 index 00000000..db9a5952 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options.py new file mode 100644 index 00000000..2889280a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options.py @@ -0,0 +1,139 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6Options(UniversalBaseModel): + """ + Options for the 'google-apps' connection + """ + + admin_access_token_expiresin: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Expiration timestamp for the `admin_access_token` in ISO 8601 format. Auth0 uses this value to determine when to refresh the token. + """ + + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false. + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true. + """ + + client_id: str = pydantic.Field() + """ + Your Google OAuth 2.0 client ID. You can find this in your [Google Cloud Console](https://console.cloud.google.com/apis/credentials) under the OAuth 2.0 Client IDs section. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + Primary Google Workspace domain name that users must belong to. + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication. + """ + + email: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the `agreedToTerms` flag from the Google Directory profile. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables enrichment with Google group memberships (required for `ext_groups_extended`). + """ + + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory admin flag for the signing-in user. + """ + + ext_is_suspended: typing.Optional[bool] = pydantic.Field(default=None) + """ + Fetches the Google Directory suspended flag for the signing-in user. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens + ] = None + handle_login_from_social: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional OAuth scopes requested beyond the default `email profile` scopes; ignored unless `allow_setting_login_scopes` is true. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum + ] = None + tenant_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Google Workspace primary domain used to identify the organization during authentication. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..2c719fba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..fedebb54 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params.py new file mode 100644 index 00000000..235061d4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject6OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum.py new file mode 100644 index 00000000..f26e0e6d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_6_strategy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject6StrategyEnum = typing.Union[ + typing.Literal["google-apps"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7.py new file mode 100644 index 00000000..d000d55c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_updated_previous_object_7_authentication import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_metadata import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7Options, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7(UniversalBaseModel): + authentication: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication] = None + connected_accounts: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts] = None + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name used in the new universal login experience + """ + + enabled_clients: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients. + """ + + id: str = pydantic.Field() + """ + The connection's identifier + """ + + is_domain_connection: typing.Optional[bool] = pydantic.Field(default=None) + """ + true promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.) + """ + + metadata: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata] = None + name: str = pydantic.Field() + """ + The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128 + """ + + realms: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm. + """ + + options: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7Options] = None + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. Defaults to `false`. + """ + + strategy: EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_authentication.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_authentication.py new file mode 100644 index 00000000..6139cc69 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_authentication.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7Authentication(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for authentication during login. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts.py new file mode 100644 index 00000000..469e2f60 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_connected_accounts.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7ConnectedAccounts(UniversalBaseModel): + """ + Configure the purpose of a connection to be used for connected accounts and Token Vault. + """ + + active: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_metadata.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_metadata.py new file mode 100644 index 00000000..961a45d9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_metadata.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7Metadata(UniversalBaseModel): + """ + Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options.py new file mode 100644 index 00000000..867dd666 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options.py @@ -0,0 +1,179 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum, +) +from .event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum import ( + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum, +) + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7Options(UniversalBaseModel): + """ + Options for the 'waad' connection + """ + + api_enable_users: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enable users API + """ + + app_domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The Azure AD application domain (e.g., 'contoso.onmicrosoft.com'). Used primarily with WS-Federation protocol and Azure AD v1 endpoints. + """ + + app_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The Application ID URI (App ID URI) for the Azure AD application. Required when using Azure AD v1 with the Resource Owner Password flow. Used to identify the resource being requested in OAuth token requests. + """ + + basic_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + Includes basic user profile information from Azure AD (name, email, given_name, family_name). Always enabled and required - represents the minimum profile data retrieved during authentication. + """ + + cert_rollover_notification: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of the last certificate expiring soon notification. + """ + + client_id: str = pydantic.Field() + """ + OAuth 2.0 client identifier issued by the identity provider during application registration. This value identifies your Auth0 connection to the identity provider. + """ + + domain: typing.Optional[str] = pydantic.Field(default=None) + """ + The primary Azure AD tenant domain (e.g., 'contoso.onmicrosoft.com' or 'contoso.com'). + """ + + domain_aliases: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Alternative domain names associated with this Azure AD tenant. Allows users from multiple verified domains to authenticate through this connection. Can be an array of domain strings. + """ + + ext_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves and stores Azure AD security group memberships for the user. Requires Microsoft Graph API permissions (Directory.Read.All). Allows configuring max_groups_to_retrieve. + """ + + ext_nested_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, stores all groups the user is member of, including transitive group memberships (groups within groups). When false (default), only direct group memberships are included. + """ + + ext_profile: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled (true), retrieves extended profile attributes from Azure AD via Microsoft Graph API (job title, department, office location, etc.). Requires Graph API permissions. Only available with Azure AD v1 or when explicitly enabled for v2. + """ + + federated_connections_access_tokens: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens + ] = None + granted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow. + """ + + icon_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows. + """ + + identity_api: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum] = None + max_groups_to_retrieve: typing.Optional[str] = pydantic.Field(default=None) + """ + Maximum number of Azure AD groups to retrieve per user during authentication. Helps prevent performance issues for users in many groups. Only applies when ext_groups is enabled. Leave empty to use platform default. + """ + + non_persistent_attrs: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist) + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + OAuth 2.0 scopes to request from Azure AD during authentication. Each scope represents a permission (e.g., 'User.Read', 'Group.Read.All'). Only applies with Microsoft Identity Platform v2.0. See Microsoft Graph permissions reference for available scopes. + """ + + set_user_root_attributes: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum + ] = None + should_trust_email_verified_connection: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum + ] = None + tenant_domain: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne] = None + tenant_id: typing_extensions.Annotated[ + typing.Optional[str], + FieldMetadata(alias="tenantId"), + pydantic.Field( + alias="tenantId", + description="The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID.", + ), + ] = None + """ + The Azure AD tenant ID as a UUID. The unique identifier for your Azure AD organization. Must be a valid 36-character UUID. + """ + + thumbprints: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Array of certificate thumbprints (SHA-128/SHA-256/SHA-512 hex hashes) for validating SAML signatures. Used with WS-Federation protocol. Maximum 20 thumbprints. Each thumbprint must be a hexadecimal string. + """ + + upstream_params: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams] = None + use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. + """ + + use_common_endpoint: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="useCommonEndpoint"), + pydantic.Field( + alias="useCommonEndpoint", + description="When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false.", + ), + ] = None + """ + When enabled (true), uses the Azure AD common endpoint for multi-tenant authentication. Allows users from any Azure AD organization to sign in. Requires userid_attribute set to 'sub' (not 'oid'). Cannot be used with SCIM provisioning. Defaults to false. + """ + + userid_attribute: typing.Optional[ + EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum + ] = None + waad_protocol: typing.Optional[EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens.py new file mode 100644 index 00000000..66e5e9e7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_federated_connections_access_tokens.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsFederatedConnectionsAccessTokens(UniversalBaseModel): + """ + Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores access and refresh tokens from federated logins, enabling your application to make authenticated API calls on behalf of users. + """ + + active: bool = pydantic.Field() + """ + Enables refresh tokens and access tokens collection for federated connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum.py new file mode 100644 index 00000000..f0508923 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_identity_api_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsIdentityApiEnum = typing.Union[ + typing.Literal["microsoft-identity-platform-v2.0", "azure-active-directory-v1.0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum.py new file mode 100644 index 00000000..90377d1a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_set_user_root_attributes_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsSetUserRootAttributesEnum = typing.Union[ + typing.Literal["on_each_login", "on_first_login", "never_on_login"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum.py new file mode 100644 index 00000000..417e743d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_should_trust_email_verified_connection_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsShouldTrustEmailVerifiedConnectionEnum = typing.Union[ + typing.Literal["never_set_emails_as_verified", "always_set_emails_as_verified"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one.py new file mode 100644 index 00000000..53c9199b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_tenant_domain_one.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsTenantDomainOne = str +""" +Azure AD tenant domain as a UUID tenant ID. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params.py new file mode 100644 index 00000000..a91806a6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_upstream_params.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUpstreamParams = typing.Dict[str, typing.Any] +""" +Additional parameters to include in authorization requests sent to the identity provider. Useful for passing custom claims, selecting specific identity sources, or configuring provider-specific behavior. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum.py new file mode 100644 index 00000000..ed19c045 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_userid_attribute_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsUseridAttributeEnum = typing.Union[ + typing.Literal["oid", "sub"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum.py new file mode 100644 index 00000000..b44e403c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_options_waad_protocol_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7OptionsWaadProtocolEnum = typing.Union[ + typing.Literal["ws-federation", "openid-connect"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum.py new file mode 100644 index 00000000..73812943 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_previous_object_7_strategy_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_connection_updated_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_connection_updated_type_enum.py new file mode 100644 index 00000000..19644d76 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_connection_updated_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventConnectionUpdatedTypeEnum = typing.Union[typing.Literal["connection.updated"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_context.py b/src/auth0/management/types/event_stream_cloud_event_context.py index 532db5bd..3c065cfc 100644 --- a/src/auth0/management/types/event_stream_cloud_event_context.py +++ b/src/auth0/management/types/event_stream_cloud_event_context.py @@ -8,6 +8,7 @@ from .event_stream_cloud_event_context_connection import EventStreamCloudEventContextConnection from .event_stream_cloud_event_context_request import EventStreamCloudEventContextRequest from .event_stream_cloud_event_context_tenant import EventStreamCloudEventContextTenant +from .event_stream_cloud_event_context_transaction import EventStreamCloudEventContextTransaction class EventStreamCloudEventContext(UniversalBaseModel): @@ -23,6 +24,7 @@ class EventStreamCloudEventContext(UniversalBaseModel): connection: typing.Optional[EventStreamCloudEventContextConnection] = None request: typing.Optional[EventStreamCloudEventContextRequest] = None tenant: EventStreamCloudEventContextTenant + transaction: typing.Optional[EventStreamCloudEventContextTransaction] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/event_stream_cloud_event_context_tenant.py b/src/auth0/management/types/event_stream_cloud_event_context_tenant.py index 442e9a65..487fdf6c 100644 --- a/src/auth0/management/types/event_stream_cloud_event_context_tenant.py +++ b/src/auth0/management/types/event_stream_cloud_event_context_tenant.py @@ -11,9 +11,9 @@ class EventStreamCloudEventContextTenant(UniversalBaseModel): Reference to a tenant in event context """ - tenant_id: str = pydantic.Field() + id: str = pydantic.Field() """ - Machine-generated unique tenant identifier. + User-provided tenant identifier. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_context_transaction.py b/src/auth0/management/types/event_stream_cloud_event_context_transaction.py new file mode 100644 index 00000000..57f5ba29 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_context_transaction.py @@ -0,0 +1,79 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_context_transaction_protocol_enum import ( + EventStreamCloudEventContextTransactionProtocolEnum, +) +from .event_stream_cloud_event_context_transaction_response_mode_enum import ( + EventStreamCloudEventContextTransactionResponseModeEnum, +) +from .event_stream_cloud_event_context_transaction_response_type_item_enum import ( + EventStreamCloudEventContextTransactionResponseTypeItemEnum, +) + + +class EventStreamCloudEventContextTransaction(UniversalBaseModel): + """ + An auth transaction. + """ + + acr_values: typing.List[str] = pydantic.Field() + """ + acr_values in the request. + """ + + locale: str = pydantic.Field() + """ + The locale used for this transaction. + """ + + login_hint: typing.Optional[str] = pydantic.Field(default=None) + """ + Hint about the login identifier the user might use in this transaction. + """ + + prompt: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Instructions indicating whether the user may be prompted for re-authentication and consent. + """ + + protocol: typing.Optional[EventStreamCloudEventContextTransactionProtocolEnum] = None + redirect_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + The URL to which the client will be redirected when the transaction completes. + """ + + requested_scopes: typing.List[str] = pydantic.Field() + """ + The scopes requested. + """ + + response_mode: typing.Optional[EventStreamCloudEventContextTransactionResponseModeEnum] = None + response_type: typing.Optional[typing.List[EventStreamCloudEventContextTransactionResponseTypeItemEnum]] = ( + pydantic.Field(default=None) + ) + """ + The kind of credential issued by this transaction. + """ + + state: typing.Optional[str] = pydantic.Field(default=None) + """ + The OAuth state parameter for this transaction. + """ + + ui_locales: typing.List[str] = pydantic.Field() + """ + The ui_locales requested for this transaction. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_context_transaction_protocol_enum.py b/src/auth0/management/types/event_stream_cloud_event_context_transaction_protocol_enum.py new file mode 100644 index 00000000..009d6ed8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_context_transaction_protocol_enum.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventContextTransactionProtocolEnum = typing.Union[ + typing.Literal[ + "oidc-basic-profile", + "oidc-implicit-profile", + "oauth2-device-code", + "oauth2-resource-owner", + "oauth2-resource-owner-jwt-bearer", + "oauth2-password", + "oauth2-webauthn", + "oauth2-access-token", + "oauth2-refresh-token", + "oauth2-token-exchange", + "oidc-hybrid-profile", + "samlp", + "wsfed", + "wstrust-usernamemixed", + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_mode_enum.py b/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_mode_enum.py new file mode 100644 index 00000000..2999557a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_mode_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventContextTransactionResponseModeEnum = typing.Union[ + typing.Literal["query", "fragment", "form_post", "web_message"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_type_item_enum.py b/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_type_item_enum.py new file mode 100644 index 00000000..a2fb4260 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_context_transaction_response_type_item_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventContextTransactionResponseTypeItemEnum = typing.Union[ + typing.Literal["code", "token", "id_token"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_data.py b/src/auth0/management/types/event_stream_cloud_event_data.py new file mode 100644 index 00000000..3e462ac8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_data.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventData = typing.Dict[str, typing.Any] +""" +Event contents. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_created_cloud_event.py index 61efb4ee..3725c514 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_created_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupCreatedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_created_data import EventStreamCloudEventGroupCreatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupCreatedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupCreatedCloudEvent(UniversalBaseModel): Represents an event that occurs when a group is created. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupCreatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupCreatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_data.py b/src/auth0/management/types/event_stream_cloud_event_group_created_data.py index 6f544cd5..ee4c72e3 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_created_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_created_object import EventStreamCloudEventGroupCreatedObject +from .event_stream_cloud_event_group_created_previous_object import EventStreamCloudEventGroupCreatedPreviousObject class EventStreamCloudEventGroupCreatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventGroupCreatedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupCreatedObject + previous_object: typing.Optional[EventStreamCloudEventGroupCreatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object.py new file mode 100644 index 00000000..439d4fc8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_created_previous_object_0 import EventStreamCloudEventGroupCreatedPreviousObject0 +from .event_stream_cloud_event_group_created_previous_object_1 import EventStreamCloudEventGroupCreatedPreviousObject1 +from .event_stream_cloud_event_group_created_previous_object_2 import EventStreamCloudEventGroupCreatedPreviousObject2 + +EventStreamCloudEventGroupCreatedPreviousObject = typing.Union[ + EventStreamCloudEventGroupCreatedPreviousObject0, + EventStreamCloudEventGroupCreatedPreviousObject1, + EventStreamCloudEventGroupCreatedPreviousObject2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0.py new file mode 100644 index 00000000..73be0bcb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0.py @@ -0,0 +1,51 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_created_previous_object_0_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum, +) + + +class EventStreamCloudEventGroupCreatedPreviousObject0(UniversalBaseModel): + """ + Represents a connection group entity. + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0_type_enum.py new file mode 100644 index 00000000..4bcc06bc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_0_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupCreatedPreviousObject0TypeEnum = typing.Union[typing.Literal["connection"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1.py new file mode 100644 index 00000000..e1ff4365 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1.py @@ -0,0 +1,51 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_created_previous_object_1_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum, +) + + +class EventStreamCloudEventGroupCreatedPreviousObject1(UniversalBaseModel): + """ + Represents an organization group entity. + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1_type_enum.py new file mode 100644 index 00000000..119d3ef2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_1_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupCreatedPreviousObject1TypeEnum = typing.Union[typing.Literal["organization"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2.py new file mode 100644 index 00000000..a8f6d0ec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2.py @@ -0,0 +1,47 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_created_previous_object_2_type_enum import ( + EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum, +) + + +class EventStreamCloudEventGroupCreatedPreviousObject2(UniversalBaseModel): + """ + Represents a tenant group entity. + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2_type_enum.py new file mode 100644 index 00000000..043282fb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_created_previous_object_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupCreatedPreviousObject2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_cloud_event.py index 129d6466..ecea1104 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_deleted_data import EventStreamCloudEventGroupDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a group is deleted. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_data.py index 48b78474..3414c150 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_deleted_object import EventStreamCloudEventGroupDeletedObject +from .event_stream_cloud_event_group_deleted_previous_object import EventStreamCloudEventGroupDeletedPreviousObject class EventStreamCloudEventGroupDeletedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventGroupDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupDeletedObject + previous_object: typing.Optional[EventStreamCloudEventGroupDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object.py new file mode 100644 index 00000000..c13d3b5a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_deleted_previous_object_0 import EventStreamCloudEventGroupDeletedPreviousObject0 +from .event_stream_cloud_event_group_deleted_previous_object_1 import EventStreamCloudEventGroupDeletedPreviousObject1 +from .event_stream_cloud_event_group_deleted_previous_object_2 import EventStreamCloudEventGroupDeletedPreviousObject2 + +EventStreamCloudEventGroupDeletedPreviousObject = typing.Union[ + EventStreamCloudEventGroupDeletedPreviousObject0, + EventStreamCloudEventGroupDeletedPreviousObject1, + EventStreamCloudEventGroupDeletedPreviousObject2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0.py new file mode 100644 index 00000000..d4794c78 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0.py @@ -0,0 +1,56 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_deleted_previous_object_0_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum, +) + + +class EventStreamCloudEventGroupDeletedPreviousObject0(UniversalBaseModel): + """ + Connection group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0_type_enum.py new file mode 100644 index 00000000..9435bbd0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_0_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupDeletedPreviousObject0TypeEnum = typing.Union[typing.Literal["connection"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1.py new file mode 100644 index 00000000..1f9afd86 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1.py @@ -0,0 +1,56 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_deleted_previous_object_1_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum, +) + + +class EventStreamCloudEventGroupDeletedPreviousObject1(UniversalBaseModel): + """ + Organization group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1_type_enum.py new file mode 100644 index 00000000..fbb2375b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_1_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupDeletedPreviousObject1TypeEnum = typing.Union[typing.Literal["organization"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2.py new file mode 100644 index 00000000..8941065a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2.py @@ -0,0 +1,51 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_deleted_previous_object_2_type_enum import ( + EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum, +) + + +class EventStreamCloudEventGroupDeletedPreviousObject2(UniversalBaseModel): + """ + Tenant group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2_type_enum.py new file mode 100644 index 00000000..c02e6c67 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_deleted_previous_object_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupDeletedPreviousObject2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_cloud_event.py index 7ac3ee28..490bc035 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_member_added_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_member_added_data import EventStreamCloudEventGroupMemberAddedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupMemberAddedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupMemberAddedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is added to a group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupMemberAddedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_data.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_data.py index c923d7d8..4c110ab2 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_member_added_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_member_added_object import EventStreamCloudEventGroupMemberAddedObject +from .event_stream_cloud_event_group_member_added_previous_object import ( + EventStreamCloudEventGroupMemberAddedPreviousObject, +) class EventStreamCloudEventGroupMemberAddedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventGroupMemberAddedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupMemberAddedObject + previous_object: typing.Optional[EventStreamCloudEventGroupMemberAddedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object.py new file mode 100644 index 00000000..a152e313 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_group import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup, +) +from .event_stream_cloud_event_group_member_added_previous_object_member import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + group: EventStreamCloudEventGroupMemberAddedPreviousObjectGroup + member: EventStreamCloudEventGroupMemberAddedPreviousObjectMember + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group.py new file mode 100644 index 00000000..c9d2ee53 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_member_added_previous_object_group_0 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0, +) +from .event_stream_cloud_event_group_member_added_previous_object_group_1 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1, +) +from .event_stream_cloud_event_group_member_added_previous_object_group_2 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2, +) + +EventStreamCloudEventGroupMemberAddedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1, + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0.py new file mode 100644 index 00000000..2894fd52 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..38b3cc05 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberAddedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1.py new file mode 100644 index 00000000..7fca221c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..f6f7241d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberAddedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2.py new file mode 100644 index 00000000..8708b3f7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..085db915 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_group_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberAddedPreviousObjectGroup2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member.py new file mode 100644 index 00000000..a7387172 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member.py @@ -0,0 +1,15 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_member_added_previous_object_member_0 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0, +) +from .event_stream_cloud_event_group_member_added_previous_object_member_1 import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1, +) + +EventStreamCloudEventGroupMemberAddedPreviousObjectMember = typing.Union[ + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0, + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0.py new file mode 100644 index 00000000..91fdd90d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObjectMember0(UniversalBaseModel): + """ + A group member of member_type user + """ + + member_type: EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum + id: str = pydantic.Field() + """ + The user's unique identifier + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum.py new file mode 100644 index 00000000..e62084f2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_0_member_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberAddedPreviousObjectMember0MemberTypeEnum = typing.Union[ + typing.Literal["user"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1.py new file mode 100644 index 00000000..ffbb479d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum import ( + EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum, +) + + +class EventStreamCloudEventGroupMemberAddedPreviousObjectMember1(UniversalBaseModel): + """ + A group member of member_type group + """ + + member_type: EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum + id: str = pydantic.Field() + """ + The connection member's unique identifier + """ + + type: str = pydantic.Field() + """ + The type of the connection + """ + + connection_id: str = pydantic.Field() + """ + Connection ID associated with the member + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum.py new file mode 100644 index 00000000..6114f9ad --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_added_previous_object_member_1_member_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberAddedPreviousObjectMember1MemberTypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_cloud_event.py index c44ce355..8fa80793 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_member_deleted_data import EventStreamCloudEventGroupMemberDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupMemberDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupMemberDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is removed from a group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupMemberDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_data.py index 08ff09a1..9c78a44b 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_member_deleted_object import EventStreamCloudEventGroupMemberDeletedObject +from .event_stream_cloud_event_group_member_deleted_previous_object import ( + EventStreamCloudEventGroupMemberDeletedPreviousObject, +) class EventStreamCloudEventGroupMemberDeletedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventGroupMemberDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupMemberDeletedObject + previous_object: typing.Optional[EventStreamCloudEventGroupMemberDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object.py new file mode 100644 index 00000000..4244f23d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_group import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup, +) +from .event_stream_cloud_event_group_member_deleted_previous_object_member import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + group: EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup + member: EventStreamCloudEventGroupMemberDeletedPreviousObjectMember + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group.py new file mode 100644 index 00000000..59389803 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_member_deleted_previous_object_group_0 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0, +) +from .event_stream_cloud_event_group_member_deleted_previous_object_group_1 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1, +) +from .event_stream_cloud_event_group_member_deleted_previous_object_group_2 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2, +) + +EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1, + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0.py new file mode 100644 index 00000000..9641b61a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..f457c841 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1.py new file mode 100644 index 00000000..2c17366d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..245d86ec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2.py new file mode 100644 index 00000000..ca028dc5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..ef17521a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_group_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberDeletedPreviousObjectGroup2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member.py new file mode 100644 index 00000000..d991beae --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member.py @@ -0,0 +1,15 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_member_deleted_previous_object_member_0 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0, +) +from .event_stream_cloud_event_group_member_deleted_previous_object_member_1 import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1, +) + +EventStreamCloudEventGroupMemberDeletedPreviousObjectMember = typing.Union[ + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0, + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0.py new file mode 100644 index 00000000..f4aaf2ea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0(UniversalBaseModel): + """ + A group member of member_type user + """ + + member_type: EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum + id: str = pydantic.Field() + """ + The user's unique identifier + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum.py new file mode 100644 index 00000000..c7ca1432 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_0_member_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberDeletedPreviousObjectMember0MemberTypeEnum = typing.Union[ + typing.Literal["user"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1.py new file mode 100644 index 00000000..be0c7e42 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum import ( + EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum, +) + + +class EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1(UniversalBaseModel): + """ + A group member of member_type group + """ + + member_type: EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum + id: str = pydantic.Field() + """ + The connection member's unique identifier + """ + + type: str = pydantic.Field() + """ + The type of the connection + """ + + connection_id: str = pydantic.Field() + """ + Connection ID associated with the member + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum.py new file mode 100644 index 00000000..3d210944 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_member_deleted_previous_object_member_1_member_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupMemberDeletedPreviousObjectMember1MemberTypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_cloud_event.py index 8060ff1c..d27fd9f9 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_role_assigned_data import EventStreamCloudEventGroupRoleAssignedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupRoleAssignedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupRoleAssignedCloudEvent(UniversalBaseModel): Represents an event that occurs when a role is assigned to a group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupRoleAssignedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_data.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_data.py index 86a4c329..542f48ef 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_role_assigned_object import EventStreamCloudEventGroupRoleAssignedObject +from .event_stream_cloud_event_group_role_assigned_previous_object import ( + EventStreamCloudEventGroupRoleAssignedPreviousObject, +) class EventStreamCloudEventGroupRoleAssignedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventGroupRoleAssignedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupRoleAssignedObject + previous_object: typing.Optional[EventStreamCloudEventGroupRoleAssignedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object.py new file mode 100644 index 00000000..424079a2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_assigned_previous_object_group import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup, +) +from .event_stream_cloud_event_group_role_assigned_previous_object_role import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectRole, +) + + +class EventStreamCloudEventGroupRoleAssignedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + group: EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup + role: EventStreamCloudEventGroupRoleAssignedPreviousObjectRole + created_at: dt.datetime = pydantic.Field() + """ + The time at which the role was assigned to the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group.py new file mode 100644 index 00000000..4478d4dd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_role_assigned_previous_object_group_0 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0, +) +from .event_stream_cloud_event_group_role_assigned_previous_object_group_1 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1, +) +from .event_stream_cloud_event_group_role_assigned_previous_object_group_2 import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2, +) + +EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1, + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0.py new file mode 100644 index 00000000..4b3d237b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..b3802dec --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1.py new file mode 100644 index 00000000..0629ddef --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..dabce301 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2.py new file mode 100644 index 00000000..9fab0005 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..23758c4b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_group_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleAssignedPreviousObjectGroup2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_role.py new file mode 100644 index 00000000..2ecc5c5a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_assigned_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventGroupRoleAssignedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the group. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_cloud_event.py index fffe1d1a..dd2df1bb 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_role_deleted_data import EventStreamCloudEventGroupRoleDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupRoleDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupRoleDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a role is removed from a group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupRoleDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_data.py index b7a69de4..6f5d03cb 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_role_deleted_object import EventStreamCloudEventGroupRoleDeletedObject +from .event_stream_cloud_event_group_role_deleted_previous_object import ( + EventStreamCloudEventGroupRoleDeletedPreviousObject, +) class EventStreamCloudEventGroupRoleDeletedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventGroupRoleDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupRoleDeletedObject + previous_object: typing.Optional[EventStreamCloudEventGroupRoleDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object.py new file mode 100644 index 00000000..c8a82ff6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_deleted_previous_object_group import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup, +) +from .event_stream_cloud_event_group_role_deleted_previous_object_role import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectRole, +) + + +class EventStreamCloudEventGroupRoleDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + group: EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup + role: EventStreamCloudEventGroupRoleDeletedPreviousObjectRole + created_at: dt.datetime = pydantic.Field() + """ + The time at which the role was assigned to the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group.py new file mode 100644 index 00000000..e86e89e6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_role_deleted_previous_object_group_0 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0, +) +from .event_stream_cloud_event_group_role_deleted_previous_object_group_1 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1, +) +from .event_stream_cloud_event_group_role_deleted_previous_object_group_2 import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2, +) + +EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1, + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0.py new file mode 100644 index 00000000..c3f96bb6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..fc7ee588 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1.py new file mode 100644 index 00000000..e588bd02 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..018b6df4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2.py new file mode 100644 index 00000000..4f818167 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..8313cce9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_group_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupRoleDeletedPreviousObjectGroup2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_role.py new file mode 100644 index 00000000..96dd3c43 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_role_deleted_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventGroupRoleDeletedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the group. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_cloud_event.py index 53ff0ce0..f73ce928 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_updated_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventGroupUpdatedCloudEventTypeEnum, ) from .event_stream_cloud_event_group_updated_data import EventStreamCloudEventGroupUpdatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventGroupUpdatedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventGroupUpdatedCloudEvent(UniversalBaseModel): Represents an event that occurs when a group is updated. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventGroupUpdatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventGroupUpdatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_data.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_data.py index 448c8b88..a3408dc7 100644 --- a/src/auth0/management/types/event_stream_cloud_event_group_updated_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_group_updated_object import EventStreamCloudEventGroupUpdatedObject +from .event_stream_cloud_event_group_updated_previous_object import EventStreamCloudEventGroupUpdatedPreviousObject class EventStreamCloudEventGroupUpdatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventGroupUpdatedData(UniversalBaseModel): """ object: EventStreamCloudEventGroupUpdatedObject + previous_object: typing.Optional[EventStreamCloudEventGroupUpdatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object.py new file mode 100644 index 00000000..15fd60ce --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object.py @@ -0,0 +1,13 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_group_updated_previous_object_0 import EventStreamCloudEventGroupUpdatedPreviousObject0 +from .event_stream_cloud_event_group_updated_previous_object_1 import EventStreamCloudEventGroupUpdatedPreviousObject1 +from .event_stream_cloud_event_group_updated_previous_object_2 import EventStreamCloudEventGroupUpdatedPreviousObject2 + +EventStreamCloudEventGroupUpdatedPreviousObject = typing.Union[ + EventStreamCloudEventGroupUpdatedPreviousObject0, + EventStreamCloudEventGroupUpdatedPreviousObject1, + EventStreamCloudEventGroupUpdatedPreviousObject2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0.py new file mode 100644 index 00000000..c53e672a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0.py @@ -0,0 +1,56 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_updated_previous_object_0_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum, +) + + +class EventStreamCloudEventGroupUpdatedPreviousObject0(UniversalBaseModel): + """ + Connection group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0_type_enum.py new file mode 100644 index 00000000..de690e60 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_0_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupUpdatedPreviousObject0TypeEnum = typing.Union[typing.Literal["connection"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1.py new file mode 100644 index 00000000..74e5d362 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1.py @@ -0,0 +1,56 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_updated_previous_object_1_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum, +) + + +class EventStreamCloudEventGroupUpdatedPreviousObject1(UniversalBaseModel): + """ + Organization group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1_type_enum.py new file mode 100644 index 00000000..265eeeea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_1_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupUpdatedPreviousObject1TypeEnum = typing.Union[typing.Literal["organization"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2.py new file mode 100644 index 00000000..c7392405 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2.py @@ -0,0 +1,51 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_group_updated_previous_object_2_type_enum import ( + EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum, +) + + +class EventStreamCloudEventGroupUpdatedPreviousObject2(UniversalBaseModel): + """ + Tenant group with updated_at timestamp + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + name: str = pydantic.Field() + """ + The name of the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + type: EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2_type_enum.py new file mode 100644 index 00000000..54bfd064 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_group_updated_previous_object_2_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventGroupUpdatedPreviousObject2TypeEnum = typing.Union[typing.Literal["tenant"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_cloud_event.py index 3837f12e..b088e28a 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_connection_added_data import EventStreamCloudEventOrgConnectionAddedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgConnectionAddedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgConnectionAddedCloudEvent(UniversalBaseModel): Represents an event that occurs when a connection is added to an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgConnectionAddedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_data.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_data.py index 34eb081a..1dbfaf13 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_connection_added_object import EventStreamCloudEventOrgConnectionAddedObject +from .event_stream_cloud_event_org_connection_added_previous_object import ( + EventStreamCloudEventOrgConnectionAddedPreviousObject, +) class EventStreamCloudEventOrgConnectionAddedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgConnectionAddedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgConnectionAddedObject + previous_object: typing.Optional[EventStreamCloudEventOrgConnectionAddedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object.py index 110218d8..dc6246aa 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object.py @@ -10,6 +10,12 @@ from .event_stream_cloud_event_org_connection_added_object_organization import ( EventStreamCloudEventOrgConnectionAddedObjectOrganization, ) +from .event_stream_cloud_event_org_connection_added_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel, +) +from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel, +) class EventStreamCloudEventOrgConnectionAddedObject(UniversalBaseModel): @@ -38,6 +44,18 @@ class EventStreamCloudEventOrgConnectionAddedObject(UniversalBaseModel): Only applicable for database connections. """ + is_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether the connection is enabled for the organization. + """ + + organization_access_level: typing.Optional[EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel] = ( + None + ) + organization_member_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel + ] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level.py new file mode 100644 index 00000000..1111eeed --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum.py new file mode 100644 index 00000000..9069a1fc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum.py new file mode 100644 index 00000000..560a2414 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum.py new file mode 100644 index 00000000..a0b082b6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum.py new file mode 100644 index 00000000..662e0f51 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.py new file mode 100644 index 00000000..5cd0e0e1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum.py new file mode 100644 index 00000000..a74eb699 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum.py new file mode 100644 index 00000000..f8763297 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum.py new file mode 100644 index 00000000..880e3274 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum.py new file mode 100644 index 00000000..6273aa19 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object.py new file mode 100644 index 00000000..b1a034f3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object.py @@ -0,0 +1,66 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_connection_added_previous_object_connection import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel, +) + + +class EventStreamCloudEventOrgConnectionAddedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization + connection: EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection + assign_membership_on_login: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, all users that log in with this connection will be automatically granted membership + in the organization. When false, users must be granted membership in the organization before + logging in with this connection. + """ + + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether a connection should be displayed on this organization’s login prompt. + Only applicable for enterprise connections. + """ + + is_signup_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether organization signup should be enabled for this organization connection. + Only applicable for database connections. + """ + + is_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether the connection is enabled for the organization. + """ + + organization_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel + ] = None + organization_member_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_connection.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_connection.py new file mode 100644 index 00000000..0d236246 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_connection.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionAddedPreviousObjectConnection(UniversalBaseModel): + id: str = pydantic.Field() + """ + The ID of the connection. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization.py new file mode 100644 index 00000000..f25cf5ac --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganization(UniversalBaseModel): + """ + Information about an Auth0 Organization. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level.py new file mode 100644 index 00000000..c2217101 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum.py new file mode 100644 index 00000000..204719ff --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum.py new file mode 100644 index 00000000..cf3f0bb9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum.py new file mode 100644 index 00000000..55612542 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum.py new file mode 100644 index 00000000..6121a8c0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.py new file mode 100644 index 00000000..c2c19780 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum.py new file mode 100644 index 00000000..d4ab69f4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum.py new file mode 100644 index 00000000..9a9ebaa4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum.py new file mode 100644 index 00000000..a1593a0f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum.py new file mode 100644 index 00000000..a65f7b8d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_cloud_event.py index 5074bd00..305f80ef 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_connection_removed_data import EventStreamCloudEventOrgConnectionRemovedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgConnectionRemovedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgConnectionRemovedCloudEvent(UniversalBaseModel): Represents an event that occurs when a connection is removed from an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgConnectionRemovedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_data.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_data.py index 85854507..6e414909 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_connection_removed_object import EventStreamCloudEventOrgConnectionRemovedObject +from .event_stream_cloud_event_org_connection_removed_previous_object import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObject, +) class EventStreamCloudEventOrgConnectionRemovedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgConnectionRemovedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgConnectionRemovedObject + previous_object: typing.Optional[EventStreamCloudEventOrgConnectionRemovedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object.py new file mode 100644 index 00000000..87f220d4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_connection_removed_previous_object_connection import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection, +) +from .event_stream_cloud_event_org_connection_removed_previous_object_organization import ( + EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization, +) + + +class EventStreamCloudEventOrgConnectionRemovedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization + connection: EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_connection.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_connection.py new file mode 100644 index 00000000..e17d3132 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_connection.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionRemovedPreviousObjectConnection(UniversalBaseModel): + id: str = pydantic.Field() + """ + The ID of the connection. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_organization.py new file mode 100644 index 00000000..fd7f896d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_removed_previous_object_organization.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionRemovedPreviousObjectOrganization(UniversalBaseModel): + """ + Information about an Auth0 Organization. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_cloud_event.py index 453b3574..8afd9d66 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_connection_updated_data import EventStreamCloudEventOrgConnectionUpdatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgConnectionUpdatedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgConnectionUpdatedCloudEvent(UniversalBaseModel): Represents an event that occurs when a organization connection is updated. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgConnectionUpdatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_data.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_data.py index d11d2479..77aed87b 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_connection_updated_object import EventStreamCloudEventOrgConnectionUpdatedObject +from .event_stream_cloud_event_org_connection_updated_previous_object import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObject, +) class EventStreamCloudEventOrgConnectionUpdatedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgConnectionUpdatedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgConnectionUpdatedObject + previous_object: typing.Optional[EventStreamCloudEventOrgConnectionUpdatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object.py index d9d91aef..28ae5ca5 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object.py @@ -10,6 +10,12 @@ from .event_stream_cloud_event_org_connection_updated_object_organization import ( EventStreamCloudEventOrgConnectionUpdatedObjectOrganization, ) +from .event_stream_cloud_event_org_connection_updated_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel, +) class EventStreamCloudEventOrgConnectionUpdatedObject(UniversalBaseModel): @@ -38,6 +44,18 @@ class EventStreamCloudEventOrgConnectionUpdatedObject(UniversalBaseModel): Only applicable for database connections. """ + is_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether the connection is enabled for the organization. + """ + + organization_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel + ] = None + organization_member_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel + ] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level.py new file mode 100644 index 00000000..f8218454 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum.py new file mode 100644 index 00000000..38a00552 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum.py new file mode 100644 index 00000000..a967b417 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum.py new file mode 100644 index 00000000..b24bee6e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum.py new file mode 100644 index 00000000..a6c1df70 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.py new file mode 100644 index 00000000..8945f1ff --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum.py new file mode 100644 index 00000000..15fb0ff7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum.py new file mode 100644 index 00000000..c1a833ea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum.py new file mode 100644 index 00000000..8a0597e1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum.py new file mode 100644 index 00000000..d748dbcc --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object.py new file mode 100644 index 00000000..1d4c3ba0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object.py @@ -0,0 +1,66 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_connection_updated_previous_object_connection import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel, +) + + +class EventStreamCloudEventOrgConnectionUpdatedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization + connection: EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection + assign_membership_on_login: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, all users that log in with this connection will be automatically granted membership + in the organization. When false, users must be granted membership in the organization before + logging in with this connection. + """ + + show_as_button: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether a connection should be displayed on this organization’s login prompt. + Only applicable for enterprise connections. + """ + + is_signup_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether organization signup should be enabled for this organization connection. + Only applicable for database connections. + """ + + is_enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether the connection is enabled for the organization. + """ + + organization_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel + ] = None + organization_member_access_level: typing.Optional[ + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel + ] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_connection.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_connection.py new file mode 100644 index 00000000..c038a15a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_connection.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionUpdatedPreviousObjectConnection(UniversalBaseModel): + id: str = pydantic.Field() + """ + The ID of the connection. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization.py new file mode 100644 index 00000000..6afd5800 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganization(UniversalBaseModel): + """ + Information about an Auth0 Organization. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level.py new file mode 100644 index 00000000..7a42e572 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum.py new file mode 100644 index 00000000..b9e82974 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum.py new file mode 100644 index 00000000..a0e3072f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum.py new file mode 100644 index 00000000..68cd436a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum.py new file mode 100644 index 00000000..93c3b346 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.py new file mode 100644 index 00000000..cf539427 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum, +) +from .event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum import ( + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum, +) + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel = typing.Union[ + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum, + EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum.py new file mode 100644 index 00000000..ee2a7cea --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_0_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum = typing.Union[ + typing.Literal["none"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum.py new file mode 100644 index 00000000..46a0a81a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_1_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum = typing.Union[ + typing.Literal["readonly"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum.py new file mode 100644 index 00000000..2fb9aab8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_2_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum = typing.Union[ + typing.Literal["limited"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum.py new file mode 100644 index 00000000..2aba1018 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level_3_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum = typing.Union[ + typing.Literal["full"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_created_cloud_event.py index f16972e6..8e581963 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_created_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgCreatedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_created_data import EventStreamCloudEventOrgCreatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgCreatedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgCreatedCloudEvent(UniversalBaseModel): Represents an event that occurs when an organization is created. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgCreatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgCreatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_data.py b/src/auth0/management/types/event_stream_cloud_event_org_created_data.py index d4270218..9da46ecc 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_created_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_created_object import EventStreamCloudEventOrgCreatedObject +from .event_stream_cloud_event_org_created_previous_object import EventStreamCloudEventOrgCreatedPreviousObject class EventStreamCloudEventOrgCreatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventOrgCreatedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgCreatedObject + previous_object: typing.Optional[EventStreamCloudEventOrgCreatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object.py new file mode 100644 index 00000000..2fd6adb6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_created_previous_object_branding import ( + EventStreamCloudEventOrgCreatedPreviousObjectBranding, +) +from .event_stream_cloud_event_org_created_previous_object_metadata import ( + EventStreamCloudEventOrgCreatedPreviousObjectMetadata, +) + + +class EventStreamCloudEventOrgCreatedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + If set, the name that will be displayed to end-users for this organization in any interaction with them. + """ + + metadata: typing.Optional[EventStreamCloudEventOrgCreatedPreviousObjectMetadata] = None + branding: typing.Optional[EventStreamCloudEventOrgCreatedPreviousObjectBranding] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding.py b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding.py new file mode 100644 index 00000000..ef87494a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_created_previous_object_branding_colors import ( + EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors, +) + + +class EventStreamCloudEventOrgCreatedPreviousObjectBranding(UniversalBaseModel): + """ + The branding associated with the organization. + """ + + logo_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of logo to display on login page. + """ + + colors: typing.Optional[EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding_colors.py b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding_colors.py new file mode 100644 index 00000000..1e584d59 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_branding_colors.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgCreatedPreviousObjectBrandingColors(UniversalBaseModel): + """ + Color scheme used to customize the login pages. + """ + + primary: typing.Optional[str] = pydantic.Field(default=None) + """ + HEX Color for primary elements. + """ + + page_background: typing.Optional[str] = pydantic.Field(default=None) + """ + HEX Color for background. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_metadata.py b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_metadata.py new file mode 100644 index 00000000..964490c1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_created_previous_object_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgCreatedPreviousObjectMetadata = typing.Dict[str, typing.Any] +""" +The metadata associated with the organization. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_org_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_deleted_cloud_event.py index 905e44a0..2187db05 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_deleted_data import EventStreamCloudEventOrgDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when an organization is deleted. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_org_deleted_data.py index 13d67320..bbde6ea5 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_deleted_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_deleted_object import EventStreamCloudEventOrgDeletedObject +from .event_stream_cloud_event_org_deleted_previous_object import EventStreamCloudEventOrgDeletedPreviousObject class EventStreamCloudEventOrgDeletedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventOrgDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgDeletedObject + previous_object: typing.Optional[EventStreamCloudEventOrgDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object.py new file mode 100644 index 00000000..1c0d07aa --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_deleted_previous_object_metadata import ( + EventStreamCloudEventOrgDeletedPreviousObjectMetadata, +) + + +class EventStreamCloudEventOrgDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + If set, the name that will be displayed to end-users for this organization in any interaction with them. + """ + + metadata: typing.Optional[EventStreamCloudEventOrgDeletedPreviousObjectMetadata] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object_metadata.py b/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object_metadata.py new file mode 100644 index 00000000..8ac317be --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_deleted_previous_object_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgDeletedPreviousObjectMetadata = typing.Dict[str, typing.Any] +""" +The metadata associated with the organization. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.py index 24fd2f04..12ee9612 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_group_role_assigned_data import EventStreamCloudEventOrgGroupRoleAssignedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent(UniversalBaseModel): Represents an event that occurs when a role is assigned to an organization group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_data.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_data.py index 7251a786..89e66bdf 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_group_role_assigned_object import EventStreamCloudEventOrgGroupRoleAssignedObject +from .event_stream_cloud_event_org_group_role_assigned_previous_object import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObject, +) class EventStreamCloudEventOrgGroupRoleAssignedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgGroupRoleAssignedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgGroupRoleAssignedObject + previous_object: typing.Optional[EventStreamCloudEventOrgGroupRoleAssignedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object.py new file mode 100644 index 00000000..cd112239 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup, +) +from .event_stream_cloud_event_org_group_role_assigned_previous_object_organization import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_group_role_assigned_previous_object_role import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole, +) + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization + role: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole + group: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup + created_at: dt.datetime = pydantic.Field() + """ + The time at which the role was assigned to the group in the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group.py new file mode 100644 index 00000000..9e9c1b6d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_0 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0, +) +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_1 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1, +) +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_2 import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2, +) + +EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1, + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0.py new file mode 100644 index 00000000..7f1abc01 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..62ba6eac --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1.py new file mode 100644 index 00000000..521cb6c8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..9d354793 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2.py new file mode 100644 index 00000000..d148abad --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum import ( + EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..3206632f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_group_2_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectGroup2TypeEnum = typing.Union[ + typing.Literal["tenant"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_organization.py new file mode 100644 index 00000000..66efb22b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_organization.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the group role is assigned in. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_role.py new file mode 100644 index 00000000..e751a3b1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_assigned_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgGroupRoleAssignedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the group in the organization. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.py index 37803327..3ca2e011 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_group_role_deleted_data import EventStreamCloudEventOrgGroupRoleDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a role is removed from an organization group. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_data.py index d61afaaa..5f59e902 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_group_role_deleted_object import EventStreamCloudEventOrgGroupRoleDeletedObject +from .event_stream_cloud_event_org_group_role_deleted_previous_object import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObject, +) class EventStreamCloudEventOrgGroupRoleDeletedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgGroupRoleDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgGroupRoleDeletedObject + previous_object: typing.Optional[EventStreamCloudEventOrgGroupRoleDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object.py new file mode 100644 index 00000000..9b7ba4be --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object.py @@ -0,0 +1,39 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup, +) +from .event_stream_cloud_event_org_group_role_deleted_previous_object_organization import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_group_role_deleted_previous_object_role import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole, +) + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization + role: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole + group: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup + created_at: dt.datetime = pydantic.Field() + """ + The time at which the role was assigned to the group in the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group.py new file mode 100644 index 00000000..7b7b5d72 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_0 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0, +) +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_1 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1, +) +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_2 import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2, +) + +EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup = typing.Union[ + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1, + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0.py new file mode 100644 index 00000000..61b58b20 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0(UniversalBaseModel): + """ + Reference to a connection group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum + connection_id: str = pydantic.Field() + """ + The connection ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum.py new file mode 100644 index 00000000..593be762 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_0_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup0TypeEnum = typing.Union[ + typing.Literal["connection"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1.py new file mode 100644 index 00000000..d8ce1c3f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1(UniversalBaseModel): + """ + Reference to an organization group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum + organization_id: str = pydantic.Field() + """ + The organization ID associated with the group. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum.py new file mode 100644 index 00000000..dabd89b0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_1_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup1TypeEnum = typing.Union[ + typing.Literal["organization"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2.py new file mode 100644 index 00000000..fdc20aa9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum import ( + EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum, +) + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2(UniversalBaseModel): + """ + Reference to a tenant group + """ + + id: str = pydantic.Field() + """ + The unique identifier for the group. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The external identifier for the group. + """ + + type: EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum.py new file mode 100644 index 00000000..a3f7e58c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_group_2_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectGroup2TypeEnum = typing.Union[ + typing.Literal["tenant"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_organization.py new file mode 100644 index 00000000..5a85be3e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_organization.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the group role is assigned in. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_role.py new file mode 100644 index 00000000..c51311c7 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_group_role_deleted_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgGroupRoleDeletedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the group in the organization. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_added_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_member_added_cloud_event.py index de48e5fb..41f5a668 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_added_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_added_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_member_added_data import EventStreamCloudEventOrgMemberAddedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgMemberAddedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgMemberAddedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is added to an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgMemberAddedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_added_data.py b/src/auth0/management/types/event_stream_cloud_event_org_member_added_data.py index 3eb4579e..94436b1e 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_added_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_added_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_member_added_object import EventStreamCloudEventOrgMemberAddedObject +from .event_stream_cloud_event_org_member_added_previous_object import EventStreamCloudEventOrgMemberAddedPreviousObject class EventStreamCloudEventOrgMemberAddedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventOrgMemberAddedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgMemberAddedObject + previous_object: typing.Optional[EventStreamCloudEventOrgMemberAddedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object.py new file mode 100644 index 00000000..54337da8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_member_added_previous_object_organization import ( + EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_member_added_previous_object_user import ( + EventStreamCloudEventOrgMemberAddedPreviousObjectUser, +) + + +class EventStreamCloudEventOrgMemberAddedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization + user: EventStreamCloudEventOrgMemberAddedPreviousObjectUser + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_organization.py new file mode 100644 index 00000000..00ab043a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_organization.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberAddedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the member belongs to. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_user.py b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_user.py new file mode 100644 index 00000000..7257dcdf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_added_previous_object_user.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberAddedPreviousObjectUser(UniversalBaseModel): + """ + The user that is a member of the organization. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_cloud_event.py index 32bb7874..ae728af9 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_member_deleted_data import EventStreamCloudEventOrgMemberDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgMemberDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgMemberDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is removed from an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgMemberDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_data.py index e1a6274b..60b505a5 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_member_deleted_object import EventStreamCloudEventOrgMemberDeletedObject +from .event_stream_cloud_event_org_member_deleted_previous_object import ( + EventStreamCloudEventOrgMemberDeletedPreviousObject, +) class EventStreamCloudEventOrgMemberDeletedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgMemberDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgMemberDeletedObject + previous_object: typing.Optional[EventStreamCloudEventOrgMemberDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object.py new file mode 100644 index 00000000..46580278 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_member_deleted_previous_object_organization import ( + EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_member_deleted_previous_object_user import ( + EventStreamCloudEventOrgMemberDeletedPreviousObjectUser, +) + + +class EventStreamCloudEventOrgMemberDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization + user: EventStreamCloudEventOrgMemberDeletedPreviousObjectUser + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_organization.py new file mode 100644 index 00000000..693ff8d0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_organization.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberDeletedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the member belongs to. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_user.py b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_user.py new file mode 100644 index 00000000..7965cd5e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_deleted_previous_object_user.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberDeletedPreviousObjectUser(UniversalBaseModel): + """ + The user that is a member of the organization. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.py index 7c8fad3b..57944ecc 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_member_role_assigned_data import EventStreamCloudEventOrgMemberRoleAssignedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is added to an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_data.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_data.py index 3598757e..ceaae4fc 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_member_role_assigned_object import EventStreamCloudEventOrgMemberRoleAssignedObject +from .event_stream_cloud_event_org_member_role_assigned_previous_object import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObject, +) class EventStreamCloudEventOrgMemberRoleAssignedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgMemberRoleAssignedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgMemberRoleAssignedObject + previous_object: typing.Optional[EventStreamCloudEventOrgMemberRoleAssignedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object.py new file mode 100644 index 00000000..51e82db1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_member_role_assigned_previous_object_organization import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_member_role_assigned_previous_object_role import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole, +) +from .event_stream_cloud_event_org_member_role_assigned_previous_object_user import ( + EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser, +) + + +class EventStreamCloudEventOrgMemberRoleAssignedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization + user: EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser + role: EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_organization.py new file mode 100644 index 00000000..9c638d40 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_organization.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the member belongs to. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_role.py new file mode 100644 index 00000000..322bca86 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the user in the organization. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_user.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_user.py new file mode 100644 index 00000000..99a281d5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_assigned_previous_object_user.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleAssignedPreviousObjectUser(UniversalBaseModel): + """ + The user that is a member of the organization. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.py index 7a73f163..596a0a5b 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_member_role_deleted_data import EventStreamCloudEventOrgMemberRoleDeletedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a member is removed from an organization. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_data.py index ac6dc64c..4b15194d 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_data.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_member_role_deleted_object import EventStreamCloudEventOrgMemberRoleDeletedObject +from .event_stream_cloud_event_org_member_role_deleted_previous_object import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObject, +) class EventStreamCloudEventOrgMemberRoleDeletedData(UniversalBaseModel): @@ -14,6 +17,7 @@ class EventStreamCloudEventOrgMemberRoleDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgMemberRoleDeletedObject + previous_object: typing.Optional[EventStreamCloudEventOrgMemberRoleDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object.py new file mode 100644 index 00000000..3494846e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_member_role_deleted_previous_object_organization import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization, +) +from .event_stream_cloud_event_org_member_role_deleted_previous_object_role import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole, +) +from .event_stream_cloud_event_org_member_role_deleted_previous_object_user import ( + EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser, +) + + +class EventStreamCloudEventOrgMemberRoleDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + organization: EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization + user: EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser + role: EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_organization.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_organization.py new file mode 100644 index 00000000..3d5acfd8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_organization.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectOrganization(UniversalBaseModel): + """ + The organization the member belongs to. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_role.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_role.py new file mode 100644 index 00000000..0a779fdf --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_role.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectRole(UniversalBaseModel): + """ + The role assigned to the user in the organization. + """ + + id: str = pydantic.Field() + """ + The ID of the role. + """ + + name: str = pydantic.Field() + """ + The name of the role. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_user.py b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_user.py new file mode 100644 index 00000000..bb776319 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_member_role_deleted_previous_object_user.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgMemberRoleDeletedPreviousObjectUser(UniversalBaseModel): + """ + The user that is a member of the organization. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_cloud_event.py index 8e53d9b6..1ace98b7 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_updated_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_cloud_event.py @@ -12,6 +12,7 @@ EventStreamCloudEventOrgUpdatedCloudEventTypeEnum, ) from .event_stream_cloud_event_org_updated_data import EventStreamCloudEventOrgUpdatedData +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum class EventStreamCloudEventOrgUpdatedCloudEvent(UniversalBaseModel): @@ -19,11 +20,7 @@ class EventStreamCloudEventOrgUpdatedCloudEvent(UniversalBaseModel): Represents an event that occurs when an organization is updated. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventOrgUpdatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventOrgUpdatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_data.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_data.py index aef005c4..463b54ec 100644 --- a/src/auth0/management/types/event_stream_cloud_event_org_updated_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_org_updated_object import EventStreamCloudEventOrgUpdatedObject +from .event_stream_cloud_event_org_updated_previous_object import EventStreamCloudEventOrgUpdatedPreviousObject class EventStreamCloudEventOrgUpdatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventOrgUpdatedData(UniversalBaseModel): """ object: EventStreamCloudEventOrgUpdatedObject + previous_object: typing.Optional[EventStreamCloudEventOrgUpdatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object.py new file mode 100644 index 00000000..7e9cde0a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_updated_previous_object_branding import ( + EventStreamCloudEventOrgUpdatedPreviousObjectBranding, +) +from .event_stream_cloud_event_org_updated_previous_object_metadata import ( + EventStreamCloudEventOrgUpdatedPreviousObjectMetadata, +) + + +class EventStreamCloudEventOrgUpdatedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable identifier for the organization that will be used by end-users to direct them to their organization in your application.. + """ + + id: str = pydantic.Field() + """ + ID of the organization. + """ + + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + If set, the name that will be displayed to end-users for this organization in any interaction with them. + """ + + metadata: typing.Optional[EventStreamCloudEventOrgUpdatedPreviousObjectMetadata] = None + branding: typing.Optional[EventStreamCloudEventOrgUpdatedPreviousObjectBranding] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding.py new file mode 100644 index 00000000..5ac28a98 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_org_updated_previous_object_branding_colors import ( + EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors, +) + + +class EventStreamCloudEventOrgUpdatedPreviousObjectBranding(UniversalBaseModel): + """ + The branding associated with the organization. + """ + + logo_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of logo to display on login page. + """ + + colors: typing.Optional[EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding_colors.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding_colors.py new file mode 100644 index 00000000..2cceb574 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_branding_colors.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventOrgUpdatedPreviousObjectBrandingColors(UniversalBaseModel): + """ + Color scheme used to customize the login pages. + """ + + primary: typing.Optional[str] = pydantic.Field(default=None) + """ + HEX Color for primary elements. + """ + + page_background: typing.Optional[str] = pydantic.Field(default=None) + """ + HEX Color for background. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_metadata.py b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_metadata.py new file mode 100644 index 00000000..7c74a770 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_org_updated_previous_object_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventOrgUpdatedPreviousObjectMetadata = typing.Dict[str, typing.Any] +""" +The metadata associated with the organization. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_spec_version_enum.py b/src/auth0/management/types/event_stream_cloud_event_spec_version_enum.py new file mode 100644 index 00000000..3d55dd5b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_spec_version_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventSpecVersionEnum = typing.Union[typing.Literal["1.0"], typing.Any] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_user_created_cloud_event.py index 96ea0cef..136d9efd 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_created_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_cloud_event.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum from .event_stream_cloud_event_user_created_cloud_event_type_enum import ( EventStreamCloudEventUserCreatedCloudEventTypeEnum, ) @@ -19,11 +20,7 @@ class EventStreamCloudEventUserCreatedCloudEvent(UniversalBaseModel): Represents an event that occurs when a user is created. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventUserCreatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventUserCreatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_data.py index 29b12ba7..3b04d060 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_created_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_user_created_object import EventStreamCloudEventUserCreatedObject +from .event_stream_cloud_event_user_created_previous_object import EventStreamCloudEventUserCreatedPreviousObject class EventStreamCloudEventUserCreatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventUserCreatedData(UniversalBaseModel): """ object: EventStreamCloudEventUserCreatedObject + previous_object: typing.Optional[EventStreamCloudEventUserCreatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object.py new file mode 100644 index 00000000..1f76fa34 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object.py @@ -0,0 +1,128 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_user_created_previous_object_app_metadata import ( + EventStreamCloudEventUserCreatedPreviousObjectAppMetadata, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem, +) +from .event_stream_cloud_event_user_created_previous_object_user_metadata import ( + EventStreamCloudEventUserCreatedPreviousObjectUserMetadata, +) + + +class EventStreamCloudEventUserCreatedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + identities: typing.List[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem] = pydantic.Field() + """ + Array of user identity objects when accounts are linked. + """ + + app_metadata: typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectAppMetadata] = None + user_metadata: typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectUserMetadata] = None + picture: typing.Optional[str] = pydantic.Field(default=None) + """ + URL to picture, photo, or avatar of this user. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + nickname: typing.Optional[str] = pydantic.Field(default=None) + """ + Preferred nickname or alias of this user. + """ + + multifactor: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of multi-factor authentication providers with which this user has enrolled. + """ + + last_ip: typing.Optional[str] = pydantic.Field(default=None) + """ + Last IP address from which this user logged in. + """ + + last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Last date and time this user logged in (ISO_8601 format). + """ + + logins_count: typing.Optional[int] = pydantic.Field(default=None) + """ + Total number of logins this user has performed. + """ + + blocked: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this user was blocked by an administrator (true) or is not (false). + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_app_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_app_metadata.py new file mode 100644 index 00000000..1cf0c91b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_app_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectAppMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read-only access. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item.py new file mode 100644 index 00000000..251afce9 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_user_created_previous_object_identities_item_custom import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_database import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_social import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, +) + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItem = typing.Union[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom.py new file mode 100644 index 00000000..36538a37 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId, +) + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustom(UniversalBaseModel): + """ + The identity object for custom identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum.py new file mode 100644 index 00000000..6f3f852a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data.py new file mode 100644 index 00000000..65e40eb4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum.py new file mode 100644 index 00000000..96223465 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomProviderEnum = typing.Union[ + typing.Literal["custom"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id.py new file mode 100644 index 00000000..e49bb7e2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_custom_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemCustomUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database.py new file mode 100644 index 00000000..2067f518 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId, +) + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabase(UniversalBaseModel): + """ + The identity object for database identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum.py new file mode 100644 index 00000000..97969b30 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data.py new file mode 100644 index 00000000..7e6a7810 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum.py new file mode 100644 index 00000000..3461e67c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseProviderEnum = typing.Union[ + typing.Literal["auth0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id.py new file mode 100644 index 00000000..5642198c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_database_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemDatabaseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise.py new file mode 100644 index 00000000..33678009 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId, +) + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterprise(UniversalBaseModel): + """ + The identity object for enterprise identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum.py new file mode 100644 index 00000000..3d5e40ca --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data.py new file mode 100644 index 00000000..96f61748 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum.py new file mode 100644 index 00000000..99682af2 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_provider_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseProviderEnum = typing.Union[ + typing.Literal[ + "ad", "adfs", "google-apps", "ip", "office365", "oidc", "okta", "pingfederate", "samlp", "sharepoint", "waad" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id.py new file mode 100644 index 00000000..d1cb7856 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_enterprise_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemEnterpriseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless.py new file mode 100644 index 00000000..e8f0c8f1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId, +) + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordless(UniversalBaseModel): + """ + The identity object for passwordless identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum.py new file mode 100644 index 00000000..295d9d87 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data.py new file mode 100644 index 00000000..fd7f810e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum.py new file mode 100644 index 00000000..1f5bd75a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessProviderEnum = typing.Union[ + typing.Literal["email", "sms"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id.py new file mode 100644 index 00000000..32947d7a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_passwordless_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemPasswordlessUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social.py new file mode 100644 index 00000000..c9b5c8cd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum, +) +from .event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId, +) + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocial(UniversalBaseModel): + """ + The identity object for social identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum.py new file mode 100644 index 00000000..cbf955d4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data.py new file mode 100644 index 00000000..c493db9a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum.py new file mode 100644 index 00000000..1e40f442 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_provider_enum.py @@ -0,0 +1,48 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialProviderEnum = typing.Union[ + typing.Literal[ + "amazon", + "apple", + "dropbox", + "bitbucket", + "auth0-oidc", + "baidu", + "bitly", + "box", + "daccount", + "dwolla", + "evernote-sandbox", + "evernote", + "exact", + "facebook", + "fitbit", + "github", + "google-oauth2", + "instagram", + "line", + "linkedin", + "oauth1", + "oauth2", + "paypal", + "paypal-sandbox", + "planningcenter", + "salesforce-community", + "salesforce-sandbox", + "salesforce", + "shopify", + "soundcloud", + "thirtysevensignals", + "twitter", + "untapped", + "vkontakte", + "weibo", + "windowslive", + "wordpress", + "yahoo", + "yandex", + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id.py new file mode 100644 index 00000000..d36a13a8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_identities_item_social_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectIdentitiesItemSocialUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_user_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_user_metadata.py new file mode 100644 index 00000000..c2e72518 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_created_previous_object_user_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserCreatedPreviousObjectUserMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read/write access. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_cloud_event.py index 8b3227c8..6ebe685d 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_deleted_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_cloud_event.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum from .event_stream_cloud_event_user_deleted_cloud_event_type_enum import ( EventStreamCloudEventUserDeletedCloudEventTypeEnum, ) @@ -19,11 +20,7 @@ class EventStreamCloudEventUserDeletedCloudEvent(UniversalBaseModel): Represents an event that occurs when a user is deleted. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventUserDeletedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventUserDeletedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_data.py index f88122f1..c7566a4d 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_deleted_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_user_deleted_object import EventStreamCloudEventUserDeletedObject +from .event_stream_cloud_event_user_deleted_previous_object import EventStreamCloudEventUserDeletedPreviousObject class EventStreamCloudEventUserDeletedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventUserDeletedData(UniversalBaseModel): """ object: EventStreamCloudEventUserDeletedObject + previous_object: typing.Optional[EventStreamCloudEventUserDeletedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object.py new file mode 100644 index 00000000..d5a64f41 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object.py @@ -0,0 +1,128 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_user_deleted_previous_object_app_metadata import ( + EventStreamCloudEventUserDeletedPreviousObjectAppMetadata, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem, +) +from .event_stream_cloud_event_user_deleted_previous_object_user_metadata import ( + EventStreamCloudEventUserDeletedPreviousObjectUserMetadata, +) + + +class EventStreamCloudEventUserDeletedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + identities: typing.List[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem] = pydantic.Field() + """ + Array of user identity objects when accounts are linked. + """ + + app_metadata: typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectAppMetadata] = None + user_metadata: typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectUserMetadata] = None + picture: typing.Optional[str] = pydantic.Field(default=None) + """ + URL to picture, photo, or avatar of this user. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + nickname: typing.Optional[str] = pydantic.Field(default=None) + """ + Preferred nickname or alias of this user. + """ + + multifactor: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of multi-factor authentication providers with which this user has enrolled. + """ + + last_ip: typing.Optional[str] = pydantic.Field(default=None) + """ + Last IP address from which this user logged in. + """ + + last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Last date and time this user logged in (ISO_8601 format). + """ + + logins_count: typing.Optional[int] = pydantic.Field(default=None) + """ + Total number of logins this user has performed. + """ + + blocked: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this user was blocked by an administrator (true) or is not (false). + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_app_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_app_metadata.py new file mode 100644 index 00000000..2830ee8a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_app_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectAppMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read-only access. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item.py new file mode 100644 index 00000000..07b020d8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial, +) + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItem = typing.Union[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom.py new file mode 100644 index 00000000..cffb4b39 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId, +) + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustom(UniversalBaseModel): + """ + The identity object for custom identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum.py new file mode 100644 index 00000000..9371a7f4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data.py new file mode 100644 index 00000000..db82f190 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum.py new file mode 100644 index 00000000..9f5f1845 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomProviderEnum = typing.Union[ + typing.Literal["custom"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id.py new file mode 100644 index 00000000..39d9c61d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_custom_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemCustomUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database.py new file mode 100644 index 00000000..f0124aeb --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId, +) + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabase(UniversalBaseModel): + """ + The identity object for database identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum.py new file mode 100644 index 00000000..96bf9dba --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data.py new file mode 100644 index 00000000..0ea0e080 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum.py new file mode 100644 index 00000000..4341f3bd --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseProviderEnum = typing.Union[ + typing.Literal["auth0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id.py new file mode 100644 index 00000000..6723e70e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_database_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemDatabaseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise.py new file mode 100644 index 00000000..aa16f353 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId, +) + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterprise(UniversalBaseModel): + """ + The identity object for enterprise identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum.py new file mode 100644 index 00000000..c90578d0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data.py new file mode 100644 index 00000000..79682bae --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum.py new file mode 100644 index 00000000..8f7dd572 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_provider_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseProviderEnum = typing.Union[ + typing.Literal[ + "ad", "adfs", "google-apps", "ip", "office365", "oidc", "okta", "pingfederate", "samlp", "sharepoint", "waad" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id.py new file mode 100644 index 00000000..5f485b3f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_enterprise_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemEnterpriseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless.py new file mode 100644 index 00000000..8afd9700 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId, +) + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordless(UniversalBaseModel): + """ + The identity object for passwordless identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum.py new file mode 100644 index 00000000..72fd6b0b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data.py new file mode 100644 index 00000000..39c31278 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum.py new file mode 100644 index 00000000..18a9c2f5 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessProviderEnum = typing.Union[ + typing.Literal["email", "sms"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id.py new file mode 100644 index 00000000..3961f676 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_passwordless_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemPasswordlessUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social.py new file mode 100644 index 00000000..0e53dd73 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum, +) +from .event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId, +) + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocial(UniversalBaseModel): + """ + The identity object for social identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum.py new file mode 100644 index 00000000..066c7b02 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data.py new file mode 100644 index 00000000..7fdbd677 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum.py new file mode 100644 index 00000000..0ab011a4 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_provider_enum.py @@ -0,0 +1,48 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialProviderEnum = typing.Union[ + typing.Literal[ + "amazon", + "apple", + "dropbox", + "bitbucket", + "auth0-oidc", + "baidu", + "bitly", + "box", + "daccount", + "dwolla", + "evernote-sandbox", + "evernote", + "exact", + "facebook", + "fitbit", + "github", + "google-oauth2", + "instagram", + "line", + "linkedin", + "oauth1", + "oauth2", + "paypal", + "paypal-sandbox", + "planningcenter", + "salesforce-community", + "salesforce-sandbox", + "salesforce", + "shopify", + "soundcloud", + "thirtysevensignals", + "twitter", + "untapped", + "vkontakte", + "weibo", + "windowslive", + "wordpress", + "yahoo", + "yandex", + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id.py new file mode 100644 index 00000000..ccf77e8b --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_identities_item_social_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectIdentitiesItemSocialUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_user_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_user_metadata.py new file mode 100644 index 00000000..afebefb0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_deleted_previous_object_user_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserDeletedPreviousObjectUserMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read/write access. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_cloud_event.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_cloud_event.py index 5fcfa2c4..d37b06af 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_updated_cloud_event.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_cloud_event.py @@ -8,6 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata from .event_stream_cloud_event_a_0_purpose_enum import EventStreamCloudEventA0PurposeEnum +from .event_stream_cloud_event_spec_version_enum import EventStreamCloudEventSpecVersionEnum from .event_stream_cloud_event_user_updated_cloud_event_type_enum import ( EventStreamCloudEventUserUpdatedCloudEventTypeEnum, ) @@ -19,11 +20,7 @@ class EventStreamCloudEventUserUpdatedCloudEvent(UniversalBaseModel): Represents an event that occurs when a user is updated. """ - specversion: str = pydantic.Field() - """ - The version of the CloudEvents specification which the event uses. - """ - + specversion: EventStreamCloudEventSpecVersionEnum type: EventStreamCloudEventUserUpdatedCloudEventTypeEnum source: str = pydantic.Field() """ @@ -46,13 +43,24 @@ class EventStreamCloudEventUserUpdatedCloudEvent(UniversalBaseModel): FieldMetadata(alias="a0tenant"), pydantic.Field(alias="a0tenant", description="The auth0 tenant ID to which the event is associated."), ] + """ + The auth0 tenant ID to which the event is associated. + """ + a_0_stream: typing_extensions.Annotated[ - str, + typing.Optional[str], FieldMetadata(alias="a0stream"), pydantic.Field( - alias="a0stream", description="The auth0 event stream ID of the stream the event was delivered on." + alias="a0stream", + description="The auth0 event stream ID of the stream the event was delivered on.\nPresent when the event is delivered via an event stream; omitted when\nevents are retrieved via the Events API (GET /api/v2/events).", ), - ] + ] = None + """ + The auth0 event stream ID of the stream the event was delivered on. + Present when the event is delivered via an event stream; omitted when + events are retrieved via the Events API (GET /api/v2/events). + """ + a_0_purpose: typing_extensions.Annotated[ typing.Optional[EventStreamCloudEventA0PurposeEnum], FieldMetadata(alias="a0purpose"), diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_data.py index 88452365..db3fcb92 100644 --- a/src/auth0/management/types/event_stream_cloud_event_user_updated_data.py +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_data.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .event_stream_cloud_event_context import EventStreamCloudEventContext from .event_stream_cloud_event_user_updated_object import EventStreamCloudEventUserUpdatedObject +from .event_stream_cloud_event_user_updated_previous_object import EventStreamCloudEventUserUpdatedPreviousObject class EventStreamCloudEventUserUpdatedData(UniversalBaseModel): @@ -14,6 +15,7 @@ class EventStreamCloudEventUserUpdatedData(UniversalBaseModel): """ object: EventStreamCloudEventUserUpdatedObject + previous_object: typing.Optional[EventStreamCloudEventUserUpdatedPreviousObject] = None context: typing.Optional[EventStreamCloudEventContext] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object.py new file mode 100644 index 00000000..4f61944e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object.py @@ -0,0 +1,128 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_user_updated_previous_object_app_metadata import ( + EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem, +) +from .event_stream_cloud_event_user_updated_previous_object_user_metadata import ( + EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata, +) + + +class EventStreamCloudEventUserUpdatedPreviousObject(UniversalBaseModel): + """ + The event content as it was prior to the change described by this event, when applicable. + """ + + user_id: str = pydantic.Field() + """ + ID of the user which can be used when interacting with other APIs. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + created_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was created (ISO_8601 format). + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Date and time when this entity was last updated/modified (ISO_8601 format). + """ + + identities: typing.List[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem] = pydantic.Field() + """ + Array of user identity objects when accounts are linked. + """ + + app_metadata: typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata] = None + user_metadata: typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata] = None + picture: typing.Optional[str] = pydantic.Field(default=None) + """ + URL to picture, photo, or avatar of this user. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + nickname: typing.Optional[str] = pydantic.Field(default=None) + """ + Preferred nickname or alias of this user. + """ + + multifactor: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of multi-factor authentication providers with which this user has enrolled. + """ + + last_ip: typing.Optional[str] = pydantic.Field(default=None) + """ + Last IP address from which this user logged in. + """ + + last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Last date and time this user logged in (ISO_8601 format). + """ + + logins_count: typing.Optional[int] = pydantic.Field(default=None) + """ + Total number of logins this user has performed. + """ + + blocked: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this user was blocked by an administrator (true) or is not (false). + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_app_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_app_metadata.py new file mode 100644 index 00000000..01c1ed20 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_app_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectAppMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read-only access. +""" diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item.py new file mode 100644 index 00000000..47ea8999 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_database import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_social import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, +) + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItem = typing.Union[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless, + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom.py new file mode 100644 index 00000000..0485c9e6 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId, +) + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustom(UniversalBaseModel): + """ + The identity object for custom identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum.py new file mode 100644 index 00000000..a7918a7a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data.py new file mode 100644 index 00000000..8d03f70a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum.py new file mode 100644 index 00000000..179d35a8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomProviderEnum = typing.Union[ + typing.Literal["custom"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id.py new file mode 100644 index 00000000..af6f0185 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_custom_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemCustomUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database.py new file mode 100644 index 00000000..975f7eff --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId, +) + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabase(UniversalBaseModel): + """ + The identity object for database identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum.py new file mode 100644 index 00000000..0b02f61c --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data.py new file mode 100644 index 00000000..a68f5d9d --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum.py new file mode 100644 index 00000000..e2db6776 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseProviderEnum = typing.Union[ + typing.Literal["auth0"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id.py new file mode 100644 index 00000000..bd73bc1f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_database_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemDatabaseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise.py new file mode 100644 index 00000000..705ce9e1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId, +) + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterprise(UniversalBaseModel): + """ + The identity object for enterprise identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum.py new file mode 100644 index 00000000..c7fc7b06 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data.py new file mode 100644 index 00000000..683cf20a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum.py new file mode 100644 index 00000000..bc0a8d1a --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_provider_enum.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseProviderEnum = typing.Union[ + typing.Literal[ + "ad", "adfs", "google-apps", "ip", "office365", "oidc", "okta", "pingfederate", "samlp", "sharepoint", "waad" + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id.py new file mode 100644 index 00000000..d70aa968 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_enterprise_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemEnterpriseUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless.py new file mode 100644 index 00000000..b4dd86b3 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId, +) + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordless(UniversalBaseModel): + """ + The identity object for passwordless identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum.py new file mode 100644 index 00000000..f08431d1 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data.py new file mode 100644 index 00000000..90d74d93 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum.py new file mode 100644 index 00000000..f71d2d36 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_provider_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessProviderEnum = typing.Union[ + typing.Literal["email", "sms"], typing.Any +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id.py new file mode 100644 index 00000000..4453094f --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_passwordless_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemPasswordlessUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social.py new file mode 100644 index 00000000..e0098551 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum, +) +from .event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id import ( + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId, +) + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocial(UniversalBaseModel): + """ + The identity object for social identity providers. + """ + + connection: str = pydantic.Field() + """ + Name of the connection containing this identity. + """ + + user_id: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId + profile_data: typing_extensions.Annotated[ + typing.Optional[EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData], + FieldMetadata(alias="profileData"), + pydantic.Field(alias="profileData"), + ] = None + provider: EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum + is_social: typing_extensions.Annotated[ + EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum, + FieldMetadata(alias="isSocial"), + pydantic.Field(alias="isSocial"), + ] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum.py new file mode 100644 index 00000000..44af3cf8 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_is_social_enum.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialIsSocialEnum = bool diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data.py new file mode 100644 index 00000000..979c033e --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_profile_data.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProfileData(UniversalBaseModel): + """ + Profile data for the user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + email_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this email address is verified (true) or unverified (false). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + username: typing.Optional[str] = pydantic.Field(default=None) + """ + Username of this user. + """ + + given_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Given name/first name/forename of this user. + """ + + family_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Family name/last name/surname of this user. + """ + + phone_number: typing.Optional[str] = pydantic.Field(default=None) + """ + Phone number of this user. + """ + + phone_verified: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this phone number has been verified (true) or not (false). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum.py new file mode 100644 index 00000000..b6294fb0 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_provider_enum.py @@ -0,0 +1,48 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialProviderEnum = typing.Union[ + typing.Literal[ + "amazon", + "apple", + "dropbox", + "bitbucket", + "auth0-oidc", + "baidu", + "bitly", + "box", + "daccount", + "dwolla", + "evernote-sandbox", + "evernote", + "exact", + "facebook", + "fitbit", + "github", + "google-oauth2", + "instagram", + "line", + "linkedin", + "oauth1", + "oauth2", + "paypal", + "paypal-sandbox", + "planningcenter", + "salesforce-community", + "salesforce-sandbox", + "salesforce", + "shopify", + "soundcloud", + "thirtysevensignals", + "twitter", + "untapped", + "vkontakte", + "weibo", + "windowslive", + "wordpress", + "yahoo", + "yandex", + ], + typing.Any, +] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id.py new file mode 100644 index 00000000..1e4a7f97 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_identities_item_social_user_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectIdentitiesItemSocialUserId = typing.Union[str, int] diff --git a/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_user_metadata.py b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_user_metadata.py new file mode 100644 index 00000000..404fee77 --- /dev/null +++ b/src/auth0/management/types/event_stream_cloud_event_user_updated_previous_object_user_metadata.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +EventStreamCloudEventUserUpdatedPreviousObjectUserMetadata = typing.Dict[str, typing.Any] +""" +User metadata to which this user has read/write access. +""" diff --git a/src/auth0/management/types/event_stream_delivery_attempt.py b/src/auth0/management/types/event_stream_delivery_attempt.py index ba41caf0..6f5ed69e 100644 --- a/src/auth0/management/types/event_stream_delivery_attempt.py +++ b/src/auth0/management/types/event_stream_delivery_attempt.py @@ -20,6 +20,11 @@ class EventStreamDeliveryAttempt(UniversalBaseModel): Delivery error message, if applicable """ + duration: typing.Optional[float] = pydantic.Field(default=None) + """ + Duration of the delivery attempt in milliseconds + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/event_stream_delivery_event_type_enum.py b/src/auth0/management/types/event_stream_delivery_event_type_enum.py index c19bf51b..2ebf419e 100644 --- a/src/auth0/management/types/event_stream_delivery_event_type_enum.py +++ b/src/auth0/management/types/event_stream_delivery_event_type_enum.py @@ -4,6 +4,9 @@ EventStreamDeliveryEventTypeEnum = typing.Union[ typing.Literal[ + "connection.created", + "connection.deleted", + "connection.updated", "group.created", "group.deleted", "group.member.added", diff --git a/src/auth0/management/types/event_stream_event_type_enum.py b/src/auth0/management/types/event_stream_event_type_enum.py index 0f8a1cf1..6dce7aa0 100644 --- a/src/auth0/management/types/event_stream_event_type_enum.py +++ b/src/auth0/management/types/event_stream_event_type_enum.py @@ -4,6 +4,9 @@ EventStreamEventTypeEnum = typing.Union[ typing.Literal[ + "connection.created", + "connection.deleted", + "connection.updated", "group.created", "group.deleted", "group.member.added", diff --git a/src/auth0/management/types/event_stream_subscribe_events_event_type_enum.py b/src/auth0/management/types/event_stream_subscribe_events_event_type_enum.py index d1a07c86..d87067c9 100644 --- a/src/auth0/management/types/event_stream_subscribe_events_event_type_enum.py +++ b/src/auth0/management/types/event_stream_subscribe_events_event_type_enum.py @@ -4,6 +4,9 @@ EventStreamSubscribeEventsEventTypeEnum = typing.Union[ typing.Literal[ + "connection.created", + "connection.deleted", + "connection.updated", "group.created", "group.deleted", "group.member.added", diff --git a/src/auth0/management/types/event_stream_subscribe_events_response_content.py b/src/auth0/management/types/event_stream_subscribe_events_response_content.py index 01b0b007..7646a2bd 100644 --- a/src/auth0/management/types/event_stream_subscribe_events_response_content.py +++ b/src/auth0/management/types/event_stream_subscribe_events_response_content.py @@ -7,6 +7,9 @@ import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_cloud_event_connection_created_cloud_event import EventStreamCloudEventConnectionCreatedCloudEvent +from .event_stream_cloud_event_connection_deleted_cloud_event import EventStreamCloudEventConnectionDeletedCloudEvent +from .event_stream_cloud_event_connection_updated_cloud_event import EventStreamCloudEventConnectionUpdatedCloudEvent from .event_stream_cloud_event_error_detail import EventStreamCloudEventErrorDetail from .event_stream_cloud_event_group_created_cloud_event import EventStreamCloudEventGroupCreatedCloudEvent from .event_stream_cloud_event_group_deleted_cloud_event import EventStreamCloudEventGroupDeletedCloudEvent @@ -44,6 +47,63 @@ from .event_stream_cloud_event_user_updated_cloud_event import EventStreamCloudEventUserUpdatedCloudEvent +class EventStreamSubscribeEventsResponseContent_ConnectionCreated(UniversalBaseModel): + """ + The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. Discriminated by type: an event type name for events, "error" for errors, and "offset-only" for cursor-only heartbeats. + """ + + type: typing.Literal["connection.created"] = "connection.created" + offset: str + event: EventStreamCloudEventConnectionCreatedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class EventStreamSubscribeEventsResponseContent_ConnectionDeleted(UniversalBaseModel): + """ + The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. Discriminated by type: an event type name for events, "error" for errors, and "offset-only" for cursor-only heartbeats. + """ + + type: typing.Literal["connection.deleted"] = "connection.deleted" + offset: str + event: EventStreamCloudEventConnectionDeletedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class EventStreamSubscribeEventsResponseContent_ConnectionUpdated(UniversalBaseModel): + """ + The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. Discriminated by type: an event type name for events, "error" for errors, and "offset-only" for cursor-only heartbeats. + """ + + type: typing.Literal["connection.updated"] = "connection.updated" + offset: str + event: EventStreamCloudEventConnectionUpdatedCloudEvent + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + class EventStreamSubscribeEventsResponseContent_GroupCreated(UniversalBaseModel): """ The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. Discriminated by type: an event type name for events, "error" for errors, and "offset-only" for cursor-only heartbeats. @@ -500,6 +560,9 @@ class Config: EventStreamSubscribeEventsResponseContent = typing_extensions.Annotated[ typing.Union[ + EventStreamSubscribeEventsResponseContent_ConnectionCreated, + EventStreamSubscribeEventsResponseContent_ConnectionDeleted, + EventStreamSubscribeEventsResponseContent_ConnectionUpdated, EventStreamSubscribeEventsResponseContent_GroupCreated, EventStreamSubscribeEventsResponseContent_GroupDeleted, EventStreamSubscribeEventsResponseContent_GroupMemberAdded, diff --git a/src/auth0/management/types/event_stream_test_event_type_enum.py b/src/auth0/management/types/event_stream_test_event_type_enum.py index f67e8859..b5b74b46 100644 --- a/src/auth0/management/types/event_stream_test_event_type_enum.py +++ b/src/auth0/management/types/event_stream_test_event_type_enum.py @@ -4,6 +4,9 @@ EventStreamTestEventTypeEnum = typing.Union[ typing.Literal[ + "connection.created", + "connection.deleted", + "connection.updated", "group.created", "group.deleted", "group.member.added", diff --git a/src/auth0/management/types/experiment_list_item.py b/src/auth0/management/types/experiment_list_item.py new file mode 100644 index 00000000..d77a6d5e --- /dev/null +++ b/src/auth0/management/types/experiment_list_item.py @@ -0,0 +1,58 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .allocation_item import AllocationItem +from .allocation_strategy_enum import AllocationStrategyEnum +from .default_config_enum import DefaultConfigEnum +from .experiment_status_enum import ExperimentStatusEnum + + +class ExperimentListItem(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + feature_flag_id: str + feature_flag_name: typing.Optional[str] = None + authentication_flow: str + allocation_strategy: AllocationStrategyEnum + status: ExperimentStatusEnum + is_valid: bool = pydantic.Field() + """ + Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. + """ + + default_config: typing.Optional[DefaultConfigEnum] = None + feature_flag_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + allocations: typing.List[AllocationItem] + editable_fields: typing.List[str] = pydantic.Field() + """ + Fields that may be mutated given the experiment's current status. Computed at response time; always current with the API's enforcement logic. + """ + + levels: typing.Optional[typing.List[int]] = pydantic.Field(default=None) + """ + Ramp experiment levels configuration. + """ + + current_level: typing.Optional[int] = pydantic.Field(default=None) + """ + Read-only. The active exposure percentage for the current ramp step. Null when no ramp schedule is active. + """ + + started_at: typing.Optional[dt.datetime] = None + ended_at: typing.Optional[dt.datetime] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/experiment_status_enum.py b/src/auth0/management/types/experiment_status_enum.py new file mode 100644 index 00000000..e0d8f152 --- /dev/null +++ b/src/auth0/management/types/experiment_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ExperimentStatusEnum = typing.Union[typing.Literal["draft", "active", "paused", "completed", "archived"], typing.Any] diff --git a/src/auth0/management/types/experiment_transition_status_enum.py b/src/auth0/management/types/experiment_transition_status_enum.py new file mode 100644 index 00000000..264d2ab8 --- /dev/null +++ b/src/auth0/management/types/experiment_transition_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ExperimentTransitionStatusEnum = typing.Union[typing.Literal["active", "paused", "completed", "archived"], typing.Any] diff --git a/src/auth0/management/types/experiment_validation_error.py b/src/auth0/management/types/experiment_validation_error.py new file mode 100644 index 00000000..01b7a291 --- /dev/null +++ b/src/auth0/management/types/experiment_validation_error.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ExperimentValidationError(UniversalBaseModel): + code: str = pydantic.Field() + """ + Machine-readable error code identifying the validation failure. + """ + + message: str = pydantic.Field() + """ + Human-readable description of the validation failure. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/express_configuration.py b/src/auth0/management/types/express_configuration.py index 5ffaa41b..f4314d23 100644 --- a/src/auth0/management/types/express_configuration.py +++ b/src/auth0/management/types/express_configuration.py @@ -57,6 +57,11 @@ class ExpressConfiguration(UniversalBaseModel): The identifier of the published application in the OKTA OIN. """ + okta_oin_listing_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the application's listing in the Okta Integration Network (OIN) catalog, used to redirect customers into OIN Express Configuration. Must be an https URL on an okta.com domain with no query string or fragment. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/express_configuration_or_null.py b/src/auth0/management/types/express_configuration_or_null.py index 283f1a99..18b67cfa 100644 --- a/src/auth0/management/types/express_configuration_or_null.py +++ b/src/auth0/management/types/express_configuration_or_null.py @@ -57,6 +57,11 @@ class ExpressConfigurationOrNull(UniversalBaseModel): The identifier of the published application in the OKTA OIN. """ + okta_oin_listing_url: typing.Optional[str] = pydantic.Field(default=None) + """ + URL of the application's listing in the Okta Integration Network (OIN) catalog, used to redirect customers into OIN Express Configuration. Must be an https URL on an okta.com domain with no query string or fragment. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/feature_flag.py b/src/auth0/management/types/feature_flag.py new file mode 100644 index 00000000..8366ff79 --- /dev/null +++ b/src/auth0/management/types/feature_flag.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag_config_params import FeatureFlagConfigParams +from .feature_flag_status_enum import FeatureFlagStatusEnum +from .feature_flag_type_enum import FeatureFlagTypeEnum + + +class FeatureFlag(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: FeatureFlagTypeEnum + status: FeatureFlagStatusEnum + parameters: typing.Optional[FeatureFlagConfigParams] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/feature_flag_config_param.py b/src/auth0/management/types/feature_flag_config_param.py new file mode 100644 index 00000000..eef7477f --- /dev/null +++ b/src/auth0/management/types/feature_flag_config_param.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag_config_param_type_enum import FeatureFlagConfigParamTypeEnum + + +class FeatureFlagConfigParam(UniversalBaseModel): + type: FeatureFlagConfigParamTypeEnum + value: typing.Any + description: typing.Optional[str] = pydantic.Field(default=None) + """ + A human-readable description of the parameter + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/feature_flag_config_param_type_enum.py b/src/auth0/management/types/feature_flag_config_param_type_enum.py new file mode 100644 index 00000000..928f82a6 --- /dev/null +++ b/src/auth0/management/types/feature_flag_config_param_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FeatureFlagConfigParamTypeEnum = typing.Union[ + typing.Literal["string", "boolean", "number", "array", "object"], typing.Any +] diff --git a/src/auth0/management/types/feature_flag_config_params.py b/src/auth0/management/types/feature_flag_config_params.py new file mode 100644 index 00000000..b68b0798 --- /dev/null +++ b/src/auth0/management/types/feature_flag_config_params.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .feature_flag_config_param import FeatureFlagConfigParam + +FeatureFlagConfigParams = typing.Dict[str, FeatureFlagConfigParam] +""" +Configuration parameters for this feature flag +""" diff --git a/src/auth0/management/types/feature_flag_status_enum.py b/src/auth0/management/types/feature_flag_status_enum.py new file mode 100644 index 00000000..3a379401 --- /dev/null +++ b/src/auth0/management/types/feature_flag_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FeatureFlagStatusEnum = typing.Union[typing.Literal["draft", "active", "archived"], typing.Any] diff --git a/src/auth0/management/types/feature_flag_type_enum.py b/src/auth0/management/types/feature_flag_type_enum.py new file mode 100644 index 00000000..1852075f --- /dev/null +++ b/src/auth0/management/types/feature_flag_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FeatureFlagTypeEnum = typing.Union[typing.Literal["auth0", "self"], typing.Any] diff --git a/src/auth0/management/types/form_widget_g_maps_address_config.py b/src/auth0/management/types/form_widget_g_maps_address_config.py index 77fe9c06..2fc8addc 100644 --- a/src/auth0/management/types/form_widget_g_maps_address_config.py +++ b/src/auth0/management/types/form_widget_g_maps_address_config.py @@ -8,6 +8,7 @@ class FormWidgetGMapsAddressConfig(UniversalBaseModel): api_key: str + server_key: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_all_keys_network_acls_response_content.py b/src/auth0/management/types/get_all_keys_network_acls_response_content.py new file mode 100644 index 00000000..bfffa4d2 --- /dev/null +++ b/src/auth0/management/types/get_all_keys_network_acls_response_content.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .network_acl_key import NetworkAclKey + + +class GetAllKeysNetworkAclsResponseContent(UniversalBaseModel): + keys: typing.List[NetworkAclKey] = pydantic.Field() + """ + The tenant's Network ACL Keys. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_branding_default_theme_response_content.py b/src/auth0/management/types/get_branding_default_theme_response_content.py index 4a0aa19a..26103ac3 100644 --- a/src/auth0/management/types/get_branding_default_theme_response_content.py +++ b/src/auth0/management/types/get_branding_default_theme_response_content.py @@ -9,6 +9,7 @@ from .branding_theme_borders import BrandingThemeBorders from .branding_theme_colors import BrandingThemeColors from .branding_theme_fonts import BrandingThemeFonts +from .branding_theme_identifiers import BrandingThemeIdentifiers from .branding_theme_page_background import BrandingThemePageBackground from .branding_theme_widget import BrandingThemeWidget @@ -19,11 +20,20 @@ class GetBrandingDefaultThemeResponseContent(UniversalBaseModel): display_name: typing_extensions.Annotated[ str, FieldMetadata(alias="displayName"), pydantic.Field(alias="displayName", description="Display Name") ] + """ + Display Name + """ + fonts: BrandingThemeFonts + identifiers: typing.Optional[BrandingThemeIdentifiers] = None page_background: BrandingThemePageBackground theme_id: typing_extensions.Annotated[ str, FieldMetadata(alias="themeId"), pydantic.Field(alias="themeId", description="Theme Id") ] + """ + Theme Id + """ + widget: BrandingThemeWidget if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/get_branding_theme_response_content.py b/src/auth0/management/types/get_branding_theme_response_content.py index 97beaf03..8032b082 100644 --- a/src/auth0/management/types/get_branding_theme_response_content.py +++ b/src/auth0/management/types/get_branding_theme_response_content.py @@ -9,6 +9,7 @@ from .branding_theme_borders import BrandingThemeBorders from .branding_theme_colors import BrandingThemeColors from .branding_theme_fonts import BrandingThemeFonts +from .branding_theme_identifiers import BrandingThemeIdentifiers from .branding_theme_page_background import BrandingThemePageBackground from .branding_theme_widget import BrandingThemeWidget @@ -19,11 +20,20 @@ class GetBrandingThemeResponseContent(UniversalBaseModel): display_name: typing_extensions.Annotated[ str, FieldMetadata(alias="displayName"), pydantic.Field(alias="displayName", description="Display Name") ] + """ + Display Name + """ + fonts: BrandingThemeFonts + identifiers: typing.Optional[BrandingThemeIdentifiers] = None page_background: BrandingThemePageBackground theme_id: typing_extensions.Annotated[ str, FieldMetadata(alias="themeId"), pydantic.Field(alias="themeId", description="Theme Id") ] + """ + Theme Id + """ + widget: BrandingThemeWidget if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/get_brute_force_settings_response_content.py b/src/auth0/management/types/get_brute_force_settings_response_content.py index ab9f96d0..52f650a7 100644 --- a/src/auth0/management/types/get_brute_force_settings_response_content.py +++ b/src/auth0/management/types/get_brute_force_settings_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .brute_force_protection_form_submission_mode_enum import BruteForceProtectionFormSubmissionModeEnum from .brute_force_protection_mode_enum import BruteForceProtectionModeEnum from .brute_force_protection_shields_enum import BruteForceProtectionShieldsEnum @@ -26,6 +27,7 @@ class GetBruteForceSettingsResponseContent(UniversalBaseModel): """ mode: typing.Optional[BruteForceProtectionModeEnum] = None + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = None max_attempts: typing.Optional[int] = pydantic.Field(default=None) """ Maximum number of unsuccessful attempts. diff --git a/src/auth0/management/types/get_client_credential_response_content.py b/src/auth0/management/types/get_client_credential_response_content.py index d802b2e0..d595a6eb 100644 --- a/src/auth0/management/types/get_client_credential_response_content.py +++ b/src/auth0/management/types/get_client_credential_response_content.py @@ -39,6 +39,10 @@ class GetClientCredentialResponseContent(UniversalBaseModel): FieldMetadata(alias="thumbprint_sha256"), pydantic.Field(alias="thumbprint_sha256", description="The X509 certificate's SHA256 thumbprint"), ] = None + """ + The X509 certificate's SHA256 thumbprint + """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ The ISO 8601 formatted date the credential was created. diff --git a/src/auth0/management/types/get_client_response_content.py b/src/auth0/management/types/get_client_response_content.py index 9e8bd15d..161e4231 100644 --- a/src/auth0/management/types/get_client_response_content.py +++ b/src/auth0/management/types/get_client_response_content.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +import datetime as dt import typing import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration from .client_addons import ClientAddons +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_post_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -16,12 +20,14 @@ from .client_default_organization import ClientDefaultOrganization from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_metadata import ClientMetadata from .client_mobile import ClientMobile from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum @@ -36,6 +42,8 @@ from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId from .express_configuration import ExpressConfiguration from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .native_social_login import NativeSocialLogin from .token_quota import TokenQuota @@ -46,6 +54,16 @@ class GetClientResponseContent(UniversalBaseModel): ID of this client. """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + tenant: typing.Optional[str] = pydantic.Field(default=None) """ Name of the tenant this client belongs to. @@ -69,6 +87,10 @@ class GetClientResponseContent(UniversalBaseModel): description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", ), ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + client_secret: typing.Optional[str] = pydantic.Field(default=None) """ Client secret (which you must not make public). @@ -226,8 +248,20 @@ class GetClientResponseContent(UniversalBaseModel): token_quota: typing.Optional[TokenQuota] = None express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) """ @@ -239,6 +273,12 @@ class GetClientResponseContent(UniversalBaseModel): ] = None external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + external_client_id: typing.Optional[str] = pydantic.Field(default=None) """ An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. diff --git a/src/auth0/management/types/get_connection_profile_response_content.py b/src/auth0/management/types/get_connection_profile_response_content.py index ac5daeca..371ab892 100644 --- a/src/auth0/management/types/get_connection_profile_response_content.py +++ b/src/auth0/management/types/get_connection_profile_response_content.py @@ -6,10 +6,12 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .connection_name_prefix_template import ConnectionNamePrefixTemplate from .connection_profile_config import ConnectionProfileConfig +from .connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_id import ConnectionProfileId from .connection_profile_name import ConnectionProfileName from .connection_profile_organization import ConnectionProfileOrganization +from .connection_profile_provisioning import ConnectionProfileProvisioning from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides @@ -21,6 +23,8 @@ class GetConnectionProfileResponseContent(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileConfig] = None strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = None + provisioning: typing.Optional[ConnectionProfileProvisioning] = None + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_connection_response_content.py b/src/auth0/management/types/get_connection_response_content.py index a8913da3..5d3846d6 100644 --- a/src/auth0/management/types/get_connection_response_content.py +++ b/src/auth0/management/types/get_connection_response_content.py @@ -9,6 +9,7 @@ from .connection_options import ConnectionOptions from .connections_metadata import ConnectionsMetadata from .cross_app_access_requesting_app import CrossAppAccessRequestingApp +from .cross_app_access_resource_app import CrossAppAccessResourceApp class GetConnectionResponseContent(UniversalBaseModel): @@ -57,6 +58,7 @@ class GetConnectionResponseContent(UniversalBaseModel): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[CrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_email_factor_settings_response_content.py b/src/auth0/management/types/get_email_factor_settings_response_content.py new file mode 100644 index 00000000..1ca40ee7 --- /dev/null +++ b/src/auth0/management/types/get_email_factor_settings_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GetEmailFactorSettingsResponseContent(UniversalBaseModel): + otp_length: int = pydantic.Field() + """ + The length of the OTP code. + """ + + otp_expiration_time: int = pydantic.Field() + """ + The OTP expiration time in seconds. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_email_template_response_content.py b/src/auth0/management/types/get_email_template_response_content.py index 87aacb97..51490698 100644 --- a/src/auth0/management/types/get_email_template_response_content.py +++ b/src/auth0/management/types/get_email_template_response_content.py @@ -21,11 +21,19 @@ class GetEmailTemplateResponseContent(UniversalBaseModel): FieldMetadata(alias="from"), pydantic.Field(alias="from", description="Senders `from` email address."), ] = None + """ + Senders `from` email address. + """ + result_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="resultUrl"), pydantic.Field(alias="resultUrl", description="URL to redirect the user to after a successful action."), ] = None + """ + URL to redirect the user to after a successful action. + """ + subject: typing.Optional[str] = pydantic.Field(default=None) """ Subject line of the email. @@ -44,6 +52,10 @@ class GetEmailTemplateResponseContent(UniversalBaseModel): description="Lifetime in seconds that the link within the email will be valid for.", ), ] = None + """ + Lifetime in seconds that the link within the email will be valid for. + """ + include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect"), @@ -52,6 +64,10 @@ class GetEmailTemplateResponseContent(UniversalBaseModel): description="Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.", ), ] = None + """ + Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + """ + enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the template is enabled (true) or disabled (false). diff --git a/src/auth0/management/types/get_experiment_response_content.py b/src/auth0/management/types/get_experiment_response_content.py new file mode 100644 index 00000000..5411931d --- /dev/null +++ b/src/auth0/management/types/get_experiment_response_content.py @@ -0,0 +1,58 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .allocation_item import AllocationItem +from .allocation_strategy_enum import AllocationStrategyEnum +from .default_config_enum import DefaultConfigEnum +from .experiment_status_enum import ExperimentStatusEnum + + +class GetExperimentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + feature_flag_id: str + feature_flag_name: typing.Optional[str] = None + authentication_flow: str + allocation_strategy: AllocationStrategyEnum + status: ExperimentStatusEnum + is_valid: bool = pydantic.Field() + """ + Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. + """ + + default_config: typing.Optional[DefaultConfigEnum] = None + feature_flag_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + allocations: typing.List[AllocationItem] + editable_fields: typing.List[str] = pydantic.Field() + """ + Fields that may be mutated given the experiment's current status. Computed at response time; always current with the API's enforcement logic. + """ + + levels: typing.Optional[typing.List[int]] = pydantic.Field(default=None) + """ + Ramp experiment levels configuration. + """ + + current_level: typing.Optional[int] = pydantic.Field(default=None) + """ + Read-only. The active exposure percentage for the current ramp step. Null when no ramp schedule is active. + """ + + started_at: typing.Optional[dt.datetime] = None + ended_at: typing.Optional[dt.datetime] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_feature_flag_response_content.py b/src/auth0/management/types/get_feature_flag_response_content.py new file mode 100644 index 00000000..cbf3985c --- /dev/null +++ b/src/auth0/management/types/get_feature_flag_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag_config_params import FeatureFlagConfigParams +from .feature_flag_status_enum import FeatureFlagStatusEnum +from .feature_flag_type_enum import FeatureFlagTypeEnum + + +class GetFeatureFlagResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: FeatureFlagTypeEnum + status: FeatureFlagStatusEnum + parameters: typing.Optional[FeatureFlagConfigParams] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py b/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py index efc94763..66fd5a2b 100644 --- a/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py +++ b/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py @@ -12,6 +12,10 @@ class GetGuardianFactorsProviderPhoneTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="from"), pydantic.Field(alias="from", description="From number") ] = None + """ + From number + """ + messaging_service_sid: typing.Optional[str] = pydantic.Field(default=None) """ Copilot SID diff --git a/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py b/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py index 6a74c45a..cf247f45 100644 --- a/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py +++ b/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py @@ -12,6 +12,10 @@ class GetGuardianFactorsProviderSmsTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="from"), pydantic.Field(alias="from", description="From number") ] = None + """ + From number + """ + messaging_service_sid: typing.Optional[str] = pydantic.Field(default=None) """ Copilot SID diff --git a/src/auth0/management/types/get_guardian_settings_response_content.py b/src/auth0/management/types/get_guardian_settings_response_content.py new file mode 100644 index 00000000..cc89d780 --- /dev/null +++ b/src/auth0/management/types/get_guardian_settings_response_content.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GetGuardianSettingsResponseContent(UniversalBaseModel): + display_remember_me_checkbox: bool = pydantic.Field() + """ + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + """ + + remember_me_default_value: bool = pydantic.Field() + """ + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + """ + + mfa_session_inactivity_timeout: int = pydantic.Field() + """ + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + """ + + mfa_session_overall_timeout: int = pydantic.Field() + """ + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_hook_response_content.py b/src/auth0/management/types/get_hook_response_content.py index d2ced78d..59a72052 100644 --- a/src/auth0/management/types/get_hook_response_content.py +++ b/src/auth0/management/types/get_hook_response_content.py @@ -15,6 +15,10 @@ class GetHookResponseContent(UniversalBaseModel): FieldMetadata(alias="triggerId"), pydantic.Field(alias="triggerId", description="Trigger ID"), ] = None + """ + Trigger ID + """ + id: typing.Optional[str] = pydantic.Field(default=None) """ ID of this hook. diff --git a/src/auth0/management/types/get_log_response_content.py b/src/auth0/management/types/get_log_response_content.py index a0dca4d3..1f22c8f2 100644 --- a/src/auth0/management/types/get_log_response_content.py +++ b/src/auth0/management/types/get_log_response_content.py @@ -97,6 +97,10 @@ class GetLogResponseContent(UniversalBaseModel): description="Whether the client was a mobile device (true) or desktop/laptop/server (false).", ), ] = None + """ + Whether the client was a mobile device (true) or desktop/laptop/server (false). + """ + details: typing.Optional[LogDetails] = None user_agent: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/auth0/management/types/get_organization_all_connection_response_content.py b/src/auth0/management/types/get_organization_all_connection_response_content.py index 44f3ac1c..37c7e563 100644 --- a/src/auth0/management/types/get_organization_all_connection_response_content.py +++ b/src/auth0/management/types/get_organization_all_connection_response_content.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_access_level_enum import OrganizationAccessLevelEnum from .organization_connection_information import OrganizationConnectionInformation +from .organization_member_access_level_enum import OrganizationMemberAccessLevelEnum class GetOrganizationAllConnectionResponseContent(UniversalBaseModel): @@ -30,6 +31,7 @@ class GetOrganizationAllConnectionResponseContent(UniversalBaseModel): """ organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = None + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = None is_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the connection is enabled for the organization. diff --git a/src/auth0/management/types/get_organization_by_name_response_content.py b/src/auth0/management/types/get_organization_by_name_response_content.py index 795f0371..c03d2d2b 100644 --- a/src/auth0/management/types/get_organization_by_name_response_content.py +++ b/src/auth0/management/types/get_organization_by_name_response_content.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_branding import OrganizationBranding +from .organization_client_association import OrganizationClientAssociation from .organization_metadata import OrganizationMetadata +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .token_quota import TokenQuota @@ -28,6 +30,13 @@ class GetOrganizationByNameResponseContent(UniversalBaseModel): branding: typing.Optional[OrganizationBranding] = None metadata: typing.Optional[OrganizationMetadata] = None token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + client: typing.Optional[OrganizationClientAssociation] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_organization_client_response_content.py b/src/auth0/management/types/get_organization_client_response_content.py new file mode 100644 index 00000000..5c88887f --- /dev/null +++ b/src/auth0/management/types/get_organization_client_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_client_metadata import OrganizationClientMetadata + + +class GetOrganizationClientResponseContent(UniversalBaseModel): + client_id: str = pydantic.Field() + """ + The identifier of the client associated with the organization. + """ + + use_for_member_access: bool = pydantic.Field() + """ + Whether this client is used for member access to the organization. + """ + + client: OrganizationClientMetadata + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_organization_response_content.py b/src/auth0/management/types/get_organization_response_content.py index 0610c6a0..2c0ec21e 100644 --- a/src/auth0/management/types/get_organization_response_content.py +++ b/src/auth0/management/types/get_organization_response_content.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_branding import OrganizationBranding +from .organization_client_association import OrganizationClientAssociation from .organization_metadata import OrganizationMetadata +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .token_quota import TokenQuota @@ -28,6 +30,13 @@ class GetOrganizationResponseContent(UniversalBaseModel): branding: typing.Optional[OrganizationBranding] = None metadata: typing.Optional[OrganizationMetadata] = None token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + client: typing.Optional[OrganizationClientAssociation] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_phone_factor_settings_response_content.py b/src/auth0/management/types/get_phone_factor_settings_response_content.py new file mode 100644 index 00000000..b7109f6d --- /dev/null +++ b/src/auth0/management/types/get_phone_factor_settings_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GetPhoneFactorSettingsResponseContent(UniversalBaseModel): + otp_length: int = pydantic.Field() + """ + The length of the OTP code. + """ + + otp_expiration_time: int = pydantic.Field() + """ + The OTP expiration time in seconds. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_resource_server_response_content.py b/src/auth0/management/types/get_resource_server_response_content.py index 0cfe11dc..c8aae3f9 100644 --- a/src/auth0/management/types/get_resource_server_response_content.py +++ b/src/auth0/management/types/get_resource_server_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token import ResourceServerAccessToken +from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from .resource_server_proof_of_possession import ResourceServerProofOfPossession @@ -11,6 +13,7 @@ from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from .resource_server_token_dialect_response_enum import ResourceServerTokenDialectResponseEnum from .resource_server_token_encryption import ResourceServerTokenEncryption +from .resource_server_type_enum import ResourceServerTypeEnum from .signing_algorithm_enum import SigningAlgorithmEnum @@ -81,9 +84,20 @@ class GetResourceServerResponseContent(UniversalBaseModel): Whether authorization polices are enforced (true) or unenforced (false). """ + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + """ + token_dialect: typing.Optional[ResourceServerTokenDialectResponseEnum] = None + access_token: typing.Optional[ResourceServerAccessToken] = None token_encryption: typing.Optional[ResourceServerTokenEncryption] = None consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = None + require_consent_non_repudiation: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + """ + authorization_details: typing.Optional[typing.List[typing.Any]] = None proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = None subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = None @@ -93,6 +107,9 @@ class GetResourceServerResponseContent(UniversalBaseModel): The client ID of the client that this resource server is linked to """ + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsResponseEnum] = None + type: typing.Optional[ResourceServerTypeEnum] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/get_role_response_content.py b/src/auth0/management/types/get_role_response_content.py index c4b392a0..a912ffe7 100644 --- a/src/auth0/management/types/get_role_response_content.py +++ b/src/auth0/management/types/get_role_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_owner_id import RoleOwnerId +from .role_type_enum import RoleTypeEnum class GetRoleResponseContent(UniversalBaseModel): @@ -22,6 +24,9 @@ class GetRoleResponseContent(UniversalBaseModel): Description of this role. """ + type: typing.Optional[RoleTypeEnum] = None + owner_id: typing.Optional[RoleOwnerId] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/get_segment_response_content.py b/src/auth0/management/types/get_segment_response_content.py new file mode 100644 index 00000000..0aa1724e --- /dev/null +++ b/src/auth0/management/types/get_segment_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_rule import SegmentRule +from .segment_status_enum import SegmentStatusEnum +from .segment_type_enum import SegmentTypeEnum + + +class GetSegmentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: SegmentTypeEnum + status: SegmentStatusEnum + rules: typing.List[SegmentRule] + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_session_response_content.py b/src/auth0/management/types/get_session_response_content.py index b1457826..55ad903e 100644 --- a/src/auth0/management/types/get_session_response_content.py +++ b/src/auth0/management/types/get_session_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .session_actor_metadata import SessionActorMetadata from .session_authentication_signals import SessionAuthenticationSignals from .session_client_metadata import SessionClientMetadata from .session_cookie_metadata import SessionCookieMetadata @@ -38,6 +39,7 @@ class GetSessionResponseContent(UniversalBaseModel): authentication: typing.Optional[SessionAuthenticationSignals] = None cookie: typing.Optional[SessionCookieMetadata] = None session_metadata: typing.Optional[SessionMetadata] = None + actor: typing.Optional[SessionActorMetadata] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_signing_keys_response_content.py b/src/auth0/management/types/get_signing_keys_response_content.py index 8234cc48..945344f1 100644 --- a/src/auth0/management/types/get_signing_keys_response_content.py +++ b/src/auth0/management/types/get_signing_keys_response_content.py @@ -25,6 +25,10 @@ class GetSigningKeysResponseContent(UniversalBaseModel): FieldMetadata(alias="pkcs7"), pydantic.Field(alias="pkcs7", description="The public certificate of the signing key in pkcs7 format"), ] = None + """ + The public certificate of the signing key in pkcs7 format + """ + current: typing.Optional[bool] = pydantic.Field(default=None) """ True if the key is the the current key diff --git a/src/auth0/management/types/get_tenant_settings_response_content.py b/src/auth0/management/types/get_tenant_settings_response_content.py index b75fecb7..8b510bbe 100644 --- a/src/auth0/management/types/get_tenant_settings_response_content.py +++ b/src/auth0/management/types/get_tenant_settings_response_content.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .default_token_quota import DefaultTokenQuota +from .resource_server_access_token import ResourceServerAccessToken from .session_cookie_schema import SessionCookieSchema from .supported_locales import SupportedLocales from .tenant_oidc_logout_settings import TenantOidcLogoutSettings @@ -110,6 +111,7 @@ class GetTenantSettingsResponseContent(UniversalBaseModel): Supported locales for the user interface. """ + access_token: typing.Optional[ResourceServerAccessToken] = None security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = None session_cookie: typing.Optional[SessionCookieSchema] = None sessions: typing.Optional[TenantSettingsSessions] = None @@ -140,6 +142,11 @@ class GetTenantSettingsResponseContent(UniversalBaseModel): Supports iss parameter in authorization responses """ + dpop_strict_refresh_token_binding: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + """ + skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None) """ Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). @@ -153,6 +160,11 @@ class GetTenantSettingsResponseContent(UniversalBaseModel): Whether the authorization server supports retrieving client metadata from a client_id URL. """ + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + """ + phone_consolidated_experience: typing.Optional[bool] = pydantic.Field(default=None) """ Whether Phone Consolidated Experience is enabled for this tenant. diff --git a/src/auth0/management/types/get_variation_response_content.py b/src/auth0/management/types/get_variation_response_content.py new file mode 100644 index 00000000..747c9566 --- /dev/null +++ b/src/auth0/management/types/get_variation_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .variation_overrides_map import VariationOverridesMap + + +class GetVariationResponseContent(UniversalBaseModel): + id: str + feature_flag_id: str + name: str + description: typing.Optional[str] = None + overrides: VariationOverridesMap + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/google_account_linking_configuration.py b/src/auth0/management/types/google_account_linking_configuration.py new file mode 100644 index 00000000..30c81f48 --- /dev/null +++ b/src/auth0/management/types/google_account_linking_configuration.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GoogleAccountLinkingConfiguration(UniversalBaseModel): + """ + Configuration for Google account linking. + """ + + allow_streamlined_linking: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables the Google streamlined account linking flow for this client. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/google_account_linking_configuration_create.py b/src/auth0/management/types/google_account_linking_configuration_create.py new file mode 100644 index 00000000..80314080 --- /dev/null +++ b/src/auth0/management/types/google_account_linking_configuration_create.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GoogleAccountLinkingConfigurationCreate(UniversalBaseModel): + """ + Configuration for Google account linking. + """ + + allow_streamlined_linking: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables the Google streamlined account linking flow for this client. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/google_account_linking_configuration_or_null.py b/src/auth0/management/types/google_account_linking_configuration_or_null.py new file mode 100644 index 00000000..fe4db0a3 --- /dev/null +++ b/src/auth0/management/types/google_account_linking_configuration_or_null.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GoogleAccountLinkingConfigurationOrNull(UniversalBaseModel): + """ + Configuration for Google account linking. + """ + + allow_streamlined_linking: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables the Google streamlined account linking flow for this client. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/guardian_factor.py b/src/auth0/management/types/guardian_factor.py index 07a64177..c658787f 100644 --- a/src/auth0/management/types/guardian_factor.py +++ b/src/auth0/management/types/guardian_factor.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .guardian_factor_name_enum import GuardianFactorNameEnum +from .guardian_factor_settings import GuardianFactorSettings class GuardianFactor(UniversalBaseModel): @@ -19,6 +20,7 @@ class GuardianFactor(UniversalBaseModel): """ name: typing.Optional[GuardianFactorNameEnum] = None + settings: typing.Optional[GuardianFactorSettings] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/guardian_factor_name_enum.py b/src/auth0/management/types/guardian_factor_name_enum.py index edd7f1e4..f147a42d 100644 --- a/src/auth0/management/types/guardian_factor_name_enum.py +++ b/src/auth0/management/types/guardian_factor_name_enum.py @@ -4,7 +4,15 @@ GuardianFactorNameEnum = typing.Union[ typing.Literal[ - "push-notification", "sms", "email", "duo", "otp", "webauthn-roaming", "webauthn-platform", "recovery-code" + "push-notification", + "sms", + "email", + "duo", + "otp", + "webauthn-roaming", + "webauthn-platform", + "recovery-code", + "passkey", ], typing.Any, ] diff --git a/src/auth0/management/types/guardian_factor_settings.py b/src/auth0/management/types/guardian_factor_settings.py new file mode 100644 index 00000000..056b1b7f --- /dev/null +++ b/src/auth0/management/types/guardian_factor_settings.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GuardianFactorSettings(UniversalBaseModel): + """ + Factor-specific settings. Only returned when include_settings=true. + """ + + otp_length: typing.Optional[int] = pydantic.Field(default=None) + """ + The length of the OTP code. + """ + + otp_expiration_time: typing.Optional[int] = pydantic.Field(default=None) + """ + The OTP expiration time in seconds. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/hook.py b/src/auth0/management/types/hook.py index fda94890..08abada8 100644 --- a/src/auth0/management/types/hook.py +++ b/src/auth0/management/types/hook.py @@ -15,6 +15,10 @@ class Hook(UniversalBaseModel): FieldMetadata(alias="triggerId"), pydantic.Field(alias="triggerId", description="Trigger ID"), ] = None + """ + Trigger ID + """ + id: typing.Optional[str] = pydantic.Field(default=None) """ ID of this hook. diff --git a/src/auth0/management/types/identity_assertion_authorization_grant.py b/src/auth0/management/types/identity_assertion_authorization_grant.py new file mode 100644 index 00000000..1c4ee9c5 --- /dev/null +++ b/src/auth0/management/types/identity_assertion_authorization_grant.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class IdentityAssertionAuthorizationGrant(UniversalBaseModel): + """ + Configuration on the use of ID-JAGs for Cross App Access. + """ + + active: bool = pydantic.Field() + """ + If set to true, the client can exchange ID-JAGs for access tokens. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/include_user_profile_size_header_enum.py b/src/auth0/management/types/include_user_profile_size_header_enum.py new file mode 100644 index 00000000..df9389c7 --- /dev/null +++ b/src/auth0/management/types/include_user_profile_size_header_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +IncludeUserProfileSizeHeaderEnum = typing.Union[typing.Literal["true"], typing.Any] diff --git a/src/auth0/management/types/internal_server_error_body.py b/src/auth0/management/types/internal_server_error_body.py new file mode 100644 index 00000000..e403356b --- /dev/null +++ b/src/auth0/management/types/internal_server_error_body.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .internal_server_error_body_error import InternalServerErrorBodyError + + +class InternalServerErrorBody(UniversalBaseModel): + message: str + status_code: typing_extensions.Annotated[str, FieldMetadata(alias="statusCode"), pydantic.Field(alias="statusCode")] + error: InternalServerErrorBodyError + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/internal_server_error_body_error.py b/src/auth0/management/types/internal_server_error_body_error.py new file mode 100644 index 00000000..09403d7b --- /dev/null +++ b/src/auth0/management/types/internal_server_error_body_error.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +InternalServerErrorBodyError = typing.Union[typing.Literal["Internal Server Error"], typing.Any] diff --git a/src/auth0/management/types/list_agents_response_content.py b/src/auth0/management/types/list_agents_response_content.py new file mode 100644 index 00000000..fd8cfab0 --- /dev/null +++ b/src/auth0/management/types/list_agents_response_content.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .agent_response_content import AgentResponseContent + + +class ListAgentsResponseContent(UniversalBaseModel): + agents: typing.List[AgentResponseContent] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. Omitted when there are no further results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_client_profiles_paginated_response_content.py b/src/auth0/management/types/list_client_profiles_paginated_response_content.py new file mode 100644 index 00000000..4352075a --- /dev/null +++ b/src/auth0/management/types/list_client_profiles_paginated_response_content.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_profile import ClientProfile + + +class ListClientProfilesPaginatedResponseContent(UniversalBaseModel): + """ + Checkpoint paginated list of client profiles. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. + """ + + client_profiles: typing.List[ClientProfile] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_event_stream_deliveries_response_content.py b/src/auth0/management/types/list_event_stream_deliveries_response_content.py new file mode 100644 index 00000000..26e05241 --- /dev/null +++ b/src/auth0/management/types/list_event_stream_deliveries_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .event_stream_delivery import EventStreamDelivery + + +class ListEventStreamDeliveriesResponseContent(UniversalBaseModel): + deliveries: typing.List[EventStreamDelivery] = pydantic.Field() + """ + List of event stream deliveries + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + The cursor to be used as the "from" query parameter for the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_experiments_response_content.py b/src/auth0/management/types/list_experiments_response_content.py new file mode 100644 index 00000000..e4d965b9 --- /dev/null +++ b/src/auth0/management/types/list_experiments_response_content.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .experiment_list_item import ExperimentListItem + + +class ListExperimentsResponseContent(UniversalBaseModel): + experiments: typing.List[ExperimentListItem] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Checkpoint token for the next page. Omitted when there are no further results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_feature_flags_response_content.py b/src/auth0/management/types/list_feature_flags_response_content.py new file mode 100644 index 00000000..19ea3893 --- /dev/null +++ b/src/auth0/management/types/list_feature_flags_response_content.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag import FeatureFlag + + +class ListFeatureFlagsResponseContent(UniversalBaseModel): + feature_flags: typing.List[FeatureFlag] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Checkpoint token for the next page. Omitted when there are no further results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_organization_clients_response_content.py b/src/auth0/management/types/list_organization_clients_response_content.py new file mode 100644 index 00000000..ae8c884d --- /dev/null +++ b/src/auth0/management/types/list_organization_clients_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_client import OrganizationClient + + +class ListOrganizationClientsResponseContent(UniversalBaseModel): + clients: typing.List[OrganizationClient] = pydantic.Field() + """ + The list of clients associated with the organization. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + An opaque token that, when present, can be passed as the `from` query parameter to retrieve the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_organization_role_groups_response_content.py b/src/auth0/management/types/list_organization_role_groups_response_content.py new file mode 100644 index 00000000..06bde444 --- /dev/null +++ b/src/auth0/management/types/list_organization_role_groups_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_group import RoleGroup + + +class ListOrganizationRoleGroupsResponseContent(UniversalBaseModel): + """ + Checkpoint paginated list of groups assigned to a role within an organization. + """ + + groups: typing.List[RoleGroup] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_organization_role_members_response_content.py b/src/auth0/management/types/list_organization_role_members_response_content.py new file mode 100644 index 00000000..f0bc37ca --- /dev/null +++ b/src/auth0/management/types/list_organization_role_members_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_member import RoleMember + + +class ListOrganizationRoleMembersResponseContent(UniversalBaseModel): + members: typing.List[RoleMember] = pydantic.Field() + """ + List of members assigned to the role within the organization. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Cursor for the next page of results. Absent when there are no more results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_portals_response_content.py b/src/auth0/management/types/list_portals_response_content.py new file mode 100644 index 00000000..221c487b --- /dev/null +++ b/src/auth0/management/types/list_portals_response_content.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .portal_summary import PortalSummary + + +class ListPortalsResponseContent(UniversalBaseModel): + portals: typing.List[PortalSummary] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_roles_offset_paginated_response_content.py b/src/auth0/management/types/list_roles_offset_paginated_response_content.py index 55b407b9..7e8e8ee7 100644 --- a/src/auth0/management/types/list_roles_offset_paginated_response_content.py +++ b/src/auth0/management/types/list_roles_offset_paginated_response_content.py @@ -8,9 +8,9 @@ class ListRolesOffsetPaginatedResponseContent(UniversalBaseModel): - start: typing.Optional[float] = None - limit: typing.Optional[float] = None - total: typing.Optional[float] = None + start: float + limit: float + total: float roles: typing.Optional[typing.List[Role]] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/list_segments_response_content.py b/src/auth0/management/types/list_segments_response_content.py new file mode 100644 index 00000000..0147aaa0 --- /dev/null +++ b/src/auth0/management/types/list_segments_response_content.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment import Segment + + +class ListSegmentsResponseContent(UniversalBaseModel): + segments: typing.List[Segment] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Checkpoint token for the next page. Omitted when there are no further results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_user_consent_signing_keys_response_content.py b/src/auth0/management/types/list_user_consent_signing_keys_response_content.py new file mode 100644 index 00000000..c728dd67 --- /dev/null +++ b/src/auth0/management/types/list_user_consent_signing_keys_response_content.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .consent_signing_key import ConsentSigningKey + + +class ListUserConsentSigningKeysResponseContent(UniversalBaseModel): + keys: typing.List[ConsentSigningKey] = pydantic.Field() + """ + The consent signing keys registered for the user. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_variations_response_content.py b/src/auth0/management/types/list_variations_response_content.py new file mode 100644 index 00000000..a4d76655 --- /dev/null +++ b/src/auth0/management/types/list_variations_response_content.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .variation import Variation + + +class ListVariationsResponseContent(UniversalBaseModel): + variations: typing.List[Variation] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/log.py b/src/auth0/management/types/log.py index f5474df7..cf2eeb3c 100644 --- a/src/auth0/management/types/log.py +++ b/src/auth0/management/types/log.py @@ -97,6 +97,10 @@ class Log(UniversalBaseModel): description="Whether the client was a mobile device (true) or desktop/laptop/server (false).", ), ] = None + """ + Whether the client was a mobile device (true) or desktop/laptop/server (false). + """ + details: typing.Optional[LogDetails] = None user_agent: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/auth0/management/types/log_location_info.py b/src/auth0/management/types/log_location_info.py index 5956d7ca..a542bd8d 100644 --- a/src/auth0/management/types/log_location_info.py +++ b/src/auth0/management/types/log_location_info.py @@ -26,6 +26,10 @@ class LogLocationInfo(UniversalBaseModel): description='Three-letter Alpha-3 ISO 3166-1 country code.', ), ] = None + """ + Three-letter Alpha-3 ISO 3166-1 country code. + """ + country_name: typing.Optional[str] = pydantic.Field(default=None) """ Full country name in English. diff --git a/src/auth0/management/types/log_security_context.py b/src/auth0/management/types/log_security_context.py index c3367935..28c86c4a 100644 --- a/src/auth0/management/types/log_security_context.py +++ b/src/auth0/management/types/log_security_context.py @@ -18,11 +18,18 @@ class LogSecurityContext(UniversalBaseModel): FieldMetadata(alias="ja3"), pydantic.Field(alias="ja3", description="JA3 fingerprint value."), ] = None + """ + JA3 fingerprint value. + """ + ja_4: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="ja4"), pydantic.Field(alias="ja4", description="JA4 fingerprint value."), ] = None + """ + JA4 fingerprint value. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_datadog_response_schema.py b/src/auth0/management/types/log_stream_datadog_response_schema.py index 324c2fb3..979ad177 100644 --- a/src/auth0/management/types/log_stream_datadog_response_schema.py +++ b/src/auth0/management/types/log_stream_datadog_response_schema.py @@ -31,6 +31,10 @@ class LogStreamDatadogResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_datadog_sink.py b/src/auth0/management/types/log_stream_datadog_sink.py index 41c8d8fa..f0a474c1 100644 --- a/src/auth0/management/types/log_stream_datadog_sink.py +++ b/src/auth0/management/types/log_stream_datadog_sink.py @@ -13,6 +13,10 @@ class LogStreamDatadogSink(UniversalBaseModel): datadog_api_key: typing_extensions.Annotated[ str, FieldMetadata(alias="datadogApiKey"), pydantic.Field(alias="datadogApiKey", description="Datadog API Key") ] + """ + Datadog API Key + """ + datadog_region: typing_extensions.Annotated[ LogStreamDatadogRegionEnum, FieldMetadata(alias="datadogRegion"), pydantic.Field(alias="datadogRegion") ] diff --git a/src/auth0/management/types/log_stream_event_bridge_response_schema.py b/src/auth0/management/types/log_stream_event_bridge_response_schema.py index b2da9238..7b2cdfc8 100644 --- a/src/auth0/management/types/log_stream_event_bridge_response_schema.py +++ b/src/auth0/management/types/log_stream_event_bridge_response_schema.py @@ -31,6 +31,10 @@ class LogStreamEventBridgeResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_event_bridge_sink.py b/src/auth0/management/types/log_stream_event_bridge_sink.py index 489638ac..259c9ae1 100644 --- a/src/auth0/management/types/log_stream_event_bridge_sink.py +++ b/src/auth0/management/types/log_stream_event_bridge_sink.py @@ -13,6 +13,10 @@ class LogStreamEventBridgeSink(UniversalBaseModel): aws_account_id: typing_extensions.Annotated[ str, FieldMetadata(alias="awsAccountId"), pydantic.Field(alias="awsAccountId", description="AWS account ID") ] + """ + AWS account ID + """ + aws_region: typing_extensions.Annotated[ LogStreamEventBridgeSinkRegionEnum, FieldMetadata(alias="awsRegion"), pydantic.Field(alias="awsRegion") ] @@ -21,6 +25,9 @@ class LogStreamEventBridgeSink(UniversalBaseModel): FieldMetadata(alias="awsPartnerEventSource"), pydantic.Field(alias="awsPartnerEventSource", description="AWS EventBridge partner event source"), ] = None + """ + AWS EventBridge partner event source + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_event_grid_response_schema.py b/src/auth0/management/types/log_stream_event_grid_response_schema.py index caef71d4..26eca64a 100644 --- a/src/auth0/management/types/log_stream_event_grid_response_schema.py +++ b/src/auth0/management/types/log_stream_event_grid_response_schema.py @@ -31,6 +31,10 @@ class LogStreamEventGridResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_event_grid_sink.py b/src/auth0/management/types/log_stream_event_grid_sink.py index 62e21769..b814b799 100644 --- a/src/auth0/management/types/log_stream_event_grid_sink.py +++ b/src/auth0/management/types/log_stream_event_grid_sink.py @@ -15,6 +15,10 @@ class LogStreamEventGridSink(UniversalBaseModel): FieldMetadata(alias="azureSubscriptionId"), pydantic.Field(alias="azureSubscriptionId", description="Subscription ID"), ] + """ + Subscription ID + """ + azure_region: typing_extensions.Annotated[ LogStreamEventGridRegionEnum, FieldMetadata(alias="azureRegion"), pydantic.Field(alias="azureRegion") ] @@ -23,11 +27,18 @@ class LogStreamEventGridSink(UniversalBaseModel): FieldMetadata(alias="azureResourceGroup"), pydantic.Field(alias="azureResourceGroup", description="Resource Group"), ] + """ + Resource Group + """ + azure_partner_topic: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="azurePartnerTopic"), pydantic.Field(alias="azurePartnerTopic", description="Partner Topic"), ] = None + """ + Partner Topic + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_filter_group_name_enum.py b/src/auth0/management/types/log_stream_filter_group_name_enum.py index 8898f927..b002b384 100644 --- a/src/auth0/management/types/log_stream_filter_group_name_enum.py +++ b/src/auth0/management/types/log_stream_filter_group_name_enum.py @@ -23,6 +23,9 @@ "user.notification", "user.success", "actions", + "agent_gateway.authentication.fail", + "agent_gateway.operation.fail", + "agent_gateway.operation.success", "other", ], typing.Any, diff --git a/src/auth0/management/types/log_stream_http_response_schema.py b/src/auth0/management/types/log_stream_http_response_schema.py index 045c8972..d79e581f 100644 --- a/src/auth0/management/types/log_stream_http_response_schema.py +++ b/src/auth0/management/types/log_stream_http_response_schema.py @@ -31,6 +31,10 @@ class LogStreamHttpResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_http_sink.py b/src/auth0/management/types/log_stream_http_sink.py index e458ed0c..9feb12c4 100644 --- a/src/auth0/management/types/log_stream_http_sink.py +++ b/src/auth0/management/types/log_stream_http_sink.py @@ -16,6 +16,10 @@ class LogStreamHttpSink(UniversalBaseModel): FieldMetadata(alias="httpAuthorization"), pydantic.Field(alias="httpAuthorization", description="HTTP Authorization header"), ] = None + """ + HTTP Authorization header + """ + http_content_format: typing_extensions.Annotated[ typing.Optional[LogStreamHttpContentFormatEnum], FieldMetadata(alias="httpContentFormat"), @@ -26,14 +30,25 @@ class LogStreamHttpSink(UniversalBaseModel): FieldMetadata(alias="httpContentType"), pydantic.Field(alias="httpContentType", description="HTTP Content-Type header"), ] = None + """ + HTTP Content-Type header + """ + http_endpoint: typing_extensions.Annotated[ str, FieldMetadata(alias="httpEndpoint"), pydantic.Field(alias="httpEndpoint", description="HTTP endpoint") ] + """ + HTTP endpoint + """ + http_custom_headers: typing_extensions.Annotated[ typing.Optional[typing.List[HttpCustomHeader]], FieldMetadata(alias="httpCustomHeaders"), pydantic.Field(alias="httpCustomHeaders", description="custom HTTP headers"), ] = None + """ + custom HTTP headers + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_mixpanel_response_schema.py b/src/auth0/management/types/log_stream_mixpanel_response_schema.py index 19cf2148..0daba858 100644 --- a/src/auth0/management/types/log_stream_mixpanel_response_schema.py +++ b/src/auth0/management/types/log_stream_mixpanel_response_schema.py @@ -31,6 +31,10 @@ class LogStreamMixpanelResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_mixpanel_sink.py b/src/auth0/management/types/log_stream_mixpanel_sink.py index 78691801..5d07e462 100644 --- a/src/auth0/management/types/log_stream_mixpanel_sink.py +++ b/src/auth0/management/types/log_stream_mixpanel_sink.py @@ -18,16 +18,27 @@ class LogStreamMixpanelSink(UniversalBaseModel): FieldMetadata(alias="mixpanelProjectId"), pydantic.Field(alias="mixpanelProjectId", description="Mixpanel Project Id"), ] + """ + Mixpanel Project Id + """ + mixpanel_service_account_username: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountUsername"), pydantic.Field(alias="mixpanelServiceAccountUsername", description="Mixpanel Service Account Username"), ] + """ + Mixpanel Service Account Username + """ + mixpanel_service_account_password: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountPassword"), pydantic.Field(alias="mixpanelServiceAccountPassword", description="Mixpanel Service Account Password"), ] + """ + Mixpanel Service Account Password + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_mixpanel_sink_patch.py b/src/auth0/management/types/log_stream_mixpanel_sink_patch.py index 329629d4..2cc5e0c3 100644 --- a/src/auth0/management/types/log_stream_mixpanel_sink_patch.py +++ b/src/auth0/management/types/log_stream_mixpanel_sink_patch.py @@ -18,16 +18,27 @@ class LogStreamMixpanelSinkPatch(UniversalBaseModel): FieldMetadata(alias="mixpanelProjectId"), pydantic.Field(alias="mixpanelProjectId", description="Mixpanel Project Id"), ] + """ + Mixpanel Project Id + """ + mixpanel_service_account_username: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountUsername"), pydantic.Field(alias="mixpanelServiceAccountUsername", description="Mixpanel Service Account Username"), ] + """ + Mixpanel Service Account Username + """ + mixpanel_service_account_password: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="mixpanelServiceAccountPassword"), pydantic.Field(alias="mixpanelServiceAccountPassword", description="Mixpanel Service Account Password"), ] = None + """ + Mixpanel Service Account Password + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_segment_response_schema.py b/src/auth0/management/types/log_stream_segment_response_schema.py index e724ea1f..eb5b59d6 100644 --- a/src/auth0/management/types/log_stream_segment_response_schema.py +++ b/src/auth0/management/types/log_stream_segment_response_schema.py @@ -31,6 +31,10 @@ class LogStreamSegmentResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_segment_sink.py b/src/auth0/management/types/log_stream_segment_sink.py index 114bbd01..50281710 100644 --- a/src/auth0/management/types/log_stream_segment_sink.py +++ b/src/auth0/management/types/log_stream_segment_sink.py @@ -14,6 +14,9 @@ class LogStreamSegmentSink(UniversalBaseModel): FieldMetadata(alias="segmentWriteKey"), pydantic.Field(alias="segmentWriteKey", description="Segment write key"), ] = None + """ + Segment write key + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_segment_sink_write_key.py b/src/auth0/management/types/log_stream_segment_sink_write_key.py index de7ef935..9678a388 100644 --- a/src/auth0/management/types/log_stream_segment_sink_write_key.py +++ b/src/auth0/management/types/log_stream_segment_sink_write_key.py @@ -14,6 +14,9 @@ class LogStreamSegmentSinkWriteKey(UniversalBaseModel): FieldMetadata(alias="segmentWriteKey"), pydantic.Field(alias="segmentWriteKey", description="Segment write key"), ] + """ + Segment write key + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_splunk_response_schema.py b/src/auth0/management/types/log_stream_splunk_response_schema.py index 831c006d..be701746 100644 --- a/src/auth0/management/types/log_stream_splunk_response_schema.py +++ b/src/auth0/management/types/log_stream_splunk_response_schema.py @@ -31,6 +31,10 @@ class LogStreamSplunkResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_splunk_sink.py b/src/auth0/management/types/log_stream_splunk_sink.py index 0cf2e60b..2538fc41 100644 --- a/src/auth0/management/types/log_stream_splunk_sink.py +++ b/src/auth0/management/types/log_stream_splunk_sink.py @@ -14,17 +14,32 @@ class LogStreamSplunkSink(UniversalBaseModel): FieldMetadata(alias="splunkDomain"), pydantic.Field(alias="splunkDomain", description="Splunk URL Endpoint"), ] + """ + Splunk URL Endpoint + """ + splunk_port: typing_extensions.Annotated[ str, FieldMetadata(alias="splunkPort"), pydantic.Field(alias="splunkPort", description="Port") ] + """ + Port + """ + splunk_token: typing_extensions.Annotated[ str, FieldMetadata(alias="splunkToken"), pydantic.Field(alias="splunkToken", description="Splunk token") ] + """ + Splunk token + """ + splunk_secure: typing_extensions.Annotated[ bool, FieldMetadata(alias="splunkSecure"), pydantic.Field(alias="splunkSecure", description="Verify TLS certificate"), ] + """ + Verify TLS certificate + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_sumo_response_schema.py b/src/auth0/management/types/log_stream_sumo_response_schema.py index 06b046b9..02a2e03f 100644 --- a/src/auth0/management/types/log_stream_sumo_response_schema.py +++ b/src/auth0/management/types/log_stream_sumo_response_schema.py @@ -31,6 +31,10 @@ class LogStreamSumoResponseSchema(UniversalBaseModel): FieldMetadata(alias="isPriority"), pydantic.Field(alias="isPriority", description="True for priority log streams, false for non-priority"), ] = None + """ + True for priority log streams, false for non-priority + """ + filters: typing.Optional[typing.List[LogStreamFilter]] = pydantic.Field(default=None) """ Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. diff --git a/src/auth0/management/types/log_stream_sumo_sink.py b/src/auth0/management/types/log_stream_sumo_sink.py index 1cdb2c8d..2cc16a35 100644 --- a/src/auth0/management/types/log_stream_sumo_sink.py +++ b/src/auth0/management/types/log_stream_sumo_sink.py @@ -14,6 +14,9 @@ class LogStreamSumoSink(UniversalBaseModel): FieldMetadata(alias="sumoSourceAddress"), pydantic.Field(alias="sumoSourceAddress", description="HTTP Source Address"), ] + """ + HTTP Source Address + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/network_acl_http_message_signature.py b/src/auth0/management/types/network_acl_http_message_signature.py new file mode 100644 index 00000000..90fe90d8 --- /dev/null +++ b/src/auth0/management/types/network_acl_http_message_signature.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .network_acl_http_message_signature_keys import NetworkAclHttpMessageSignatureKeys + + +class NetworkAclHttpMessageSignature(UniversalBaseModel): + """ + HTTP Message Signature configuration. + """ + + keys: NetworkAclHttpMessageSignatureKeys + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/network_acl_http_message_signature_key.py b/src/auth0/management/types/network_acl_http_message_signature_key.py new file mode 100644 index 00000000..6a16d011 --- /dev/null +++ b/src/auth0/management/types/network_acl_http_message_signature_key.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class NetworkAclHttpMessageSignatureKey(UniversalBaseModel): + id: str = pydantic.Field() + """ + Auth0-generated identifier for the key, as returned by `POST /api/v2/keys/network-acls`. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/network_acl_http_message_signature_keys.py b/src/auth0/management/types/network_acl_http_message_signature_keys.py new file mode 100644 index 00000000..b7eced28 --- /dev/null +++ b/src/auth0/management/types/network_acl_http_message_signature_keys.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .network_acl_http_message_signature_key import NetworkAclHttpMessageSignatureKey + +NetworkAclHttpMessageSignatureKeys = typing.List[NetworkAclHttpMessageSignatureKey] +""" +The keys whose signatures satisfy this rule. Each id references a key that was already created via `POST /api/v2/keys/network-acls`. +""" diff --git a/src/auth0/management/types/network_acl_key.py b/src/auth0/management/types/network_acl_key.py new file mode 100644 index 00000000..3027c1b9 --- /dev/null +++ b/src/auth0/management/types/network_acl_key.py @@ -0,0 +1,44 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .network_acl_key_algorithm_enum import NetworkAclKeyAlgorithmEnum + + +class NetworkAclKey(UniversalBaseModel): + id: str = pydantic.Field() + """ + Generated identifier for the key. Used to reference the key from a Network ACL and to identify it in Tenant Logs. + """ + + name: str = pydantic.Field() + """ + User supplied label for the key. + """ + + alg: NetworkAclKeyAlgorithmEnum + fingerprint: str = pydantic.Field() + """ + Fingerprint of the key material, determined by the algorithm specified. Currently only HMAC-SHA256 is supported. + """ + + created_at: str = pydantic.Field() + """ + Time when the key was created. + """ + + updated_at: str = pydantic.Field() + """ + Time when the key was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/network_acl_key_algorithm_enum.py b/src/auth0/management/types/network_acl_key_algorithm_enum.py new file mode 100644 index 00000000..666730e9 --- /dev/null +++ b/src/auth0/management/types/network_acl_key_algorithm_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +NetworkAclKeyAlgorithmEnum = typing.Union[typing.Literal["hmac-sha256"], typing.Any] diff --git a/src/auth0/management/types/network_acl_match.py b/src/auth0/management/types/network_acl_match.py index d941c0fc..3e1aa36a 100644 --- a/src/auth0/management/types/network_acl_match.py +++ b/src/auth0/management/types/network_acl_match.py @@ -6,6 +6,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .network_acl_http_message_signature import NetworkAclHttpMessageSignature from .network_acl_match_connecting_ipv_4_cidr import NetworkAclMatchConnectingIpv4Cidr from .network_acl_match_connecting_ipv_6_cidr import NetworkAclMatchConnectingIpv6Cidr from .network_acl_match_ipv_4_cidr import NetworkAclMatchIpv4Cidr @@ -14,6 +15,9 @@ class NetworkAclMatch(UniversalBaseModel): asns: typing.Optional[typing.List[int]] = None + auth_0_managed: typing_extensions.Annotated[ + typing.Optional[typing.List[str]], FieldMetadata(alias="auth0_managed"), pydantic.Field(alias="auth0_managed") + ] = None geo_country_codes: typing.Optional[typing.List[str]] = None geo_subdivision_codes: typing.Optional[typing.List[str]] = None ipv_4_cidrs: typing_extensions.Annotated[ @@ -48,6 +52,7 @@ class NetworkAclMatch(UniversalBaseModel): FieldMetadata(alias="connecting_ipv6_cidrs"), pydantic.Field(alias="connecting_ipv6_cidrs"), ] = None + http_message_signature: typing.Optional[NetworkAclHttpMessageSignature] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/network_acl_rule.py b/src/auth0/management/types/network_acl_rule.py index dd6aca76..769c011a 100644 --- a/src/auth0/management/types/network_acl_rule.py +++ b/src/auth0/management/types/network_acl_rule.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .network_acl_action import NetworkAclAction from .network_acl_match import NetworkAclMatch +from .network_acl_rule_match_all_enum import NetworkAclRuleMatchAllEnum from .network_acl_rule_scope_enum import NetworkAclRuleScopeEnum @@ -13,6 +14,7 @@ class NetworkAclRule(UniversalBaseModel): action: NetworkAclAction match: typing.Optional[NetworkAclMatch] = None not_match: typing.Optional[NetworkAclMatch] = None + match_all: typing.Optional[NetworkAclRuleMatchAllEnum] = None scope: NetworkAclRuleScopeEnum if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/network_acl_rule_match_all_enum.py b/src/auth0/management/types/network_acl_rule_match_all_enum.py new file mode 100644 index 00000000..db9e7caa --- /dev/null +++ b/src/auth0/management/types/network_acl_rule_match_all_enum.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +NetworkAclRuleMatchAllEnum = bool +""" +When true, the rule unconditionally matches all traffic regardless of any other signals. Mutually exclusive with `match` and `not_match`. +""" diff --git a/src/auth0/management/types/not_found_error_body.py b/src/auth0/management/types/not_found_error_body.py new file mode 100644 index 00000000..9b16480c --- /dev/null +++ b/src/auth0/management/types/not_found_error_body.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .not_found_error_body_error import NotFoundErrorBodyError + + +class NotFoundErrorBody(UniversalBaseModel): + message: str + status_code: typing_extensions.Annotated[str, FieldMetadata(alias="statusCode"), pydantic.Field(alias="statusCode")] + error: NotFoundErrorBodyError + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/not_found_error_body_error.py b/src/auth0/management/types/not_found_error_body_error.py new file mode 100644 index 00000000..99b09242 --- /dev/null +++ b/src/auth0/management/types/not_found_error_body_error.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +NotFoundErrorBodyError = typing.Union[typing.Literal["Not Found"], typing.Any] diff --git a/src/auth0/management/types/not_found_schema.py b/src/auth0/management/types/not_found_schema.py new file mode 100644 index 00000000..f96985a3 --- /dev/null +++ b/src/auth0/management/types/not_found_schema.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .not_found_schema_error import NotFoundSchemaError + + +class NotFoundSchema(UniversalBaseModel): + """ + Not Found + """ + + message: str + status_code: typing_extensions.Annotated[str, FieldMetadata(alias="statusCode"), pydantic.Field(alias="statusCode")] + error: NotFoundSchemaError + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/not_found_schema_error.py b/src/auth0/management/types/not_found_schema_error.py new file mode 100644 index 00000000..9c3f4bee --- /dev/null +++ b/src/auth0/management/types/not_found_schema_error.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +NotFoundSchemaError = typing.Union[typing.Literal["Not Found"], typing.Any] diff --git a/src/auth0/management/types/oauth_scope.py b/src/auth0/management/types/oauth_scope.py index 46f2db01..288dd2f5 100644 --- a/src/auth0/management/types/oauth_scope.py +++ b/src/auth0/management/types/oauth_scope.py @@ -8,6 +8,10 @@ "read:actions", "update:actions", "delete:actions", + "create:agents", + "read:agents", + "update:agents", + "delete:agents", "read:anomaly_blocks", "delete:anomaly_blocks", "read:attack_protection", @@ -84,8 +88,10 @@ "update:event_streams", "delete:event_streams", "read:events", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", + "create:experimentation", + "read:experimentation", + "update:experimentation", + "delete:experimentation", "create:flows", "read:flows", "update:flows", @@ -242,6 +248,21 @@ "read:vdcs_templates", "update:vdcs_templates", "delete:vdcs_templates", + "create:client_profiles", + "read:client_profiles", + "update:client_profiles", + "delete:client_profiles", + "create:organization_clients", + "read:organization_clients", + "update:organization_clients", + "delete:organization_clients", + "create:portals", + "read:portals", + "update:portals", + "delete:portals", + "create:network_acl_keys", + "read:network_acl_keys", + "delete:network_acl_keys", ], typing.Any, ] diff --git a/src/auth0/management/types/organization.py b/src/auth0/management/types/organization.py index 239dffee..9c88a613 100644 --- a/src/auth0/management/types/organization.py +++ b/src/auth0/management/types/organization.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_branding import OrganizationBranding +from .organization_client_association import OrganizationClientAssociation from .organization_metadata import OrganizationMetadata +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .token_quota import TokenQuota @@ -28,6 +30,13 @@ class Organization(UniversalBaseModel): branding: typing.Optional[OrganizationBranding] = None metadata: typing.Optional[OrganizationMetadata] = None token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + client: typing.Optional[OrganizationClientAssociation] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/organization_all_connection_post.py b/src/auth0/management/types/organization_all_connection_post.py index 5e42034c..95f06c38 100644 --- a/src/auth0/management/types/organization_all_connection_post.py +++ b/src/auth0/management/types/organization_all_connection_post.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_access_level_enum import OrganizationAccessLevelEnum from .organization_connection_information import OrganizationConnectionInformation +from .organization_member_access_level_enum import OrganizationMemberAccessLevelEnum class OrganizationAllConnectionPost(UniversalBaseModel): @@ -30,6 +31,7 @@ class OrganizationAllConnectionPost(UniversalBaseModel): """ organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = None + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = None is_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the connection is enabled for the organization. diff --git a/src/auth0/management/types/organization_client.py b/src/auth0/management/types/organization_client.py new file mode 100644 index 00000000..4307befa --- /dev/null +++ b/src/auth0/management/types/organization_client.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_client_metadata import OrganizationClientMetadata + + +class OrganizationClient(UniversalBaseModel): + client_id: str = pydantic.Field() + """ + The identifier of the client associated with the organization. + """ + + use_for_member_access: bool = pydantic.Field() + """ + Whether this client is used for member access to the organization. + """ + + client: OrganizationClientMetadata + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/organization_client_association.py b/src/auth0/management/types/organization_client_association.py new file mode 100644 index 00000000..0ff428ce --- /dev/null +++ b/src/auth0/management/types/organization_client_association.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class OrganizationClientAssociation(UniversalBaseModel): + """ + The organization's association with the client passed in the include_client_association_for query parameter. + """ + + use_for_member_access: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this client is used for member access to the organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/organization_client_metadata.py b/src/auth0/management/types/organization_client_metadata.py new file mode 100644 index 00000000..12dca5c7 --- /dev/null +++ b/src/auth0/management/types/organization_client_metadata.py @@ -0,0 +1,49 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_client_metadata_organization_usage_enum import OrganizationClientMetadataOrganizationUsageEnum + + +class OrganizationClientMetadata(UniversalBaseModel): + """ + Metadata about the associated client. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the client. + """ + + app_type: typing.Optional[str] = pydantic.Field(default=None) + """ + The type of the client application. + """ + + logo_uri: typing.Optional[str] = pydantic.Field(default=None) + """ + The URI of the client logo. + """ + + is_first_party: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this client is a first-party client (true) or not (false). + """ + + grant_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + The grant types enabled for the client. + """ + + organization_usage: typing.Optional[OrganizationClientMetadataOrganizationUsageEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/organization_client_metadata_organization_usage_enum.py b/src/auth0/management/types/organization_client_metadata_organization_usage_enum.py new file mode 100644 index 00000000..205ce00a --- /dev/null +++ b/src/auth0/management/types/organization_client_metadata_organization_usage_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OrganizationClientMetadataOrganizationUsageEnum = typing.Union[typing.Literal["deny", "allow", "require"], typing.Any] diff --git a/src/auth0/management/types/organization_member_access_level_enum.py b/src/auth0/management/types/organization_member_access_level_enum.py new file mode 100644 index 00000000..c4f3b0f1 --- /dev/null +++ b/src/auth0/management/types/organization_member_access_level_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OrganizationMemberAccessLevelEnum = typing.Union[typing.Literal["none", "readonly", "limited", "full"], typing.Any] diff --git a/src/auth0/management/types/organization_member_access_level_enum_with_null.py b/src/auth0/management/types/organization_member_access_level_enum_with_null.py new file mode 100644 index 00000000..b5bae1bd --- /dev/null +++ b/src/auth0/management/types/organization_member_access_level_enum_with_null.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OrganizationMemberAccessLevelEnumWithNull = typing.Union[ + typing.Literal["none", "readonly", "limited", "full"], typing.Any +] diff --git a/src/auth0/management/types/organization_sort_field_enum.py b/src/auth0/management/types/organization_sort_field_enum.py new file mode 100644 index 00000000..5aef175b --- /dev/null +++ b/src/auth0/management/types/organization_sort_field_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OrganizationSortFieldEnum = typing.Union[typing.Literal["name", "display_name", "created_at"], typing.Any] diff --git a/src/auth0/management/types/organization_third_party_client_access_enum.py b/src/auth0/management/types/organization_third_party_client_access_enum.py new file mode 100644 index 00000000..a30613a6 --- /dev/null +++ b/src/auth0/management/types/organization_third_party_client_access_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +OrganizationThirdPartyClientAccessEnum = typing.Union[typing.Literal["block", "allow"], typing.Any] diff --git a/src/auth0/management/types/page_component.py b/src/auth0/management/types/page_component.py new file mode 100644 index 00000000..1f739fda --- /dev/null +++ b/src/auth0/management/types/page_component.py @@ -0,0 +1,206 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_form_config import PageComponentAuth0FormConfig +from .page_component_auth_0_media_image_config import PageComponentAuth0MediaImageConfig +from .page_component_auth_0_my_account_mfa_management_config import PageComponentAuth0MyAccountMfaManagementConfig +from .page_component_auth_0_my_account_passkey_management_config import ( + PageComponentAuth0MyAccountPasskeyManagementConfig, +) +from .page_component_auth_0_my_organization_details_edit_config import PageComponentAuth0MyOrganizationDetailsEditConfig +from .page_component_auth_0_my_organization_domain_table_config import PageComponentAuth0MyOrganizationDomainTableConfig +from .page_component_auth_0_my_organization_member_management_config import ( + PageComponentAuth0MyOrganizationMemberManagementConfig, +) +from .page_component_auth_0_structure_section_config import PageComponentAuth0StructureSectionConfig +from .page_component_auth_0_structure_separator_config import PageComponentAuth0StructureSeparatorConfig +from .page_component_auth_0_typography_heading_config import PageComponentAuth0TypographyHeadingConfig +from .page_component_auth_0_typography_rich_text_config import PageComponentAuth0TypographyRichTextConfig + + +class PageComponent_PageComponentAuth0Form(UniversalBaseModel): + type: typing.Literal["page:component:auth0:form"] = "page:component:auth0:form" + config: PageComponentAuth0FormConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0TypographyHeading(UniversalBaseModel): + type: typing.Literal["page:component:auth0:typography:heading"] = "page:component:auth0:typography:heading" + config: PageComponentAuth0TypographyHeadingConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MediaImage(UniversalBaseModel): + type: typing.Literal["page:component:auth0:media:image"] = "page:component:auth0:media:image" + config: PageComponentAuth0MediaImageConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0TypographyRichText(UniversalBaseModel): + type: typing.Literal["page:component:auth0:typography:rich_text"] = "page:component:auth0:typography:rich_text" + config: PageComponentAuth0TypographyRichTextConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0StructureSection(UniversalBaseModel): + type: typing.Literal["page:component:auth0:structure:section"] = "page:component:auth0:structure:section" + config: PageComponentAuth0StructureSectionConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0StructureSeparator(UniversalBaseModel): + type: typing.Literal["page:component:auth0:structure:separator"] = "page:component:auth0:structure:separator" + config: typing.Optional[PageComponentAuth0StructureSeparatorConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MyOrganizationDomainTable(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:domain_table"] = ( + "page:component:auth0:my_organization:domain_table" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationDomainTableConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MyOrganizationMemberManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:member_management"] = ( + "page:component:auth0:my_organization:member_management" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationMemberManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MyOrganizationDetailsEdit(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:details_edit"] = ( + "page:component:auth0:my_organization:details_edit" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationDetailsEditConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MyAccountPasskeyManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_account:passkey_management"] = ( + "page:component:auth0:my_account:passkey_management" + ) + config: typing.Optional[PageComponentAuth0MyAccountPasskeyManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponent_PageComponentAuth0MyAccountMfaManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_account:mfa_management"] = ( + "page:component:auth0:my_account:mfa_management" + ) + config: typing.Optional[PageComponentAuth0MyAccountMfaManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +PageComponent = typing_extensions.Annotated[ + typing.Union[ + PageComponent_PageComponentAuth0Form, + PageComponent_PageComponentAuth0TypographyHeading, + PageComponent_PageComponentAuth0MediaImage, + PageComponent_PageComponentAuth0TypographyRichText, + PageComponent_PageComponentAuth0StructureSection, + PageComponent_PageComponentAuth0StructureSeparator, + PageComponent_PageComponentAuth0MyOrganizationDomainTable, + PageComponent_PageComponentAuth0MyOrganizationMemberManagement, + PageComponent_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponent_PageComponentAuth0MyAccountPasskeyManagement, + PageComponent_PageComponentAuth0MyAccountMfaManagement, + ], + pydantic.Field(discriminator="type"), +] diff --git a/src/auth0/management/types/page_component_auth_0_form.py b/src/auth0/management/types/page_component_auth_0_form.py new file mode 100644 index 00000000..41f2c7d4 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_form.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_form_config import PageComponentAuth0FormConfig + + +class PageComponentAuth0Form(UniversalBaseModel): + config: PageComponentAuth0FormConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_form_config.py b/src/auth0/management/types/page_component_auth_0_form_config.py new file mode 100644 index 00000000..61b90487 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_form_config.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0FormConfig(UniversalBaseModel): + form_id: str = pydantic.Field() + """ + The identifier of the form you want to render. + """ + + completion_message: str = pydantic.Field() + """ + Toast message displayed after successful form submission. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_media_image.py b/src/auth0/management/types/page_component_auth_0_media_image.py new file mode 100644 index 00000000..4fdf0cc3 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_media_image.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_media_image_config import PageComponentAuth0MediaImageConfig + + +class PageComponentAuth0MediaImage(UniversalBaseModel): + config: PageComponentAuth0MediaImageConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_media_image_config.py b/src/auth0/management/types/page_component_auth_0_media_image_config.py new file mode 100644 index 00000000..6d21d887 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_media_image_config.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .position import Position + + +class PageComponentAuth0MediaImageConfig(UniversalBaseModel): + src: str = pydantic.Field() + """ + URL of the image to display. + """ + + position: typing.Optional[Position] = None + height: typing.Optional[int] = pydantic.Field(default=None) + """ + Height of the image in pixels. Width scales automatically to preserve aspect ratio. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_account_mfa_management.py b/src/auth0/management/types/page_component_auth_0_my_account_mfa_management.py new file mode 100644 index 00000000..b9e11b09 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_account_mfa_management.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_my_account_mfa_management_config import PageComponentAuth0MyAccountMfaManagementConfig + + +class PageComponentAuth0MyAccountMfaManagement(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0MyAccountMfaManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_account_mfa_management_config.py b/src/auth0/management/types/page_component_auth_0_my_account_mfa_management_config.py new file mode 100644 index 00000000..70f877ac --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_account_mfa_management_config.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0MyAccountMfaManagementConfig(UniversalBaseModel): + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_account_passkey_management.py b/src/auth0/management/types/page_component_auth_0_my_account_passkey_management.py new file mode 100644 index 00000000..78cdb119 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_account_passkey_management.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_my_account_passkey_management_config import ( + PageComponentAuth0MyAccountPasskeyManagementConfig, +) + + +class PageComponentAuth0MyAccountPasskeyManagement(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0MyAccountPasskeyManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_account_passkey_management_config.py b/src/auth0/management/types/page_component_auth_0_my_account_passkey_management_config.py new file mode 100644 index 00000000..f27b3520 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_account_passkey_management_config.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0MyAccountPasskeyManagementConfig(UniversalBaseModel): + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_details_edit.py b/src/auth0/management/types/page_component_auth_0_my_organization_details_edit.py new file mode 100644 index 00000000..962cdd45 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_details_edit.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_my_organization_details_edit_config import PageComponentAuth0MyOrganizationDetailsEditConfig + + +class PageComponentAuth0MyOrganizationDetailsEdit(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0MyOrganizationDetailsEditConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_details_edit_config.py b/src/auth0/management/types/page_component_auth_0_my_organization_details_edit_config.py new file mode 100644 index 00000000..0fbd7601 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_details_edit_config.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0MyOrganizationDetailsEditConfig(UniversalBaseModel): + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_domain_table.py b/src/auth0/management/types/page_component_auth_0_my_organization_domain_table.py new file mode 100644 index 00000000..83240b3b --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_domain_table.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_my_organization_domain_table_config import PageComponentAuth0MyOrganizationDomainTableConfig + + +class PageComponentAuth0MyOrganizationDomainTable(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0MyOrganizationDomainTableConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_domain_table_config.py b/src/auth0/management/types/page_component_auth_0_my_organization_domain_table_config.py new file mode 100644 index 00000000..8f514a79 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_domain_table_config.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0MyOrganizationDomainTableConfig(UniversalBaseModel): + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_member_management.py b/src/auth0/management/types/page_component_auth_0_my_organization_member_management.py new file mode 100644 index 00000000..5973fc09 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_member_management.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_my_organization_member_management_config import ( + PageComponentAuth0MyOrganizationMemberManagementConfig, +) + + +class PageComponentAuth0MyOrganizationMemberManagement(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0MyOrganizationMemberManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_my_organization_member_management_config.py b/src/auth0/management/types/page_component_auth_0_my_organization_member_management_config.py new file mode 100644 index 00000000..f0e182b1 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_my_organization_member_management_config.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0MyOrganizationMemberManagementConfig(UniversalBaseModel): + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_structure_section.py b/src/auth0/management/types/page_component_auth_0_structure_section.py new file mode 100644 index 00000000..c2d23a55 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_section.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_structure_section_config import PageComponentAuth0StructureSectionConfig + + +class PageComponentAuth0StructureSection(UniversalBaseModel): + config: PageComponentAuth0StructureSectionConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_structure_section_config.py b/src/auth0/management/types/page_component_auth_0_structure_section_config.py new file mode 100644 index 00000000..262cdd12 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_section_config.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_structure_section_variant_enum import PageComponentAuth0StructureSectionVariantEnum +from .page_component_no_children import PageComponentNoChildren + + +class PageComponentAuth0StructureSectionConfig(UniversalBaseModel): + title: typing.Optional[str] = pydantic.Field(default=None) + """ + Heading displayed at the top of the section. + """ + + description: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional description displayed below the title. + """ + + variant: PageComponentAuth0StructureSectionVariantEnum + children: typing.List[PageComponentNoChildren] = pydantic.Field() + """ + Components to render inside the section. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_structure_section_variant_enum.py b/src/auth0/management/types/page_component_auth_0_structure_section_variant_enum.py new file mode 100644 index 00000000..41212b22 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_section_variant_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PageComponentAuth0StructureSectionVariantEnum = typing.Union[typing.Literal["card", "none"], typing.Any] diff --git a/src/auth0/management/types/page_component_auth_0_structure_separator.py b/src/auth0/management/types/page_component_auth_0_structure_separator.py new file mode 100644 index 00000000..5d94427b --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_separator.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_structure_separator_config import PageComponentAuth0StructureSeparatorConfig + + +class PageComponentAuth0StructureSeparator(UniversalBaseModel): + config: typing.Optional[PageComponentAuth0StructureSeparatorConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_structure_separator_config.py b/src/auth0/management/types/page_component_auth_0_structure_separator_config.py new file mode 100644 index 00000000..ea8d3c59 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_separator_config.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_structure_separator_variant_enum import PageComponentAuth0StructureSeparatorVariantEnum + + +class PageComponentAuth0StructureSeparatorConfig(UniversalBaseModel): + variant: typing.Optional[PageComponentAuth0StructureSeparatorVariantEnum] = None + text: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional label centered within the separator line (ignored when variant is "none"). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_structure_separator_variant_enum.py b/src/auth0/management/types/page_component_auth_0_structure_separator_variant_enum.py new file mode 100644 index 00000000..bbfe06b6 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_structure_separator_variant_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PageComponentAuth0StructureSeparatorVariantEnum = typing.Union[typing.Literal["dashed", "none", "solid"], typing.Any] diff --git a/src/auth0/management/types/page_component_auth_0_typography_heading.py b/src/auth0/management/types/page_component_auth_0_typography_heading.py new file mode 100644 index 00000000..d6329d10 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_typography_heading.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_typography_heading_config import PageComponentAuth0TypographyHeadingConfig + + +class PageComponentAuth0TypographyHeading(UniversalBaseModel): + config: PageComponentAuth0TypographyHeadingConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_typography_heading_config.py b/src/auth0/management/types/page_component_auth_0_typography_heading_config.py new file mode 100644 index 00000000..89fcd0a6 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_typography_heading_config.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0TypographyHeadingConfig(UniversalBaseModel): + title: str = pydantic.Field() + """ + Heading displayed. + """ + + description: typing.Optional[str] = pydantic.Field(default=None) + """ + Optional description displayed below the title. Supports basic HTML formatting: links, bold, italic, and underline. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_typography_rich_text.py b/src/auth0/management/types/page_component_auth_0_typography_rich_text.py new file mode 100644 index 00000000..8595ea71 --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_typography_rich_text.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_typography_rich_text_config import PageComponentAuth0TypographyRichTextConfig + + +class PageComponentAuth0TypographyRichText(UniversalBaseModel): + config: PageComponentAuth0TypographyRichTextConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_auth_0_typography_rich_text_config.py b/src/auth0/management/types/page_component_auth_0_typography_rich_text_config.py new file mode 100644 index 00000000..cefce21f --- /dev/null +++ b/src/auth0/management/types/page_component_auth_0_typography_rich_text_config.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PageComponentAuth0TypographyRichTextConfig(UniversalBaseModel): + content: str = pydantic.Field() + """ + HTML content to render. Supports headings, bold, italic, underline, links, text alignment, and lists. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/page_component_no_children.py b/src/auth0/management/types/page_component_no_children.py new file mode 100644 index 00000000..0e2280fe --- /dev/null +++ b/src/auth0/management/types/page_component_no_children.py @@ -0,0 +1,190 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component_auth_0_form_config import PageComponentAuth0FormConfig +from .page_component_auth_0_media_image_config import PageComponentAuth0MediaImageConfig +from .page_component_auth_0_my_account_mfa_management_config import PageComponentAuth0MyAccountMfaManagementConfig +from .page_component_auth_0_my_account_passkey_management_config import ( + PageComponentAuth0MyAccountPasskeyManagementConfig, +) +from .page_component_auth_0_my_organization_details_edit_config import PageComponentAuth0MyOrganizationDetailsEditConfig +from .page_component_auth_0_my_organization_domain_table_config import PageComponentAuth0MyOrganizationDomainTableConfig +from .page_component_auth_0_my_organization_member_management_config import ( + PageComponentAuth0MyOrganizationMemberManagementConfig, +) +from .page_component_auth_0_structure_separator_config import PageComponentAuth0StructureSeparatorConfig +from .page_component_auth_0_typography_heading_config import PageComponentAuth0TypographyHeadingConfig +from .page_component_auth_0_typography_rich_text_config import PageComponentAuth0TypographyRichTextConfig + + +class PageComponentNoChildren_PageComponentAuth0Form(UniversalBaseModel): + type: typing.Literal["page:component:auth0:form"] = "page:component:auth0:form" + config: PageComponentAuth0FormConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0TypographyHeading(UniversalBaseModel): + type: typing.Literal["page:component:auth0:typography:heading"] = "page:component:auth0:typography:heading" + config: PageComponentAuth0TypographyHeadingConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MediaImage(UniversalBaseModel): + type: typing.Literal["page:component:auth0:media:image"] = "page:component:auth0:media:image" + config: PageComponentAuth0MediaImageConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0TypographyRichText(UniversalBaseModel): + type: typing.Literal["page:component:auth0:typography:rich_text"] = "page:component:auth0:typography:rich_text" + config: PageComponentAuth0TypographyRichTextConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0StructureSeparator(UniversalBaseModel): + type: typing.Literal["page:component:auth0:structure:separator"] = "page:component:auth0:structure:separator" + config: typing.Optional[PageComponentAuth0StructureSeparatorConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:domain_table"] = ( + "page:component:auth0:my_organization:domain_table" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationDomainTableConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:member_management"] = ( + "page:component:auth0:my_organization:member_management" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationMemberManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_organization:details_edit"] = ( + "page:component:auth0:my_organization:details_edit" + ) + config: typing.Optional[PageComponentAuth0MyOrganizationDetailsEditConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_account:passkey_management"] = ( + "page:component:auth0:my_account:passkey_management" + ) + config: typing.Optional[PageComponentAuth0MyAccountPasskeyManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement(UniversalBaseModel): + type: typing.Literal["page:component:auth0:my_account:mfa_management"] = ( + "page:component:auth0:my_account:mfa_management" + ) + config: typing.Optional[PageComponentAuth0MyAccountMfaManagementConfig] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +PageComponentNoChildren = typing_extensions.Annotated[ + typing.Union[ + PageComponentNoChildren_PageComponentAuth0Form, + PageComponentNoChildren_PageComponentAuth0TypographyHeading, + PageComponentNoChildren_PageComponentAuth0MediaImage, + PageComponentNoChildren_PageComponentAuth0TypographyRichText, + PageComponentNoChildren_PageComponentAuth0StructureSeparator, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDomainTable, + PageComponentNoChildren_PageComponentAuth0MyOrganizationMemberManagement, + PageComponentNoChildren_PageComponentAuth0MyOrganizationDetailsEdit, + PageComponentNoChildren_PageComponentAuth0MyAccountPasskeyManagement, + PageComponentNoChildren_PageComponentAuth0MyAccountMfaManagement, + ], + pydantic.Field(discriminator="type"), +] diff --git a/src/auth0/management/types/page_slug.py b/src/auth0/management/types/page_slug.py new file mode 100644 index 00000000..aed64965 --- /dev/null +++ b/src/auth0/management/types/page_slug.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +PageSlug = str diff --git a/src/auth0/management/types/partial_groups_enum.py b/src/auth0/management/types/partial_groups_enum.py index 20d6f1e4..68babfc2 100644 --- a/src/auth0/management/types/partial_groups_enum.py +++ b/src/auth0/management/types/partial_groups_enum.py @@ -13,6 +13,7 @@ "signup-password", "customized-consent", "passkeys", + "confirmation", ], typing.Any, ] diff --git a/src/auth0/management/types/partial_phone_template_content.py b/src/auth0/management/types/partial_phone_template_content.py index 7c46c3ce..ce22ea88 100644 --- a/src/auth0/management/types/partial_phone_template_content.py +++ b/src/auth0/management/types/partial_phone_template_content.py @@ -17,6 +17,10 @@ class PartialPhoneTemplateContent(UniversalBaseModel): alias="from", description="Default phone number to be used as 'from' when sending a phone notification" ), ] = None + """ + Default phone number to be used as 'from' when sending a phone notification + """ + body: typing.Optional[PhoneTemplateBody] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/password_dictionary_match_type_enum.py b/src/auth0/management/types/password_dictionary_match_type_enum.py new file mode 100644 index 00000000..cb30f57d --- /dev/null +++ b/src/auth0/management/types/password_dictionary_match_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PasswordDictionaryMatchTypeEnum = typing.Union[typing.Literal["exact", "substring"], typing.Any] diff --git a/src/auth0/management/types/patch_client_credential_response_content.py b/src/auth0/management/types/patch_client_credential_response_content.py index c9513379..ab3dd192 100644 --- a/src/auth0/management/types/patch_client_credential_response_content.py +++ b/src/auth0/management/types/patch_client_credential_response_content.py @@ -39,6 +39,10 @@ class PatchClientCredentialResponseContent(UniversalBaseModel): FieldMetadata(alias="thumbprint_sha256"), pydantic.Field(alias="thumbprint_sha256", description="The X509 certificate's SHA256 thumbprint"), ] = None + """ + The X509 certificate's SHA256 thumbprint + """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ The ISO 8601 formatted date the credential was created. diff --git a/src/auth0/management/types/phone_attribute.py b/src/auth0/management/types/phone_attribute.py index a225eb2a..5e61ea69 100644 --- a/src/auth0/management/types/phone_attribute.py +++ b/src/auth0/management/types/phone_attribute.py @@ -4,7 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .connection_attribute_identifier import ConnectionAttributeIdentifier +from .phone_attribute_identifier import PhoneAttributeIdentifier from .signup_verified import SignupVerified @@ -13,7 +13,7 @@ class PhoneAttribute(UniversalBaseModel): Configuration for the phone number attribute for users. """ - identifier: typing.Optional[ConnectionAttributeIdentifier] = None + identifier: typing.Optional[PhoneAttributeIdentifier] = None profile_required: typing.Optional[bool] = pydantic.Field(default=None) """ Determines if property should be required for users diff --git a/src/auth0/management/types/phone_attribute_identifier.py b/src/auth0/management/types/phone_attribute_identifier.py new file mode 100644 index 00000000..aea45f6c --- /dev/null +++ b/src/auth0/management/types/phone_attribute_identifier.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .default_method_phone_number_identifier_enum import DefaultMethodPhoneNumberIdentifierEnum + + +class PhoneAttributeIdentifier(UniversalBaseModel): + active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines if the attribute is used for identification + """ + + default_method: typing.Optional[DefaultMethodPhoneNumberIdentifierEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py b/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py index b1bfe4d9..5b2cf7af 100644 --- a/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py +++ b/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py @@ -2,4 +2,4 @@ import typing -PhoneProviderProtectionBackoffStrategyEnum = typing.Union[typing.Literal["exponential", "none"], typing.Any] +PhoneProviderProtectionBackoffStrategyEnum = typing.Union[typing.Literal["exponential", "default"], typing.Any] diff --git a/src/auth0/management/types/phone_template_content.py b/src/auth0/management/types/phone_template_content.py index 0a4b57ee..775cdf28 100644 --- a/src/auth0/management/types/phone_template_content.py +++ b/src/auth0/management/types/phone_template_content.py @@ -18,6 +18,10 @@ class PhoneTemplateContent(UniversalBaseModel): alias="from", description="Default phone number to be used as 'from' when sending a phone notification" ), ] = None + """ + Default phone number to be used as 'from' when sending a phone notification + """ + body: typing.Optional[PhoneTemplateBody] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/portal.py b/src/auth0/management/types/portal.py new file mode 100644 index 00000000..b1d57730 --- /dev/null +++ b/src/auth0/management/types/portal.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .portal_client_secret_post import PortalClientSecretPost +from .portal_custom_code import PortalCustomCode +from .portal_date_time import PortalDateTime +from .portal_id import PortalId +from .portal_name import PortalName +from .portal_navigation import PortalNavigation +from .portal_pages_by_type import PortalPagesByType +from .portal_slug import PortalSlug + + +class Portal(UniversalBaseModel): + id: PortalId + name: PortalName + navigation: typing.Optional[PortalNavigation] = None + pages: typing.Optional[PortalPagesByType] = None + slug: PortalSlug + client: typing.Optional[PortalClientSecretPost] = None + custom_code: typing.Optional[PortalCustomCode] = None + created_at: PortalDateTime + updated_at: PortalDateTime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_client_secret_post.py b/src/auth0/management/types/portal_client_secret_post.py new file mode 100644 index 00000000..be3a9340 --- /dev/null +++ b/src/auth0/management/types/portal_client_secret_post.py @@ -0,0 +1,21 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .portal_client_secret_post_token_endpoint_auth_method import PortalClientSecretPostTokenEndpointAuthMethod + + +class PortalClientSecretPost(UniversalBaseModel): + token_endpoint_auth_method: PortalClientSecretPostTokenEndpointAuthMethod + client_id: str + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_client_secret_post_request.py b/src/auth0/management/types/portal_client_secret_post_request.py new file mode 100644 index 00000000..d335c44a --- /dev/null +++ b/src/auth0/management/types/portal_client_secret_post_request.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .portal_client_secret_post_request_token_endpoint_auth_method import ( + PortalClientSecretPostRequestTokenEndpointAuthMethod, +) + + +class PortalClientSecretPostRequest(UniversalBaseModel): + token_endpoint_auth_method: PortalClientSecretPostRequestTokenEndpointAuthMethod + client_id: str + client_secret: str + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_client_secret_post_request_token_endpoint_auth_method.py b/src/auth0/management/types/portal_client_secret_post_request_token_endpoint_auth_method.py new file mode 100644 index 00000000..7d82b712 --- /dev/null +++ b/src/auth0/management/types/portal_client_secret_post_request_token_endpoint_auth_method.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PortalClientSecretPostRequestTokenEndpointAuthMethod = typing.Union[typing.Literal["client_secret_post"], typing.Any] diff --git a/src/auth0/management/types/portal_client_secret_post_token_endpoint_auth_method.py b/src/auth0/management/types/portal_client_secret_post_token_endpoint_auth_method.py new file mode 100644 index 00000000..55bd9fc4 --- /dev/null +++ b/src/auth0/management/types/portal_client_secret_post_token_endpoint_auth_method.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +PortalClientSecretPostTokenEndpointAuthMethod = typing.Union[typing.Literal["client_secret_post"], typing.Any] diff --git a/src/auth0/management/types/portal_custom_code.py b/src/auth0/management/types/portal_custom_code.py new file mode 100644 index 00000000..8fa5f7a0 --- /dev/null +++ b/src/auth0/management/types/portal_custom_code.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class PortalCustomCode(UniversalBaseModel): + head: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom code injected into the of the portal. Only injected when the portal is accessed via a custom domain; it is not injected on canonical domains. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_custom_code_nullable.py b/src/auth0/management/types/portal_custom_code_nullable.py new file mode 100644 index 00000000..b8c34a1c --- /dev/null +++ b/src/auth0/management/types/portal_custom_code_nullable.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .portal_custom_code import PortalCustomCode + +PortalCustomCodeNullable = typing.Optional[PortalCustomCode] diff --git a/src/auth0/management/types/portal_date_time.py b/src/auth0/management/types/portal_date_time.py new file mode 100644 index 00000000..38400300 --- /dev/null +++ b/src/auth0/management/types/portal_date_time.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt + +PortalDateTime = dt.datetime diff --git a/src/auth0/management/types/portal_id.py b/src/auth0/management/types/portal_id.py new file mode 100644 index 00000000..28d8ab39 --- /dev/null +++ b/src/auth0/management/types/portal_id.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +PortalId = str diff --git a/src/auth0/management/types/portal_name.py b/src/auth0/management/types/portal_name.py new file mode 100644 index 00000000..4c7a1f2a --- /dev/null +++ b/src/auth0/management/types/portal_name.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +PortalName = str diff --git a/src/auth0/management/types/portal_navigation.py b/src/auth0/management/types/portal_navigation.py new file mode 100644 index 00000000..beccb936 --- /dev/null +++ b/src/auth0/management/types/portal_navigation.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar import Sidebar + + +class PortalNavigation(UniversalBaseModel): + sidebar: typing.Optional[Sidebar] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_navigation_nullable.py b/src/auth0/management/types/portal_navigation_nullable.py new file mode 100644 index 00000000..4c5ffe37 --- /dev/null +++ b/src/auth0/management/types/portal_navigation_nullable.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .portal_navigation import PortalNavigation + +PortalNavigationNullable = typing.Optional[PortalNavigation] diff --git a/src/auth0/management/types/portal_page.py b/src/auth0/management/types/portal_page.py new file mode 100644 index 00000000..ee656fd4 --- /dev/null +++ b/src/auth0/management/types/portal_page.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_component import PageComponent +from .page_slug import PageSlug + + +class PortalPage(UniversalBaseModel): + title: str + slug: PageSlug + components: typing.Optional[typing.List[PageComponent]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_pages_by_type.py b/src/auth0/management/types/portal_pages_by_type.py new file mode 100644 index 00000000..512dbd7a --- /dev/null +++ b/src/auth0/management/types/portal_pages_by_type.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .page_slug import PageSlug +from .portal_page import PortalPage + + +class PortalPagesByType(UniversalBaseModel): + default: typing.Optional[PageSlug] = None + standard: typing.Optional[typing.List[PortalPage]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/portal_pages_by_type_nullable.py b/src/auth0/management/types/portal_pages_by_type_nullable.py new file mode 100644 index 00000000..b8f123fd --- /dev/null +++ b/src/auth0/management/types/portal_pages_by_type_nullable.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .portal_pages_by_type import PortalPagesByType + +PortalPagesByTypeNullable = typing.Optional[PortalPagesByType] diff --git a/src/auth0/management/types/portal_slug.py b/src/auth0/management/types/portal_slug.py new file mode 100644 index 00000000..08a75501 --- /dev/null +++ b/src/auth0/management/types/portal_slug.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +PortalSlug = str diff --git a/src/auth0/management/types/portal_summary.py b/src/auth0/management/types/portal_summary.py new file mode 100644 index 00000000..4c9b98ee --- /dev/null +++ b/src/auth0/management/types/portal_summary.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .portal_date_time import PortalDateTime +from .portal_id import PortalId +from .portal_name import PortalName +from .portal_slug import PortalSlug + + +class PortalSummary(UniversalBaseModel): + id: PortalId + name: PortalName + slug: PortalSlug + created_at: PortalDateTime + updated_at: PortalDateTime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/position.py b/src/auth0/management/types/position.py new file mode 100644 index 00000000..1a8a6743 --- /dev/null +++ b/src/auth0/management/types/position.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +Position = typing.Union[typing.Literal["left", "center", "right"], typing.Any] diff --git a/src/auth0/management/types/post_client_credential_response_content.py b/src/auth0/management/types/post_client_credential_response_content.py index 0cc53dc9..dd5fef7f 100644 --- a/src/auth0/management/types/post_client_credential_response_content.py +++ b/src/auth0/management/types/post_client_credential_response_content.py @@ -39,6 +39,10 @@ class PostClientCredentialResponseContent(UniversalBaseModel): FieldMetadata(alias="thumbprint_sha256"), pydantic.Field(alias="thumbprint_sha256", description="The X509 certificate's SHA256 thumbprint"), ] = None + """ + The X509 certificate's SHA256 thumbprint + """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ The ISO 8601 formatted date the credential was created. diff --git a/src/auth0/management/types/post_connection_keys_request_content.py b/src/auth0/management/types/post_connection_keys_request_content.py index 98205502..78737e42 100644 --- a/src/auth0/management/types/post_connection_keys_request_content.py +++ b/src/auth0/management/types/post_connection_keys_request_content.py @@ -4,10 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_key_use_enum import ConnectionKeyUseEnum from .post_connection_keys_alg_enum import PostConnectionKeysAlgEnum class PostConnectionKeysRequestContent(UniversalBaseModel): + key_use: typing.Optional[ConnectionKeyUseEnum] = pydantic.Field(default=None) + """ + Whether to provision a signing key (default) or an encryption key for the connection. + """ + signing_alg: typing.Optional[PostConnectionKeysAlgEnum] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/post_connections_keys_response_content_item.py b/src/auth0/management/types/post_connections_keys_response_content_item.py index 46d8b10b..efbfa16c 100644 --- a/src/auth0/management/types/post_connections_keys_response_content_item.py +++ b/src/auth0/management/types/post_connections_keys_response_content_item.py @@ -10,17 +10,17 @@ class PostConnectionsKeysResponseContentItem(UniversalBaseModel): kid: str = pydantic.Field() """ - The key id of the signing key + The key id of the signing or encryption key """ cert: str = pydantic.Field() """ - The public certificate of the signing key + The public certificate of the signing or encryption key """ pkcs: typing.Optional[str] = pydantic.Field(default=None) """ - The public certificate of the signing key in pkcs7 format + The public certificate of the signing or encryption key in pkcs7 format """ current: typing.Optional[bool] = pydantic.Field(default=None) @@ -50,7 +50,7 @@ class PostConnectionsKeysResponseContentItem(UniversalBaseModel): algorithm: typing.Optional[str] = pydantic.Field(default=None) """ - Signing key algorithm + Key algorithm: a signing algorithm for signing keys, or a key-management algorithm for encryption keys """ key_use: typing.Optional[ConnectionKeyUseEnum] = None diff --git a/src/auth0/management/types/preview_cimd_metadata_response_content.py b/src/auth0/management/types/preview_cimd_metadata_response_content.py index 14f9e312..90b6d838 100644 --- a/src/auth0/management/types/preview_cimd_metadata_response_content.py +++ b/src/auth0/management/types/preview_cimd_metadata_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .cimd_external_metadata_created_by_enum import CimdExternalMetadataCreatedByEnum from .cimd_mapped_client_fields import CimdMappedClientFields from .cimd_validation_result import CimdValidationResult @@ -14,6 +15,7 @@ class PreviewCimdMetadataResponseContent(UniversalBaseModel): The client_id of an existing client registered with this external_client_id, if one exists. """ + external_metadata_created_by: typing.Optional[CimdExternalMetadataCreatedByEnum] = None errors: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ Array of retrieval errors (populated when the metadata document could not be fetched). When present, validation is omitted. diff --git a/src/auth0/management/types/resource_server.py b/src/auth0/management/types/resource_server.py index 52ccbacf..0dfdbf79 100644 --- a/src/auth0/management/types/resource_server.py +++ b/src/auth0/management/types/resource_server.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token import ResourceServerAccessToken +from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from .resource_server_proof_of_possession import ResourceServerProofOfPossession @@ -11,6 +13,7 @@ from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from .resource_server_token_dialect_response_enum import ResourceServerTokenDialectResponseEnum from .resource_server_token_encryption import ResourceServerTokenEncryption +from .resource_server_type_enum import ResourceServerTypeEnum from .signing_algorithm_enum import SigningAlgorithmEnum @@ -81,9 +84,20 @@ class ResourceServer(UniversalBaseModel): Whether authorization polices are enforced (true) or unenforced (false). """ + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + """ + token_dialect: typing.Optional[ResourceServerTokenDialectResponseEnum] = None + access_token: typing.Optional[ResourceServerAccessToken] = None token_encryption: typing.Optional[ResourceServerTokenEncryption] = None consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = None + require_consent_non_repudiation: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + """ + authorization_details: typing.Optional[typing.List[typing.Any]] = None proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = None subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = None @@ -93,6 +107,9 @@ class ResourceServer(UniversalBaseModel): The client ID of the client that this resource server is linked to """ + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsResponseEnum] = None + type: typing.Optional[ResourceServerTypeEnum] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/resource_server_access_token.py b/src/auth0/management/types/resource_server_access_token.py new file mode 100644 index 00000000..f79bfbd1 --- /dev/null +++ b/src/auth0/management/types/resource_server_access_token.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token_claims_mapping import ResourceServerAccessTokenClaimsMapping + + +class ResourceServerAccessToken(UniversalBaseModel): + """ + Custom configuration for access tokens + """ + + claims_mapping: typing.Optional[ResourceServerAccessTokenClaimsMapping] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/resource_server_access_token_claims_mapping.py b/src/auth0/management/types/resource_server_access_token_claims_mapping.py new file mode 100644 index 00000000..9a25cb91 --- /dev/null +++ b/src/auth0/management/types/resource_server_access_token_claims_mapping.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token_custom_claims_mapping import ResourceServerAccessTokenCustomClaimsMapping + + +class ResourceServerAccessTokenClaimsMapping(UniversalBaseModel): + """ + Custom configuration for claims in access tokens + """ + + custom_claims: typing.Optional[ResourceServerAccessTokenCustomClaimsMapping] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/resource_server_access_token_custom_claims_mapping.py b/src/auth0/management/types/resource_server_access_token_custom_claims_mapping.py new file mode 100644 index 00000000..0c307d3f --- /dev/null +++ b/src/auth0/management/types/resource_server_access_token_custom_claims_mapping.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .resource_server_access_token_custom_claims_mapping_rule import ResourceServerAccessTokenCustomClaimsMappingRule + +ResourceServerAccessTokenCustomClaimsMapping = typing.List[ResourceServerAccessTokenCustomClaimsMappingRule] +""" +Custom claims to emit in anonymous-session access tokens. Each rule maps a value read from the anonymous-session context (via a restricted dot-path expression) onto a named access-token claim. +""" diff --git a/src/auth0/management/types/resource_server_access_token_custom_claims_mapping_rule.py b/src/auth0/management/types/resource_server_access_token_custom_claims_mapping_rule.py new file mode 100644 index 00000000..ae0b7397 --- /dev/null +++ b/src/auth0/management/types/resource_server_access_token_custom_claims_mapping_rule.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ResourceServerAccessTokenCustomClaimsMappingRule(UniversalBaseModel): + name: str = pydantic.Field() + """ + The access-token claim name to emit, stored with the casing you provide. Reserved OIDC/JWT claim names are not allowed (compared case-insensitively). + """ + + expression: str = pydantic.Field() + """ + Restricted dot-path expression read from the anonymous-session context (e.g. `anonymous_session.metadata.country`). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/resource_server_agent_subject_claims_response_enum.py b/src/auth0/management/types/resource_server_agent_subject_claims_response_enum.py new file mode 100644 index 00000000..57c205f2 --- /dev/null +++ b/src/auth0/management/types/resource_server_agent_subject_claims_response_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResourceServerAgentSubjectClaimsResponseEnum = typing.Union[typing.Literal["off", "auth0-v1"], typing.Any] diff --git a/src/auth0/management/types/resource_server_agent_subject_claims_schema_enum.py b/src/auth0/management/types/resource_server_agent_subject_claims_schema_enum.py new file mode 100644 index 00000000..a2fc5d5c --- /dev/null +++ b/src/auth0/management/types/resource_server_agent_subject_claims_schema_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResourceServerAgentSubjectClaimsSchemaEnum = typing.Union[typing.Literal["off", "auth0-v1"], typing.Any] diff --git a/src/auth0/management/types/resource_server_search_response.py b/src/auth0/management/types/resource_server_search_response.py new file mode 100644 index 00000000..8f2df766 --- /dev/null +++ b/src/auth0/management/types/resource_server_search_response.py @@ -0,0 +1,115 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token import ResourceServerAccessToken +from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum +from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy +from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum +from .resource_server_proof_of_possession import ResourceServerProofOfPossession +from .resource_server_scope import ResourceServerScope +from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization +from .resource_server_token_dialect_response_enum import ResourceServerTokenDialectResponseEnum +from .resource_server_token_encryption import ResourceServerTokenEncryption +from .resource_server_type_enum import ResourceServerTypeEnum +from .signing_algorithm_enum import SigningAlgorithmEnum + + +class ResourceServerSearchResponse(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the API (resource server). + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Friendly name for this resource server. Can not contain `<` or `>` characters. + """ + + is_system: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether this is an Auth0 system API (true) or a custom API (false). + """ + + identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set. + """ + + scopes: typing.Optional[typing.List[ResourceServerScope]] = pydantic.Field(default=None) + """ + List of permissions (scopes) that this API uses. + """ + + signing_alg: typing.Optional[SigningAlgorithmEnum] = None + allow_offline_access: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether refresh tokens can be issued for this API (true) or not (false). + """ + + allow_online_access: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Online Refresh Tokens can be issued for this API (true) or not (false). + """ + + allow_online_access_with_ephemeral_sessions: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). + """ + + skip_consent_for_verifiable_first_party_clients: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether to skip user consent for applications flagged as first party (true) or not (false). + """ + + token_lifetime: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for access tokens issued for this API from the token endpoint. + """ + + token_lifetime_for_web: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the `token_lifetime` value. + """ + + enforce_policies: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether authorization polices are enforced (true) or unenforced (false). + """ + + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + """ + + token_dialect: typing.Optional[ResourceServerTokenDialectResponseEnum] = None + access_token: typing.Optional[ResourceServerAccessToken] = None + token_encryption: typing.Optional[ResourceServerTokenEncryption] = None + consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = None + require_consent_non_repudiation: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + """ + + authorization_details: typing.Optional[typing.List[typing.Any]] = None + proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = None + subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = None + authorization_policy: typing.Optional[ResourceServerAuthorizationPolicy] = None + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID of the client that this resource server is linked to + """ + + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsResponseEnum] = None + type: typing.Optional[ResourceServerTypeEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/resource_server_sort_field_enum.py b/src/auth0/management/types/resource_server_sort_field_enum.py new file mode 100644 index 00000000..34e0182e --- /dev/null +++ b/src/auth0/management/types/resource_server_sort_field_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResourceServerSortFieldEnum = typing.Union[typing.Literal["identifier", "name", "updated_at"], typing.Any] diff --git a/src/auth0/management/types/resource_server_subject_type_authorization.py b/src/auth0/management/types/resource_server_subject_type_authorization.py index aac309a6..d6006b7d 100644 --- a/src/auth0/management/types/resource_server_subject_type_authorization.py +++ b/src/auth0/management/types/resource_server_subject_type_authorization.py @@ -4,6 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_subject_type_authorization_anonymous_user import ( + ResourceServerSubjectTypeAuthorizationAnonymousUser, +) from .resource_server_subject_type_authorization_client import ResourceServerSubjectTypeAuthorizationClient from .resource_server_subject_type_authorization_user import ResourceServerSubjectTypeAuthorizationUser @@ -15,6 +18,7 @@ class ResourceServerSubjectTypeAuthorization(UniversalBaseModel): user: typing.Optional[ResourceServerSubjectTypeAuthorizationUser] = None client: typing.Optional[ResourceServerSubjectTypeAuthorizationClient] = None + anonymous_user: typing.Optional[ResourceServerSubjectTypeAuthorizationAnonymousUser] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user.py b/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user.py new file mode 100644 index 00000000..23dfd519 --- /dev/null +++ b/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_subject_type_authorization_anonymous_user_policy_enum import ( + ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum, +) + + +class ResourceServerSubjectTypeAuthorizationAnonymousUser(UniversalBaseModel): + """ + Access Permissions for anonymous user flows + """ + + policy: typing.Optional[ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.py b/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.py new file mode 100644 index 00000000..3990f227 --- /dev/null +++ b/src/auth0/management/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum = typing.Union[ + typing.Literal["deny_all", "require_client_grant"], typing.Any +] diff --git a/src/auth0/management/types/resource_server_type_enum.py b/src/auth0/management/types/resource_server_type_enum.py new file mode 100644 index 00000000..d73a67c9 --- /dev/null +++ b/src/auth0/management/types/resource_server_type_enum.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ResourceServerTypeEnum = typing.Union[ + typing.Literal["universal_commerce_protocol_server", "model_context_protocol_server"], typing.Any +] diff --git a/src/auth0/management/types/role.py b/src/auth0/management/types/role.py index 74115b37..1938f4b0 100644 --- a/src/auth0/management/types/role.py +++ b/src/auth0/management/types/role.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_owner_id import RoleOwnerId +from .role_type_enum import RoleTypeEnum class Role(UniversalBaseModel): @@ -22,6 +24,9 @@ class Role(UniversalBaseModel): Description of this role. """ + type: typing.Optional[RoleTypeEnum] = None + owner_id: typing.Optional[RoleOwnerId] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/role_group.py b/src/auth0/management/types/role_group.py new file mode 100644 index 00000000..23fd20b9 --- /dev/null +++ b/src/auth0/management/types/role_group.py @@ -0,0 +1,67 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class RoleGroup(UniversalBaseModel): + """ + A group assigned to a role in the context of an organization. + """ + + id: str = pydantic.Field() + """ + Unique identifier for the group (service-generated). + """ + + name: str = pydantic.Field() + """ + Name of the group. Must be unique within its connection. Must contain between 1 and 128 printable ASCII characters. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + External identifier for the group, often used for SCIM synchronization. Max length of 256 characters. + """ + + connection_id: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the connection this group belongs to (if a connection group). + """ + + organization_id: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the organization this group belongs to (if an organization group). + """ + + tenant_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the tenant this group belongs to. + """ + + description: typing.Optional[str] = pydantic.Field(default=None) + """ + Description of the group. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of when the group was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of when the group was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/role_member.py b/src/auth0/management/types/role_member.py new file mode 100644 index 00000000..81bc859e --- /dev/null +++ b/src/auth0/management/types/role_member.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class RoleMember(UniversalBaseModel): + user_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of this user. + """ + + picture: typing.Optional[str] = pydantic.Field(default=None) + """ + URL to a picture for this user. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of this user. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Email address of this user. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/role_owner_id.py b/src/auth0/management/types/role_owner_id.py new file mode 100644 index 00000000..bf828cce --- /dev/null +++ b/src/auth0/management/types/role_owner_id.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +RoleOwnerId = str +""" +The id of the entity that owns this role: an organization id, or "auth0" for Auth0-managed System Roles. +""" diff --git a/src/auth0/management/types/role_owner_id_filter.py b/src/auth0/management/types/role_owner_id_filter.py new file mode 100644 index 00000000..6c0fba28 --- /dev/null +++ b/src/auth0/management/types/role_owner_id_filter.py @@ -0,0 +1,6 @@ +# This file was auto-generated by Fern from our API Definition. + +RoleOwnerIdFilter = str +""" +Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization". +""" diff --git a/src/auth0/management/types/role_type_enum.py b/src/auth0/management/types/role_type_enum.py new file mode 100644 index 00000000..73b06d86 --- /dev/null +++ b/src/auth0/management/types/role_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +RoleTypeEnum = typing.Union[typing.Literal["tenant", "organization"], typing.Any] diff --git a/src/auth0/management/types/rotate_client_secret_response_content.py b/src/auth0/management/types/rotate_client_secret_response_content.py index ea507b4d..6759842e 100644 --- a/src/auth0/management/types/rotate_client_secret_response_content.py +++ b/src/auth0/management/types/rotate_client_secret_response_content.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +import datetime as dt import typing import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration from .client_addons import ClientAddons +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_post_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -16,12 +20,14 @@ from .client_default_organization import ClientDefaultOrganization from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_metadata import ClientMetadata from .client_mobile import ClientMobile from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum @@ -36,6 +42,8 @@ from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId from .express_configuration import ExpressConfiguration from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .native_social_login import NativeSocialLogin from .token_quota import TokenQuota @@ -46,6 +54,16 @@ class RotateClientSecretResponseContent(UniversalBaseModel): ID of this client. """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + tenant: typing.Optional[str] = pydantic.Field(default=None) """ Name of the tenant this client belongs to. @@ -69,6 +87,10 @@ class RotateClientSecretResponseContent(UniversalBaseModel): description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", ), ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + client_secret: typing.Optional[str] = pydantic.Field(default=None) """ Client secret (which you must not make public). @@ -226,8 +248,20 @@ class RotateClientSecretResponseContent(UniversalBaseModel): token_quota: typing.Optional[TokenQuota] = None express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) """ @@ -239,6 +273,12 @@ class RotateClientSecretResponseContent(UniversalBaseModel): ] = None external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + external_client_id: typing.Optional[str] = pydantic.Field(default=None) """ An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. diff --git a/src/auth0/management/types/rotate_connection_keys_request_content.py b/src/auth0/management/types/rotate_connection_keys_request_content.py index ba65ec8f..39e0f92b 100644 --- a/src/auth0/management/types/rotate_connection_keys_request_content.py +++ b/src/auth0/management/types/rotate_connection_keys_request_content.py @@ -4,10 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_key_use_enum import ConnectionKeyUseEnum from .rotate_connection_keys_signing_alg_enum import RotateConnectionKeysSigningAlgEnum class RotateConnectionKeysRequestContent(UniversalBaseModel): + key_use: typing.Optional[ConnectionKeyUseEnum] = pydantic.Field(default=None) + """ + Whether to rotate the signing key (default) or the encryption key for the connection. + """ + signing_alg: typing.Optional[RotateConnectionKeysSigningAlgEnum] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/rotate_connections_keys_response_content.py b/src/auth0/management/types/rotate_connections_keys_response_content.py index d0f56cc9..26f40dee 100644 --- a/src/auth0/management/types/rotate_connections_keys_response_content.py +++ b/src/auth0/management/types/rotate_connections_keys_response_content.py @@ -10,17 +10,17 @@ class RotateConnectionsKeysResponseContent(UniversalBaseModel): kid: str = pydantic.Field() """ - The key id of the signing key + The key id of the signing or encryption key """ cert: str = pydantic.Field() """ - The public certificate of the signing key + The public certificate of the signing or encryption key """ pkcs: typing.Optional[str] = pydantic.Field(default=None) """ - The public certificate of the signing key in pkcs7 format + The public certificate of the signing or encryption key in pkcs7 format """ next: typing.Optional[bool] = pydantic.Field(default=None) @@ -40,7 +40,7 @@ class RotateConnectionsKeysResponseContent(UniversalBaseModel): algorithm: typing.Optional[str] = pydantic.Field(default=None) """ - Signing key algorithm + Key algorithm: a signing algorithm for signing keys, or a key-management algorithm for encryption keys """ key_use: typing.Optional[ConnectionKeyUseEnum] = None diff --git a/src/auth0/management/types/scim_mapping_item.py b/src/auth0/management/types/scim_mapping_item.py index 5f70d6c1..5fc6dd55 100644 --- a/src/auth0/management/types/scim_mapping_item.py +++ b/src/auth0/management/types/scim_mapping_item.py @@ -14,6 +14,10 @@ class ScimMappingItem(UniversalBaseModel): FieldMetadata(alias="auth0"), pydantic.Field(alias="auth0", description="The field location in the auth0 schema"), ] = None + """ + The field location in the auth0 schema + """ + scim: typing.Optional[str] = pydantic.Field(default=None) """ The field location in the SCIM schema diff --git a/src/auth0/management/types/screen_group_name_enum.py b/src/auth0/management/types/screen_group_name_enum.py index 2000828e..dcba880a 100644 --- a/src/auth0/management/types/screen_group_name_enum.py +++ b/src/auth0/management/types/screen_group_name_enum.py @@ -33,6 +33,8 @@ "reset-password-mfa-webauthn-roaming-challenge", "custom-form", "consent", + "consent-tenant-scopes", + "pending-consent", "customized-consent", "logout", "logout-complete", diff --git a/src/auth0/management/types/search_client_grants_response_content.py b/src/auth0/management/types/search_client_grants_response_content.py new file mode 100644 index 00000000..de7de006 --- /dev/null +++ b/src/auth0/management/types/search_client_grants_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_grant_response_content import ClientGrantResponseContent + + +class SearchClientGrantsResponseContent(UniversalBaseModel): + client_grants: typing.List[ClientGrantResponseContent] = pydantic.Field() + """ + Array of client grant objects matching the search criteria. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Cursor for retrieving the next page of results. Omitted if there are no more results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/search_clients_response_content.py b/src/auth0/management/types/search_clients_response_content.py new file mode 100644 index 00000000..207e6bb7 --- /dev/null +++ b/src/auth0/management/types/search_clients_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_search_response import ClientSearchResponse + + +class SearchClientsResponseContent(UniversalBaseModel): + clients: typing.List[ClientSearchResponse] = pydantic.Field() + """ + Array of client objects matching the search criteria. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Cursor for retrieving the next page of results. Absent when no more results are available. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/search_organization.py b/src/auth0/management/types/search_organization.py new file mode 100644 index 00000000..79a03ece --- /dev/null +++ b/src/auth0/management/types/search_organization.py @@ -0,0 +1,43 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_branding import OrganizationBranding +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum +from .token_quota import TokenQuota + + +class SearchOrganization(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + Organization identifier. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of this organization. + """ + + display_name: typing.Optional[str] = pydantic.Field(default=None) + """ + Friendly name of this organization. + """ + + branding: typing.Optional[OrganizationBranding] = None + token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/search_organizations_paginated_response_content.py b/src/auth0/management/types/search_organizations_paginated_response_content.py new file mode 100644 index 00000000..a8d2c7cd --- /dev/null +++ b/src/auth0/management/types/search_organizations_paginated_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .search_organization import SearchOrganization + + +class SearchOrganizationsPaginatedResponseContent(UniversalBaseModel): + organizations: typing.List[SearchOrganization] = pydantic.Field() + """ + Array of organization objects matching the search criteria. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Cursor for retrieving the next page of results. Absent when no more results are available. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/search_parser_enum.py b/src/auth0/management/types/search_parser_enum.py new file mode 100644 index 00000000..17775898 --- /dev/null +++ b/src/auth0/management/types/search_parser_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SearchParserEnum = typing.Union[typing.Literal["scim", "lucene"], typing.Any] diff --git a/src/auth0/management/types/search_resource_servers_response_content.py b/src/auth0/management/types/search_resource_servers_response_content.py new file mode 100644 index 00000000..c56eb540 --- /dev/null +++ b/src/auth0/management/types/search_resource_servers_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_search_response import ResourceServerSearchResponse + + +class SearchResourceServersResponseContent(UniversalBaseModel): + resource_servers: typing.List[ResourceServerSearchResponse] = pydantic.Field() + """ + Array of resource server objects matching the search criteria. + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Cursor for retrieving the next page of results. Omitted if there are no more results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment.py b/src/auth0/management/types/segment.py new file mode 100644 index 00000000..e0cd89d6 --- /dev/null +++ b/src/auth0/management/types/segment.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_rule import SegmentRule +from .segment_status_enum import SegmentStatusEnum +from .segment_type_enum import SegmentTypeEnum + + +class Segment(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: SegmentTypeEnum + status: SegmentStatusEnum + rules: typing.List[SegmentRule] + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_contains_expression.py b/src/auth0/management/types/segment_contains_expression.py new file mode 100644 index 00000000..d1c084a7 --- /dev/null +++ b/src/auth0/management/types/segment_contains_expression.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SegmentContainsExpression(UniversalBaseModel): + contains: typing.List[str] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_ends_with_expression.py b/src/auth0/management/types/segment_ends_with_expression.py new file mode 100644 index 00000000..ba5c8aee --- /dev/null +++ b/src/auth0/management/types/segment_ends_with_expression.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SegmentEndsWithExpression(UniversalBaseModel): + ends_with: typing.List[str] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_exists_expression.py b/src/auth0/management/types/segment_exists_expression.py new file mode 100644 index 00000000..727d9d21 --- /dev/null +++ b/src/auth0/management/types/segment_exists_expression.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SegmentExistsExpression(UniversalBaseModel): + exists: bool + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_match_conditions.py b/src/auth0/management/types/segment_match_conditions.py new file mode 100644 index 00000000..ef905a7e --- /dev/null +++ b/src/auth0/management/types/segment_match_conditions.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_match_expression import SegmentMatchExpression + + +class SegmentMatchConditions(UniversalBaseModel): + """ + Attribute conditions that must match. + """ + + client_id: typing.Optional[SegmentMatchExpression] = None + connection: typing.Optional[SegmentMatchExpression] = None + connection_type: typing.Optional[SegmentMatchExpression] = None + organization_id: typing.Optional[SegmentMatchExpression] = None + domain: typing.Optional[SegmentMatchExpression] = None + device_type: typing.Optional[SegmentMatchExpression] = None + browser: typing.Optional[SegmentMatchExpression] = None + platform: typing.Optional[SegmentMatchExpression] = None + user_agent: typing.Optional[SegmentMatchExpression] = None + country: typing.Optional[SegmentMatchExpression] = None + region: typing.Optional[SegmentMatchExpression] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_match_expression.py b/src/auth0/management/types/segment_match_expression.py new file mode 100644 index 00000000..b440d326 --- /dev/null +++ b/src/auth0/management/types/segment_match_expression.py @@ -0,0 +1,16 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .segment_contains_expression import SegmentContainsExpression +from .segment_ends_with_expression import SegmentEndsWithExpression +from .segment_exists_expression import SegmentExistsExpression +from .segment_starts_with_expression import SegmentStartsWithExpression + +SegmentMatchExpression = typing.Union[ + typing.List[str], + SegmentContainsExpression, + SegmentStartsWithExpression, + SegmentEndsWithExpression, + SegmentExistsExpression, +] diff --git a/src/auth0/management/types/segment_not_match_conditions.py b/src/auth0/management/types/segment_not_match_conditions.py new file mode 100644 index 00000000..f3810d46 --- /dev/null +++ b/src/auth0/management/types/segment_not_match_conditions.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_match_expression import SegmentMatchExpression + + +class SegmentNotMatchConditions(UniversalBaseModel): + """ + Attribute conditions that must not match. + """ + + client_id: typing.Optional[SegmentMatchExpression] = None + connection: typing.Optional[SegmentMatchExpression] = None + connection_type: typing.Optional[SegmentMatchExpression] = None + organization_id: typing.Optional[SegmentMatchExpression] = None + domain: typing.Optional[SegmentMatchExpression] = None + device_type: typing.Optional[SegmentMatchExpression] = None + browser: typing.Optional[SegmentMatchExpression] = None + platform: typing.Optional[SegmentMatchExpression] = None + user_agent: typing.Optional[SegmentMatchExpression] = None + country: typing.Optional[SegmentMatchExpression] = None + region: typing.Optional[SegmentMatchExpression] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_rule.py b/src/auth0/management/types/segment_rule.py new file mode 100644 index 00000000..239f86ec --- /dev/null +++ b/src/auth0/management/types/segment_rule.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_match_conditions import SegmentMatchConditions +from .segment_not_match_conditions import SegmentNotMatchConditions + + +class SegmentRule(UniversalBaseModel): + match: typing.Optional[SegmentMatchConditions] = None + not_match: typing.Optional[SegmentNotMatchConditions] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_starts_with_expression.py b/src/auth0/management/types/segment_starts_with_expression.py new file mode 100644 index 00000000..05af74f6 --- /dev/null +++ b/src/auth0/management/types/segment_starts_with_expression.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SegmentStartsWithExpression(UniversalBaseModel): + starts_with: typing.List[str] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/segment_status_enum.py b/src/auth0/management/types/segment_status_enum.py new file mode 100644 index 00000000..7d9a103d --- /dev/null +++ b/src/auth0/management/types/segment_status_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SegmentStatusEnum = typing.Union[typing.Literal["active", "archived"], typing.Any] diff --git a/src/auth0/management/types/segment_type_enum.py b/src/auth0/management/types/segment_type_enum.py new file mode 100644 index 00000000..b7abaed2 --- /dev/null +++ b/src/auth0/management/types/segment_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SegmentTypeEnum = typing.Union[typing.Literal["self", "auth0"], typing.Any] diff --git a/src/auth0/management/types/segment_type_filter_enum.py b/src/auth0/management/types/segment_type_filter_enum.py new file mode 100644 index 00000000..558de32e --- /dev/null +++ b/src/auth0/management/types/segment_type_filter_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SegmentTypeFilterEnum = typing.Union[typing.Literal["auth0", "self"], typing.Any] diff --git a/src/auth0/management/types/self_service_profile_sso_ticket_google_workspace_config.py b/src/auth0/management/types/self_service_profile_sso_ticket_google_workspace_config.py index 6eb78c21..f79d4d1b 100644 --- a/src/auth0/management/types/self_service_profile_sso_ticket_google_workspace_config.py +++ b/src/auth0/management/types/self_service_profile_sso_ticket_google_workspace_config.py @@ -16,6 +16,11 @@ class SelfServiceProfileSsoTicketGoogleWorkspaceConfig(UniversalBaseModel): Whether to enable Google Workspace Directory Sync for users during the self-service flow. """ + sync_groups: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether to enable Google Workspace Directory Sync for groups during the self-service flow. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/self_service_profile_sso_ticket_universal_logout_config.py b/src/auth0/management/types/self_service_profile_sso_ticket_universal_logout_config.py new file mode 100644 index 00000000..f5b83065 --- /dev/null +++ b/src/auth0/management/types/self_service_profile_sso_ticket_universal_logout_config.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SelfServiceProfileSsoTicketUniversalLogoutConfig(UniversalBaseModel): + """ + Configuration for the setup of Universal Logout in the Self-Service Enterprise Configuration flow. + """ + + allow_configuration: bool = pydantic.Field() + """ + Whether the end user can set up Universal Logout during the Self-Service Enterprise Configuration flow. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/session_actor_claim_value.py b/src/auth0/management/types/session_actor_claim_value.py new file mode 100644 index 00000000..60517fbc --- /dev/null +++ b/src/auth0/management/types/session_actor_claim_value.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SessionActorClaimValue = typing.Union[str, bool, float] diff --git a/src/auth0/management/types/session_actor_metadata.py b/src/auth0/management/types/session_actor_metadata.py new file mode 100644 index 00000000..63719cfb --- /dev/null +++ b/src/auth0/management/types/session_actor_metadata.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SessionActorMetadata(UniversalBaseModel): + """ + The identity of the delegating party/session actor for delegated sessions. Present only on delegated sessions. Contains "sub" and up to 5 additional primitive claims. + """ + + sub: str = pydantic.Field() + """ + Subject identifier of the actor + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/session_response_content.py b/src/auth0/management/types/session_response_content.py index 7a4f73dd..4b5ae44e 100644 --- a/src/auth0/management/types/session_response_content.py +++ b/src/auth0/management/types/session_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .session_actor_metadata import SessionActorMetadata from .session_authentication_signals import SessionAuthenticationSignals from .session_client_metadata import SessionClientMetadata from .session_cookie_metadata import SessionCookieMetadata @@ -38,6 +39,7 @@ class SessionResponseContent(UniversalBaseModel): authentication: typing.Optional[SessionAuthenticationSignals] = None cookie: typing.Optional[SessionCookieMetadata] = None session_metadata: typing.Optional[SessionMetadata] = None + actor: typing.Optional[SessionActorMetadata] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/set_email_factor_settings_response_content.py b/src/auth0/management/types/set_email_factor_settings_response_content.py new file mode 100644 index 00000000..aad8e1ee --- /dev/null +++ b/src/auth0/management/types/set_email_factor_settings_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SetEmailFactorSettingsResponseContent(UniversalBaseModel): + otp_length: int = pydantic.Field() + """ + The length of the OTP code. + """ + + otp_expiration_time: int = pydantic.Field() + """ + The OTP expiration time in seconds. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/set_email_template_response_content.py b/src/auth0/management/types/set_email_template_response_content.py index 5c140e6b..e5793d33 100644 --- a/src/auth0/management/types/set_email_template_response_content.py +++ b/src/auth0/management/types/set_email_template_response_content.py @@ -21,11 +21,19 @@ class SetEmailTemplateResponseContent(UniversalBaseModel): FieldMetadata(alias="from"), pydantic.Field(alias="from", description="Senders `from` email address."), ] = None + """ + Senders `from` email address. + """ + result_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="resultUrl"), pydantic.Field(alias="resultUrl", description="URL to redirect the user to after a successful action."), ] = None + """ + URL to redirect the user to after a successful action. + """ + subject: typing.Optional[str] = pydantic.Field(default=None) """ Subject line of the email. @@ -44,6 +52,10 @@ class SetEmailTemplateResponseContent(UniversalBaseModel): description="Lifetime in seconds that the link within the email will be valid for.", ), ] = None + """ + Lifetime in seconds that the link within the email will be valid for. + """ + include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect"), @@ -52,6 +64,10 @@ class SetEmailTemplateResponseContent(UniversalBaseModel): description="Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.", ), ] = None + """ + Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + """ + enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the template is enabled (true) or disabled (false). diff --git a/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py b/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py index 98b100d1..e5a16a0e 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py +++ b/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py @@ -12,6 +12,10 @@ class SetGuardianFactorsProviderPhoneTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="from"), pydantic.Field(alias="from", description="From number") ] = None + """ + From number + """ + messaging_service_sid: typing.Optional[str] = pydantic.Field(default=None) """ Copilot SID diff --git a/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py b/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py index 527580f8..85e96af9 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py +++ b/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py @@ -12,6 +12,10 @@ class SetGuardianFactorsProviderSmsTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="from"), pydantic.Field(alias="from", description="From number") ] = None + """ + From number + """ + messaging_service_sid: typing.Optional[str] = pydantic.Field(default=None) """ Copilot SID diff --git a/src/auth0/management/types/set_guardian_settings_response_content.py b/src/auth0/management/types/set_guardian_settings_response_content.py new file mode 100644 index 00000000..7f2848bb --- /dev/null +++ b/src/auth0/management/types/set_guardian_settings_response_content.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SetGuardianSettingsResponseContent(UniversalBaseModel): + display_remember_me_checkbox: bool = pydantic.Field() + """ + Determines whether to display the "Remember Me" checkbox on the MFA prompt in Universal Login. + """ + + remember_me_default_value: bool = pydantic.Field() + """ + Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. + """ + + mfa_session_inactivity_timeout: int = pydantic.Field() + """ + Duration of inactivity after which the user will be prompted for MFA. Represented as seconds. Minimum duration is 1 hour, maximum is 30 days, and cannot exceed the overall timeout. + """ + + mfa_session_overall_timeout: int = pydantic.Field() + """ + Maximum duration after which the user will be prompted for MFA regardless of activity. Represented as seconds. Minimum duration is 1 hour, maximum is 90 days. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/set_phone_factor_settings_response_content.py b/src/auth0/management/types/set_phone_factor_settings_response_content.py new file mode 100644 index 00000000..b4610ea9 --- /dev/null +++ b/src/auth0/management/types/set_phone_factor_settings_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SetPhoneFactorSettingsResponseContent(UniversalBaseModel): + otp_length: int = pydantic.Field() + """ + The length of the OTP code. + """ + + otp_expiration_time: int = pydantic.Field() + """ + The OTP expiration time in seconds. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar.py b/src/auth0/management/types/sidebar.py new file mode 100644 index 00000000..c7dcabbc --- /dev/null +++ b/src/auth0/management/types/sidebar.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component import SidebarComponent + + +class Sidebar(UniversalBaseModel): + components: typing.Optional[typing.List[SidebarComponent]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component.py b/src/auth0/management/types/sidebar_component.py new file mode 100644 index 00000000..75cd97a9 --- /dev/null +++ b/src/auth0/management/types/sidebar_component.py @@ -0,0 +1,80 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component_auth_0_external_link_config import SidebarComponentAuth0ExternalLinkConfig +from .sidebar_component_auth_0_external_link_v_2_config import SidebarComponentAuth0ExternalLinkV2Config +from .sidebar_component_auth_0_internal_link_config import SidebarComponentAuth0InternalLinkConfig +from .sidebar_component_auth_0_internal_link_v_2_config import SidebarComponentAuth0InternalLinkV2Config + + +class SidebarComponent_SidebarComponentAuth0ExternalLink(UniversalBaseModel): + type: typing.Literal["sidebar:component:auth0:external_link"] = "sidebar:component:auth0:external_link" + config: SidebarComponentAuth0ExternalLinkConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class SidebarComponent_SidebarComponentAuth0InternalLink(UniversalBaseModel): + type: typing.Literal["sidebar:component:auth0:internal_link"] = "sidebar:component:auth0:internal_link" + config: SidebarComponentAuth0InternalLinkConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class SidebarComponent_SidebarComponentAuth0ExternalLinkV2(UniversalBaseModel): + type: typing.Literal["sidebar:component:auth0:external_link:v2"] = "sidebar:component:auth0:external_link:v2" + config: SidebarComponentAuth0ExternalLinkV2Config + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +class SidebarComponent_SidebarComponentAuth0InternalLinkV2(UniversalBaseModel): + type: typing.Literal["sidebar:component:auth0:internal_link:v2"] = "sidebar:component:auth0:internal_link:v2" + config: SidebarComponentAuth0InternalLinkV2Config + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow + + +SidebarComponent = typing_extensions.Annotated[ + typing.Union[ + SidebarComponent_SidebarComponentAuth0ExternalLink, + SidebarComponent_SidebarComponentAuth0InternalLink, + SidebarComponent_SidebarComponentAuth0ExternalLinkV2, + SidebarComponent_SidebarComponentAuth0InternalLinkV2, + ], + pydantic.Field(discriminator="type"), +] diff --git a/src/auth0/management/types/sidebar_component_auth_0_external_link.py b/src/auth0/management/types/sidebar_component_auth_0_external_link.py new file mode 100644 index 00000000..6f53493a --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_external_link.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component_auth_0_external_link_config import SidebarComponentAuth0ExternalLinkConfig + + +class SidebarComponentAuth0ExternalLink(UniversalBaseModel): + """ + Deprecated. Use "sidebar:component:auth0:external_link:v2" instead. + """ + + config: SidebarComponentAuth0ExternalLinkConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_external_link_config.py b/src/auth0/management/types/sidebar_component_auth_0_external_link_config.py new file mode 100644 index 00000000..c71cc9a9 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_external_link_config.py @@ -0,0 +1,32 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SidebarComponentAuth0ExternalLinkConfig(UniversalBaseModel): + label: str = pydantic.Field() + """ + Text shown for the link. + """ + + url: str = pydantic.Field() + """ + External URL to navigate to. + """ + + icon: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the icon displayed next to the link label. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2.py b/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2.py new file mode 100644 index 00000000..70201df5 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component_auth_0_external_link_v_2_config import SidebarComponentAuth0ExternalLinkV2Config + + +class SidebarComponentAuth0ExternalLinkV2(UniversalBaseModel): + config: SidebarComponentAuth0ExternalLinkV2Config + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2_config.py b/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2_config.py new file mode 100644 index 00000000..d11e4c86 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_external_link_v_2_config.py @@ -0,0 +1,32 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SidebarComponentAuth0ExternalLinkV2Config(UniversalBaseModel): + label: str = pydantic.Field() + """ + Text shown for the link. + """ + + href: str = pydantic.Field() + """ + External URL to navigate to. + """ + + icon: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the icon displayed next to the link label. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_internal_link.py b/src/auth0/management/types/sidebar_component_auth_0_internal_link.py new file mode 100644 index 00000000..49d027ba --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_internal_link.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component_auth_0_internal_link_config import SidebarComponentAuth0InternalLinkConfig + + +class SidebarComponentAuth0InternalLink(UniversalBaseModel): + """ + Deprecated. Use "sidebar:component:auth0:internal_link:v2" instead. + """ + + config: SidebarComponentAuth0InternalLinkConfig + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_internal_link_config.py b/src/auth0/management/types/sidebar_component_auth_0_internal_link_config.py new file mode 100644 index 00000000..8da90ff3 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_internal_link_config.py @@ -0,0 +1,32 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SidebarComponentAuth0InternalLinkConfig(UniversalBaseModel): + label: str = pydantic.Field() + """ + Text shown for the link. + """ + + to: str = pydantic.Field() + """ + Slug of the internal portal page to navigate to. + """ + + icon: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the icon displayed next to the link label. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2.py b/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2.py new file mode 100644 index 00000000..06c42a14 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .sidebar_component_auth_0_internal_link_v_2_config import SidebarComponentAuth0InternalLinkV2Config + + +class SidebarComponentAuth0InternalLinkV2(UniversalBaseModel): + config: SidebarComponentAuth0InternalLinkV2Config + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2_config.py b/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2_config.py new file mode 100644 index 00000000..e4f4a542 --- /dev/null +++ b/src/auth0/management/types/sidebar_component_auth_0_internal_link_v_2_config.py @@ -0,0 +1,32 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SidebarComponentAuth0InternalLinkV2Config(UniversalBaseModel): + label: str = pydantic.Field() + """ + Text shown for the link. + """ + + page_slug: str = pydantic.Field() + """ + Slug of the internal portal page to navigate to. + """ + + icon: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the icon displayed next to the link label. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/signing_keys.py b/src/auth0/management/types/signing_keys.py index b0e48c6d..0e5178e7 100644 --- a/src/auth0/management/types/signing_keys.py +++ b/src/auth0/management/types/signing_keys.py @@ -25,6 +25,10 @@ class SigningKeys(UniversalBaseModel): FieldMetadata(alias="pkcs7"), pydantic.Field(alias="pkcs7", description="The public certificate of the signing key in pkcs7 format"), ] = None + """ + The public certificate of the signing key in pkcs7 format + """ + current: typing.Optional[bool] = pydantic.Field(default=None) """ True if the key is the the current key diff --git a/src/auth0/management/types/suspicious_ip_throttling_pre_custom_token_exchange_stage.py b/src/auth0/management/types/suspicious_ip_throttling_pre_custom_token_exchange_stage.py new file mode 100644 index 00000000..c2b51d0b --- /dev/null +++ b/src/auth0/management/types/suspicious_ip_throttling_pre_custom_token_exchange_stage.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SuspiciousIpThrottlingPreCustomTokenExchangeStage(UniversalBaseModel): + """ + Configuration options that apply before every custom token exchange attempt. + """ + + max_attempts: typing.Optional[int] = pydantic.Field(default=None) + """ + Total number of attempts allowed. + """ + + rate: typing.Optional[int] = pydantic.Field(default=None) + """ + Interval of time, given in milliseconds, at which new attempts are granted. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/suspicious_ip_throttling_stage.py b/src/auth0/management/types/suspicious_ip_throttling_stage.py index 5fe0240c..5876508e 100644 --- a/src/auth0/management/types/suspicious_ip_throttling_stage.py +++ b/src/auth0/management/types/suspicious_ip_throttling_stage.py @@ -6,6 +6,7 @@ import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .suspicious_ip_throttling_pre_custom_token_exchange_stage import SuspiciousIpThrottlingPreCustomTokenExchangeStage from .suspicious_ip_throttling_pre_login_stage import SuspiciousIpThrottlingPreLoginStage from .suspicious_ip_throttling_pre_user_registration_stage import SuspiciousIpThrottlingPreUserRegistrationStage @@ -25,6 +26,11 @@ class SuspiciousIpThrottlingStage(UniversalBaseModel): FieldMetadata(alias="pre-user-registration"), pydantic.Field(alias="pre-user-registration"), ] = None + pre_custom_token_exchange: typing_extensions.Annotated[ + typing.Optional[SuspiciousIpThrottlingPreCustomTokenExchangeStage], + FieldMetadata(alias="pre-custom-token-exchange"), + pydantic.Field(alias="pre-custom-token-exchange"), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/synchronized_group_payload.py b/src/auth0/management/types/synchronized_group_payload.py index fb5ae230..37dafa2d 100644 --- a/src/auth0/management/types/synchronized_group_payload.py +++ b/src/auth0/management/types/synchronized_group_payload.py @@ -12,6 +12,21 @@ class SynchronizedGroupPayload(UniversalBaseModel): Google Workspace Directory group ID. """ + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Google Workspace Directory group name. + """ + + email: typing.Optional[str] = pydantic.Field(default=None) + """ + Google Workspace Directory group email. + """ + + direct_members_count: typing.Optional[int] = pydantic.Field(default=None) + """ + Number of direct members in the Google Workspace Directory group. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/synchronized_group_selection_id.py b/src/auth0/management/types/synchronized_group_selection_id.py new file mode 100644 index 00000000..0510875e --- /dev/null +++ b/src/auth0/management/types/synchronized_group_selection_id.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class SynchronizedGroupSelectionId(UniversalBaseModel): + id: str = pydantic.Field() + """ + Google Workspace Directory group ID. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/system_role_owner_id.py b/src/auth0/management/types/system_role_owner_id.py new file mode 100644 index 00000000..61a8a3e3 --- /dev/null +++ b/src/auth0/management/types/system_role_owner_id.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +SystemRoleOwnerId = typing.Union[typing.Literal["auth0"], typing.Any] diff --git a/src/auth0/management/types/tenant_settings_country_codes.py b/src/auth0/management/types/tenant_settings_country_codes.py index 3549eb09..783a8b96 100644 --- a/src/auth0/management/types/tenant_settings_country_codes.py +++ b/src/auth0/management/types/tenant_settings_country_codes.py @@ -19,6 +19,10 @@ class TenantSettingsCountryCodes(UniversalBaseModel): FieldMetadata(alias="list"), pydantic.Field(alias="list", description="Array of ISO 3166-1 alpha-2 country codes."), ] = None + """ + Array of ISO 3166-1 alpha-2 country codes. + """ + mode: typing.Optional[TenantSettingsCountryCodesMode] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/tenant_settings_country_codes_response.py b/src/auth0/management/types/tenant_settings_country_codes_response.py index 4b7e9991..94ab748f 100644 --- a/src/auth0/management/types/tenant_settings_country_codes_response.py +++ b/src/auth0/management/types/tenant_settings_country_codes_response.py @@ -19,6 +19,10 @@ class TenantSettingsCountryCodesResponse(UniversalBaseModel): FieldMetadata(alias="list"), pydantic.Field(alias="list", description="Array of ISO 3166-1 alpha-2 country codes."), ] = None + """ + Array of ISO 3166-1 alpha-2 country codes. + """ + mode: typing.Optional[TenantSettingsCountryCodesModeResponse] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/tenant_settings_flags.py b/src/auth0/management/types/tenant_settings_flags.py index 1fd5e20e..515f92a7 100644 --- a/src/auth0/management/types/tenant_settings_flags.py +++ b/src/auth0/management/types/tenant_settings_flags.py @@ -21,6 +21,10 @@ class TenantSettingsFlags(UniversalBaseModel): description="Whether to use the older v1 change password flow (true, not recommended except for backward compatibility) or the newer safer flow (false, recommended).", ), ] = None + """ + Whether to use the older v1 change password flow (true, not recommended except for backward compatibility) or the newer safer flow (false, recommended). + """ + enable_apis_section: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the APIs section is enabled (true) or disabled (false). @@ -44,6 +48,10 @@ class TenantSettingsFlags(UniversalBaseModel): description="Whether advanced API Authorization scenarios are enabled (true) or disabled (false).", ), ] = None + """ + Whether advanced API Authorization scenarios are enabled (true) or disabled (false). + """ + allow_legacy_delegation_grant_types: typing.Optional[bool] = pydantic.Field(default=None) """ If enabled, clients are able to add legacy delegation grants. @@ -72,6 +80,10 @@ class TenantSettingsFlags(UniversalBaseModel): description="Whether ID tokens can be used to authorize some types of requests to API v2 (true) not not (false).", ), ] = None + """ + Whether ID tokens can be used to authorize some types of requests to API v2 (true) not not (false). + """ + enable_public_signup_user_exists_error: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the public sign up process shows a user_exists error (true) or a generic error (false) if the user already exists. @@ -119,7 +131,7 @@ class TenantSettingsFlags(UniversalBaseModel): dashboard_insights_view: typing.Optional[bool] = pydantic.Field(default=None) """ - Enables new insights activity page view + Deprecated. This flag has no effect and is retained only for backward compatibility """ disable_fields_map_fix: typing.Optional[bool] = pydantic.Field(default=None) @@ -142,9 +154,9 @@ class TenantSettingsFlags(UniversalBaseModel): Improves bot detection during signup in classic universal login """ - genai_trial: typing.Optional[bool] = pydantic.Field(default=None) + local_resource_discovery: typing.Optional[bool] = pydantic.Field(default=None) """ - This tenant signed up for the Auth4GenAI trail + Whether the Local Resource Discovery endpoint is enabled (true) or disabled (false). """ enable_dynamic_client_registration: typing.Optional[bool] = pydantic.Field(default=None) diff --git a/src/auth0/management/types/tenant_settings_sessions.py b/src/auth0/management/types/tenant_settings_sessions.py index 2ba1db06..8ef86c8b 100644 --- a/src/auth0/management/types/tenant_settings_sessions.py +++ b/src/auth0/management/types/tenant_settings_sessions.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .tenant_settings_sessions_anonymous import TenantSettingsSessionsAnonymous class TenantSettingsSessions(UniversalBaseModel): @@ -16,6 +17,8 @@ class TenantSettingsSessions(UniversalBaseModel): Whether to bypass prompting logic (false) when performing OIDC Logout """ + anonymous: typing.Optional[TenantSettingsSessionsAnonymous] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/tenant_settings_sessions_anonymous.py b/src/auth0/management/types/tenant_settings_sessions_anonymous.py new file mode 100644 index 00000000..4df223e7 --- /dev/null +++ b/src/auth0/management/types/tenant_settings_sessions_anonymous.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class TenantSettingsSessionsAnonymous(UniversalBaseModel): + """ + Anonymous session settings for tenant. + """ + + lifetime_in_minutes: typing.Optional[int] = pydantic.Field(default=None) + """ + Anonymous session lifetime, in minutes. Defaults to 43200 (30 days); maximum 525600 (1 year). + """ + + activate_cookie: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether anonymous session requests return the `auth0_anon` cookie. Defaults to enabled; set to false to stop issuing the cookie. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/third_party_client_access_config.py b/src/auth0/management/types/third_party_client_access_config.py new file mode 100644 index 00000000..ff87c8a5 --- /dev/null +++ b/src/auth0/management/types/third_party_client_access_config.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ThirdPartyClientAccessConfig(UniversalBaseModel): + """ + Configuration for Third Party Client Access during the Self-Service Enterprise Configuration flow. + """ + + allow_configuration: bool = pydantic.Field() + """ + Whether third-party applications can configure the connection as a domain-level connection during the Self-Service Enterprise Configuration flow. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/token_vault_privileged_access_grant.py b/src/auth0/management/types/token_vault_privileged_access_grant.py new file mode 100644 index 00000000..d28e6392 --- /dev/null +++ b/src/auth0/management/types/token_vault_privileged_access_grant.py @@ -0,0 +1,20 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class TokenVaultPrivilegedAccessGrant(UniversalBaseModel): + connection: str + scopes: typing.List[str] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/too_many_requests_error_body.py b/src/auth0/management/types/too_many_requests_error_body.py new file mode 100644 index 00000000..61e5254e --- /dev/null +++ b/src/auth0/management/types/too_many_requests_error_body.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .too_many_requests_error_body_error import TooManyRequestsErrorBodyError + + +class TooManyRequestsErrorBody(UniversalBaseModel): + message: str + status_code: typing_extensions.Annotated[str, FieldMetadata(alias="statusCode"), pydantic.Field(alias="statusCode")] + error: TooManyRequestsErrorBodyError + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/too_many_requests_error_body_error.py b/src/auth0/management/types/too_many_requests_error_body_error.py new file mode 100644 index 00000000..f6bfb865 --- /dev/null +++ b/src/auth0/management/types/too_many_requests_error_body_error.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +TooManyRequestsErrorBodyError = typing.Union[typing.Literal["Too Many Requests"], typing.Any] diff --git a/src/auth0/management/types/update_anonymous_sessions.py b/src/auth0/management/types/update_anonymous_sessions.py new file mode 100644 index 00000000..88404c09 --- /dev/null +++ b/src/auth0/management/types/update_anonymous_sessions.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class UpdateAnonymousSessions(UniversalBaseModel): + """ + Anonymous sessions configuration for this client. + """ + + active: bool = pydantic.Field() + """ + If set to true, this client is allowed to create anonymous sessions. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_branding_theme_response_content.py b/src/auth0/management/types/update_branding_theme_response_content.py index cf88952f..ab374b3b 100644 --- a/src/auth0/management/types/update_branding_theme_response_content.py +++ b/src/auth0/management/types/update_branding_theme_response_content.py @@ -9,6 +9,7 @@ from .branding_theme_borders import BrandingThemeBorders from .branding_theme_colors import BrandingThemeColors from .branding_theme_fonts import BrandingThemeFonts +from .branding_theme_identifiers import BrandingThemeIdentifiers from .branding_theme_page_background import BrandingThemePageBackground from .branding_theme_widget import BrandingThemeWidget @@ -19,11 +20,20 @@ class UpdateBrandingThemeResponseContent(UniversalBaseModel): display_name: typing_extensions.Annotated[ str, FieldMetadata(alias="displayName"), pydantic.Field(alias="displayName", description="Display Name") ] + """ + Display Name + """ + fonts: BrandingThemeFonts + identifiers: typing.Optional[BrandingThemeIdentifiers] = None page_background: BrandingThemePageBackground theme_id: typing_extensions.Annotated[ str, FieldMetadata(alias="themeId"), pydantic.Field(alias="themeId", description="Theme Id") ] + """ + Theme Id + """ + widget: BrandingThemeWidget if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/update_brute_force_settings_response_content.py b/src/auth0/management/types/update_brute_force_settings_response_content.py index 72e054e1..e01750f1 100644 --- a/src/auth0/management/types/update_brute_force_settings_response_content.py +++ b/src/auth0/management/types/update_brute_force_settings_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .brute_force_protection_form_submission_mode_enum import BruteForceProtectionFormSubmissionModeEnum from .brute_force_protection_mode_enum import BruteForceProtectionModeEnum from .brute_force_protection_shields_enum import BruteForceProtectionShieldsEnum @@ -26,6 +27,7 @@ class UpdateBruteForceSettingsResponseContent(UniversalBaseModel): """ mode: typing.Optional[BruteForceProtectionModeEnum] = None + form_submission_mode: typing.Optional[BruteForceProtectionFormSubmissionModeEnum] = None max_attempts: typing.Optional[int] = pydantic.Field(default=None) """ Maximum number of unsuccessful attempts. diff --git a/src/auth0/management/types/update_client_response_content.py b/src/auth0/management/types/update_client_response_content.py index 6f07b844..c46c67d5 100644 --- a/src/auth0/management/types/update_client_response_content.py +++ b/src/auth0/management/types/update_client_response_content.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +import datetime as dt import typing import pydantic import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from ..core.serialization import FieldMetadata +from .anonymous_sessions import AnonymousSessions +from .b_2_b_integration_configuration import B2BIntegrationConfiguration from .client_addons import ClientAddons +from .client_anonymous_session_transfer_network_binding_enum import ClientAnonymousSessionTransferNetworkBindingEnum from .client_app_type_enum import ClientAppTypeEnum from .client_async_approval_notifications_channels_api_post_configuration import ( ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, @@ -16,12 +20,14 @@ from .client_default_organization import ClientDefaultOrganization from .client_encryption_key import ClientEncryptionKey from .client_external_metadata_created_by_enum import ClientExternalMetadataCreatedByEnum +from .client_external_metadata_status_enum import ClientExternalMetadataStatusEnum from .client_external_metadata_type_enum import ClientExternalMetadataTypeEnum from .client_jwt_configuration import ClientJwtConfiguration from .client_metadata import ClientMetadata from .client_mobile import ClientMobile from .client_my_organization_response_configuration import ClientMyOrganizationResponseConfiguration from .client_oidc_backchannel_logout_settings import ClientOidcBackchannelLogoutSettings +from .client_oidc_support import ClientOidcSupport from .client_organization_discovery_enum import ClientOrganizationDiscoveryEnum from .client_organization_require_behavior_enum import ClientOrganizationRequireBehaviorEnum from .client_organization_usage_enum import ClientOrganizationUsageEnum @@ -36,6 +42,8 @@ from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId from .express_configuration import ExpressConfiguration from .fed_cm_login import FedCmLogin +from .google_account_linking_configuration import GoogleAccountLinkingConfiguration +from .identity_assertion_authorization_grant import IdentityAssertionAuthorizationGrant from .native_social_login import NativeSocialLogin from .token_quota import TokenQuota @@ -46,6 +54,16 @@ class UpdateClientResponseContent(UniversalBaseModel): ID of this client. """ + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The ISO 8601 timestamp of when this client was last updated. + """ + tenant: typing.Optional[str] = pydantic.Field(default=None) """ Name of the tenant this client belongs to. @@ -69,6 +87,10 @@ class UpdateClientResponseContent(UniversalBaseModel): description="Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).", ), ] = None + """ + Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). + """ + client_secret: typing.Optional[str] = pydantic.Field(default=None) """ Client secret (which you must not make public). @@ -226,8 +248,20 @@ class UpdateClientResponseContent(UniversalBaseModel): token_quota: typing.Optional[TokenQuota] = None express_configuration: typing.Optional[ExpressConfiguration] = None + b_2_b_integration_configuration: typing_extensions.Annotated[ + typing.Optional[B2BIntegrationConfiguration], + FieldMetadata(alias="b2b_integration_configuration"), + pydantic.Field(alias="b2b_integration_configuration"), + ] = None my_organization_configuration: typing.Optional[ClientMyOrganizationResponseConfiguration] = None + google_account_linking: typing.Optional[GoogleAccountLinkingConfiguration] = None + identity_assertion_authorization_grant: typing.Optional[IdentityAssertionAuthorizationGrant] = None + anonymous_sessions: typing.Optional[AnonymousSessions] = None + enforce_anon_session_transfer_network_binding: typing.Optional[ClientAnonymousSessionTransferNetworkBindingEnum] = ( + None + ) third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = None + oidc_support: typing.Optional[ClientOidcSupport] = None redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = None resource_server_identifier: typing.Optional[str] = pydantic.Field(default=None) """ @@ -239,6 +273,12 @@ class UpdateClientResponseContent(UniversalBaseModel): ] = None external_metadata_type: typing.Optional[ClientExternalMetadataTypeEnum] = None external_metadata_created_by: typing.Optional[ClientExternalMetadataCreatedByEnum] = None + external_metadata_status: typing.Optional[ClientExternalMetadataStatusEnum] = None + agent_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the agent associated with this client. + """ + external_client_id: typing.Optional[str] = pydantic.Field(default=None) """ An alternate client identifier to be used during authorization flows. Only supports CIMD-based client identifiers. diff --git a/src/auth0/management/types/update_connection_options.py b/src/auth0/management/types/update_connection_options.py index 0e8d0312..78eb1fba 100644 --- a/src/auth0/management/types/update_connection_options.py +++ b/src/auth0/management/types/update_connection_options.py @@ -11,11 +11,12 @@ from .connection_authentication_methods import ConnectionAuthenticationMethods from .connection_custom_scripts import ConnectionCustomScripts from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum -from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens +from .connection_enable_pushed_authorization_requests import ConnectionEnablePushedAuthorizationRequests from .connection_gateway_authentication import ConnectionGatewayAuthentication from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs from .connection_identifier_precedence_enum import ConnectionIdentifierPrecedenceEnum +from .connection_otp_settings import ConnectionOtpSettings from .connection_passkey_options import ConnectionPasskeyOptions from .connection_password_complexity_options import ConnectionPasswordComplexityOptions from .connection_password_dictionary_options import ConnectionPasswordDictionaryOptions @@ -23,12 +24,18 @@ from .connection_password_no_personal_info_options import ConnectionPasswordNoPersonalInfoOptions from .connection_password_options import ConnectionPasswordOptions from .connection_password_policy_enum import ConnectionPasswordPolicyEnum +from .connection_pushed_authorization_request_endpoint import ConnectionPushedAuthorizationRequestEndpoint from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_thumbprints import ConnectionThumbprints +from .connection_thumbprints_sha_384 import ConnectionThumbprintsSha384 from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum from .connection_token_endpoint_auth_signing_alg_enum import ConnectionTokenEndpointAuthSigningAlgEnum from .connection_token_endpoint_jwtca_aud_format_enum_oidc import ConnectionTokenEndpointJwtcaAudFormatEnumOidc from .connection_upstream_params import ConnectionUpstreamParams +from .connection_use_oauth_spec_scope import ConnectionUseOauthSpecScope from .connection_validation_options import ConnectionValidationOptions +from .connections_discovery_url import ConnectionsDiscoveryUrl +from .connections_oidc_metadata import ConnectionsOidcMetadata class UpdateConnectionOptions(UniversalBaseModel): @@ -58,6 +65,10 @@ class UpdateConnectionOptions(UniversalBaseModel): FieldMetadata(alias="enabledDatabaseCustomization"), pydantic.Field(alias="enabledDatabaseCustomization", description="Set to true to use a legacy user store"), ] = None + """ + Set to true to use a legacy user store + """ + import_mode: typing.Optional[bool] = pydantic.Field(default=None) """ Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store @@ -73,6 +84,7 @@ class UpdateConnectionOptions(UniversalBaseModel): FieldMetadata(alias="customScripts"), pydantic.Field(alias="customScripts"), ] = None + otp_settings: typing.Optional[ConnectionOtpSettings] = None authentication_methods: typing.Optional[ConnectionAuthenticationMethods] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ @@ -97,15 +109,39 @@ class UpdateConnectionOptions(UniversalBaseModel): upstream_params: typing.Optional[ConnectionUpstreamParams] = None set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None gateway_authentication: typing.Optional[ConnectionGatewayAuthentication] = None - federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None password_options: typing.Optional[ConnectionPasswordOptions] = None assertion_decryption_settings: typing.Optional[ConnectionAssertionDecryptionSettings] = None id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None dpop_signing_alg: typing.Optional[ConnectionDpopSigningAlgEnum] = None + enable_pushed_authorization_requests: typing.Optional[ConnectionEnablePushedAuthorizationRequests] = None + pushed_authorization_request_endpoint: typing.Optional[ConnectionPushedAuthorizationRequestEndpoint] = None token_endpoint_auth_method: typing.Optional[ConnectionTokenEndpointAuthMethodEnum] = None token_endpoint_auth_signing_alg: typing.Optional[ConnectionTokenEndpointAuthSigningAlgEnum] = None token_endpoint_jwtca_aud_format: typing.Optional[ConnectionTokenEndpointJwtcaAudFormatEnumOidc] = None id_token_session_expiry_supported: typing.Optional[ConnectionIdTokenSessionExpirySupported] = None + use_oauth_spec_scope: typing_extensions.Annotated[ + typing.Optional[ConnectionUseOauthSpecScope], + FieldMetadata(alias="useOauthSpecScope"), + pydantic.Field(alias="useOauthSpecScope"), + ] = None + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID registered with the identity provider + """ + + allowed_audiences: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Additional Google client IDs accepted as the `aud` (audience) of Google ID tokens, used by Google native login and Google Streamlined Linking. + """ + + discovery_url: typing.Optional[ConnectionsDiscoveryUrl] = None + oidc_metadata: typing.Optional[ConnectionsOidcMetadata] = None + thumbprints: typing.Optional[ConnectionThumbprints] = None + thumbprints_sha_384: typing_extensions.Annotated[ + typing.Optional[ConnectionThumbprintsSha384], + FieldMetadata(alias="thumbprints_sha384"), + pydantic.Field(alias="thumbprints_sha384"), + ] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_profile_response_content.py b/src/auth0/management/types/update_connection_profile_response_content.py index 4d9a6049..474f9736 100644 --- a/src/auth0/management/types/update_connection_profile_response_content.py +++ b/src/auth0/management/types/update_connection_profile_response_content.py @@ -6,10 +6,12 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .connection_name_prefix_template import ConnectionNamePrefixTemplate from .connection_profile_config import ConnectionProfileConfig +from .connection_profile_cross_app_access_resource_app import ConnectionProfileCrossAppAccessResourceApp from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures from .connection_profile_id import ConnectionProfileId from .connection_profile_name import ConnectionProfileName from .connection_profile_organization import ConnectionProfileOrganization +from .connection_profile_provisioning import ConnectionProfileProvisioning from .connection_profile_strategy_overrides import ConnectionProfileStrategyOverrides @@ -21,6 +23,8 @@ class UpdateConnectionProfileResponseContent(UniversalBaseModel): enabled_features: typing.Optional[ConnectionProfileEnabledFeatures] = None connection_config: typing.Optional[ConnectionProfileConfig] = None strategy_overrides: typing.Optional[ConnectionProfileStrategyOverrides] = None + provisioning: typing.Optional[ConnectionProfileProvisioning] = None + cross_app_access_resource_app: typing.Optional[ConnectionProfileCrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_request_content_oidc.py b/src/auth0/management/types/update_connection_request_content_oidc.py index a7be509b..79658211 100644 --- a/src/auth0/management/types/update_connection_request_content_oidc.py +++ b/src/auth0/management/types/update_connection_request_content_oidc.py @@ -7,6 +7,7 @@ from .connection_authentication_purpose import ConnectionAuthenticationPurpose from .connection_common import ConnectionCommon from .connection_connected_accounts_purpose_xaa import ConnectionConnectedAccountsPurposeXaa +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_oidc import ConnectionOptionsOidc from .connection_show_as_button import ConnectionShowAsButton from .cross_app_access_requesting_app import CrossAppAccessRequestingApp @@ -21,6 +22,7 @@ class UpdateConnectionRequestContentOidc(ConnectionCommon): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/update_connection_request_content_saml.py b/src/auth0/management/types/update_connection_request_content_saml.py index a3f40484..8718562c 100644 --- a/src/auth0/management/types/update_connection_request_content_saml.py +++ b/src/auth0/management/types/update_connection_request_content_saml.py @@ -5,8 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_common import ConnectionCommon +from .connection_cross_app_access_resource_app import ConnectionCrossAppAccessResourceApp from .connection_options_saml import ConnectionOptionsSaml from .connection_show_as_button import ConnectionShowAsButton +from .cross_app_access_requesting_app import CrossAppAccessRequestingApp class UpdateConnectionRequestContentSaml(ConnectionCommon): @@ -15,6 +17,8 @@ class UpdateConnectionRequestContentSaml(ConnectionCommon): """ options: typing.Optional[ConnectionOptionsSaml] = None + cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[ConnectionCrossAppAccessResourceApp] = None show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/update_connection_response_content.py b/src/auth0/management/types/update_connection_response_content.py index a163d743..34adc274 100644 --- a/src/auth0/management/types/update_connection_response_content.py +++ b/src/auth0/management/types/update_connection_response_content.py @@ -9,6 +9,7 @@ from .connection_options import ConnectionOptions from .connections_metadata import ConnectionsMetadata from .cross_app_access_requesting_app import CrossAppAccessRequestingApp +from .cross_app_access_resource_app import CrossAppAccessResourceApp class UpdateConnectionResponseContent(UniversalBaseModel): @@ -57,6 +58,7 @@ class UpdateConnectionResponseContent(UniversalBaseModel): authentication: typing.Optional[ConnectionAuthenticationPurpose] = None connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None + cross_app_access_resource_app: typing.Optional[CrossAppAccessResourceApp] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_cross_app_access_resource_app.py b/src/auth0/management/types/update_cross_app_access_resource_app.py new file mode 100644 index 00000000..6613bb85 --- /dev/null +++ b/src/auth0/management/types/update_cross_app_access_resource_app.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .cross_app_access_resource_app_status_enum import CrossAppAccessResourceAppStatusEnum + + +class UpdateCrossAppAccessResourceApp(UniversalBaseModel): + """ + Cross App Access - Resource App settings that apply to this connection. + """ + + status: CrossAppAccessResourceAppStatusEnum + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_email_template_response_content.py b/src/auth0/management/types/update_email_template_response_content.py index 3eb310fe..a2ab19b1 100644 --- a/src/auth0/management/types/update_email_template_response_content.py +++ b/src/auth0/management/types/update_email_template_response_content.py @@ -21,11 +21,19 @@ class UpdateEmailTemplateResponseContent(UniversalBaseModel): FieldMetadata(alias="from"), pydantic.Field(alias="from", description="Senders `from` email address."), ] = None + """ + Senders `from` email address. + """ + result_url: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="resultUrl"), pydantic.Field(alias="resultUrl", description="URL to redirect the user to after a successful action."), ] = None + """ + URL to redirect the user to after a successful action. + """ + subject: typing.Optional[str] = pydantic.Field(default=None) """ Subject line of the email. @@ -44,6 +52,10 @@ class UpdateEmailTemplateResponseContent(UniversalBaseModel): description="Lifetime in seconds that the link within the email will be valid for.", ), ] = None + """ + Lifetime in seconds that the link within the email will be valid for. + """ + include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect"), @@ -52,6 +64,10 @@ class UpdateEmailTemplateResponseContent(UniversalBaseModel): description="Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.", ), ] = None + """ + Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. + """ + enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the template is enabled (true) or disabled (false). diff --git a/src/auth0/management/types/update_experiment_response_content.py b/src/auth0/management/types/update_experiment_response_content.py new file mode 100644 index 00000000..2f25ab9c --- /dev/null +++ b/src/auth0/management/types/update_experiment_response_content.py @@ -0,0 +1,58 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .allocation_item import AllocationItem +from .allocation_strategy_enum import AllocationStrategyEnum +from .default_config_enum import DefaultConfigEnum +from .experiment_status_enum import ExperimentStatusEnum + + +class UpdateExperimentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + feature_flag_id: str + feature_flag_name: typing.Optional[str] = None + authentication_flow: str + allocation_strategy: AllocationStrategyEnum + status: ExperimentStatusEnum + is_valid: bool = pydantic.Field() + """ + Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. + """ + + default_config: typing.Optional[DefaultConfigEnum] = None + feature_flag_snapshot: typing.Optional[typing.Dict[str, typing.Any]] = None + allocations: typing.List[AllocationItem] + editable_fields: typing.List[str] = pydantic.Field() + """ + Fields that may be mutated given the experiment's current status. Computed at response time; always current with the API's enforcement logic. + """ + + levels: typing.Optional[typing.List[int]] = pydantic.Field(default=None) + """ + Ramp experiment levels configuration. + """ + + current_level: typing.Optional[int] = pydantic.Field(default=None) + """ + Read-only. The active exposure percentage for the current ramp step. Null when no ramp schedule is active. + """ + + started_at: typing.Optional[dt.datetime] = None + ended_at: typing.Optional[dt.datetime] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_feature_flag_parameters.py b/src/auth0/management/types/update_feature_flag_parameters.py new file mode 100644 index 00000000..73c8d175 --- /dev/null +++ b/src/auth0/management/types/update_feature_flag_parameters.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .feature_flag_config_param import FeatureFlagConfigParam + +UpdateFeatureFlagParameters = typing.Dict[str, FeatureFlagConfigParam] +""" +Configuration parameters for this feature flag +""" diff --git a/src/auth0/management/types/update_feature_flag_response_content.py b/src/auth0/management/types/update_feature_flag_response_content.py new file mode 100644 index 00000000..de02e56a --- /dev/null +++ b/src/auth0/management/types/update_feature_flag_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .feature_flag_config_params import FeatureFlagConfigParams +from .feature_flag_status_enum import FeatureFlagStatusEnum +from .feature_flag_type_enum import FeatureFlagTypeEnum + + +class UpdateFeatureFlagResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: FeatureFlagTypeEnum + status: FeatureFlagStatusEnum + parameters: typing.Optional[FeatureFlagConfigParams] = None + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_hook_response_content.py b/src/auth0/management/types/update_hook_response_content.py index f37d8459..de74f600 100644 --- a/src/auth0/management/types/update_hook_response_content.py +++ b/src/auth0/management/types/update_hook_response_content.py @@ -15,6 +15,10 @@ class UpdateHookResponseContent(UniversalBaseModel): FieldMetadata(alias="triggerId"), pydantic.Field(alias="triggerId", description="Trigger ID"), ] = None + """ + Trigger ID + """ + id: typing.Optional[str] = pydantic.Field(default=None) """ ID of this hook. diff --git a/src/auth0/management/types/update_identity_assertion_authorization_grant.py b/src/auth0/management/types/update_identity_assertion_authorization_grant.py new file mode 100644 index 00000000..9c4a481b --- /dev/null +++ b/src/auth0/management/types/update_identity_assertion_authorization_grant.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class UpdateIdentityAssertionAuthorizationGrant(UniversalBaseModel): + """ + Configuration on the use of ID-JAGs for Cross App Access. + """ + + active: bool = pydantic.Field() + """ + If set to true, the client can exchange ID-JAGs for access tokens. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_organization_all_connection_response_content.py b/src/auth0/management/types/update_organization_all_connection_response_content.py index 165f0fdf..0012ea2c 100644 --- a/src/auth0/management/types/update_organization_all_connection_response_content.py +++ b/src/auth0/management/types/update_organization_all_connection_response_content.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_access_level_enum import OrganizationAccessLevelEnum from .organization_connection_information import OrganizationConnectionInformation +from .organization_member_access_level_enum import OrganizationMemberAccessLevelEnum class UpdateOrganizationAllConnectionResponseContent(UniversalBaseModel): @@ -30,6 +31,7 @@ class UpdateOrganizationAllConnectionResponseContent(UniversalBaseModel): """ organization_access_level: typing.Optional[OrganizationAccessLevelEnum] = None + organization_member_access_level: typing.Optional[OrganizationMemberAccessLevelEnum] = None is_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ Whether the connection is enabled for the organization. diff --git a/src/auth0/management/types/update_organization_client_response_content.py b/src/auth0/management/types/update_organization_client_response_content.py new file mode 100644 index 00000000..487a60f8 --- /dev/null +++ b/src/auth0/management/types/update_organization_client_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_client_metadata import OrganizationClientMetadata + + +class UpdateOrganizationClientResponseContent(UniversalBaseModel): + client_id: str = pydantic.Field() + """ + The identifier of the client associated with the organization. + """ + + use_for_member_access: bool = pydantic.Field() + """ + Whether this client is used for member access to the organization. + """ + + client: typing.Optional[OrganizationClientMetadata] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_organization_response_content.py b/src/auth0/management/types/update_organization_response_content.py index b6afdb2e..76f738ab 100644 --- a/src/auth0/management/types/update_organization_response_content.py +++ b/src/auth0/management/types/update_organization_response_content.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .organization_branding import OrganizationBranding +from .organization_client_association import OrganizationClientAssociation from .organization_metadata import OrganizationMetadata +from .organization_third_party_client_access_enum import OrganizationThirdPartyClientAccessEnum from .token_quota import TokenQuota @@ -28,6 +30,13 @@ class UpdateOrganizationResponseContent(UniversalBaseModel): branding: typing.Optional[OrganizationBranding] = None metadata: typing.Optional[OrganizationMetadata] = None token_quota: typing.Optional[TokenQuota] = None + third_party_client_access: typing.Optional[OrganizationThirdPartyClientAccessEnum] = None + is_app_entitlement_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether app entitlement is active for this organization. + """ + + client: typing.Optional[OrganizationClientAssociation] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_resource_server_response_content.py b/src/auth0/management/types/update_resource_server_response_content.py index ec7d3711..720e9da9 100644 --- a/src/auth0/management/types/update_resource_server_response_content.py +++ b/src/auth0/management/types/update_resource_server_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .resource_server_access_token import ResourceServerAccessToken +from .resource_server_agent_subject_claims_response_enum import ResourceServerAgentSubjectClaimsResponseEnum from .resource_server_authorization_policy import ResourceServerAuthorizationPolicy from .resource_server_consent_policy_enum import ResourceServerConsentPolicyEnum from .resource_server_proof_of_possession import ResourceServerProofOfPossession @@ -11,6 +13,7 @@ from .resource_server_subject_type_authorization import ResourceServerSubjectTypeAuthorization from .resource_server_token_dialect_response_enum import ResourceServerTokenDialectResponseEnum from .resource_server_token_encryption import ResourceServerTokenEncryption +from .resource_server_type_enum import ResourceServerTypeEnum from .signing_algorithm_enum import SigningAlgorithmEnum @@ -81,9 +84,20 @@ class UpdateResourceServerResponseContent(UniversalBaseModel): Whether authorization polices are enforced (true) or unenforced (false). """ + token_lifetime_for_anonymous_access_tokens: typing.Optional[int] = pydantic.Field(default=None) + """ + Expiration value (in seconds) for anonymous-session access tokens issued for this API. + """ + token_dialect: typing.Optional[ResourceServerTokenDialectResponseEnum] = None + access_token: typing.Optional[ResourceServerAccessToken] = None token_encryption: typing.Optional[ResourceServerTokenEncryption] = None consent_policy: typing.Optional[ResourceServerConsentPolicyEnum] = None + require_consent_non_repudiation: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, the resource server requires every consent approval to be digitally signed, so the approver cannot later deny a consent they granted. When false, consent decisions do not need a signature. Defaults to false. A configured value is still returned even after the related entitlement is disabled. + """ + authorization_details: typing.Optional[typing.List[typing.Any]] = None proof_of_possession: typing.Optional[ResourceServerProofOfPossession] = None subject_type_authorization: typing.Optional[ResourceServerSubjectTypeAuthorization] = None @@ -93,6 +107,9 @@ class UpdateResourceServerResponseContent(UniversalBaseModel): The client ID of the client that this resource server is linked to """ + agent_subject_claims: typing.Optional[ResourceServerAgentSubjectClaimsResponseEnum] = None + type: typing.Optional[ResourceServerTypeEnum] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/update_role_response_content.py b/src/auth0/management/types/update_role_response_content.py index 98e8b30c..eca3708e 100644 --- a/src/auth0/management/types/update_role_response_content.py +++ b/src/auth0/management/types/update_role_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_owner_id import RoleOwnerId +from .role_type_enum import RoleTypeEnum class UpdateRoleResponseContent(UniversalBaseModel): @@ -22,6 +24,9 @@ class UpdateRoleResponseContent(UniversalBaseModel): Description of this role. """ + type: typing.Optional[RoleTypeEnum] = None + owner_id: typing.Optional[RoleOwnerId] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/update_segment_response_content.py b/src/auth0/management/types/update_segment_response_content.py new file mode 100644 index 00000000..f498c118 --- /dev/null +++ b/src/auth0/management/types/update_segment_response_content.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .segment_rule import SegmentRule +from .segment_status_enum import SegmentStatusEnum +from .segment_type_enum import SegmentTypeEnum + + +class UpdateSegmentResponseContent(UniversalBaseModel): + id: str + name: str + description: typing.Optional[str] = None + type: SegmentTypeEnum + status: SegmentStatusEnum + rules: typing.List[SegmentRule] + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_session_response_content.py b/src/auth0/management/types/update_session_response_content.py index 5e160a67..11341250 100644 --- a/src/auth0/management/types/update_session_response_content.py +++ b/src/auth0/management/types/update_session_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .session_actor_metadata import SessionActorMetadata from .session_authentication_signals import SessionAuthenticationSignals from .session_client_metadata import SessionClientMetadata from .session_cookie_metadata import SessionCookieMetadata @@ -38,6 +39,7 @@ class UpdateSessionResponseContent(UniversalBaseModel): authentication: typing.Optional[SessionAuthenticationSignals] = None cookie: typing.Optional[SessionCookieMetadata] = None session_metadata: typing.Optional[SessionMetadata] = None + actor: typing.Optional[SessionActorMetadata] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_tenant_settings_response_content.py b/src/auth0/management/types/update_tenant_settings_response_content.py index c518cbec..fa5b3869 100644 --- a/src/auth0/management/types/update_tenant_settings_response_content.py +++ b/src/auth0/management/types/update_tenant_settings_response_content.py @@ -5,6 +5,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .default_token_quota import DefaultTokenQuota +from .resource_server_access_token import ResourceServerAccessToken from .session_cookie_schema import SessionCookieSchema from .supported_locales import SupportedLocales from .tenant_oidc_logout_settings import TenantOidcLogoutSettings @@ -110,6 +111,7 @@ class UpdateTenantSettingsResponseContent(UniversalBaseModel): Supported locales for the user interface. """ + access_token: typing.Optional[ResourceServerAccessToken] = None security_headers: typing.Optional[TenantSettingsNullableSecurityHeaders] = None session_cookie: typing.Optional[SessionCookieSchema] = None sessions: typing.Optional[TenantSettingsSessions] = None @@ -140,6 +142,11 @@ class UpdateTenantSettingsResponseContent(UniversalBaseModel): Supports iss parameter in authorization responses """ + dpop_strict_refresh_token_binding: typing.Optional[bool] = pydantic.Field(default=None) + """ + Enables strict DPoP refresh token binding per RFC 9449: all refresh tokens issued to public clients that present a DPoP proof are bound to the sender's key, and the binding is validated on every subsequent exchange. When disabled, DPoP refresh token binding may still apply for specific audiences for backwards compatibility. + """ + skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None) """ Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`). @@ -153,6 +160,11 @@ class UpdateTenantSettingsResponseContent(UniversalBaseModel): Whether the authorization server supports retrieving client metadata from a client_id URL. """ + client_id_metadata_document_dynamic_registration_supported: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. + """ + phone_consolidated_experience: typing.Optional[bool] = pydantic.Field(default=None) """ Whether Phone Consolidated Experience is enabled for this tenant. diff --git a/src/auth0/management/types/update_variation_overrides_map.py b/src/auth0/management/types/update_variation_overrides_map.py new file mode 100644 index 00000000..0e202ae3 --- /dev/null +++ b/src/auth0/management/types/update_variation_overrides_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateVariationOverridesMap = typing.Optional[typing.Dict[str, typing.Any]] +""" +Top-level keys merge into the stored overrides. Set a key to `null` to remove it. Set `overrides` to `null` or `{}` to clear all. Keys must exist in the parent flag parameters. +""" diff --git a/src/auth0/management/types/update_variation_response_content.py b/src/auth0/management/types/update_variation_response_content.py new file mode 100644 index 00000000..08e9cb40 --- /dev/null +++ b/src/auth0/management/types/update_variation_response_content.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .variation_overrides_map import VariationOverridesMap + + +class UpdateVariationResponseContent(UniversalBaseModel): + id: str + feature_flag_id: str + name: str + description: typing.Optional[str] = None + overrides: VariationOverridesMap + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py b/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py index 406cc043..34604117 100644 --- a/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py +++ b/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py @@ -32,6 +32,10 @@ class UserAttributeProfileUserAttributeAdditionalProperties(UniversalBaseModel): FieldMetadata(alias="auth0_mapping"), pydantic.Field(alias="auth0_mapping", description="Auth0 mapping for this attribute"), ] + """ + Auth0 mapping for this attribute + """ + oidc_mapping: typing.Optional[UserAttributeProfileOidcMapping] = None saml_mapping: typing.Optional[UserAttributeProfileSamlMapping] = pydantic.Field(default=None) """ diff --git a/src/auth0/management/types/user_effective_permission_role_source_response_content.py b/src/auth0/management/types/user_effective_permission_role_source_response_content.py index a24adfb3..e174f7f9 100644 --- a/src/auth0/management/types/user_effective_permission_role_source_response_content.py +++ b/src/auth0/management/types/user_effective_permission_role_source_response_content.py @@ -4,6 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .role_owner_id import RoleOwnerId +from .role_type_enum import RoleTypeEnum from .user_effective_permission_role_source_enum import UserEffectivePermissionRoleSourceEnum @@ -23,6 +25,8 @@ class UserEffectivePermissionRoleSourceResponseContent(UniversalBaseModel): Description of this role. """ + type: typing.Optional[RoleTypeEnum] = None + owner_id: typing.Optional[RoleOwnerId] = None sources: typing.Optional[typing.List[UserEffectivePermissionRoleSourceEnum]] = pydantic.Field(default=None) """ List of sources where this role is coming from. diff --git a/src/auth0/management/types/user_grant.py b/src/auth0/management/types/user_grant.py index 4fcd2a8c..4e59eb2b 100644 --- a/src/auth0/management/types/user_grant.py +++ b/src/auth0/management/types/user_grant.py @@ -19,6 +19,10 @@ class UserGrant(UniversalBaseModel): FieldMetadata(alias="clientID"), pydantic.Field(alias="clientID", description="ID of the client."), ] = None + """ + ID of the client. + """ + user_id: typing.Optional[str] = pydantic.Field(default=None) """ ID of the user. @@ -34,6 +38,11 @@ class UserGrant(UniversalBaseModel): Scopes included in this grant. """ + organization_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the organization associated with the grant. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/user_identity.py b/src/auth0/management/types/user_identity.py index ede36982..8f900f9b 100644 --- a/src/auth0/management/types/user_identity.py +++ b/src/auth0/management/types/user_identity.py @@ -36,6 +36,10 @@ class UserIdentity(UniversalBaseModel): alias="isSocial", description="Whether the identity provider is a social provider (true) or not (false)." ), ] = None + """ + Whether the identity provider is a social provider (true) or not (false). + """ + access_token: typing.Optional[str] = pydantic.Field(default=None) """ IDP access token returned if scope `read:user_idp_tokens` is defined. diff --git a/src/auth0/management/types/user_identity_schema.py b/src/auth0/management/types/user_identity_schema.py index 5a833758..a7f287d9 100644 --- a/src/auth0/management/types/user_identity_schema.py +++ b/src/auth0/management/types/user_identity_schema.py @@ -26,6 +26,10 @@ class UserIdentitySchema(UniversalBaseModel): alias="isSocial", description="Whether this identity is from a social provider (true) or not (false)." ), ] = None + """ + Whether this identity is from a social provider (true) or not (false). + """ + access_token: typing.Optional[str] = pydantic.Field(default=None) """ IDP access token returned only if scope read:user_idp_tokens is defined. diff --git a/src/auth0/management/types/username_attribute.py b/src/auth0/management/types/username_attribute.py index 44711459..ded4e685 100644 --- a/src/auth0/management/types/username_attribute.py +++ b/src/auth0/management/types/username_attribute.py @@ -4,8 +4,8 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .connection_attribute_identifier import ConnectionAttributeIdentifier from .signup_schema import SignupSchema +from .username_attribute_identifier import UsernameAttributeIdentifier from .username_validation import UsernameValidation @@ -14,7 +14,7 @@ class UsernameAttribute(UniversalBaseModel): Configuration for the username attribute for users. """ - identifier: typing.Optional[ConnectionAttributeIdentifier] = None + identifier: typing.Optional[UsernameAttributeIdentifier] = None profile_required: typing.Optional[bool] = pydantic.Field(default=None) """ Determines if property should be required for users diff --git a/src/auth0/management/types/connection_federated_connections_access_tokens.py b/src/auth0/management/types/username_attribute_identifier.py similarity index 72% rename from src/auth0/management/types/connection_federated_connections_access_tokens.py rename to src/auth0/management/types/username_attribute_identifier.py index 9b86d19b..3d5cd053 100644 --- a/src/auth0/management/types/connection_federated_connections_access_tokens.py +++ b/src/auth0/management/types/username_attribute_identifier.py @@ -6,14 +6,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -class ConnectionFederatedConnectionsAccessTokens(UniversalBaseModel): - """ - Federated Connections Access Tokens - """ - +class UsernameAttributeIdentifier(UniversalBaseModel): active: typing.Optional[bool] = pydantic.Field(default=None) """ - Enables refresh tokens and access tokens collection for federated connections + Determines if the attribute is used for identification """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/validate_experiment_response_content.py b/src/auth0/management/types/validate_experiment_response_content.py new file mode 100644 index 00000000..a2ded55c --- /dev/null +++ b/src/auth0/management/types/validate_experiment_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .experiment_validation_error import ExperimentValidationError + + +class ValidateExperimentResponseContent(UniversalBaseModel): + is_valid: bool = pydantic.Field() + """ + Whether the experiment is ready to be activated. + """ + + errors: typing.List[ExperimentValidationError] = pydantic.Field() + """ + List of validation errors preventing activation. Empty when is_valid is true. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/variation.py b/src/auth0/management/types/variation.py new file mode 100644 index 00000000..1899441d --- /dev/null +++ b/src/auth0/management/types/variation.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .variation_overrides_map import VariationOverridesMap + + +class Variation(UniversalBaseModel): + id: str + feature_flag_id: str + name: str + description: typing.Optional[str] = None + overrides: VariationOverridesMap + created_at: dt.datetime + updated_at: dt.datetime + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/variation_overrides_map.py b/src/auth0/management/types/variation_overrides_map.py new file mode 100644 index 00000000..07816f49 --- /dev/null +++ b/src/auth0/management/types/variation_overrides_map.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +VariationOverridesMap = typing.Dict[str, typing.Any] +""" +Configuration overrides for this variation +""" diff --git a/src/auth0/management/user_attribute_profiles/raw_client.py b/src/auth0/management/user_attribute_profiles/raw_client.py index ac1292e7..043ad367 100644 --- a/src/auth0/management/user_attribute_profiles/raw_client.py +++ b/src/auth0/management/user_attribute_profiles/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -361,7 +361,7 @@ def get_template( User Attribute Profile Template successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/templates/{encode_path_param(id)}", + f"user-attribute-profiles/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -448,7 +448,7 @@ def get( Record for existing user attribute profile. """ _response = self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -532,7 +532,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -613,12 +613,12 @@ def update( User attribute profile successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, "user_id": convert_and_respect_annotation_metadata( - object_=user_id, annotation=UserAttributeProfilePatchUserId, direction="write" + object_=user_id, annotation=typing.Optional[UserAttributeProfilePatchUserId], direction="write" ), "user_attributes": convert_and_respect_annotation_metadata( object_=user_attributes, annotation=UserAttributeProfileUserAttributes, direction="write" @@ -1030,7 +1030,7 @@ async def get_template( User Attribute Profile Template successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/templates/{encode_path_param(id)}", + f"user-attribute-profiles/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1117,7 +1117,7 @@ async def get( Record for existing user attribute profile. """ _response = await self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -1203,7 +1203,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1284,12 +1284,12 @@ async def update( User attribute profile successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"user-attribute-profiles/{encode_path_param(id)}", + f"user-attribute-profiles/{quote_path_param(id)}", method="PATCH", json={ "name": name, "user_id": convert_and_respect_annotation_metadata( - object_=user_id, annotation=UserAttributeProfilePatchUserId, direction="write" + object_=user_id, annotation=typing.Optional[UserAttributeProfilePatchUserId], direction="write" ), "user_attributes": convert_and_respect_annotation_metadata( object_=user_attributes, annotation=UserAttributeProfileUserAttributes, direction="write" diff --git a/src/auth0/management/user_blocks/client.py b/src/auth0/management/user_blocks/client.py index 8c336b8e..26546e9a 100644 --- a/src/auth0/management/user_blocks/client.py +++ b/src/auth0/management/user_blocks/client.py @@ -41,8 +41,8 @@ def list_by_identifier( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -121,8 +121,8 @@ def list( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -215,8 +215,8 @@ async def list_by_identifier( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -313,8 +313,8 @@ async def list( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] diff --git a/src/auth0/management/user_blocks/raw_client.py b/src/auth0/management/user_blocks/raw_client.py index 4d2cb80f..1090aee8 100644 --- a/src/auth0/management/user_blocks/raw_client.py +++ b/src/auth0/management/user_blocks/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions @@ -41,8 +41,8 @@ def list_by_identifier( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -226,8 +226,8 @@ def list( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -239,7 +239,7 @@ def list( User block successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"user-blocks/{encode_path_param(id)}", + f"user-blocks/{quote_path_param(id)}", method="GET", params={ "consider_brute_force_enablement": consider_brute_force_enablement, @@ -339,7 +339,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"user-blocks/{encode_path_param(id)}", + f"user-blocks/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -432,8 +432,8 @@ async def list_by_identifier( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -617,8 +617,8 @@ async def list( consider_brute_force_enablement : typing.Optional[bool] - If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses. - If true and Brute Force Protection is disabled, will return an empty list. + If true, returns only blocks that are currently enforced (e.g. subject to protection status, IP allowlist, etc.). + If false or omitted, returns all blocks regardless of enforcement state. request_options : typing.Optional[RequestOptions] @@ -630,7 +630,7 @@ async def list( User block successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"user-blocks/{encode_path_param(id)}", + f"user-blocks/{quote_path_param(id)}", method="GET", params={ "consider_brute_force_enablement": consider_brute_force_enablement, @@ -732,7 +732,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"user-blocks/{encode_path_param(id)}", + f"user-blocks/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/user_grants/raw_client.py b/src/auth0/management/user_grants/raw_client.py index 8c2d713f..90b9b3a9 100644 --- a/src/auth0/management/user_grants/raw_client.py +++ b/src/auth0/management/user_grants/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -90,7 +90,7 @@ def list( ), ) _items = _parsed_response.grants - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( per_page=per_page, page=page + 1, @@ -231,7 +231,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"grants/{encode_path_param(id)}", + f"grants/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -352,7 +352,7 @@ async def list( ), ) _items = _parsed_response.grants - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -498,7 +498,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"grants/{encode_path_param(id)}", + f"grants/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/users/__init__.py b/src/auth0/management/users/__init__.py index 4f606d21..9710bc8a 100644 --- a/src/auth0/management/users/__init__.py +++ b/src/auth0/management/users/__init__.py @@ -13,7 +13,6 @@ effective_permissions, effective_roles, enrollments, - federated_connections_tokensets, groups, identities, logs, @@ -32,7 +31,6 @@ "effective_permissions": ".effective_permissions", "effective_roles": ".effective_roles", "enrollments": ".enrollments", - "federated_connections_tokensets": ".federated_connections_tokensets", "groups": ".groups", "identities": ".identities", "logs": ".logs", @@ -74,7 +72,6 @@ def __dir__(): "effective_permissions", "effective_roles", "enrollments", - "federated_connections_tokensets", "groups", "identities", "logs", diff --git a/src/auth0/management/users/authentication_methods/raw_client.py b/src/auth0/management/users/authentication_methods/raw_client.py index 2987c56a..60e47973 100644 --- a/src/auth0/management/users/authentication_methods/raw_client.py +++ b/src/auth0/management/users/authentication_methods/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -77,7 +77,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="GET", params={ "page": page, @@ -96,7 +96,7 @@ def list( ), ) _items = _parsed_response.authenticators - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -253,7 +253,7 @@ def create( Authentication method created. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="POST", json={ "type": type, @@ -392,7 +392,7 @@ def set( All authentication methods successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="PUT", json=convert_and_respect_annotation_metadata( object_=request, annotation=SetUserAuthenticationMethodsRequestContent, direction="write" @@ -491,7 +491,7 @@ def delete_all(self, id: str, *, request_options: typing.Optional[RequestOptions HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="DELETE", request_options=request_options, ) @@ -572,7 +572,7 @@ def get( Authentication method retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="GET", request_options=request_options, ) @@ -672,7 +672,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="DELETE", request_options=request_options, ) @@ -778,7 +778,7 @@ def update( Authentication method updated. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="PATCH", json={ "name": name, @@ -906,7 +906,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="GET", params={ "page": page, @@ -925,7 +925,7 @@ async def list( ), ) _items = _parsed_response.authenticators - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1085,7 +1085,7 @@ async def create( Authentication method created. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="POST", json={ "type": type, @@ -1224,7 +1224,7 @@ async def set( All authentication methods successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="PUT", json=convert_and_respect_annotation_metadata( object_=request, annotation=SetUserAuthenticationMethodsRequestContent, direction="write" @@ -1325,7 +1325,7 @@ async def delete_all( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods", + f"users/{quote_path_param(id)}/authentication-methods", method="DELETE", request_options=request_options, ) @@ -1406,7 +1406,7 @@ async def get( Authentication method retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="GET", request_options=request_options, ) @@ -1506,7 +1506,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="DELETE", request_options=request_options, ) @@ -1612,7 +1612,7 @@ async def update( Authentication method updated. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authentication-methods/{encode_path_param(authentication_method_id)}", + f"users/{quote_path_param(id)}/authentication-methods/{quote_path_param(authentication_method_id)}", method="PATCH", json={ "name": name, diff --git a/src/auth0/management/users/authenticators/raw_client.py b/src/auth0/management/users/authenticators/raw_client.py index 67fa11ac..863b5427 100644 --- a/src/auth0/management/users/authenticators/raw_client.py +++ b/src/auth0/management/users/authenticators/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -38,7 +38,7 @@ def delete_all(self, id: str, *, request_options: typing.Optional[RequestOptions HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authenticators", + f"users/{quote_path_param(id)}/authenticators", method="DELETE", request_options=request_options, ) @@ -122,7 +122,7 @@ async def delete_all( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/authenticators", + f"users/{quote_path_param(id)}/authenticators", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/users/client.py b/src/auth0/management/users/client.py index c9d5259a..d87146b8 100644 --- a/src/auth0/management/users/client.py +++ b/src/auth0/management/users/client.py @@ -8,8 +8,10 @@ from ..core.pagination import AsyncPager, SyncPager from ..core.request_options import RequestOptions from ..types.app_metadata import AppMetadata +from ..types.consent_signing_key import ConsentSigningKey from ..types.create_user_response_content import CreateUserResponseContent from ..types.get_user_response_content import GetUserResponseContent +from ..types.list_user_consent_signing_keys_response_content import ListUserConsentSigningKeysResponseContent from ..types.list_users_offset_paginated_response_content import ListUsersOffsetPaginatedResponseContent from ..types.regenerate_users_recovery_code_response_content import RegenerateUsersRecoveryCodeResponseContent from ..types.search_engine_versions_enum import SearchEngineVersionsEnum @@ -25,10 +27,6 @@ from .effective_permissions.client import AsyncEffectivePermissionsClient, EffectivePermissionsClient from .effective_roles.client import AsyncEffectiveRolesClient, EffectiveRolesClient from .enrollments.client import AsyncEnrollmentsClient, EnrollmentsClient - from .federated_connections_tokensets.client import ( - AsyncFederatedConnectionsTokensetsClient, - FederatedConnectionsTokensetsClient, - ) from .groups.client import AsyncGroupsClient, GroupsClient from .identities.client import AsyncIdentitiesClient, IdentitiesClient from .logs.client import AsyncLogsClient, LogsClient @@ -53,7 +51,6 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._effective_permissions: typing.Optional[EffectivePermissionsClient] = None self._effective_roles: typing.Optional[EffectiveRolesClient] = None self._enrollments: typing.Optional[EnrollmentsClient] = None - self._federated_connections_tokensets: typing.Optional[FederatedConnectionsTokensetsClient] = None self._groups: typing.Optional[GroupsClient] = None self._identities: typing.Optional[IdentitiesClient] = None self._logs: typing.Optional[LogsClient] = None @@ -92,24 +89,22 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent]: """ - Retrieve details of users. It is possible to: + This endpoint retrieves details of users. It's best suited to interactive, best-effort search and lookups where slightly stale results are acceptable. With it, you can: - - Specify a search criteria for users + - Specify search criteria for users - Sort the users to be returned - Select the fields to be returned - Specify the number of users to retrieve per page and the page index + This endpoint is **not suited for use in critical paths**. It is eventually consistent and runs under a short (~2 second) query time limit, so results can be stale and heavy queries can return a 503. + - Do not use this endpoint for authentication, account linking, or logic inside login-flow Actions. Instead, [look users up directly by ID or email](https://auth0.com/docs/manage-users/user-search/get-users-by-id-or-email#management-api) to get their current state. + - Do not use this endpoint to keep an external system in sync with user data. Instead, subscribe to [Event Streams](https://auth0.com/docs/customize/events/sync-data-across-systems) to receive every change as it happens. + - Do not use this endpoint to enumerate or export your entire user base. Instead, run a [bulk user export](https://auth0.com/docs/manage-users/user-migration/bulk-user-exports) to retrieve the full set. - The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax) + Use the `q` query parameter to match users with [query string syntax](https://auth0.com/docs/manage-users/user-search/user-search-query-syntax). For full instructions and guidance, see [How to List and Search Users](https://auth0.com/docs/manage-users/user-search/list-and-search-users). - [Learn more about searching for users.](https://auth0.com/docs/users/search/v3) - - Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users. - - - - Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension. + For efficient queries, prefer indexed top-level fields and exact matches. Certain kinds of queries can be slow and may time out, such as filtering on freeform or multi-value fields (like user-defined attributes in `app_metadata` or `user_metadata`) or using leading wildcards. Parameters ---------- @@ -658,6 +653,112 @@ def update( ) return _response.data + def list_consent_signing_keys( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ListUserConsentSigningKeysResponseContent: + """ + Retrieve all consent signing keys registered for a user. Returns an empty `keys` array when the user has no keys registered. + + Parameters + ---------- + id : str + The ID of the user. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListUserConsentSigningKeysResponseContent + The user's consent signing keys were returned. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.users.list_consent_signing_keys( + id="id", + ) + """ + _response = self._raw_client.list_consent_signing_keys(id, request_options=request_options) + return _response.data + + def get_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ConsentSigningKey: + """ + Retrieve a single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not exist. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ConsentSigningKey + The consent signing key was returned. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.users.get_consent_signing_key( + id="id", + kid="kid", + ) + """ + _response = self._raw_client.get_consent_signing_key(id, kid, request_options=request_options) + return _response.data + + def delete_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> None: + """ + Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and returns 204 whether or not the key existed. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.users.delete_consent_signing_key( + id="id", + kid="kid", + ) + """ + _response = self._raw_client.delete_consent_signing_key(id, kid, request_options=request_options) + return _response.data + def regenerate_recovery_code( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RegenerateUsersRecoveryCodeResponseContent: @@ -784,16 +885,6 @@ def enrollments(self): self._enrollments = EnrollmentsClient(client_wrapper=self._client_wrapper) return self._enrollments - @property - def federated_connections_tokensets(self): - if self._federated_connections_tokensets is None: - from .federated_connections_tokensets.client import FederatedConnectionsTokensetsClient # noqa: E402 - - self._federated_connections_tokensets = FederatedConnectionsTokensetsClient( - client_wrapper=self._client_wrapper - ) - return self._federated_connections_tokensets - @property def groups(self): if self._groups is None: @@ -885,7 +976,6 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._effective_permissions: typing.Optional[AsyncEffectivePermissionsClient] = None self._effective_roles: typing.Optional[AsyncEffectiveRolesClient] = None self._enrollments: typing.Optional[AsyncEnrollmentsClient] = None - self._federated_connections_tokensets: typing.Optional[AsyncFederatedConnectionsTokensetsClient] = None self._groups: typing.Optional[AsyncGroupsClient] = None self._identities: typing.Optional[AsyncIdentitiesClient] = None self._logs: typing.Optional[AsyncLogsClient] = None @@ -924,24 +1014,22 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent]: """ - Retrieve details of users. It is possible to: + This endpoint retrieves details of users. It's best suited to interactive, best-effort search and lookups where slightly stale results are acceptable. With it, you can: - - Specify a search criteria for users + - Specify search criteria for users - Sort the users to be returned - Select the fields to be returned - Specify the number of users to retrieve per page and the page index + This endpoint is **not suited for use in critical paths**. It is eventually consistent and runs under a short (~2 second) query time limit, so results can be stale and heavy queries can return a 503. + - Do not use this endpoint for authentication, account linking, or logic inside login-flow Actions. Instead, [look users up directly by ID or email](https://auth0.com/docs/manage-users/user-search/get-users-by-id-or-email#management-api) to get their current state. + - Do not use this endpoint to keep an external system in sync with user data. Instead, subscribe to [Event Streams](https://auth0.com/docs/customize/events/sync-data-across-systems) to receive every change as it happens. + - Do not use this endpoint to enumerate or export your entire user base. Instead, run a [bulk user export](https://auth0.com/docs/manage-users/user-migration/bulk-user-exports) to retrieve the full set. - The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax) + Use the `q` query parameter to match users with [query string syntax](https://auth0.com/docs/manage-users/user-search/user-search-query-syntax). For full instructions and guidance, see [How to List and Search Users](https://auth0.com/docs/manage-users/user-search/list-and-search-users). - [Learn more about searching for users.](https://auth0.com/docs/users/search/v3) - - Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users. - - - - Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension. + For efficient queries, prefer indexed top-level fields and exact matches. Certain kinds of queries can be slow and may time out, such as filtering on freeform or multi-value fields (like user-defined attributes in `app_metadata` or `user_metadata`) or using leading wildcards. Parameters ---------- @@ -1539,6 +1627,136 @@ async def main() -> None: ) return _response.data + async def list_consent_signing_keys( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ListUserConsentSigningKeysResponseContent: + """ + Retrieve all consent signing keys registered for a user. Returns an empty `keys` array when the user has no keys registered. + + Parameters + ---------- + id : str + The ID of the user. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ListUserConsentSigningKeysResponseContent + The user's consent signing keys were returned. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.users.list_consent_signing_keys( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.list_consent_signing_keys(id, request_options=request_options) + return _response.data + + async def get_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> ConsentSigningKey: + """ + Retrieve a single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not exist. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ConsentSigningKey + The consent signing key was returned. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.users.get_consent_signing_key( + id="id", + kid="kid", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get_consent_signing_key(id, kid, request_options=request_options) + return _response.data + + async def delete_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> None: + """ + Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and returns 204 whether or not the key existed. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.users.delete_consent_signing_key( + id="id", + kid="kid", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete_consent_signing_key(id, kid, request_options=request_options) + return _response.data + async def regenerate_recovery_code( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RegenerateUsersRecoveryCodeResponseContent: @@ -1681,16 +1899,6 @@ def enrollments(self): self._enrollments = AsyncEnrollmentsClient(client_wrapper=self._client_wrapper) return self._enrollments - @property - def federated_connections_tokensets(self): - if self._federated_connections_tokensets is None: - from .federated_connections_tokensets.client import AsyncFederatedConnectionsTokensetsClient # noqa: E402 - - self._federated_connections_tokensets = AsyncFederatedConnectionsTokensetsClient( - client_wrapper=self._client_wrapper - ) - return self._federated_connections_tokensets - @property def groups(self): if self._groups is None: diff --git a/src/auth0/management/users/connected_accounts/raw_client.py b/src/auth0/management/users/connected_accounts/raw_client.py index d4710bf0..c18e7326 100644 --- a/src/auth0/management/users/connected_accounts/raw_client.py +++ b/src/auth0/management/users/connected_accounts/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -55,7 +55,7 @@ def list( Connected accounts successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/connected-accounts", + f"users/{quote_path_param(id)}/connected-accounts", method="GET", params={ "from": from_, @@ -182,7 +182,7 @@ async def list( Connected accounts successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/connected-accounts", + f"users/{quote_path_param(id)}/connected-accounts", method="GET", params={ "from": from_, diff --git a/src/auth0/management/users/effective_permissions/raw_client.py b/src/auth0/management/users/effective_permissions/raw_client.py index 3fcc8169..a29c1778 100644 --- a/src/auth0/management/users/effective_permissions/raw_client.py +++ b/src/auth0/management/users/effective_permissions/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -59,7 +59,7 @@ def list( User's effective permissions successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-permissions", + f"users/{quote_path_param(id)}/effective-permissions", method="GET", params={ "from": from_, @@ -192,7 +192,7 @@ async def list( User's effective permissions successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-permissions", + f"users/{quote_path_param(id)}/effective-permissions", method="GET", params={ "from": from_, diff --git a/src/auth0/management/users/effective_permissions/sources/roles/raw_client.py b/src/auth0/management/users/effective_permissions/sources/roles/raw_client.py index 542c18d0..4f5e425d 100644 --- a/src/auth0/management/users/effective_permissions/sources/roles/raw_client.py +++ b/src/auth0/management/users/effective_permissions/sources/roles/raw_client.py @@ -5,7 +5,7 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.jsonable_encoder import encode_path_param +from .....core.jsonable_encoder import quote_path_param from .....core.pagination import AsyncPager, SyncPager from .....core.parse_error import ParsingError from .....core.pydantic_utilities import parse_obj_as @@ -69,7 +69,7 @@ def list( User's effective permission role sources successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-permissions/sources/effective-roles", + f"users/{quote_path_param(id)}/effective-permissions/sources/effective-roles", method="GET", params={ "from": from_, @@ -210,7 +210,7 @@ async def list( User's effective permission role sources successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-permissions/sources/effective-roles", + f"users/{quote_path_param(id)}/effective-permissions/sources/effective-roles", method="GET", params={ "from": from_, diff --git a/src/auth0/management/users/effective_roles/raw_client.py b/src/auth0/management/users/effective_roles/raw_client.py index c3f6e378..75ddcd17 100644 --- a/src/auth0/management/users/effective_roles/raw_client.py +++ b/src/auth0/management/users/effective_roles/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -55,7 +55,7 @@ def list( User's effective roles successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-roles", + f"users/{quote_path_param(id)}/effective-roles", method="GET", params={ "from": from_, @@ -182,7 +182,7 @@ async def list( User's effective roles successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-roles", + f"users/{quote_path_param(id)}/effective-roles", method="GET", params={ "from": from_, diff --git a/src/auth0/management/users/effective_roles/sources/groups/raw_client.py b/src/auth0/management/users/effective_roles/sources/groups/raw_client.py index 2dd6c39a..724bc06f 100644 --- a/src/auth0/management/users/effective_roles/sources/groups/raw_client.py +++ b/src/auth0/management/users/effective_roles/sources/groups/raw_client.py @@ -5,7 +5,7 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.jsonable_encoder import encode_path_param +from .....core.jsonable_encoder import quote_path_param from .....core.pagination import AsyncPager, SyncPager from .....core.parse_error import ParsingError from .....core.pydantic_utilities import parse_obj_as @@ -59,7 +59,7 @@ def list( User's role source groups successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-roles/sources/groups", + f"users/{quote_path_param(id)}/effective-roles/sources/groups", method="GET", params={ "role_id": role_id, @@ -192,7 +192,7 @@ async def list( User's role source groups successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/effective-roles/sources/groups", + f"users/{quote_path_param(id)}/effective-roles/sources/groups", method="GET", params={ "role_id": role_id, diff --git a/src/auth0/management/users/enrollments/raw_client.py b/src/auth0/management/users/enrollments/raw_client.py index 59bac1e1..0ef303d3 100644 --- a/src/auth0/management/users/enrollments/raw_client.py +++ b/src/auth0/management/users/enrollments/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -43,7 +43,7 @@ def get( Enrollments successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/enrollments", + f"users/{quote_path_param(id)}/enrollments", method="GET", request_options=request_options, ) @@ -146,7 +146,7 @@ async def get( Enrollments successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/enrollments", + f"users/{quote_path_param(id)}/enrollments", method="GET", request_options=request_options, ) diff --git a/src/auth0/management/users/federated_connections_tokensets/client.py b/src/auth0/management/users/federated_connections_tokensets/client.py deleted file mode 100644 index 613347ef..00000000 --- a/src/auth0/management/users/federated_connections_tokensets/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.request_options import RequestOptions -from ...types.federated_connection_token_set import FederatedConnectionTokenSet -from .raw_client import AsyncRawFederatedConnectionsTokensetsClient, RawFederatedConnectionsTokensetsClient - - -class FederatedConnectionsTokensetsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFederatedConnectionsTokensetsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFederatedConnectionsTokensetsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFederatedConnectionsTokensetsClient - """ - return self._raw_client - - def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[FederatedConnectionTokenSet]: - """ - List active federated connections tokensets for a provided user - - Parameters - ---------- - id : str - User identifier - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[FederatedConnectionTokenSet] - Flows successfully retrieved. - - Examples - -------- - from auth0 import Auth0 - - client = Auth0( - token="YOUR_TOKEN", - ) - client.users.federated_connections_tokensets.list( - id="id", - ) - """ - _response = self._raw_client.list(id, request_options=request_options) - return _response.data - - def delete(self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Parameters - ---------- - id : str - Id of the user that owns the tokenset - - tokenset_id : str - The tokenset id - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from auth0 import Auth0 - - client = Auth0( - token="YOUR_TOKEN", - ) - client.users.federated_connections_tokensets.delete( - id="id", - tokenset_id="tokenset_id", - ) - """ - _response = self._raw_client.delete(id, tokenset_id, request_options=request_options) - return _response.data - - -class AsyncFederatedConnectionsTokensetsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFederatedConnectionsTokensetsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFederatedConnectionsTokensetsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFederatedConnectionsTokensetsClient - """ - return self._raw_client - - async def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[FederatedConnectionTokenSet]: - """ - List active federated connections tokensets for a provided user - - Parameters - ---------- - id : str - User identifier - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[FederatedConnectionTokenSet] - Flows successfully retrieved. - - Examples - -------- - import asyncio - - from auth0 import AsyncAuth0 - - client = AsyncAuth0( - token="YOUR_TOKEN", - ) - - - async def main() -> None: - await client.users.federated_connections_tokensets.list( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(id, request_options=request_options) - return _response.data - - async def delete( - self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> None: - """ - Parameters - ---------- - id : str - Id of the user that owns the tokenset - - tokenset_id : str - The tokenset id - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from auth0 import AsyncAuth0 - - client = AsyncAuth0( - token="YOUR_TOKEN", - ) - - - async def main() -> None: - await client.users.federated_connections_tokensets.delete( - id="id", - tokenset_id="tokenset_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(id, tokenset_id, request_options=request_options) - return _response.data diff --git a/src/auth0/management/users/groups/client.py b/src/auth0/management/users/groups/client.py index 955256c8..dfd94c62 100644 --- a/src/auth0/management/users/groups/client.py +++ b/src/auth0/management/users/groups/client.py @@ -31,6 +31,7 @@ def get( *, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -49,6 +50,9 @@ def get( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -74,6 +78,7 @@ def get( id="id", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -84,7 +89,13 @@ def get( yield page """ return self._raw_client.get( - id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + id, + fields=fields, + include_fields=include_fields, + include_totals=include_totals, + from_=from_, + take=take, + request_options=request_options, ) @@ -109,6 +120,7 @@ async def get( *, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -127,6 +139,9 @@ async def get( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -157,6 +172,7 @@ async def main() -> None: id="id", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -171,5 +187,11 @@ async def main() -> None: asyncio.run(main()) """ return await self._raw_client.get( - id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + id, + fields=fields, + include_fields=include_fields, + include_totals=include_totals, + from_=from_, + take=take, + request_options=request_options, ) diff --git a/src/auth0/management/users/groups/raw_client.py b/src/auth0/management/users/groups/raw_client.py index 784f9a45..d25ca6af 100644 --- a/src/auth0/management/users/groups/raw_client.py +++ b/src/auth0/management/users/groups/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -30,6 +30,7 @@ def get( *, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -48,6 +49,9 @@ def get( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -63,11 +67,12 @@ def get( Groups successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/groups", + f"users/{quote_path_param(id)}/groups", method="GET", params={ "fields": fields, "include_fields": include_fields, + "include_totals": include_totals, "from": from_, "take": take, }, @@ -89,6 +94,7 @@ def get( id, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -169,6 +175,7 @@ async def get( *, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -187,6 +194,9 @@ async def get( include_fields : typing.Optional[bool] Whether specified fields are to be included (true) or excluded (false). + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). The returned total reflects at most 1,000 results. + from_ : typing.Optional[str] Optional Id from which to start selection. @@ -202,11 +212,12 @@ async def get( Groups successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/groups", + f"users/{quote_path_param(id)}/groups", method="GET", params={ "fields": fields, "include_fields": include_fields, + "include_totals": include_totals, "from": from_, "take": take, }, @@ -230,6 +241,7 @@ async def _get_next(): id, fields=fields, include_fields=include_fields, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, diff --git a/src/auth0/management/users/identities/raw_client.py b/src/auth0/management/users/identities/raw_client.py index 03478239..cffd36ee 100644 --- a/src/auth0/management/users/identities/raw_client.py +++ b/src/auth0/management/users/identities/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -97,7 +97,7 @@ def link( Identity successfully added. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/identities", + f"users/{quote_path_param(id)}/identities", method="POST", json={ "provider": provider, @@ -220,7 +220,7 @@ def delete( User identity successfully unlinked. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/identities/{encode_path_param(provider)}/{encode_path_param(user_id)}", + f"users/{quote_path_param(id)}/identities/{quote_path_param(provider)}/{quote_path_param(user_id)}", method="DELETE", request_options=request_options, ) @@ -359,7 +359,7 @@ async def link( Identity successfully added. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/identities", + f"users/{quote_path_param(id)}/identities", method="POST", json={ "provider": provider, @@ -482,7 +482,7 @@ async def delete( User identity successfully unlinked. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/identities/{encode_path_param(provider)}/{encode_path_param(user_id)}", + f"users/{quote_path_param(id)}/identities/{quote_path_param(provider)}/{quote_path_param(user_id)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/users/logs/raw_client.py b/src/auth0/management/users/logs/raw_client.py index 33f0a34c..78b5e9e0 100644 --- a/src/auth0/management/users/logs/raw_client.py +++ b/src/auth0/management/users/logs/raw_client.py @@ -5,7 +5,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -70,7 +70,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/logs", + f"users/{quote_path_param(id)}/logs", method="GET", params={ "page": page, @@ -90,7 +90,7 @@ def list( ), ) _items = _parsed_response.logs - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -205,7 +205,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/logs", + f"users/{quote_path_param(id)}/logs", method="GET", params={ "page": page, @@ -225,7 +225,7 @@ async def list( ), ) _items = _parsed_response.logs - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( diff --git a/src/auth0/management/users/multifactor/raw_client.py b/src/auth0/management/users/multifactor/raw_client.py index 3d983129..a4684d60 100644 --- a/src/auth0/management/users/multifactor/raw_client.py +++ b/src/auth0/management/users/multifactor/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -42,7 +42,7 @@ def invalidate_remember_browser( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/multifactor/actions/invalidate-remember-browser", + f"users/{quote_path_param(id)}/multifactor/actions/invalidate-remember-browser", method="POST", request_options=request_options, ) @@ -113,7 +113,7 @@ def delete_provider( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/multifactor/{encode_path_param(provider)}", + f"users/{quote_path_param(id)}/multifactor/{quote_path_param(provider)}", method="DELETE", request_options=request_options, ) @@ -208,7 +208,7 @@ async def invalidate_remember_browser( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/multifactor/actions/invalidate-remember-browser", + f"users/{quote_path_param(id)}/multifactor/actions/invalidate-remember-browser", method="POST", request_options=request_options, ) @@ -279,7 +279,7 @@ async def delete_provider( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/multifactor/{encode_path_param(provider)}", + f"users/{quote_path_param(id)}/multifactor/{quote_path_param(provider)}", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/users/organizations/client.py b/src/auth0/management/users/organizations/client.py index 4b0cf57e..e4cca7b1 100644 --- a/src/auth0/management/users/organizations/client.py +++ b/src/auth0/management/users/organizations/client.py @@ -39,6 +39,22 @@ def list( """ Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations). + This endpoint supports two types of pagination: + + - Offset pagination + - Checkpoint pagination + + Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + + **Checkpoint Pagination** + + To search by checkpoint, use the following parameters: + + - `from`: Optional id from which to start selection. + - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + + **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. + Parameters ---------- id : str @@ -112,6 +128,22 @@ async def list( """ Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations). + This endpoint supports two types of pagination: + + - Offset pagination + - Checkpoint pagination + + Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + + **Checkpoint Pagination** + + To search by checkpoint, use the following parameters: + + - `from`: Optional id from which to start selection. + - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + + **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. + Parameters ---------- id : str diff --git a/src/auth0/management/users/organizations/raw_client.py b/src/auth0/management/users/organizations/raw_client.py index 2dd5a178..dde71f55 100644 --- a/src/auth0/management/users/organizations/raw_client.py +++ b/src/auth0/management/users/organizations/raw_client.py @@ -5,11 +5,12 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions +from ...errors.bad_request_error import BadRequestError from ...errors.forbidden_error import ForbiddenError from ...errors.not_found_error import NotFoundError from ...errors.too_many_requests_error import TooManyRequestsError @@ -37,6 +38,22 @@ def list( """ Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations). + This endpoint supports two types of pagination: + + - Offset pagination + - Checkpoint pagination + + Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + + **Checkpoint Pagination** + + To search by checkpoint, use the following parameters: + + - `from`: Optional id from which to start selection. + - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + + **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. + Parameters ---------- id : str @@ -62,7 +79,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/organizations", + f"users/{quote_path_param(id)}/organizations", method="GET", params={ "page": page, @@ -81,7 +98,7 @@ def list( ), ) _items = _parsed_response.organizations - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, page=page + 1, @@ -90,6 +107,17 @@ def list( request_options=request_options, ) return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), @@ -160,6 +188,22 @@ async def list( """ Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations). + This endpoint supports two types of pagination: + + - Offset pagination + - Checkpoint pagination + + Checkpoint pagination must be used if you need to retrieve more than 1000 organizations. + + **Checkpoint Pagination** + + To search by checkpoint, use the following parameters: + + - `from`: Optional id from which to start selection. + - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50. + + **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining. + Parameters ---------- id : str @@ -185,7 +229,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/organizations", + f"users/{quote_path_param(id)}/organizations", method="GET", params={ "page": page, @@ -204,7 +248,7 @@ async def list( ), ) _items = _parsed_response.organizations - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -216,6 +260,17 @@ async def _get_next(): ) return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 401: raise UnauthorizedError( headers=dict(_response.headers), diff --git a/src/auth0/management/users/permissions/client.py b/src/auth0/management/users/permissions/client.py index f56c49d1..e6c70e56 100644 --- a/src/auth0/management/users/permissions/client.py +++ b/src/auth0/management/users/permissions/client.py @@ -43,6 +43,8 @@ def list( """ Retrieve all permissions associated with the user. + **Note**: Returns only permissions from direct assignments and directly assigned roles. For permissions a user has via group-based role assignments, use `GET /api/v2/users/{id}/effective-permissions`. + Parameters ---------- id : str @@ -206,6 +208,8 @@ async def list( """ Retrieve all permissions associated with the user. + **Note**: Returns only permissions from direct assignments and directly assigned roles. For permissions a user has via group-based role assignments, use `GET /api/v2/users/{id}/effective-permissions`. + Parameters ---------- id : str diff --git a/src/auth0/management/users/permissions/raw_client.py b/src/auth0/management/users/permissions/raw_client.py index 36c2f533..df0cbc0f 100644 --- a/src/auth0/management/users/permissions/raw_client.py +++ b/src/auth0/management/users/permissions/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -44,6 +44,8 @@ def list( """ Retrieve all permissions associated with the user. + **Note**: Returns only permissions from direct assignments and directly assigned roles. For permissions a user has via group-based role assignments, use `GET /api/v2/users/{id}/effective-permissions`. + Parameters ---------- id : str @@ -69,7 +71,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="GET", params={ "per_page": per_page, @@ -88,7 +90,7 @@ def list( ), ) _items = _parsed_response.permissions - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, per_page=per_page, @@ -187,7 +189,7 @@ def create( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="POST", json={ "permissions": convert_and_respect_annotation_metadata( @@ -293,7 +295,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="DELETE", json={ "permissions": convert_and_respect_annotation_metadata( @@ -390,6 +392,8 @@ async def list( """ Retrieve all permissions associated with the user. + **Note**: Returns only permissions from direct assignments and directly assigned roles. For permissions a user has via group-based role assignments, use `GET /api/v2/users/{id}/effective-permissions`. + Parameters ---------- id : str @@ -415,7 +419,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="GET", params={ "per_page": per_page, @@ -434,7 +438,7 @@ async def list( ), ) _items = _parsed_response.permissions - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -536,7 +540,7 @@ async def create( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="POST", json={ "permissions": convert_and_respect_annotation_metadata( @@ -642,7 +646,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/permissions", + f"users/{quote_path_param(id)}/permissions", method="DELETE", json={ "permissions": convert_and_respect_annotation_metadata( diff --git a/src/auth0/management/users/raw_client.py b/src/auth0/management/users/raw_client.py index 917d0338..23c34bf5 100644 --- a/src/auth0/management/users/raw_client.py +++ b/src/auth0/management/users/raw_client.py @@ -6,7 +6,7 @@ from ..core.api_error import ApiError from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse -from ..core.jsonable_encoder import encode_path_param +from ..core.jsonable_encoder import quote_path_param from ..core.pagination import AsyncPager, SyncPager from ..core.parse_error import ParsingError from ..core.pydantic_utilities import parse_obj_as @@ -19,8 +19,10 @@ from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError from ..types.app_metadata import AppMetadata +from ..types.consent_signing_key import ConsentSigningKey from ..types.create_user_response_content import CreateUserResponseContent from ..types.get_user_response_content import GetUserResponseContent +from ..types.list_user_consent_signing_keys_response_content import ListUserConsentSigningKeysResponseContent from ..types.list_users_offset_paginated_response_content import ListUsersOffsetPaginatedResponseContent from ..types.regenerate_users_recovery_code_response_content import RegenerateUsersRecoveryCodeResponseContent from ..types.search_engine_versions_enum import SearchEngineVersionsEnum @@ -53,24 +55,22 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> SyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent]: """ - Retrieve details of users. It is possible to: + This endpoint retrieves details of users. It's best suited to interactive, best-effort search and lookups where slightly stale results are acceptable. With it, you can: - - Specify a search criteria for users + - Specify search criteria for users - Sort the users to be returned - Select the fields to be returned - Specify the number of users to retrieve per page and the page index + This endpoint is **not suited for use in critical paths**. It is eventually consistent and runs under a short (~2 second) query time limit, so results can be stale and heavy queries can return a 503. + - Do not use this endpoint for authentication, account linking, or logic inside login-flow Actions. Instead, [look users up directly by ID or email](https://auth0.com/docs/manage-users/user-search/get-users-by-id-or-email#management-api) to get their current state. + - Do not use this endpoint to keep an external system in sync with user data. Instead, subscribe to [Event Streams](https://auth0.com/docs/customize/events/sync-data-across-systems) to receive every change as it happens. + - Do not use this endpoint to enumerate or export your entire user base. Instead, run a [bulk user export](https://auth0.com/docs/manage-users/user-migration/bulk-user-exports) to retrieve the full set. - The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax) + Use the `q` query parameter to match users with [query string syntax](https://auth0.com/docs/manage-users/user-search/user-search-query-syntax). For full instructions and guidance, see [How to List and Search Users](https://auth0.com/docs/manage-users/user-search/list-and-search-users). - [Learn more about searching for users.](https://auth0.com/docs/users/search/v3) - - Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users. - - - - Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension. + For efficient queries, prefer indexed top-level fields and exact matches. Certain kinds of queries can be slow and may time out, such as filtering on freeform or multi-value fields (like user-defined attributes in `app_metadata` or `user_metadata`) or using leading wildcards. Parameters ---------- @@ -141,7 +141,7 @@ def list( ), ) _items = _parsed_response.users - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( page=page + 1, per_page=per_page, @@ -546,7 +546,7 @@ def get( User successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -645,7 +645,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -890,7 +890,7 @@ def update( User successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="PATCH", json={ "blocked": blocked, @@ -992,6 +992,276 @@ def update( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def list_consent_signing_keys( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ListUserConsentSigningKeysResponseContent]: + """ + Retrieve all consent signing keys registered for a user. Returns an empty `keys` array when the user has no keys registered. + + Parameters + ---------- + id : str + The ID of the user. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ListUserConsentSigningKeysResponseContent] + The user's consent signing keys were returned. + """ + _response = self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListUserConsentSigningKeysResponseContent, + parse_obj_as( + type_=ListUserConsentSigningKeysResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[ConsentSigningKey]: + """ + Retrieve a single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not exist. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ConsentSigningKey] + The consent signing key was returned. + """ + _response = self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys/{quote_path_param(kid)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ConsentSigningKey, + parse_obj_as( + type_=ConsentSigningKey, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[None]: + """ + Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and returns 204 whether or not the key existed. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys/{quote_path_param(kid)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_recovery_code( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[RegenerateUsersRecoveryCodeResponseContent]: @@ -1012,7 +1282,7 @@ def regenerate_recovery_code( New recovery code successfully generated. """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/recovery-code-regeneration", + f"users/{quote_path_param(id)}/recovery-code-regeneration", method="POST", request_options=request_options, ) @@ -1109,7 +1379,7 @@ def revoke_access( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/revoke-access", + f"users/{quote_path_param(id)}/revoke-access", method="POST", json={ "session_id": session_id, @@ -1198,24 +1468,22 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent]: """ - Retrieve details of users. It is possible to: + This endpoint retrieves details of users. It's best suited to interactive, best-effort search and lookups where slightly stale results are acceptable. With it, you can: - - Specify a search criteria for users + - Specify search criteria for users - Sort the users to be returned - Select the fields to be returned - Specify the number of users to retrieve per page and the page index + This endpoint is **not suited for use in critical paths**. It is eventually consistent and runs under a short (~2 second) query time limit, so results can be stale and heavy queries can return a 503. + - Do not use this endpoint for authentication, account linking, or logic inside login-flow Actions. Instead, [look users up directly by ID or email](https://auth0.com/docs/manage-users/user-search/get-users-by-id-or-email#management-api) to get their current state. + - Do not use this endpoint to keep an external system in sync with user data. Instead, subscribe to [Event Streams](https://auth0.com/docs/customize/events/sync-data-across-systems) to receive every change as it happens. + - Do not use this endpoint to enumerate or export your entire user base. Instead, run a [bulk user export](https://auth0.com/docs/manage-users/user-migration/bulk-user-exports) to retrieve the full set. - The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax) + Use the `q` query parameter to match users with [query string syntax](https://auth0.com/docs/manage-users/user-search/user-search-query-syntax). For full instructions and guidance, see [How to List and Search Users](https://auth0.com/docs/manage-users/user-search/list-and-search-users). - [Learn more about searching for users.](https://auth0.com/docs/users/search/v3) - - Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users. - - - - Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension. + For efficient queries, prefer indexed top-level fields and exact matches. Certain kinds of queries can be slow and may time out, such as filtering on freeform or multi-value fields (like user-defined attributes in `app_metadata` or `user_metadata`) or using leading wildcards. Parameters ---------- @@ -1286,7 +1554,7 @@ async def list( ), ) _items = _parsed_response.users - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -1694,7 +1962,7 @@ async def get( User successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="GET", params={ "fields": fields, @@ -1795,7 +2063,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -2040,7 +2308,7 @@ async def update( User successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}", + f"users/{quote_path_param(id)}", method="PATCH", json={ "blocked": blocked, @@ -2142,6 +2410,276 @@ async def update( ) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def list_consent_signing_keys( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ListUserConsentSigningKeysResponseContent]: + """ + Retrieve all consent signing keys registered for a user. Returns an empty `keys` array when the user has no keys registered. + + Parameters + ---------- + id : str + The ID of the user. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ListUserConsentSigningKeysResponseContent] + The user's consent signing keys were returned. + """ + _response = await self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ListUserConsentSigningKeysResponseContent, + parse_obj_as( + type_=ListUserConsentSigningKeysResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[ConsentSigningKey]: + """ + Retrieve a single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not exist. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ConsentSigningKey] + The consent signing key was returned. + """ + _response = await self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys/{quote_path_param(kid)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ConsentSigningKey, + parse_obj_as( + type_=ConsentSigningKey, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete_consent_signing_key( + self, id: str, kid: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and returns 204 whether or not the key existed. + + Parameters + ---------- + id : str + The ID of the user. + + kid : str + The key identifier of the consent signing key. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"users/{quote_path_param(id)}/consent-signing-keys/{quote_path_param(kid)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + except ValidationError as e: + raise ParsingError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def regenerate_recovery_code( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[RegenerateUsersRecoveryCodeResponseContent]: @@ -2162,7 +2700,7 @@ async def regenerate_recovery_code( New recovery code successfully generated. """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/recovery-code-regeneration", + f"users/{quote_path_param(id)}/recovery-code-regeneration", method="POST", request_options=request_options, ) @@ -2259,7 +2797,7 @@ async def revoke_access( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/revoke-access", + f"users/{quote_path_param(id)}/revoke-access", method="POST", json={ "session_id": session_id, diff --git a/src/auth0/management/users/refresh_token/client.py b/src/auth0/management/users/refresh_token/client.py index da8d19c4..56ef1e90 100644 --- a/src/auth0/management/users/refresh_token/client.py +++ b/src/auth0/management/users/refresh_token/client.py @@ -29,6 +29,7 @@ def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( user_id : str ID of the user to get refresh tokens for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -64,6 +68,7 @@ def list( ) response = client.users.refresh_token.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -73,7 +78,9 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(user_id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list( + user_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) def delete(self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ @@ -125,6 +132,7 @@ async def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -137,6 +145,9 @@ async def list( user_id : str ID of the user to get refresh tokens for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -165,6 +176,7 @@ async def list( async def main() -> None: response = await client.users.refresh_token.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -178,7 +190,9 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(user_id, from_=from_, take=take, request_options=request_options) + return await self._raw_client.list( + user_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) async def delete(self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ diff --git a/src/auth0/management/users/refresh_token/raw_client.py b/src/auth0/management/users/refresh_token/raw_client.py index 50797c15..bbf8ad20 100644 --- a/src/auth0/management/users/refresh_token/raw_client.py +++ b/src/auth0/management/users/refresh_token/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -29,6 +29,7 @@ def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( user_id : str ID of the user to get refresh tokens for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -56,9 +60,10 @@ def list( The refresh tokens were retrieved """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/refresh-tokens", + f"users/{quote_path_param(user_id)}/refresh-tokens", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -78,6 +83,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( user_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -153,7 +159,7 @@ def delete(self, user_id: str, *, request_options: typing.Optional[RequestOption HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/refresh-tokens", + f"users/{quote_path_param(user_id)}/refresh-tokens", method="DELETE", request_options=request_options, ) @@ -233,6 +239,7 @@ async def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -245,6 +252,9 @@ async def list( user_id : str ID of the user to get refresh tokens for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -260,9 +270,10 @@ async def list( The refresh tokens were retrieved """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/refresh-tokens", + f"users/{quote_path_param(user_id)}/refresh-tokens", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -284,6 +295,7 @@ async def list( async def _get_next(): return await self.list( user_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -362,7 +374,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/refresh-tokens", + f"users/{quote_path_param(user_id)}/refresh-tokens", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/users/risk_assessments/raw_client.py b/src/auth0/management/users/risk_assessments/raw_client.py index 09fbc71f..d5ea49f6 100644 --- a/src/auth0/management/users/risk_assessments/raw_client.py +++ b/src/auth0/management/users/risk_assessments/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions @@ -55,7 +55,7 @@ def clear( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/risk-assessments/clear", + f"users/{quote_path_param(id)}/risk-assessments/clear", method="POST", json={ "connection": connection, @@ -158,7 +158,7 @@ async def clear( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/risk-assessments/clear", + f"users/{quote_path_param(id)}/risk-assessments/clear", method="POST", json={ "connection": connection, diff --git a/src/auth0/management/users/roles/client.py b/src/auth0/management/users/roles/client.py index 4c68ee53..f8732af6 100644 --- a/src/auth0/management/users/roles/client.py +++ b/src/auth0/management/users/roles/client.py @@ -42,6 +42,8 @@ def list( **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles). + **Note**: Returns only direct role assignments. To also include group-based role assignments, use `GET /api/v2/users/{id}/effective-roles`. + Parameters ---------- id : str @@ -193,6 +195,8 @@ async def list( **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles). + **Note**: Returns only direct role assignments. To also include group-based role assignments, use `GET /api/v2/users/{id}/effective-roles`. + Parameters ---------- id : str diff --git a/src/auth0/management/users/roles/raw_client.py b/src/auth0/management/users/roles/raw_client.py index 742c70f3..c22f5da5 100644 --- a/src/auth0/management/users/roles/raw_client.py +++ b/src/auth0/management/users/roles/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -42,6 +42,8 @@ def list( **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles). + **Note**: Returns only direct role assignments. To also include group-based role assignments, use `GET /api/v2/users/{id}/effective-roles`. + Parameters ---------- id : str @@ -67,7 +69,7 @@ def list( page = page if page is not None else 0 _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="GET", params={ "per_page": per_page, @@ -86,7 +88,7 @@ def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 _get_next = lambda: self.list( id, per_page=per_page, @@ -183,7 +185,7 @@ def assign( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="POST", json={ "roles": roles, @@ -285,7 +287,7 @@ def delete( HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="DELETE", json={ "roles": roles, @@ -371,6 +373,8 @@ async def list( **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles). + **Note**: Returns only direct role assignments. To also include group-based role assignments, use `GET /api/v2/users/{id}/effective-roles`. + Parameters ---------- id : str @@ -396,7 +400,7 @@ async def list( page = page if page is not None else 0 _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="GET", params={ "per_page": per_page, @@ -415,7 +419,7 @@ async def list( ), ) _items = _parsed_response.roles - _has_next = True + _has_next = len(_items or []) > 0 async def _get_next(): return await self.list( @@ -515,7 +519,7 @@ async def assign( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="POST", json={ "roles": roles, @@ -617,7 +621,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(id)}/roles", + f"users/{quote_path_param(id)}/roles", method="DELETE", json={ "roles": roles, diff --git a/src/auth0/management/users/sessions/client.py b/src/auth0/management/users/sessions/client.py index 61511a5c..a4284a82 100644 --- a/src/auth0/management/users/sessions/client.py +++ b/src/auth0/management/users/sessions/client.py @@ -29,6 +29,7 @@ def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( user_id : str ID of the user to get sessions for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -64,6 +68,7 @@ def list( ) response = client.users.sessions.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -73,7 +78,9 @@ def list( for page in response.iter_pages(): yield page """ - return self._raw_client.list(user_id, from_=from_, take=take, request_options=request_options) + return self._raw_client.list( + user_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) def delete(self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ @@ -125,6 +132,7 @@ async def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -137,6 +145,9 @@ async def list( user_id : str ID of the user to get sessions for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -165,6 +176,7 @@ async def list( async def main() -> None: response = await client.users.sessions.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) @@ -178,7 +190,9 @@ async def main() -> None: asyncio.run(main()) """ - return await self._raw_client.list(user_id, from_=from_, take=take, request_options=request_options) + return await self._raw_client.list( + user_id, include_totals=include_totals, from_=from_, take=take, request_options=request_options + ) async def delete(self, user_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ diff --git a/src/auth0/management/users/sessions/raw_client.py b/src/auth0/management/users/sessions/raw_client.py index 9cdc1b4e..e3f57f8c 100644 --- a/src/auth0/management/users/sessions/raw_client.py +++ b/src/auth0/management/users/sessions/raw_client.py @@ -6,7 +6,7 @@ from ...core.api_error import ApiError from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse -from ...core.jsonable_encoder import encode_path_param +from ...core.jsonable_encoder import quote_path_param from ...core.pagination import AsyncPager, SyncPager from ...core.parse_error import ParsingError from ...core.pydantic_utilities import parse_obj_as @@ -29,6 +29,7 @@ def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -41,6 +42,9 @@ def list( user_id : str ID of the user to get sessions for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -56,9 +60,10 @@ def list( The sessions were retrieved """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/sessions", + f"users/{quote_path_param(user_id)}/sessions", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -78,6 +83,7 @@ def list( _has_next = _parsed_next is not None and _parsed_next != "" _get_next = lambda: self.list( user_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -153,7 +159,7 @@ def delete(self, user_id: str, *, request_options: typing.Optional[RequestOption HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/sessions", + f"users/{quote_path_param(user_id)}/sessions", method="DELETE", request_options=request_options, ) @@ -233,6 +239,7 @@ async def list( self, user_id: str, *, + include_totals: typing.Optional[bool] = True, from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, @@ -245,6 +252,9 @@ async def list( user_id : str ID of the user to get sessions for + include_totals : typing.Optional[bool] + Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + from_ : typing.Optional[str] An optional cursor from which to start the selection (exclusive). @@ -260,9 +270,10 @@ async def list( The sessions were retrieved """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/sessions", + f"users/{quote_path_param(user_id)}/sessions", method="GET", params={ + "include_totals": include_totals, "from": from_, "take": take, }, @@ -284,6 +295,7 @@ async def list( async def _get_next(): return await self.list( user_id, + include_totals=include_totals, from_=_parsed_next, take=take, request_options=request_options, @@ -362,7 +374,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"users/{encode_path_param(user_id)}/sessions", + f"users/{quote_path_param(user_id)}/sessions", method="DELETE", request_options=request_options, ) diff --git a/src/auth0/management/verifiable_credentials/verification/templates/raw_client.py b/src/auth0/management/verifiable_credentials/verification/templates/raw_client.py index 74f294b7..00dcee9f 100644 --- a/src/auth0/management/verifiable_credentials/verification/templates/raw_client.py +++ b/src/auth0/management/verifiable_credentials/verification/templates/raw_client.py @@ -6,7 +6,7 @@ from ....core.api_error import ApiError from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ....core.http_response import AsyncHttpResponse, HttpResponse -from ....core.jsonable_encoder import encode_path_param +from ....core.jsonable_encoder import quote_path_param from ....core.pagination import AsyncPager, SyncPager from ....core.parse_error import ParsingError from ....core.pydantic_utilities import parse_obj_as @@ -295,7 +295,7 @@ def get( Template successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -390,7 +390,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = HttpResponse[None] """ _response = self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -491,7 +491,7 @@ def update( Template successfully updated. """ _response = self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="PATCH", json={ "name": name, @@ -846,7 +846,7 @@ async def get( Template successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="GET", request_options=request_options, ) @@ -943,7 +943,7 @@ async def delete( AsyncHttpResponse[None] """ _response = await self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="DELETE", request_options=request_options, ) @@ -1044,7 +1044,7 @@ async def update( Template successfully updated. """ _response = await self._client_wrapper.httpx_client.request( - f"verifiable-credentials/verification/templates/{encode_path_param(id)}", + f"verifiable-credentials/verification/templates/{quote_path_param(id)}", method="PATCH", json={ "name": name, diff --git a/tests/management/test_management_client.py b/tests/management/test_management_client.py index 7901a4d5..766129eb 100644 --- a/tests/management/test_management_client.py +++ b/tests/management/test_management_client.py @@ -13,6 +13,7 @@ ManagementClient, TokenProvider, ) +from auth0.management.client import AsyncAuth0, Auth0 from auth0.management.management_client import ( CUSTOM_DOMAIN_HEADER as _CUSTOM_DOMAIN_HEADER, ) @@ -168,19 +169,25 @@ def test_has_all_expected_properties(self, client): """Should have all expected sub-client properties.""" expected_properties = [ "actions", + "agents", "anomaly", "attack_protection", "branding", "client_grants", + "client_profiles", "clients", + "connection_profiles", "connections", "custom_domains", "device_credentials", "email_templates", "emails", "event_streams", + "events", + "experimentation", "flows", "forms", + "groups", "guardian", "hooks", "jobs", @@ -190,8 +197,10 @@ def test_has_all_expected_properties(self, client): "network_acls", "organizations", "prompts", + "rate_limit_policies", "refresh_tokens", "resource_servers", + "risk_assessments", "roles", "rules", "rules_configs", @@ -202,6 +211,7 @@ def test_has_all_expected_properties(self, client): "tenants", "tickets", "token_exchange_profiles", + "user_attribute_profiles", "user_blocks", "user_grants", "users", @@ -256,6 +266,38 @@ def test_init_with_custom_client_info(self): assert decoded == custom_info +class TestManagementClientMatchesGeneratedClient: + """Keep the hand-written wrappers in step with the generated clients.""" + + @staticmethod + def _public_properties(cls): + return { + name + for name, value in vars(cls).items() + if isinstance(value, property) and not name.startswith("_") + } + + def test_management_client_exposes_every_generated_resource(self): + """Should expose every resource the generated Auth0 client has.""" + missing = self._public_properties(Auth0) - self._public_properties( + ManagementClient + ) + assert missing == set(), ( + f"ManagementClient is missing: {sorted(missing)}. Add a property and a " + "TYPE_CHECKING import for each one in management_client.py." + ) + + def test_async_management_client_exposes_every_generated_resource(self): + """Should expose every resource the generated AsyncAuth0 client has.""" + missing = self._public_properties(AsyncAuth0) - self._public_properties( + AsyncManagementClient + ) + assert missing == set(), ( + f"AsyncManagementClient is missing: {sorted(missing)}. Add a property and " + "a TYPE_CHECKING import for each one in management_client.py." + ) + + class TestTokenProvider: """Tests for TokenProvider.""" diff --git a/tests/utils/test_http_client.py b/tests/utils/test_http_client.py index 04d3f8b0..19ddf3f9 100644 --- a/tests/utils/test_http_client.py +++ b/tests/utils/test_http_client.py @@ -1,6 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from typing import Any, Dict +from typing import Any, Dict, Tuple, cast from unittest.mock import AsyncMock, MagicMock, patch import httpx @@ -692,3 +692,70 @@ def test_should_not_retry_non_retryable_status_codes(status_code: int) -> None: def test_should_retry_599_upper_boundary() -> None: """Legacy mode retries on >= 500, which includes 599.""" assert _should_retry(_make_response(599)) is True + + +# --------------------------------------------------------------------------- +# RequestOptions timeout resolution tests (timeout / deprecated timeout_in_seconds) +# --------------------------------------------------------------------------- + + +def _sync_client_with_base_timeout(base_timeout: Any) -> Tuple[HttpClient, _DummySyncClient]: + dummy_client = _DummySyncClient() + http_client = HttpClient( + httpx_client=dummy_client, # type: ignore[arg-type] + base_timeout=lambda: base_timeout, + base_headers=lambda: {}, + base_url=lambda: "https://example.com", + ) + return http_client, dummy_client + + +def test_sync_request_options_timeout_used() -> None: + """The new `timeout` request option is passed through to httpx (in seconds).""" + http_client, dummy_client = _sync_client_with_base_timeout(60) + http_client.request(path="/test", method="GET", request_options={"timeout": 30}) + assert dummy_client.last_request_kwargs["timeout"] == 30 + + +def test_sync_request_options_timeout_in_seconds_still_works() -> None: + """The deprecated `timeout_in_seconds` request option remains backwards compatible.""" + http_client, dummy_client = _sync_client_with_base_timeout(60) + http_client.request(path="/test", method="GET", request_options={"timeout_in_seconds": 45}) + assert dummy_client.last_request_kwargs["timeout"] == 45 + + +def test_sync_request_options_timeout_takes_precedence() -> None: + """When both are set, `timeout` wins over `timeout_in_seconds` (same seconds unit).""" + http_client, dummy_client = _sync_client_with_base_timeout(60) + http_client.request(path="/test", method="GET", request_options={"timeout": 30, "timeout_in_seconds": 45}) + assert dummy_client.last_request_kwargs["timeout"] == 30 + + +def test_sync_request_options_timeout_falls_back_to_base() -> None: + """When neither key is set, the client-level base timeout is used.""" + http_client, dummy_client = _sync_client_with_base_timeout(60) + http_client.request(path="/test", method="GET", request_options=None) + assert dummy_client.last_request_kwargs["timeout"] == 60 + + +def test_sync_request_options_timeout_none_falls_back_to_deprecated() -> None: + """An explicit `timeout=None` (dynamic caller) falls back to the deprecated `timeout_in_seconds`.""" + http_client, dummy_client = _sync_client_with_base_timeout(60) + request_options = cast(RequestOptions, {"timeout": None, "timeout_in_seconds": 45}) + http_client.request(path="/test", method="GET", request_options=request_options) + assert dummy_client.last_request_kwargs["timeout"] == 45 + + +@pytest.mark.asyncio +async def test_async_request_options_timeout_takes_precedence() -> None: + """Async: `timeout` wins over the deprecated `timeout_in_seconds`.""" + dummy_client = _DummyAsyncClient() + http_client = AsyncHttpClient( + httpx_client=dummy_client, # type: ignore[arg-type] + base_timeout=lambda: 60, + base_headers=lambda: {}, + base_url=lambda: "https://example.com", + async_base_headers=None, + ) + await http_client.request(path="/test", method="GET", request_options={"timeout": 30, "timeout_in_seconds": 45}) + assert dummy_client.last_request_kwargs["timeout"] == 30 diff --git a/tests/wire/test_agents.py b/tests/wire/test_agents.py new file mode 100644 index 00000000..b3c98689 --- /dev/null +++ b/tests/wire/test_agents.py @@ -0,0 +1,52 @@ +from .conftest import get_client, verify_request_count + + +def test_agents_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "agents.list_.0" + client = get_client(test_id) + client.agents.list( + from_="from", + take=1, + ) + verify_request_count(test_id, "GET", "/agents", {"from": "from", "take": "1"}, 1) + + +def test_agents_create() -> None: + """Test create endpoint with WireMock""" + test_id = "agents.create.0" + client = get_client(test_id) + client.agents.create( + name="name", + ) + verify_request_count(test_id, "POST", "/agents", None, 1) + + +def test_agents_read() -> None: + """Test read endpoint with WireMock""" + test_id = "agents.read.0" + client = get_client(test_id) + client.agents.read( + id="id", + ) + verify_request_count(test_id, "GET", "/agents/id", None, 1) + + +def test_agents_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "agents.delete.0" + client = get_client(test_id) + client.agents.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/agents/id", None, 1) + + +def test_agents_update() -> None: + """Test update endpoint with WireMock""" + test_id = "agents.update.0" + client = get_client(test_id) + client.agents.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/agents/id", None, 1) diff --git a/tests/wire/test_clientGrants.py b/tests/wire/test_clientGrants.py index 51a4a35b..f9bda114 100644 --- a/tests/wire/test_clientGrants.py +++ b/tests/wire/test_clientGrants.py @@ -6,6 +6,7 @@ def test_clientGrants_list_() -> None: test_id = "client_grants.list_.0" client = get_client(test_id) client.client_grants.list( + include_totals=True, from_="from", take=1, audience="audience", @@ -19,6 +20,7 @@ def test_clientGrants_list_() -> None: "GET", "/client-grants", { + "include_totals": "true", "from": "from", "take": "1", "audience": "audience", @@ -41,6 +43,36 @@ def test_clientGrants_create() -> None: verify_request_count(test_id, "POST", "/client-grants", None, 1) +def test_clientGrants_search() -> None: + """Test search endpoint with WireMock""" + test_id = "client_grants.search.0" + client = get_client(test_id) + client.client_grants.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="audience", + ) + verify_request_count( + test_id, + "GET", + "/client-grants/search", + { + "q": "q", + "parser": "scim", + "fields": "fields", + "include_fields": "true", + "take": "1", + "from": "from", + "sort": "audience", + }, + 1, + ) + + def test_clientGrants_get() -> None: """Test get endpoint with WireMock""" test_id = "client_grants.get.0" diff --git a/tests/wire/test_clientGrants_organizations.py b/tests/wire/test_clientGrants_organizations.py index d997d119..05972038 100644 --- a/tests/wire/test_clientGrants_organizations.py +++ b/tests/wire/test_clientGrants_organizations.py @@ -7,7 +7,10 @@ def test_clientGrants_organizations_list_() -> None: client = get_client(test_id) client.client_grants.organizations.list( id="id", + include_totals=True, from_="from", take=1, ) - verify_request_count(test_id, "GET", "/client-grants/id/organizations", {"from": "from", "take": "1"}, 1) + verify_request_count( + test_id, "GET", "/client-grants/id/organizations", {"include_totals": "true", "from": "from", "take": "1"}, 1 + ) diff --git a/tests/wire/test_clientProfiles.py b/tests/wire/test_clientProfiles.py new file mode 100644 index 00000000..de409ce7 --- /dev/null +++ b/tests/wire/test_clientProfiles.py @@ -0,0 +1,59 @@ +from .conftest import get_client, verify_request_count + +from auth0.management import ClientProfileApplyPolicy, ClientProfileClientConfiguration + + +def test_clientProfiles_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "client_profiles.list_.0" + client = get_client(test_id) + client.client_profiles.list( + from_="from", + take=1, + ) + verify_request_count(test_id, "GET", "/client-profiles", {"from": "from", "take": "1"}, 1) + + +def test_clientProfiles_create() -> None: + """Test create endpoint with WireMock""" + test_id = "client_profiles.create.0" + client = get_client(test_id) + client.client_profiles.create( + name="name", + client_configuration=ClientProfileClientConfiguration(), + apply_policy=ClientProfileApplyPolicy( + external_metadata_type="cimd", + external_metadata_created_by="client", + ), + ) + verify_request_count(test_id, "POST", "/client-profiles", None, 1) + + +def test_clientProfiles_get() -> None: + """Test get endpoint with WireMock""" + test_id = "client_profiles.get.0" + client = get_client(test_id) + client.client_profiles.get( + id="id", + ) + verify_request_count(test_id, "GET", "/client-profiles/id", None, 1) + + +def test_clientProfiles_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "client_profiles.delete.0" + client = get_client(test_id) + client.client_profiles.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/client-profiles/id", None, 1) + + +def test_clientProfiles_update() -> None: + """Test update endpoint with WireMock""" + test_id = "client_profiles.update.0" + client = get_client(test_id) + client.client_profiles.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/client-profiles/id", None, 1) diff --git a/tests/wire/test_clients.py b/tests/wire/test_clients.py index fcac1939..f7247791 100644 --- a/tests/wire/test_clients.py +++ b/tests/wire/test_clients.py @@ -15,6 +15,7 @@ def test_clients_list_() -> None: is_first_party=True, app_type="app_type", external_client_id="external_client_id", + agent_id="agent_id", q="q", ) verify_request_count( @@ -31,6 +32,7 @@ def test_clients_list_() -> None: "is_first_party": "true", "app_type": "app_type", "external_client_id": "external_client_id", + "agent_id": "agent_id", "q": "q", }, 1, @@ -67,6 +69,36 @@ def test_clients_register_cimd_client() -> None: verify_request_count(test_id, "POST", "/clients/cimd/register", None, 1) +def test_clients_search() -> None: + """Test search endpoint with WireMock""" + test_id = "clients.search.0" + client = get_client(test_id) + client.clients.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="name", + ) + verify_request_count( + test_id, + "GET", + "/clients/search", + { + "q": "q", + "parser": "scim", + "fields": "fields", + "include_fields": "true", + "take": "1", + "from": "from", + "sort": "name", + }, + 1, + ) + + def test_clients_get() -> None: """Test get endpoint with WireMock""" test_id = "clients.get.0" diff --git a/tests/wire/test_connections.py b/tests/wire/test_connections.py index e2678e2b..020c1e3c 100644 --- a/tests/wire/test_connections.py +++ b/tests/wire/test_connections.py @@ -6,6 +6,7 @@ def test_connections_list_() -> None: test_id = "connections.list_.0" client = get_client(test_id) client.connections.list( + include_totals=True, from_="from", take=1, strategy=["ad"], @@ -17,7 +18,15 @@ def test_connections_list_() -> None: test_id, "GET", "/connections", - {"from": "from", "take": "1", "strategy": "ad", "name": "name", "fields": "fields", "include_fields": "true"}, + { + "include_totals": "true", + "from": "from", + "take": "1", + "strategy": "ad", + "name": "name", + "fields": "fields", + "include_fields": "true", + }, 1, ) diff --git a/tests/wire/test_connections_directoryProvisioning.py b/tests/wire/test_connections_directoryProvisioning.py index cf126178..ce074547 100644 --- a/tests/wire/test_connections_directoryProvisioning.py +++ b/tests/wire/test_connections_directoryProvisioning.py @@ -3,6 +3,7 @@ from auth0.management import ( CreateDirectoryProvisioningRequestContent, SynchronizedGroupPayload, + SynchronizedGroupSelectionId, UpdateDirectoryProvisioningRequestContent, ) @@ -78,12 +79,32 @@ def test_connections_directoryProvisioning_list_synchronized_groups() -> None: id="id", from_="from", take=1, + q="q", ) verify_request_count( - test_id, "GET", "/connections/id/directory-provisioning/synchronized-groups", {"from": "from", "take": "1"}, 1 + test_id, + "GET", + "/connections/id/directory-provisioning/synchronized-groups", + {"from": "from", "take": "1", "q": "q"}, + 1, ) +def test_connections_directoryProvisioning_add_synchronized_group_selections() -> None: + """Test addSynchronizedGroupSelections endpoint with WireMock""" + test_id = "connections.directory_provisioning.add_synchronized_group_selections.0" + client = get_client(test_id) + client.connections.directory_provisioning.add_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupPayload( + id="id", + ) + ], + ) + verify_request_count(test_id, "POST", "/connections/id/directory-provisioning/synchronized-groups", None, 1) + + def test_connections_directoryProvisioning_set_() -> None: """Test set endpoint with WireMock""" test_id = "connections.directory_provisioning.set_.0" @@ -97,3 +118,18 @@ def test_connections_directoryProvisioning_set_() -> None: ], ) verify_request_count(test_id, "PUT", "/connections/id/directory-provisioning/synchronized-groups", None, 1) + + +def test_connections_directoryProvisioning_delete_synchronized_group_selections() -> None: + """Test deleteSynchronizedGroupSelections endpoint with WireMock""" + test_id = "connections.directory_provisioning.delete_synchronized_group_selections.0" + client = get_client(test_id) + client.connections.directory_provisioning.delete_synchronized_group_selections( + id="id", + groups=[ + SynchronizedGroupSelectionId( + id="id", + ) + ], + ) + verify_request_count(test_id, "DELETE", "/connections/id/directory-provisioning/synchronized-groups", None, 1) diff --git a/tests/wire/test_emailTemplates.py b/tests/wire/test_emailTemplates.py index 496447cf..8824367d 100644 --- a/tests/wire/test_emailTemplates.py +++ b/tests/wire/test_emailTemplates.py @@ -7,6 +7,11 @@ def test_emailTemplates_create() -> None: client = get_client(test_id) client.email_templates.create( template="verify_email", + body=None, + from_=None, + subject=None, + syntax=None, + enabled=None, ) verify_request_count(test_id, "POST", "/email-templates", None, 1) @@ -28,6 +33,11 @@ def test_emailTemplates_set_() -> None: client.email_templates.set( template_name="verify_email", template="verify_email", + body=None, + from_=None, + subject=None, + syntax=None, + enabled=None, ) verify_request_count(test_id, "PUT", "/email-templates/verify_email", None, 1) diff --git a/tests/wire/test_emails_provider.py b/tests/wire/test_emails_provider.py index 1148232b..f30da1ba 100644 --- a/tests/wire/test_emails_provider.py +++ b/tests/wire/test_emails_provider.py @@ -1,7 +1,5 @@ from .conftest import get_client, verify_request_count -from auth0.management import EmailProviderCredentialsSchemaZero - def test_emails_provider_get() -> None: """Test get endpoint with WireMock""" @@ -20,9 +18,6 @@ def test_emails_provider_create() -> None: client = get_client(test_id) client.emails.provider.create( name="mailgun", - credentials=EmailProviderCredentialsSchemaZero( - api_key="api_key", - ), ) verify_request_count(test_id, "POST", "/emails/provider", None, 1) diff --git a/tests/wire/test_eventStreams.py b/tests/wire/test_eventStreams.py index 6083e61c..67eadbb8 100644 --- a/tests/wire/test_eventStreams.py +++ b/tests/wire/test_eventStreams.py @@ -76,6 +76,6 @@ def test_eventStreams_test() -> None: client = get_client(test_id) client.event_streams.test( id="id", - event_type="group.created", + event_type="connection.created", ) verify_request_count(test_id, "POST", "/event-streams/id/test", None, 1) diff --git a/tests/wire/test_events.py b/tests/wire/test_events.py index 95646829..54c5ac7a 100644 --- a/tests/wire/test_events.py +++ b/tests/wire/test_events.py @@ -8,13 +8,13 @@ def test_events_subscribe() -> None: for _ in client.events.subscribe( from_="from", from_timestamp="from_timestamp", - event_type=["group.created"], + event_type=["connection.created"], ): pass verify_request_count( test_id, "GET", "/events", - {"from": "from", "from_timestamp": "from_timestamp", "event_type": "group.created"}, + {"from": "from", "from_timestamp": "from_timestamp", "event_type": "connection.created"}, 1, ) diff --git a/tests/wire/test_experimentation_experiments.py b/tests/wire/test_experimentation_experiments.py new file mode 100644 index 00000000..9fb9a7c7 --- /dev/null +++ b/tests/wire/test_experimentation_experiments.py @@ -0,0 +1,91 @@ +from .conftest import get_client, verify_request_count + + +def test_experimentation_experiments_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "experimentation.experiments.list_.0" + client = get_client(test_id) + client.experimentation.experiments.list( + from_="from", + take=1, + status="draft", + authentication_flow="authentication_flow", + feature_flag_id="feature_flag_id", + ) + verify_request_count( + test_id, + "GET", + "/experimentation/experiments", + { + "from": "from", + "take": "1", + "status": "draft", + "authentication_flow": "authentication_flow", + "feature_flag_id": "feature_flag_id", + }, + 1, + ) + + +def test_experimentation_experiments_create() -> None: + """Test create endpoint with WireMock""" + test_id = "experimentation.experiments.create.0" + client = get_client(test_id) + client.experimentation.experiments.create( + name="name", + feature_flag_id="feature_flag_id", + authentication_flow="authentication", + allocation_strategy="percentage", + ) + verify_request_count(test_id, "POST", "/experimentation/experiments", None, 1) + + +def test_experimentation_experiments_get() -> None: + """Test get endpoint with WireMock""" + test_id = "experimentation.experiments.get.0" + client = get_client(test_id) + client.experimentation.experiments.get( + id="id", + ) + verify_request_count(test_id, "GET", "/experimentation/experiments/id", None, 1) + + +def test_experimentation_experiments_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "experimentation.experiments.delete.0" + client = get_client(test_id) + client.experimentation.experiments.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/experimentation/experiments/id", None, 1) + + +def test_experimentation_experiments_update() -> None: + """Test update endpoint with WireMock""" + test_id = "experimentation.experiments.update.0" + client = get_client(test_id) + client.experimentation.experiments.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/experimentation/experiments/id", None, 1) + + +def test_experimentation_experiments_advance_ramp() -> None: + """Test advanceRamp endpoint with WireMock""" + test_id = "experimentation.experiments.advance_ramp.0" + client = get_client(test_id) + client.experimentation.experiments.advance_ramp( + id="id", + target_level=1, + ) + verify_request_count(test_id, "POST", "/experimentation/experiments/id/advance-ramp", None, 1) + + +def test_experimentation_experiments_validate() -> None: + """Test validate endpoint with WireMock""" + test_id = "experimentation.experiments.validate.0" + client = get_client(test_id) + client.experimentation.experiments.validate( + id="id", + ) + verify_request_count(test_id, "POST", "/experimentation/experiments/id/validate", None, 1) diff --git a/tests/wire/test_experimentation_featureFlags.py b/tests/wire/test_experimentation_featureFlags.py new file mode 100644 index 00000000..fa33a650 --- /dev/null +++ b/tests/wire/test_experimentation_featureFlags.py @@ -0,0 +1,61 @@ +from .conftest import get_client, verify_request_count + + +def test_experimentation_featureFlags_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "experimentation.feature_flags.list_.0" + client = get_client(test_id) + client.experimentation.feature_flags.list( + from_="from", + take=1, + type="auth0", + status="draft", + ) + verify_request_count( + test_id, + "GET", + "/experimentation/feature-flags", + {"from": "from", "take": "1", "type": "auth0", "status": "draft"}, + 1, + ) + + +def test_experimentation_featureFlags_create() -> None: + """Test create endpoint with WireMock""" + test_id = "experimentation.feature_flags.create.0" + client = get_client(test_id) + client.experimentation.feature_flags.create( + name="name", + parameters={}, + ) + verify_request_count(test_id, "POST", "/experimentation/feature-flags", None, 1) + + +def test_experimentation_featureFlags_get() -> None: + """Test get endpoint with WireMock""" + test_id = "experimentation.feature_flags.get.0" + client = get_client(test_id) + client.experimentation.feature_flags.get( + id="id", + ) + verify_request_count(test_id, "GET", "/experimentation/feature-flags/id", None, 1) + + +def test_experimentation_featureFlags_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "experimentation.feature_flags.delete.0" + client = get_client(test_id) + client.experimentation.feature_flags.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/experimentation/feature-flags/id", None, 1) + + +def test_experimentation_featureFlags_update() -> None: + """Test update endpoint with WireMock""" + test_id = "experimentation.feature_flags.update.0" + client = get_client(test_id) + client.experimentation.feature_flags.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/experimentation/feature-flags/id", None, 1) diff --git a/tests/wire/test_experimentation_featureFlags_variations.py b/tests/wire/test_experimentation_featureFlags_variations.py new file mode 100644 index 00000000..a779b2d7 --- /dev/null +++ b/tests/wire/test_experimentation_featureFlags_variations.py @@ -0,0 +1,56 @@ +from .conftest import get_client, verify_request_count + + +def test_experimentation_featureFlags_variations_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "experimentation.feature_flags.variations.list_.0" + client = get_client(test_id) + client.experimentation.feature_flags.variations.list( + id="id", + ) + verify_request_count(test_id, "GET", "/experimentation/feature-flags/id/variations", None, 1) + + +def test_experimentation_featureFlags_variations_create() -> None: + """Test create endpoint with WireMock""" + test_id = "experimentation.feature_flags.variations.create.0" + client = get_client(test_id) + client.experimentation.feature_flags.variations.create( + id="id", + name="name", + overrides={"key": "value"}, + ) + verify_request_count(test_id, "POST", "/experimentation/feature-flags/id/variations", None, 1) + + +def test_experimentation_featureFlags_variations_get() -> None: + """Test get endpoint with WireMock""" + test_id = "experimentation.feature_flags.variations.get.0" + client = get_client(test_id) + client.experimentation.feature_flags.variations.get( + id="id", + vid="vid", + ) + verify_request_count(test_id, "GET", "/experimentation/feature-flags/id/variations/vid", None, 1) + + +def test_experimentation_featureFlags_variations_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "experimentation.feature_flags.variations.delete.0" + client = get_client(test_id) + client.experimentation.feature_flags.variations.delete( + id="id", + vid="vid", + ) + verify_request_count(test_id, "DELETE", "/experimentation/feature-flags/id/variations/vid", None, 1) + + +def test_experimentation_featureFlags_variations_update() -> None: + """Test update endpoint with WireMock""" + test_id = "experimentation.feature_flags.variations.update.0" + client = get_client(test_id) + client.experimentation.feature_flags.variations.update( + id="id", + vid="vid", + ) + verify_request_count(test_id, "PATCH", "/experimentation/feature-flags/id/variations/vid", None, 1) diff --git a/tests/wire/test_experimentation_segments.py b/tests/wire/test_experimentation_segments.py new file mode 100644 index 00000000..62d15bc3 --- /dev/null +++ b/tests/wire/test_experimentation_segments.py @@ -0,0 +1,63 @@ +from .conftest import get_client, verify_request_count + +from auth0.management import SegmentRule + + +def test_experimentation_segments_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "experimentation.segments.list_.0" + client = get_client(test_id) + client.experimentation.segments.list( + from_="from", + take=1, + type="auth0", + status="active", + ) + verify_request_count( + test_id, + "GET", + "/experimentation/segments", + {"from": "from", "take": "1", "type": "auth0", "status": "active"}, + 1, + ) + + +def test_experimentation_segments_create() -> None: + """Test create endpoint with WireMock""" + test_id = "experimentation.segments.create.0" + client = get_client(test_id) + client.experimentation.segments.create( + name="name", + rules=[SegmentRule()], + ) + verify_request_count(test_id, "POST", "/experimentation/segments", None, 1) + + +def test_experimentation_segments_get() -> None: + """Test get endpoint with WireMock""" + test_id = "experimentation.segments.get.0" + client = get_client(test_id) + client.experimentation.segments.get( + id="id", + ) + verify_request_count(test_id, "GET", "/experimentation/segments/id", None, 1) + + +def test_experimentation_segments_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "experimentation.segments.delete.0" + client = get_client(test_id) + client.experimentation.segments.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/experimentation/segments/id", None, 1) + + +def test_experimentation_segments_update() -> None: + """Test update endpoint with WireMock""" + test_id = "experimentation.segments.update.0" + client = get_client(test_id) + client.experimentation.segments.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/experimentation/segments/id", None, 1) diff --git a/tests/wire/test_flows_executions.py b/tests/wire/test_flows_executions.py index bfda02af..51db97b1 100644 --- a/tests/wire/test_flows_executions.py +++ b/tests/wire/test_flows_executions.py @@ -7,10 +7,13 @@ def test_flows_executions_list_() -> None: client = get_client(test_id) client.flows.executions.list( flow_id="flow_id", + include_totals=True, from_="from", take=1, ) - verify_request_count(test_id, "GET", "/flows/flow_id/executions", {"from": "from", "take": "1"}, 1) + verify_request_count( + test_id, "GET", "/flows/flow_id/executions", {"include_totals": "true", "from": "from", "take": "1"}, 1 + ) def test_flows_executions_get() -> None: diff --git a/tests/wire/test_groups.py b/tests/wire/test_groups.py index 0fc983d5..23f7b00a 100644 --- a/tests/wire/test_groups.py +++ b/tests/wire/test_groups.py @@ -12,6 +12,7 @@ def test_groups_list_() -> None: search="search", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -26,6 +27,7 @@ def test_groups_list_() -> None: "search": "search", "fields": "fields", "include_fields": "true", + "include_totals": "true", "from": "from", "take": "1", }, diff --git a/tests/wire/test_guardian.py b/tests/wire/test_guardian.py new file mode 100644 index 00000000..1e547070 --- /dev/null +++ b/tests/wire/test_guardian.py @@ -0,0 +1,22 @@ +from .conftest import get_client, verify_request_count + + +def test_guardian_get() -> None: + """Test get endpoint with WireMock""" + test_id = "guardian.get.0" + client = get_client(test_id) + client.guardian.get() + verify_request_count(test_id, "GET", "/guardian/settings", None, 1) + + +def test_guardian_set_() -> None: + """Test set endpoint with WireMock""" + test_id = "guardian.set_.0" + client = get_client(test_id) + client.guardian.set( + display_remember_me_checkbox=True, + remember_me_default_value=True, + mfa_session_inactivity_timeout=1, + mfa_session_overall_timeout=1, + ) + verify_request_count(test_id, "PUT", "/guardian/settings", None, 1) diff --git a/tests/wire/test_guardian_factors_email.py b/tests/wire/test_guardian_factors_email.py new file mode 100644 index 00000000..b20a9d02 --- /dev/null +++ b/tests/wire/test_guardian_factors_email.py @@ -0,0 +1,20 @@ +from .conftest import get_client, verify_request_count + + +def test_guardian_factors_email_get() -> None: + """Test get endpoint with WireMock""" + test_id = "guardian.factors.email.get.0" + client = get_client(test_id) + client.guardian.factors.email.get() + verify_request_count(test_id, "GET", "/guardian/factors/email/settings", None, 1) + + +def test_guardian_factors_email_set_() -> None: + """Test set endpoint with WireMock""" + test_id = "guardian.factors.email.set_.0" + client = get_client(test_id) + client.guardian.factors.email.set( + otp_length=1, + otp_expiration_time=1, + ) + verify_request_count(test_id, "PUT", "/guardian/factors/email/settings", None, 1) diff --git a/tests/wire/test_guardian_factors_phone.py b/tests/wire/test_guardian_factors_phone.py index e57f43ba..f3d766f5 100644 --- a/tests/wire/test_guardian_factors_phone.py +++ b/tests/wire/test_guardian_factors_phone.py @@ -53,6 +53,25 @@ def test_guardian_factors_phone_set_provider() -> None: verify_request_count(test_id, "PUT", "/guardian/factors/phone/selected-provider", None, 1) +def test_guardian_factors_phone_get() -> None: + """Test get endpoint with WireMock""" + test_id = "guardian.factors.phone.get.0" + client = get_client(test_id) + client.guardian.factors.phone.get() + verify_request_count(test_id, "GET", "/guardian/factors/phone/settings", None, 1) + + +def test_guardian_factors_phone_set_() -> None: + """Test set endpoint with WireMock""" + test_id = "guardian.factors.phone.set_.0" + client = get_client(test_id) + client.guardian.factors.phone.set( + otp_length=1, + otp_expiration_time=1, + ) + verify_request_count(test_id, "PUT", "/guardian/factors/phone/settings", None, 1) + + def test_guardian_factors_phone_get_templates() -> None: """Test getTemplates endpoint with WireMock""" test_id = "guardian.factors.phone.get_templates.0" diff --git a/tests/wire/test_keys_networkAcls.py b/tests/wire/test_keys_networkAcls.py new file mode 100644 index 00000000..3aae06a0 --- /dev/null +++ b/tests/wire/test_keys_networkAcls.py @@ -0,0 +1,41 @@ +from .conftest import get_client, verify_request_count + + +def test_keys_networkAcls_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "keys.network_acls.list_.0" + client = get_client(test_id) + client.keys.network_acls.list() + verify_request_count(test_id, "GET", "/keys/network-acls", None, 1) + + +def test_keys_networkAcls_create() -> None: + """Test create endpoint with WireMock""" + test_id = "keys.network_acls.create.0" + client = get_client(test_id) + client.keys.network_acls.create( + name="name", + alg="hmac-sha256", + value="value", + ) + verify_request_count(test_id, "POST", "/keys/network-acls", None, 1) + + +def test_keys_networkAcls_get() -> None: + """Test get endpoint with WireMock""" + test_id = "keys.network_acls.get.0" + client = get_client(test_id) + client.keys.network_acls.get( + id="id", + ) + verify_request_count(test_id, "GET", "/keys/network-acls/id", None, 1) + + +def test_keys_networkAcls_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "keys.network_acls.delete.0" + client = get_client(test_id) + client.keys.network_acls.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/keys/network-acls/id", None, 1) diff --git a/tests/wire/test_organizations.py b/tests/wire/test_organizations.py index a263e9f1..81ef6a15 100644 --- a/tests/wire/test_organizations.py +++ b/tests/wire/test_organizations.py @@ -6,11 +6,25 @@ def test_organizations_list_() -> None: test_id = "organizations.list_.0" client = get_client(test_id) client.organizations.list( + include_totals=True, from_="from", take=1, sort="sort", + include_client_association_for="include_client_association_for", + ) + verify_request_count( + test_id, + "GET", + "/organizations", + { + "include_totals": "true", + "from": "from", + "take": "1", + "sort": "sort", + "include_client_association_for": "include_client_association_for", + }, + 1, ) - verify_request_count(test_id, "GET", "/organizations", {"from": "from", "take": "1", "sort": "sort"}, 1) def test_organizations_create() -> None: @@ -33,6 +47,26 @@ def test_organizations_get_by_name() -> None: verify_request_count(test_id, "GET", "/organizations/name/name", None, 1) +def test_organizations_search() -> None: + """Test search endpoint with WireMock""" + test_id = "organizations.search.0" + client = get_client(test_id) + client.organizations.search( + q="q", + parser="scim", + take=1, + from_="from", + sort="name", + ) + verify_request_count( + test_id, + "GET", + "/organizations/search", + {"q": "q", "parser": "scim", "take": "1", "from": "from", "sort": "name"}, + 1, + ) + + def test_organizations_get() -> None: """Test get endpoint with WireMock""" test_id = "organizations.get.0" diff --git a/tests/wire/test_organizations_clients.py b/tests/wire/test_organizations_clients.py new file mode 100644 index 00000000..13ed30cd --- /dev/null +++ b/tests/wire/test_organizations_clients.py @@ -0,0 +1,64 @@ +from .conftest import get_client, verify_request_count + +from auth0.management import CreateOrganizationClientRequestItem + + +def test_organizations_clients_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "organizations.clients.list_.0" + client = get_client(test_id) + client.organizations.clients.list( + id="id", + from_="from", + take=1, + ) + verify_request_count(test_id, "GET", "/organizations/id/clients", {"from": "from", "take": "1"}, 1) + + +def test_organizations_clients_create() -> None: + """Test create endpoint with WireMock""" + test_id = "organizations.clients.create.0" + client = get_client(test_id) + client.organizations.clients.create( + id="id", + clients=[ + CreateOrganizationClientRequestItem( + client_id="client_id", + use_for_member_access=True, + ) + ], + ) + verify_request_count(test_id, "POST", "/organizations/id/clients", None, 1) + + +def test_organizations_clients_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "organizations.clients.delete.0" + client = get_client(test_id) + client.organizations.clients.delete( + id="id", + clients=["clients"], + ) + verify_request_count(test_id, "DELETE", "/organizations/id/clients", None, 1) + + +def test_organizations_clients_get() -> None: + """Test get endpoint with WireMock""" + test_id = "organizations.clients.get.0" + client = get_client(test_id) + client.organizations.clients.get( + id="id", + client_id="client_id", + ) + verify_request_count(test_id, "GET", "/organizations/id/clients/client_id", None, 1) + + +def test_organizations_clients_update() -> None: + """Test update endpoint with WireMock""" + test_id = "organizations.clients.update.0" + client = get_client(test_id) + client.organizations.clients.update( + id="id", + client_id="client_id", + ) + verify_request_count(test_id, "PATCH", "/organizations/id/clients/client_id", None, 1) diff --git a/tests/wire/test_organizations_members.py b/tests/wire/test_organizations_members.py index 85dbc510..622a77b2 100644 --- a/tests/wire/test_organizations_members.py +++ b/tests/wire/test_organizations_members.py @@ -7,6 +7,7 @@ def test_organizations_members_list_() -> None: client = get_client(test_id) client.organizations.members.list( id="id", + include_totals=True, from_="from", take=1, fields="fields", @@ -16,7 +17,7 @@ def test_organizations_members_list_() -> None: test_id, "GET", "/organizations/id/members", - {"from": "from", "take": "1", "fields": "fields", "include_fields": "true"}, + {"include_totals": "true", "from": "from", "take": "1", "fields": "fields", "include_fields": "true"}, 1, ) diff --git a/tests/wire/test_organizations_roles_groups.py b/tests/wire/test_organizations_roles_groups.py new file mode 100644 index 00000000..b461d7b8 --- /dev/null +++ b/tests/wire/test_organizations_roles_groups.py @@ -0,0 +1,16 @@ +from .conftest import get_client, verify_request_count + + +def test_organizations_roles_groups_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "organizations.roles.groups.list_.0" + client = get_client(test_id) + client.organizations.roles.groups.list( + organization_id="organization_id", + role_id="role_id", + from_="from", + take=1, + ) + verify_request_count( + test_id, "GET", "/organizations/organization_id/roles/role_id/groups", {"from": "from", "take": "1"}, 1 + ) diff --git a/tests/wire/test_organizations_roles_members.py b/tests/wire/test_organizations_roles_members.py new file mode 100644 index 00000000..1f2e75d7 --- /dev/null +++ b/tests/wire/test_organizations_roles_members.py @@ -0,0 +1,22 @@ +from .conftest import get_client, verify_request_count + + +def test_organizations_roles_members_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "organizations.roles.members.list_.0" + client = get_client(test_id) + client.organizations.roles.members.list( + id="id", + role_id="role_id", + from_="from", + take=1, + fields="fields", + include_fields=True, + ) + verify_request_count( + test_id, + "GET", + "/organizations/id/roles/role_id/members", + {"from": "from", "take": "1", "fields": "fields", "include_fields": "true"}, + 1, + ) diff --git a/tests/wire/test_portals.py b/tests/wire/test_portals.py new file mode 100644 index 00000000..c77b25aa --- /dev/null +++ b/tests/wire/test_portals.py @@ -0,0 +1,57 @@ +from .conftest import get_client, verify_request_count + +from auth0.management import PortalClientSecretPostRequest + + +def test_portals_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "portals.list_.0" + client = get_client(test_id) + client.portals.list() + verify_request_count(test_id, "GET", "/portals", None, 1) + + +def test_portals_create() -> None: + """Test create endpoint with WireMock""" + test_id = "portals.create.0" + client = get_client(test_id) + client.portals.create( + slug="slug", + name="name", + client=PortalClientSecretPostRequest( + token_endpoint_auth_method="client_secret_post", + client_id="client_id", + client_secret="client_secret", + ), + ) + verify_request_count(test_id, "POST", "/portals", None, 1) + + +def test_portals_get() -> None: + """Test get endpoint with WireMock""" + test_id = "portals.get.0" + client = get_client(test_id) + client.portals.get( + id="id", + ) + verify_request_count(test_id, "GET", "/portals/id", None, 1) + + +def test_portals_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "portals.delete.0" + client = get_client(test_id) + client.portals.delete( + id="id", + ) + verify_request_count(test_id, "DELETE", "/portals/id", None, 1) + + +def test_portals_update() -> None: + """Test update endpoint with WireMock""" + test_id = "portals.update.0" + client = get_client(test_id) + client.portals.update( + id="id", + ) + verify_request_count(test_id, "PATCH", "/portals/id", None, 1) diff --git a/tests/wire/test_resourceServers.py b/tests/wire/test_resourceServers.py index cda1bef3..c725e726 100644 --- a/tests/wire/test_resourceServers.py +++ b/tests/wire/test_resourceServers.py @@ -37,6 +37,36 @@ def test_resourceServers_create() -> None: verify_request_count(test_id, "POST", "/resource-servers", None, 1) +def test_resourceServers_search() -> None: + """Test search endpoint with WireMock""" + test_id = "resource_servers.search.0" + client = get_client(test_id) + client.resource_servers.search( + q="q", + parser="scim", + fields="fields", + include_fields=True, + take=1, + from_="from", + sort="identifier", + ) + verify_request_count( + test_id, + "GET", + "/resource-servers/search", + { + "q": "q", + "parser": "scim", + "fields": "fields", + "include_fields": "true", + "take": "1", + "from": "from", + "sort": "identifier", + }, + 1, + ) + + def test_resourceServers_get() -> None: """Test get endpoint with WireMock""" test_id = "resource_servers.get.0" diff --git a/tests/wire/test_roles.py b/tests/wire/test_roles.py index 4dc57659..33e8a1fb 100644 --- a/tests/wire/test_roles.py +++ b/tests/wire/test_roles.py @@ -10,12 +10,21 @@ def test_roles_list_() -> None: page=1, include_totals=True, name_filter="name_filter", + type="tenant", + owner_id="owner_id", ) verify_request_count( test_id, "GET", "/roles", - {"per_page": "1", "page": "1", "include_totals": "true", "name_filter": "name_filter"}, + { + "per_page": "1", + "page": "1", + "include_totals": "true", + "name_filter": "name_filter", + "type": "tenant", + "owner_id": "owner_id", + }, 1, ) diff --git a/tests/wire/test_roles_users.py b/tests/wire/test_roles_users.py index 3a117043..8add4680 100644 --- a/tests/wire/test_roles_users.py +++ b/tests/wire/test_roles_users.py @@ -7,10 +7,11 @@ def test_roles_users_list_() -> None: client = get_client(test_id) client.roles.users.list( id="id", + include_totals=True, from_="from", take=1, ) - verify_request_count(test_id, "GET", "/roles/id/users", {"from": "from", "take": "1"}, 1) + verify_request_count(test_id, "GET", "/roles/id/users", {"include_totals": "true", "from": "from", "take": "1"}, 1) def test_roles_users_assign() -> None: diff --git a/tests/wire/test_users.py b/tests/wire/test_users.py index 1c42f3e7..433188e6 100644 --- a/tests/wire/test_users.py +++ b/tests/wire/test_users.py @@ -93,6 +93,38 @@ def test_users_update() -> None: verify_request_count(test_id, "PATCH", "/users/id", None, 1) +def test_users_list_consent_signing_keys() -> None: + """Test listConsentSigningKeys endpoint with WireMock""" + test_id = "users.list_consent_signing_keys.0" + client = get_client(test_id) + client.users.list_consent_signing_keys( + id="id", + ) + verify_request_count(test_id, "GET", "/users/id/consent-signing-keys", None, 1) + + +def test_users_get_consent_signing_key() -> None: + """Test getConsentSigningKey endpoint with WireMock""" + test_id = "users.get_consent_signing_key.0" + client = get_client(test_id) + client.users.get_consent_signing_key( + id="id", + kid="kid", + ) + verify_request_count(test_id, "GET", "/users/id/consent-signing-keys/kid", None, 1) + + +def test_users_delete_consent_signing_key() -> None: + """Test deleteConsentSigningKey endpoint with WireMock""" + test_id = "users.delete_consent_signing_key.0" + client = get_client(test_id) + client.users.delete_consent_signing_key( + id="id", + kid="kid", + ) + verify_request_count(test_id, "DELETE", "/users/id/consent-signing-keys/kid", None, 1) + + def test_users_regenerate_recovery_code() -> None: """Test regenerateRecoveryCode endpoint with WireMock""" test_id = "users.regenerate_recovery_code.0" diff --git a/tests/wire/test_users_federatedConnectionsTokensets.py b/tests/wire/test_users_federatedConnectionsTokensets.py deleted file mode 100644 index 56adbeec..00000000 --- a/tests/wire/test_users_federatedConnectionsTokensets.py +++ /dev/null @@ -1,22 +0,0 @@ -from .conftest import get_client, verify_request_count - - -def test_users_federatedConnectionsTokensets_list_() -> None: - """Test list endpoint with WireMock""" - test_id = "users.federated_connections_tokensets.list_.0" - client = get_client(test_id) - client.users.federated_connections_tokensets.list( - id="id", - ) - verify_request_count(test_id, "GET", "/users/id/federated-connections-tokensets", None, 1) - - -def test_users_federatedConnectionsTokensets_delete() -> None: - """Test delete endpoint with WireMock""" - test_id = "users.federated_connections_tokensets.delete.0" - client = get_client(test_id) - client.users.federated_connections_tokensets.delete( - id="id", - tokenset_id="tokenset_id", - ) - verify_request_count(test_id, "DELETE", "/users/id/federated-connections-tokensets/tokenset_id", None, 1) diff --git a/tests/wire/test_users_groups.py b/tests/wire/test_users_groups.py index 16eab6f7..ad380b23 100644 --- a/tests/wire/test_users_groups.py +++ b/tests/wire/test_users_groups.py @@ -9,6 +9,7 @@ def test_users_groups_get() -> None: id="id", fields="fields", include_fields=True, + include_totals=True, from_="from", take=1, ) @@ -16,6 +17,6 @@ def test_users_groups_get() -> None: test_id, "GET", "/users/id/groups", - {"fields": "fields", "include_fields": "true", "from": "from", "take": "1"}, + {"fields": "fields", "include_fields": "true", "include_totals": "true", "from": "from", "take": "1"}, 1, ) diff --git a/tests/wire/test_users_refreshToken.py b/tests/wire/test_users_refreshToken.py index 80468283..9bf6d765 100644 --- a/tests/wire/test_users_refreshToken.py +++ b/tests/wire/test_users_refreshToken.py @@ -7,10 +7,13 @@ def test_users_refreshToken_list_() -> None: client = get_client(test_id) client.users.refresh_token.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) - verify_request_count(test_id, "GET", "/users/user_id/refresh-tokens", {"from": "from", "take": "1"}, 1) + verify_request_count( + test_id, "GET", "/users/user_id/refresh-tokens", {"include_totals": "true", "from": "from", "take": "1"}, 1 + ) def test_users_refreshToken_delete() -> None: diff --git a/tests/wire/test_users_sessions.py b/tests/wire/test_users_sessions.py index 0184176f..31ed5fcb 100644 --- a/tests/wire/test_users_sessions.py +++ b/tests/wire/test_users_sessions.py @@ -7,10 +7,13 @@ def test_users_sessions_list_() -> None: client = get_client(test_id) client.users.sessions.list( user_id="user_id", + include_totals=True, from_="from", take=1, ) - verify_request_count(test_id, "GET", "/users/user_id/sessions", {"from": "from", "take": "1"}, 1) + verify_request_count( + test_id, "GET", "/users/user_id/sessions", {"include_totals": "true", "from": "from", "take": "1"}, 1 + ) def test_users_sessions_delete() -> None: diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index b00d24cb..6f06cd95 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -269,25 +269,33 @@ } }, { - "id": "0f76d290-6b70-4f62-abc8-3760917fe787", - "name": "Get branding settings - default", + "id": "e57d3d93-924c-454b-894e-3e0deab81c8a", + "name": "Get agents - default", "request": { - "urlPathTemplate": "/branding", + "urlPathTemplate": "/agents", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } } }, "response": { "status": 200, - "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", + "body": "{\n \"agents\": [\n {\n \"agent_id\": \"agent_id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"external_agent_id\": \"external_agent_id\",\n \"metadata\": {\n \"key\": \"value\"\n }\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0f76d290-6b70-4f62-abc8-3760917fe787", + "uuid": "e57d3d93-924c-454b-894e-3e0deab81c8a", "persistent": true, "priority": 3, "metadata": { @@ -301,11 +309,11 @@ "postServeActions": [] }, { - "id": "9ca9e729-0745-457c-828d-37f7c8ab1698", - "name": "Update branding settings - default", + "id": "95ffdeb2-8e4d-45a8-b3e6-dfee451101bc", + "name": "Create an agent - default", "request": { - "urlPathTemplate": "/branding", - "method": "PATCH", + "urlPathTemplate": "/agents", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -313,13 +321,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", + "status": 201, + "body": "{\n \"agent_id\": \"agent_id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"external_agent_id\": \"external_agent_id\",\n \"metadata\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "9ca9e729-0745-457c-828d-37f7c8ab1698", + "uuid": "95ffdeb2-8e4d-45a8-b3e6-dfee451101bc", "persistent": true, "priority": 3, "metadata": { @@ -332,48 +340,30 @@ } }, { - "id": "5dbe0859-fbb5-4eb1-a803-8132e840e762", - "name": "Get client grants - default", + "id": "e6eacf15-64ae-4475-9825-02e2304fc092", + "name": "Get an agent - default", "request": { - "urlPathTemplate": "/client-grants", + "urlPathTemplate": "/agents/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - }, - "audience": { - "equalTo": "audience" - }, - "client_id": { - "equalTo": "client_id" - }, - "allow_any_organization": { - "equalTo": "true" - }, - "subject_type": { - "equalTo": "client" - }, - "default_for": { - "equalTo": "third_party_clients" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n }\n ]\n}", + "body": "{\n \"agent_id\": \"agent_id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"external_agent_id\": \"external_agent_id\",\n \"metadata\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "5dbe0859-fbb5-4eb1-a803-8132e840e762", + "uuid": "e6eacf15-64ae-4475-9825-02e2304fc092", "persistent": true, "priority": 3, "metadata": { @@ -383,29 +373,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "006f7f26-5002-4b98-a65f-39f8aee8e968", - "name": "Create client grant - default", + "id": "7077fe4c-7880-4955-9e36-8e52330fb15a", + "name": "Delete an agent - default", "request": { - "urlPathTemplate": "/client-grants", - "method": "POST", + "urlPathTemplate": "/agents/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "006f7f26-5002-4b98-a65f-39f8aee8e968", + "uuid": "7077fe4c-7880-4955-9e36-8e52330fb15a", "persistent": true, "priority": 3, "metadata": { @@ -418,11 +412,11 @@ } }, { - "id": "03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37", - "name": "Get client grant - default", + "id": "b357e80d-57fc-4f4a-becb-184125842929", + "name": "Update an agent - default", "request": { - "urlPathTemplate": "/client-grants/{id}", - "method": "GET", + "urlPathTemplate": "/agents/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -436,12 +430,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", + "body": "{\n \"agent_id\": \"agent_id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"external_agent_id\": \"external_agent_id\",\n \"metadata\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37", + "uuid": "b357e80d-57fc-4f4a-becb-184125842929", "persistent": true, "priority": 3, "metadata": { @@ -454,30 +448,25 @@ } }, { - "id": "00010fe3-8553-4cd6-9b9a-68aad031054f", - "name": "Delete client grant - default", + "id": "0f76d290-6b70-4f62-abc8-3760917fe787", + "name": "Get branding settings - default", "request": { - "urlPathTemplate": "/client-grants/{id}", - "method": "DELETE", + "urlPathTemplate": "/branding", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "00010fe3-8553-4cd6-9b9a-68aad031054f", + "uuid": "0f76d290-6b70-4f62-abc8-3760917fe787", "persistent": true, "priority": 3, "metadata": { @@ -487,33 +476,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "d4a5deb2-fef3-4f0d-84ab-d78760e07405", - "name": "Update client grant - default", + "id": "9ca9e729-0745-457c-828d-37f7c8ab1698", + "name": "Update branding settings - default", "request": { - "urlPathTemplate": "/client-grants/{id}", + "urlPathTemplate": "/branding", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", + "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d4a5deb2-fef3-4f0d-84ab-d78760e07405", + "uuid": "9ca9e729-0745-457c-828d-37f7c8ab1698", "persistent": true, "priority": 3, "metadata": { @@ -526,10 +511,10 @@ } }, { - "id": "e9057410-f073-4b5b-83dc-dc4d5625ef27", - "name": "Get clients - default", + "id": "5dbe0859-fbb5-4eb1-a803-8132e840e762", + "name": "Get client grants - default", "request": { - "urlPathTemplate": "/clients", + "urlPathTemplate": "/client-grants", "method": "GET", "headers": { "Authorization": { @@ -537,46 +522,40 @@ } }, "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { + "include_totals": { "equalTo": "true" }, - "page": { - "equalTo": "1" + "from": { + "equalTo": "from" }, - "per_page": { + "take": { "equalTo": "1" }, - "include_totals": { - "equalTo": "true" + "audience": { + "equalTo": "audience" }, - "is_global": { - "equalTo": "true" + "client_id": { + "equalTo": "client_id" }, - "is_first_party": { + "allow_any_organization": { "equalTo": "true" }, - "app_type": { - "equalTo": "app_type" - }, - "external_client_id": { - "equalTo": "external_client_id" + "subject_type": { + "equalTo": "client" }, - "q": { - "equalTo": "q" + "default_for": { + "equalTo": "third_party_clients" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}", + "body": "{\n \"next\": \"next\",\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e9057410-f073-4b5b-83dc-dc4d5625ef27", + "uuid": "5dbe0859-fbb5-4eb1-a803-8132e840e762", "persistent": true, "priority": 3, "metadata": { @@ -590,10 +569,10 @@ "postServeActions": [] }, { - "id": "f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6", - "name": "Create a client - default", + "id": "006f7f26-5002-4b98-a65f-39f8aee8e968", + "name": "Create client grant - default", "request": { - "urlPathTemplate": "/clients", + "urlPathTemplate": "/client-grants", "method": "POST", "headers": { "Authorization": { @@ -603,12 +582,12 @@ }, "response": { "status": 201, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6", + "uuid": "006f7f26-5002-4b98-a65f-39f8aee8e968", "persistent": true, "priority": 3, "metadata": { @@ -621,25 +600,48 @@ } }, { - "id": "b8d4879d-c044-46cf-9b84-f94f05858081", - "name": "Preview and validate Client ID Metadata Document - default", + "id": "e809df23-d9d6-4332-9016-571f480d902f", + "name": "Search client grants - default", "request": { - "urlPathTemplate": "/clients/cimd/preview", - "method": "POST", + "urlPathTemplate": "/client-grants/search", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "q": { + "equalTo": "q" + }, + "parser": { + "equalTo": "scim" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "audience" + } } }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"errors\": [\n \"errors\"\n ],\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n },\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n }\n}", + "body": "{\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b8d4879d-c044-46cf-9b84-f94f05858081", + "uuid": "e809df23-d9d6-4332-9016-571f480d902f", "persistent": true, "priority": 3, "metadata": { @@ -649,28 +651,34 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "89ded3bf-7977-43f9-93dc-2f65f3dbc0fe", - "name": "Register or update a CIMD client via metadata URI - default", + "id": "03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37", + "name": "Get client grant - default", "request": { - "urlPathTemplate": "/clients/cimd/register", - "method": "POST", + "urlPathTemplate": "/client-grants/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n },\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n }\n}", + "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "89ded3bf-7977-43f9-93dc-2f65f3dbc0fe", + "uuid": "03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37", "persistent": true, "priority": 3, "metadata": { @@ -683,11 +691,11 @@ } }, { - "id": "12071cdc-1adc-4b32-8601-2cd12aa19c0c", - "name": "Get client by ID - default", + "id": "00010fe3-8553-4cd6-9b9a-68aad031054f", + "name": "Delete client grant - default", "request": { - "urlPathTemplate": "/clients/{id}", - "method": "GET", + "urlPathTemplate": "/client-grants/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -697,24 +705,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "12071cdc-1adc-4b32-8601-2cd12aa19c0c", + "uuid": "00010fe3-8553-4cd6-9b9a-68aad031054f", "persistent": true, "priority": 3, "metadata": { @@ -727,11 +727,11 @@ } }, { - "id": "814f5054-4723-45e8-8d89-5a7da08db0d8", - "name": "Delete a client - default", + "id": "d4a5deb2-fef3-4f0d-84ab-d78760e07405", + "name": "Update client grant - default", "request": { - "urlPathTemplate": "/clients/{id}", - "method": "DELETE", + "urlPathTemplate": "/client-grants/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -745,12 +745,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "814f5054-4723-45e8-8d89-5a7da08db0d8", + "uuid": "d4a5deb2-fef3-4f0d-84ab-d78760e07405", "persistent": true, "priority": 3, "metadata": { @@ -763,30 +763,33 @@ } }, { - "id": "b4e5dc6c-c84f-4128-b87a-50876b601f77", - "name": "Update a client - default", + "id": "8f69f1ad-0119-4385-b58b-3613d7ce5ee1", + "name": "List client profiles - default", "request": { - "urlPathTemplate": "/clients/{id}", - "method": "PATCH", + "urlPathTemplate": "/client-profiles", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"next\": \"next\",\n \"client_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {},\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b4e5dc6c-c84f-4128-b87a-50876b601f77", + "uuid": "8f69f1ad-0119-4385-b58b-3613d7ce5ee1", "persistent": true, "priority": 3, "metadata": { @@ -796,33 +799,29 @@ "via": "SYSTEM" } } - } - }, + }, + "postServeActions": [] + }, { - "id": "3dbf1f11-9054-4a8d-b670-96640f3ba9a5", - "name": "Rotate a client secret - default", + "id": "f65ac957-f4a8-4cb4-8a85-c5303f99f3dd", + "name": "Create a client profile - default", "request": { - "urlPathTemplate": "/clients/{id}/rotate-secret", + "urlPathTemplate": "/client-profiles", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n },\n \"oidc_support\": {\n \"default_value\": {\n \"is_allowed\": true\n }\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3dbf1f11-9054-4a8d-b670-96640f3ba9a5", + "uuid": "f65ac957-f4a8-4cb4-8a85-c5303f99f3dd", "persistent": true, "priority": 3, "metadata": { @@ -835,33 +834,30 @@ } }, { - "id": "af1dc5c5-16af-447c-8374-e80a178ce120", - "name": "Get Connection Profiles - default", + "id": "c42dd8bf-5033-45dd-9932-4fc6a7459ae6", + "name": "Get a client profile - default", "request": { - "urlPathTemplate": "/connection-profiles", + "urlPathTemplate": "/client-profiles/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"connection_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n },\n \"oidc_support\": {\n \"default_value\": {\n \"is_allowed\": true\n }\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "af1dc5c5-16af-447c-8374-e80a178ce120", + "uuid": "c42dd8bf-5033-45dd-9932-4fc6a7459ae6", "persistent": true, "priority": 3, "metadata": { @@ -871,29 +867,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947", - "name": "Create a connection profile - default", + "id": "874f2f6a-21a0-4699-b722-67cfd41798dc", + "name": "Delete a client profile - default", "request": { - "urlPathTemplate": "/connection-profiles", - "method": "POST", + "urlPathTemplate": "/client-profiles/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947", + "uuid": "874f2f6a-21a0-4699-b722-67cfd41798dc", "persistent": true, "priority": 3, "metadata": { @@ -906,25 +906,30 @@ } }, { - "id": "0d6f52e7-dd90-4579-a469-761793294ec5", - "name": "Get Connection Profile Templates - default", + "id": "fa483d55-61de-42ae-8a75-bdc8bf1eaa99", + "name": "Update a client profile - default", "request": { - "urlPathTemplate": "/connection-profiles/templates", - "method": "GET", + "urlPathTemplate": "/client-profiles/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"connection_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n },\n \"oidc_support\": {\n \"default_value\": {\n \"is_allowed\": true\n }\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0d6f52e7-dd90-4579-a469-761793294ec5", + "uuid": "fa483d55-61de-42ae-8a75-bdc8bf1eaa99", "persistent": true, "priority": 3, "metadata": { @@ -934,34 +939,63 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "4e7a3895-5c6c-41cc-b32f-4303e2a973d9", - "name": "Get Connection Profile Template - default", + "id": "e9057410-f073-4b5b-83dc-dc4d5625ef27", + "name": "Get clients - default", "request": { - "urlPathTemplate": "/connection-profiles/templates/{id}", + "urlPathTemplate": "/clients", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "is_global": { + "equalTo": "true" + }, + "is_first_party": { + "equalTo": "true" + }, + "app_type": { + "equalTo": "app_type" + }, + "external_client_id": { + "equalTo": "external_client_id" + }, + "agent_id": { + "equalTo": "agent_id" + }, + "q": { + "equalTo": "q" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4e7a3895-5c6c-41cc-b32f-4303e2a973d9", + "uuid": "e9057410-f073-4b5b-83dc-dc4d5625ef27", "persistent": true, "priority": 3, "metadata": { @@ -971,33 +1005,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "d5fff7c1-6be8-487e-a8b2-45fa4f4713d9", - "name": "Get Connection Profile - default", + "id": "f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6", + "name": "Create a client - default", "request": { - "urlPathTemplate": "/connection-profiles/{id}", - "method": "GET", + "urlPathTemplate": "/clients", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}", + "status": 201, + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\",\n \"okta_oin_listing_url\": \"okta_oin_listing_url\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"google_account_linking\": {\n \"allow_streamlined_linking\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d5fff7c1-6be8-487e-a8b2-45fa4f4713d9", + "uuid": "f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6", "persistent": true, "priority": 3, "metadata": { @@ -1010,30 +1040,25 @@ } }, { - "id": "fcfdce88-b3c9-4a57-8c4b-672e88f0363c", - "name": "Delete Connection Profile - default", + "id": "b8d4879d-c044-46cf-9b84-f94f05858081", + "name": "Preview and validate Client ID Metadata Document - default", "request": { - "urlPathTemplate": "/connection-profiles/{id}", - "method": "DELETE", + "urlPathTemplate": "/clients/cimd/preview", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"client_id\": \"client_id\",\n \"external_metadata_created_by\": \"admin\",\n \"errors\": [\n \"errors\"\n ],\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n },\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fcfdce88-b3c9-4a57-8c4b-672e88f0363c", + "uuid": "b8d4879d-c044-46cf-9b84-f94f05858081", "persistent": true, "priority": 3, "metadata": { @@ -1046,30 +1071,25 @@ } }, { - "id": "77f167dc-e4c6-478a-b74f-0e1385df797c", - "name": "Modify a Connection Profile - default", + "id": "89ded3bf-7977-43f9-93dc-2f65f3dbc0fe", + "name": "Register or update a CIMD client via metadata URI - default", "request": { - "urlPathTemplate": "/connection-profiles/{id}", - "method": "PATCH", + "urlPathTemplate": "/clients/cimd/register", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n },\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "77f167dc-e4c6-478a-b74f-0e1385df797c", + "uuid": "89ded3bf-7977-43f9-93dc-2f65f3dbc0fe", "persistent": true, "priority": 3, "metadata": { @@ -1082,10 +1102,10 @@ } }, { - "id": "baf70a92-2b1e-4355-a67e-a94f22a92ab5", - "name": "Get all connections - default", + "id": "e4f1c4be-c358-48c6-9536-845bfd9b7f1e", + "name": "Search clients using SCIM or Lucene filter syntax - default", "request": { - "urlPathTemplate": "/connections", + "urlPathTemplate": "/clients/search", "method": "GET", "headers": { "Authorization": { @@ -1093,38 +1113,37 @@ } }, "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - }, - "strategy": { - "hasExactly": [ - { - "equalTo": "ad" - } - ] + "q": { + "equalTo": "q" }, - "name": { - "equalTo": "name" + "parser": { + "equalTo": "scim" }, "fields": { "equalTo": "fields" }, "include_fields": { "equalTo": "true" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "name" } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n }\n ]\n}", + "body": "{\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "baf70a92-2b1e-4355-a67e-a94f22a92ab5", + "uuid": "e4f1c4be-c358-48c6-9536-845bfd9b7f1e", "persistent": true, "priority": 3, "metadata": { @@ -1138,41 +1157,10 @@ "postServeActions": [] }, { - "id": "bfae8759-4528-462e-9a50-239cbd75f902", - "name": "Create a connection - default", - "request": { - "urlPathTemplate": "/connections", - "method": "POST", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - } - }, - "response": { - "status": 201, - "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "bfae8759-4528-462e-9a50-239cbd75f902", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "eb9c1976-0ef9-4666-adde-d2059ed3c1a2", - "name": "Get a connection - default", + "id": "12071cdc-1adc-4b32-8601-2cd12aa19c0c", + "name": "Get client by ID - default", "request": { - "urlPathTemplate": "/connections/{id}", + "urlPathTemplate": "/clients/{id}", "method": "GET", "headers": { "Authorization": { @@ -1195,12 +1183,12 @@ }, "response": { "status": 200, - "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\",\n \"okta_oin_listing_url\": \"okta_oin_listing_url\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"google_account_linking\": {\n \"allow_streamlined_linking\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "eb9c1976-0ef9-4666-adde-d2059ed3c1a2", + "uuid": "12071cdc-1adc-4b32-8601-2cd12aa19c0c", "persistent": true, "priority": 3, "metadata": { @@ -1213,10 +1201,10 @@ } }, { - "id": "e55d516f-7f79-4796-8adf-e0032183c04c", - "name": "Delete a connection - default", + "id": "814f5054-4723-45e8-8d89-5a7da08db0d8", + "name": "Delete a client - default", "request": { - "urlPathTemplate": "/connections/{id}", + "urlPathTemplate": "/clients/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -1236,7 +1224,7 @@ "Content-Type": "application/json" } }, - "uuid": "e55d516f-7f79-4796-8adf-e0032183c04c", + "uuid": "814f5054-4723-45e8-8d89-5a7da08db0d8", "persistent": true, "priority": 3, "metadata": { @@ -1249,10 +1237,10 @@ } }, { - "id": "aa701672-a67f-47fc-9cfd-3d68353d9846", - "name": "Update a connection - default", + "id": "b4e5dc6c-c84f-4128-b87a-50876b601f77", + "name": "Update a client - default", "request": { - "urlPathTemplate": "/connections/{id}", + "urlPathTemplate": "/clients/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -1267,12 +1255,12 @@ }, "response": { "status": 200, - "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\",\n \"okta_oin_listing_url\": \"okta_oin_listing_url\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"google_account_linking\": {\n \"allow_streamlined_linking\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "aa701672-a67f-47fc-9cfd-3d68353d9846", + "uuid": "b4e5dc6c-c84f-4128-b87a-50876b601f77", "persistent": true, "priority": 3, "metadata": { @@ -1285,11 +1273,11 @@ } }, { - "id": "6e5db857-6ab6-4406-a83f-fb4332f72b48", - "name": "Check connection status - default", + "id": "3dbf1f11-9054-4a8d-b670-96640f3ba9a5", + "name": "Rotate a client secret - default", "request": { - "urlPathTemplate": "/connections/{id}/status", - "method": "GET", + "urlPathTemplate": "/clients/{id}/rotate-secret", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -1303,12 +1291,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\",\n \"okta_oin_listing_url\": \"okta_oin_listing_url\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"google_account_linking\": {\n \"allow_streamlined_linking\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"agent_id\": \"agent_id\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6e5db857-6ab6-4406-a83f-fb4332f72b48", + "uuid": "3dbf1f11-9054-4a8d-b670-96640f3ba9a5", "persistent": true, "priority": 3, "metadata": { @@ -1321,10 +1309,10 @@ } }, { - "id": "c65f529d-2be4-4dc7-81c0-6d696834184e", - "name": "Get custom domains configurations - default", + "id": "af1dc5c5-16af-447c-8374-e80a178ce120", + "name": "Get Connection Profiles - default", "request": { - "urlPathTemplate": "/custom-domains", + "urlPathTemplate": "/connection-profiles", "method": "GET", "headers": { "Authorization": { @@ -1332,28 +1320,22 @@ } }, "queryParameters": { - "q": { - "equalTo": "q" - }, - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" + "from": { + "equalTo": "from" }, - "sort": { - "equalTo": "sort" + "take": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "[\n {\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n]", + "body": "{\n \"next\": \"next\",\n \"connection_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\"\n }\n }\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "c65f529d-2be4-4dc7-81c0-6d696834184e", + "uuid": "af1dc5c5-16af-447c-8374-e80a178ce120", "persistent": true, "priority": 3, "metadata": { @@ -1367,10 +1349,10 @@ "postServeActions": [] }, { - "id": "d2917b20-da7e-4962-a75f-362f99682cf9", - "name": "Configure a new custom domain - default", + "id": "759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947", + "name": "Create a connection profile - default", "request": { - "urlPathTemplate": "/custom-domains", + "urlPathTemplate": "/connection-profiles", "method": "POST", "headers": { "Authorization": { @@ -1380,12 +1362,12 @@ }, "response": { "status": 201, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d2917b20-da7e-4962-a75f-362f99682cf9", + "uuid": "759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947", "persistent": true, "priority": 3, "metadata": { @@ -1398,10 +1380,10 @@ } }, { - "id": "3d8672c6-5dc1-4542-a4d4-d8538c1fcb62", - "name": "Get the default domain - default", + "id": "0d6f52e7-dd90-4579-a469-761793294ec5", + "name": "Get Connection Profile Templates - default", "request": { - "urlPathTemplate": "/custom-domains/default", + "urlPathTemplate": "/connection-profiles/templates", "method": "GET", "headers": { "Authorization": { @@ -1411,12 +1393,12 @@ }, "response": { "status": 200, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"connection_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3d8672c6-5dc1-4542-a4d4-d8538c1fcb62", + "uuid": "0d6f52e7-dd90-4579-a469-761793294ec5", "persistent": true, "priority": 3, "metadata": { @@ -1430,25 +1412,30 @@ "postServeActions": [] }, { - "id": "9234f676-54a6-42a5-b92b-9d5b98462b82", - "name": "Update the default custom domain for the tenant - default", + "id": "4e7a3895-5c6c-41cc-b32f-4303e2a973d9", + "name": "Get Connection Profile Template - default", "request": { - "urlPathTemplate": "/custom-domains/default", - "method": "PATCH", + "urlPathTemplate": "/connection-profiles/templates/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "9234f676-54a6-42a5-b92b-9d5b98462b82", + "uuid": "4e7a3895-5c6c-41cc-b32f-4303e2a973d9", "persistent": true, "priority": 3, "metadata": { @@ -1461,10 +1448,10 @@ } }, { - "id": "d56d6773-eda9-4b8a-9193-025d27feecb9", - "name": "Get custom domain configuration - default", + "id": "d5fff7c1-6be8-487e-a8b2-45fa4f4713d9", + "name": "Get Connection Profile - default", "request": { - "urlPathTemplate": "/custom-domains/{id}", + "urlPathTemplate": "/connection-profiles/{id}", "method": "GET", "headers": { "Authorization": { @@ -1479,12 +1466,12 @@ }, "response": { "status": 200, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d56d6773-eda9-4b8a-9193-025d27feecb9", + "uuid": "d5fff7c1-6be8-487e-a8b2-45fa4f4713d9", "persistent": true, "priority": 3, "metadata": { @@ -1497,10 +1484,10 @@ } }, { - "id": "0d3570c3-79d1-49e1-85ca-aa706fb2834d", - "name": "Delete custom domain configuration - default", + "id": "fcfdce88-b3c9-4a57-8c4b-672e88f0363c", + "name": "Delete Connection Profile - default", "request": { - "urlPathTemplate": "/custom-domains/{id}", + "urlPathTemplate": "/connection-profiles/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -1520,7 +1507,7 @@ "Content-Type": "application/json" } }, - "uuid": "0d3570c3-79d1-49e1-85ca-aa706fb2834d", + "uuid": "fcfdce88-b3c9-4a57-8c4b-672e88f0363c", "persistent": true, "priority": 3, "metadata": { @@ -1533,10 +1520,10 @@ } }, { - "id": "38539a1e-230b-4e70-b2f9-7ae0f252e1b6", - "name": "Update custom domain configuration - default", + "id": "77f167dc-e4c6-478a-b74f-0e1385df797c", + "name": "Modify a Connection Profile - default", "request": { - "urlPathTemplate": "/custom-domains/{id}", + "urlPathTemplate": "/connection-profiles/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -1551,12 +1538,12 @@ }, "response": { "status": 200, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "38539a1e-230b-4e70-b2f9-7ae0f252e1b6", + "uuid": "77f167dc-e4c6-478a-b74f-0e1385df797c", "persistent": true, "priority": 3, "metadata": { @@ -1569,30 +1556,52 @@ } }, { - "id": "cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c", - "name": "Test a custom domain - default", + "id": "baf70a92-2b1e-4355-a67e-a94f22a92ab5", + "name": "Get all connections - default", "request": { - "urlPathTemplate": "/custom-domains/{id}/test", - "method": "POST", + "urlPathTemplate": "/connections", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "include_totals": { + "equalTo": "true" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "strategy": { + "hasExactly": [ + { + "equalTo": "ad" + } + ] + }, + "name": { + "equalTo": "name" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"success\": true,\n \"message\": \"message\"\n}", + "body": "{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n },\n \"cross_app_access_resource_app\": {\n \"status\": \"enabled\"\n }\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c", + "uuid": "baf70a92-2b1e-4355-a67e-a94f22a92ab5", "persistent": true, "priority": 3, "metadata": { @@ -1602,33 +1611,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "43d540a8-528e-44db-9bda-83cf1ef8a54d", - "name": "Verify a custom domain - default", + "id": "bfae8759-4528-462e-9a50-239cbd75f902", + "name": "Create a connection - default", "request": { - "urlPathTemplate": "/custom-domains/{id}/verify", + "urlPathTemplate": "/connections", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"cname_api_key\": \"cname_api_key\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}", + "status": 201, + "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true,\n \"allow_missing_user_id\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n },\n \"cross_app_access_resource_app\": {\n \"status\": \"enabled\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "43d540a8-528e-44db-9bda-83cf1ef8a54d", + "uuid": "bfae8759-4528-462e-9a50-239cbd75f902", "persistent": true, "priority": 3, "metadata": { @@ -1641,51 +1646,38 @@ } }, { - "id": "cfcb7751-7a75-45bf-b39f-29bac41590da", - "name": "Retrieve device credentials - default", + "id": "eb9c1976-0ef9-4666-adde-d2059ed3c1a2", + "name": "Get a connection - default", "request": { - "urlPathTemplate": "/device-credentials", + "urlPathTemplate": "/connections/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, "fields": { "equalTo": "fields" }, "include_fields": { "equalTo": "true" - }, - "user_id": { - "equalTo": "user_id" - }, - "client_id": { - "equalTo": "client_id" - }, - "type": { - "equalTo": "public_key" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"device_credentials\": [\n {\n \"id\": \"id\",\n \"device_name\": \"device_name\",\n \"device_id\": \"device_id\",\n \"type\": \"public_key\",\n \"user_id\": \"user_id\",\n \"client_id\": \"client_id\"\n }\n ]\n}", + "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true,\n \"allow_missing_user_id\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n },\n \"cross_app_access_resource_app\": {\n \"status\": \"enabled\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cfcb7751-7a75-45bf-b39f-29bac41590da", + "uuid": "eb9c1976-0ef9-4666-adde-d2059ed3c1a2", "persistent": true, "priority": 3, "metadata": { @@ -1695,29 +1687,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "01818d23-c5cc-483a-90d7-5a5b11bf52e7", - "name": "Create a device public key credential - default", + "id": "e55d516f-7f79-4796-8adf-e0032183c04c", + "name": "Delete a connection - default", "request": { - "urlPathTemplate": "/device-credentials", - "method": "POST", + "urlPathTemplate": "/connections/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "01818d23-c5cc-483a-90d7-5a5b11bf52e7", + "uuid": "e55d516f-7f79-4796-8adf-e0032183c04c", "persistent": true, "priority": 3, "metadata": { @@ -1730,11 +1726,11 @@ } }, { - "id": "d2da3529-65a2-4a85-a6c8-c60a55a085ad", - "name": "Delete a device credential - default", + "id": "aa701672-a67f-47fc-9cfd-3d68353d9846", + "name": "Update a connection - default", "request": { - "urlPathTemplate": "/device-credentials/{id}", - "method": "DELETE", + "urlPathTemplate": "/connections/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -1748,12 +1744,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true,\n \"allow_missing_user_id\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n },\n \"cross_app_access_resource_app\": {\n \"status\": \"enabled\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d2da3529-65a2-4a85-a6c8-c60a55a085ad", + "uuid": "aa701672-a67f-47fc-9cfd-3d68353d9846", "persistent": true, "priority": 3, "metadata": { @@ -1766,25 +1762,30 @@ } }, { - "id": "27d925db-b0e4-4cad-bf10-75440adb5dea", - "name": "Create an email template - default", + "id": "6e5db857-6ab6-4406-a83f-fb4332f72b48", + "name": "Check connection status - default", "request": { - "urlPathTemplate": "/email-templates", - "method": "POST", + "urlPathTemplate": "/connections/{id}/status", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "27d925db-b0e4-4cad-bf10-75440adb5dea", + "uuid": "6e5db857-6ab6-4406-a83f-fb4332f72b48", "persistent": true, "priority": 3, "metadata": { @@ -1797,30 +1798,39 @@ } }, { - "id": "e41992b1-8cf3-4611-9179-334debfd831a", - "name": "Get an email template - default", + "id": "c65f529d-2be4-4dc7-81c0-6d696834184e", + "name": "Get custom domains configurations - default", "request": { - "urlPathTemplate": "/email-templates/{templateName}", + "urlPathTemplate": "/custom-domains", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "templateName": { - "equalTo": "verify_email" + "queryParameters": { + "q": { + "equalTo": "q" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "sort": { + "equalTo": "sort" } } }, "response": { "status": 200, - "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", + "body": "[\n {\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "e41992b1-8cf3-4611-9179-334debfd831a", + "uuid": "c65f529d-2be4-4dc7-81c0-6d696834184e", "persistent": true, "priority": 3, "metadata": { @@ -1830,69 +1840,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "4b7ee5d7-df46-44d7-8747-1db6f37bcda8", - "name": "Update an email template - default", + "id": "d2917b20-da7e-4962-a75f-362f99682cf9", + "name": "Configure a new custom domain - default", "request": { - "urlPathTemplate": "/email-templates/{templateName}", - "method": "PUT", + "urlPathTemplate": "/custom-domains", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "templateName": { - "equalTo": "verify_email" - } } }, "response": { - "status": 200, - "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "4b7ee5d7-df46-44d7-8747-1db6f37bcda8", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "1489d312-c6ca-4277-a1d2-01ce4c4fdad9", - "name": "Patch an email template - default", - "request": { - "urlPathTemplate": "/email-templates/{templateName}", - "method": "PATCH", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "templateName": { - "equalTo": "verify_email" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", + "status": 201, + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1489d312-c6ca-4277-a1d2-01ce4c4fdad9", + "uuid": "d2917b20-da7e-4962-a75f-362f99682cf9", "persistent": true, "priority": 3, "metadata": { @@ -1905,33 +1875,25 @@ } }, { - "id": "0fe7f4b8-58ff-4442-9339-c48f5185600f", - "name": "Get event streams - default", + "id": "3d8672c6-5dc1-4542-a4d4-d8538c1fcb62", + "name": "Get the default domain - default", "request": { - "urlPathTemplate": "/event-streams", + "urlPathTemplate": "/custom-domains/default", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"eventStreams\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {}\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0fe7f4b8-58ff-4442-9339-c48f5185600f", + "uuid": "3d8672c6-5dc1-4542-a4d4-d8538c1fcb62", "persistent": true, "priority": 3, "metadata": { @@ -1945,11 +1907,11 @@ "postServeActions": [] }, { - "id": "5b1a29bf-5c5c-45dd-a9fb-64f6944455e0", - "name": "Create an event stream - default", + "id": "9234f676-54a6-42a5-b92b-9d5b98462b82", + "name": "Update the default custom domain for the tenant - default", "request": { - "urlPathTemplate": "/event-streams", - "method": "POST", + "urlPathTemplate": "/custom-domains/default", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -1957,13 +1919,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "5b1a29bf-5c5c-45dd-a9fb-64f6944455e0", + "uuid": "9234f676-54a6-42a5-b92b-9d5b98462b82", "persistent": true, "priority": 3, "metadata": { @@ -1976,10 +1938,10 @@ } }, { - "id": "85d4a52f-7433-408c-a7cc-30776d9ed641", - "name": "Get an event stream by ID - default", + "id": "d56d6773-eda9-4b8a-9193-025d27feecb9", + "name": "Get custom domain configuration - default", "request": { - "urlPathTemplate": "/event-streams/{id}", + "urlPathTemplate": "/custom-domains/{id}", "method": "GET", "headers": { "Authorization": { @@ -1994,12 +1956,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "85d4a52f-7433-408c-a7cc-30776d9ed641", + "uuid": "d56d6773-eda9-4b8a-9193-025d27feecb9", "persistent": true, "priority": 3, "metadata": { @@ -2012,10 +1974,10 @@ } }, { - "id": "4812fcc9-8f28-4732-96d4-8adb072fa78a", - "name": "Delete an event stream - default", + "id": "0d3570c3-79d1-49e1-85ca-aa706fb2834d", + "name": "Delete custom domain configuration - default", "request": { - "urlPathTemplate": "/event-streams/{id}", + "urlPathTemplate": "/custom-domains/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -2035,7 +1997,7 @@ "Content-Type": "application/json" } }, - "uuid": "4812fcc9-8f28-4732-96d4-8adb072fa78a", + "uuid": "0d3570c3-79d1-49e1-85ca-aa706fb2834d", "persistent": true, "priority": 3, "metadata": { @@ -2048,10 +2010,10 @@ } }, { - "id": "08468f05-d404-462e-8fdd-ce9dca3f4e3c", - "name": "Update an event stream - default", + "id": "38539a1e-230b-4e70-b2f9-7ae0f252e1b6", + "name": "Update custom domain configuration - default", "request": { - "urlPathTemplate": "/event-streams/{id}", + "urlPathTemplate": "/custom-domains/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -2066,12 +2028,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "08468f05-d404-462e-8fdd-ce9dca3f4e3c", + "uuid": "38539a1e-230b-4e70-b2f9-7ae0f252e1b6", "persistent": true, "priority": 3, "metadata": { @@ -2084,10 +2046,10 @@ } }, { - "id": "4ba115c6-e86b-4427-9ce9-8468a24916b0", - "name": "Send a test event to an event stream - default", + "id": "cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c", + "name": "Test a custom domain - default", "request": { - "urlPathTemplate": "/event-streams/{id}/test", + "urlPathTemplate": "/custom-domains/{id}/test", "method": "POST", "headers": { "Authorization": { @@ -2101,13 +2063,13 @@ } }, "response": { - "status": 202, - "body": "{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"group.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}", + "status": 200, + "body": "{\n \"success\": true,\n \"message\": \"message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4ba115c6-e86b-4427-9ce9-8468a24916b0", + "uuid": "cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c", "persistent": true, "priority": 3, "metadata": { @@ -2120,40 +2082,30 @@ } }, { - "id": "396f02e3-b8ea-4947-982d-a5026bc0319f", - "name": "Subscribe to events via Server-Sent Events (SSE) - default", + "id": "43d540a8-528e-44db-9bda-83cf1ef8a54d", + "name": "Verify a custom domain - default", "request": { - "urlPathTemplate": "/events", - "method": "GET", + "urlPathTemplate": "/custom-domains/{id}/verify", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "from_timestamp": { - "equalTo": "from_timestamp" - }, - "event_type": { - "hasExactly": [ - { - "equalTo": "group.created" - } - ] + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "event: message\ndata: {\"offset\":\"offset\",\"event\":{\"specversion\":\"specversion\",\"type\":\"group.created\",\"source\":\"source\",\"id\":\"id\",\"time\":\"2024-01-15T09:30:00Z\",\"data\":{\"object\":{\"id\":\"id\",\"name\":\"name\",\"created_at\":\"2024-01-15T09:30:00Z\",\"type\":\"connection\",\"connection_id\":\"connection_id\"},\"context\":{\"tenant\":{\"tenant_id\":\"tenant_id\"}}},\"a0tenant\":\"a0tenant\",\"a0stream\":\"a0stream\",\"a0purpose\":\"test\"},\"type\":\"group.created\"}\n", + "body": "{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"cname_api_key\": \"cname_api_key\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}", "headers": { - "Content-Type": "text/event-stream" + "Content-Type": "application/json" } }, - "uuid": "396f02e3-b8ea-4947-982d-a5026bc0319f", + "uuid": "43d540a8-528e-44db-9bda-83cf1ef8a54d", "persistent": true, "priority": 3, "metadata": { @@ -2163,14 +2115,13 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "9bee2213-71c4-41f8-9350-d50ede2f6c53", - "name": "Get flows - default", + "id": "cfcb7751-7a75-45bf-b39f-29bac41590da", + "name": "Retrieve device credentials - default", "request": { - "urlPathTemplate": "/flows", + "urlPathTemplate": "/device-credentials", "method": "GET", "headers": { "Authorization": { @@ -2187,26 +2138,31 @@ "include_totals": { "equalTo": "true" }, - "hydrate": { - "hasExactly": [ - { - "equalTo": "form_count" - } - ] + "fields": { + "equalTo": "fields" }, - "synchronous": { + "include_fields": { "equalTo": "true" + }, + "user_id": { + "equalTo": "user_id" + }, + "client_id": { + "equalTo": "client_id" + }, + "type": { + "equalTo": "public_key" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"flows\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"device_credentials\": [\n {\n \"id\": \"id\",\n \"device_name\": \"device_name\",\n \"device_id\": \"device_id\",\n \"type\": \"public_key\",\n \"user_id\": \"user_id\",\n \"client_id\": \"client_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "9bee2213-71c4-41f8-9350-d50ede2f6c53", + "uuid": "cfcb7751-7a75-45bf-b39f-29bac41590da", "persistent": true, "priority": 3, "metadata": { @@ -2220,10 +2176,10 @@ "postServeActions": [] }, { - "id": "6eb24c4a-01ad-47bc-bf9a-927970d1096e", - "name": "Create a flow - default", + "id": "01818d23-c5cc-483a-90d7-5a5b11bf52e7", + "name": "Create a device public key credential - default", "request": { - "urlPathTemplate": "/flows", + "urlPathTemplate": "/device-credentials", "method": "POST", "headers": { "Authorization": { @@ -2233,12 +2189,12 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "body": "{\n \"id\": \"id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6eb24c4a-01ad-47bc-bf9a-927970d1096e", + "uuid": "01818d23-c5cc-483a-90d7-5a5b11bf52e7", "persistent": true, "priority": 3, "metadata": { @@ -2251,11 +2207,11 @@ } }, { - "id": "1eccebc1-db7b-4349-8fae-45c8537e9880", - "name": "Get a flow - default", + "id": "d2da3529-65a2-4a85-a6c8-c60a55a085ad", + "name": "Delete a device credential - default", "request": { - "urlPathTemplate": "/flows/{id}", - "method": "GET", + "urlPathTemplate": "/device-credentials/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2265,25 +2221,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "hydrate": { - "hasExactly": [ - { - "equalTo": "form_count" - } - ] - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "1eccebc1-db7b-4349-8fae-45c8537e9880", + "uuid": "d2da3529-65a2-4a85-a6c8-c60a55a085ad", "persistent": true, "priority": 3, "metadata": { @@ -2296,30 +2243,25 @@ } }, { - "id": "4dba8bf4-bec9-4e15-8591-752e9ac3644e", - "name": "Delete a flow - default", + "id": "27d925db-b0e4-4cad-bf10-75440adb5dea", + "name": "Create an email template - default", "request": { - "urlPathTemplate": "/flows/{id}", - "method": "DELETE", + "urlPathTemplate": "/email-templates", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4dba8bf4-bec9-4e15-8591-752e9ac3644e", + "uuid": "27d925db-b0e4-4cad-bf10-75440adb5dea", "persistent": true, "priority": 3, "metadata": { @@ -2332,30 +2274,30 @@ } }, { - "id": "fc07198a-b41e-4537-aec6-1226e9691c86", - "name": "Update a flow - default", + "id": "e41992b1-8cf3-4611-9179-334debfd831a", + "name": "Get an email template - default", "request": { - "urlPathTemplate": "/flows/{id}", - "method": "PATCH", + "urlPathTemplate": "/email-templates/{templateName}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "templateName": { + "equalTo": "verify_email" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fc07198a-b41e-4537-aec6-1226e9691c86", + "uuid": "e41992b1-8cf3-4611-9179-334debfd831a", "persistent": true, "priority": 3, "metadata": { @@ -2368,43 +2310,105 @@ } }, { - "id": "3bf65872-e8cf-4987-becb-bb082f08419f", - "name": "Get forms - default", + "id": "4b7ee5d7-df46-44d7-8747-1db6f37bcda8", + "name": "Update an email template - default", "request": { - "urlPathTemplate": "/forms", - "method": "GET", + "urlPathTemplate": "/email-templates/{templateName}", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, - "hydrate": { - "hasExactly": [ - { - "equalTo": "flow_count" - } - ] + "pathParameters": { + "templateName": { + "equalTo": "verify_email" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"forms\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n }\n ]\n}", + "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3bf65872-e8cf-4987-becb-bb082f08419f", + "uuid": "4b7ee5d7-df46-44d7-8747-1db6f37bcda8", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "1489d312-c6ca-4277-a1d2-01ce4c4fdad9", + "name": "Patch an email template - default", + "request": { + "urlPathTemplate": "/email-templates/{templateName}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "templateName": { + "equalTo": "verify_email" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "1489d312-c6ca-4277-a1d2-01ce4c4fdad9", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "0fe7f4b8-58ff-4442-9339-c48f5185600f", + "name": "Get event streams - default", + "request": { + "urlPathTemplate": "/event-streams", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"eventStreams\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {}\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "0fe7f4b8-58ff-4442-9339-c48f5185600f", "persistent": true, "priority": 3, "metadata": { @@ -2418,10 +2422,10 @@ "postServeActions": [] }, { - "id": "6255561a-7fa0-4557-a0e7-5d3a6f40b2a1", - "name": "Create a form - default", + "id": "5b1a29bf-5c5c-45dd-a9fb-64f6944455e0", + "name": "Create an event stream - default", "request": { - "urlPathTemplate": "/forms", + "urlPathTemplate": "/event-streams", "method": "POST", "headers": { "Authorization": { @@ -2431,12 +2435,12 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6255561a-7fa0-4557-a0e7-5d3a6f40b2a1", + "uuid": "5b1a29bf-5c5c-45dd-a9fb-64f6944455e0", "persistent": true, "priority": 3, "metadata": { @@ -2449,10 +2453,10 @@ } }, { - "id": "0bf329d0-420d-4f08-aec1-df5f12d67762", - "name": "Get a form - default", + "id": "85d4a52f-7433-408c-a7cc-30776d9ed641", + "name": "Get an event stream by ID - default", "request": { - "urlPathTemplate": "/forms/{id}", + "urlPathTemplate": "/event-streams/{id}", "method": "GET", "headers": { "Authorization": { @@ -2463,12 +2467,157 @@ "id": { "equalTo": "id" } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "85d4a52f-7433-408c-a7cc-30776d9ed641", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4812fcc9-8f28-4732-96d4-8adb072fa78a", + "name": "Delete an event stream - default", + "request": { + "urlPathTemplate": "/event-streams/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4812fcc9-8f28-4732-96d4-8adb072fa78a", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "08468f05-d404-462e-8fdd-ce9dca3f4e3c", + "name": "Update an event stream - default", + "request": { + "urlPathTemplate": "/event-streams/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "08468f05-d404-462e-8fdd-ce9dca3f4e3c", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4ba115c6-e86b-4427-9ce9-8468a24916b0", + "name": "Send a test event to an event stream - default", + "request": { + "urlPathTemplate": "/event-streams/{id}/test", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 202, + "body": "{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"connection.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\",\n \"duration\": 1.1\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": {\n \"key\": \"value\"\n }\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4ba115c6-e86b-4427-9ce9-8468a24916b0", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "396f02e3-b8ea-4947-982d-a5026bc0319f", + "name": "Subscribe to events via Server-Sent Events (SSE) - default", + "request": { + "urlPathTemplate": "/events", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } }, "queryParameters": { - "hydrate": { + "from": { + "equalTo": "from" + }, + "from_timestamp": { + "equalTo": "from_timestamp" + }, + "event_type": { "hasExactly": [ { - "equalTo": "flow_count" + "equalTo": "connection.created" } ] } @@ -2476,12 +2625,2067 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "body": "event: message\ndata: {\"offset\":\"offset\",\"event\":{\"specversion\":\"1.0\",\"type\":\"connection.created\",\"source\":\"source\",\"id\":\"id\",\"time\":\"2024-01-15T09:30:00Z\",\"data\":{\"object\":{\"id\":\"id\",\"name\":\"name\",\"strategy\":\"oidc\"},\"previous_object\":{\"id\":\"id\",\"name\":\"name\",\"strategy\":\"oidc\"},\"context\":{\"tenant\":{\"id\":\"id\"}}},\"a0tenant\":\"a0tenant\",\"a0stream\":\"a0stream\",\"a0purpose\":\"test\"},\"type\":\"connection.created\"}\n", + "headers": { + "Content-Type": "text/event-stream" + } + }, + "uuid": "396f02e3-b8ea-4947-982d-a5026bc0319f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "9bee2213-71c4-41f8-9350-d50ede2f6c53", + "name": "Get flows - default", + "request": { + "urlPathTemplate": "/flows", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "hydrate": { + "hasExactly": [ + { + "equalTo": "form_count" + } + ] + }, + "synchronous": { + "equalTo": "true" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"flows\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "9bee2213-71c4-41f8-9350-d50ede2f6c53", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "6eb24c4a-01ad-47bc-bf9a-927970d1096e", + "name": "Create a flow - default", + "request": { + "urlPathTemplate": "/flows", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "6eb24c4a-01ad-47bc-bf9a-927970d1096e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "1eccebc1-db7b-4349-8fae-45c8537e9880", + "name": "Get a flow - default", + "request": { + "urlPathTemplate": "/flows/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "hydrate": { + "hasExactly": [ + { + "equalTo": "form_count" + } + ] + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "1eccebc1-db7b-4349-8fae-45c8537e9880", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4dba8bf4-bec9-4e15-8591-752e9ac3644e", + "name": "Delete a flow - default", + "request": { + "urlPathTemplate": "/flows/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4dba8bf4-bec9-4e15-8591-752e9ac3644e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "fc07198a-b41e-4537-aec6-1226e9691c86", + "name": "Update a flow - default", + "request": { + "urlPathTemplate": "/flows/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "fc07198a-b41e-4537-aec6-1226e9691c86", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "3bf65872-e8cf-4987-becb-bb082f08419f", + "name": "Get forms - default", + "request": { + "urlPathTemplate": "/forms", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "hydrate": { + "hasExactly": [ + { + "equalTo": "flow_count" + } + ] + } + } + }, + "response": { + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"forms\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "3bf65872-e8cf-4987-becb-bb082f08419f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "6255561a-7fa0-4557-a0e7-5d3a6f40b2a1", + "name": "Create a form - default", + "request": { + "urlPathTemplate": "/forms", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "6255561a-7fa0-4557-a0e7-5d3a6f40b2a1", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "0bf329d0-420d-4f08-aec1-df5f12d67762", + "name": "Get a form - default", + "request": { + "urlPathTemplate": "/forms/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "hydrate": { + "hasExactly": [ + { + "equalTo": "flow_count" + } + ] + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "0bf329d0-420d-4f08-aec1-df5f12d67762", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "c91995fc-fe8b-410c-9cbf-e13e1d538d1e", + "name": "Delete a form - default", + "request": { + "urlPathTemplate": "/forms/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "c91995fc-fe8b-410c-9cbf-e13e1d538d1e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "944b211b-eacb-4acc-8f40-a3463ae62f37", + "name": "Update a form - default", + "request": { + "urlPathTemplate": "/forms/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "944b211b-eacb-4acc-8f40-a3463ae62f37", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "800693b3-6319-4d73-997d-7899f5d8b842", + "name": "Get grants - default", + "request": { + "urlPathTemplate": "/grants", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "per_page": { + "equalTo": "1" + }, + "page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "user_id": { + "equalTo": "user_id" + }, + "client_id": { + "equalTo": "client_id" + }, + "audience": { + "equalTo": "audience" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"grants\": [\n {\n \"id\": \"id\",\n \"clientID\": \"clientID\",\n \"user_id\": \"user_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_id\": \"organization_id\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "800693b3-6319-4d73-997d-7899f5d8b842", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "42d14bbf-3fda-4f6e-82c7-0511f2cc78b4", + "name": "Delete a grant by user_id - default", + "request": { + "urlPathTemplate": "/grants", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "user_id": { + "equalTo": "user_id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "42d14bbf-3fda-4f6e-82c7-0511f2cc78b4", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "0384a6d8-8b93-4c86-9b01-4a78b2056a0b", + "name": "Delete a grant by id - default", + "request": { + "urlPathTemplate": "/grants/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "0384a6d8-8b93-4c86-9b01-4a78b2056a0b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "eef0d4e7-35b8-494e-9e36-bcdefebe33db", + "name": "Get all Groups - default", + "request": { + "urlPathTemplate": "/groups", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "connection_id": { + "equalTo": "connection_id" + }, + "name": { + "equalTo": "name" + }, + "external_id": { + "equalTo": "external_id" + }, + "search": { + "equalTo": "search" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "include_totals": { + "equalTo": "true" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"tenant_name\": \"tenant_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\",\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "eef0d4e7-35b8-494e-9e36-bcdefebe33db", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "871b57bd-a1f8-4a23-8337-5872e46fc987", + "name": "Get a Group - default", + "request": { + "urlPathTemplate": "/groups/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"tenant_name\": \"tenant_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "871b57bd-a1f8-4a23-8337-5872e46fc987", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "8cbbad9c-deff-4a46-bd84-189922d9d131", + "name": "Delete a Group - default", + "request": { + "urlPathTemplate": "/groups/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8cbbad9c-deff-4a46-bd84-189922d9d131", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "030ba040-b4c7-4f3a-80f7-7fb0d0f518d4", + "name": "Get Guardian Settings - default", + "request": { + "urlPathTemplate": "/guardian/settings", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"display_remember_me_checkbox\": true,\n \"remember_me_default_value\": true,\n \"mfa_session_inactivity_timeout\": 1,\n \"mfa_session_overall_timeout\": 1\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "030ba040-b4c7-4f3a-80f7-7fb0d0f518d4", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "907da77c-fa4a-45bc-ae41-5c52367c3a9b", + "name": "Set the Guardian Settings - default", + "request": { + "urlPathTemplate": "/guardian/settings", + "method": "PUT", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"display_remember_me_checkbox\": true,\n \"remember_me_default_value\": true,\n \"mfa_session_inactivity_timeout\": 1,\n \"mfa_session_overall_timeout\": 1\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "907da77c-fa4a-45bc-ae41-5c52367c3a9b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "8e59d144-ec26-4602-a30e-51471fa41a83", + "name": "Get hooks - default", + "request": { + "urlPathTemplate": "/hooks", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "enabled": { + "equalTo": "true" + }, + "fields": { + "equalTo": "fields" + }, + "triggerId": { + "equalTo": "credentials-exchange" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"hooks\": [\n {\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8e59d144-ec26-4602-a30e-51471fa41a83", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b", + "name": "Create a hook - default", + "request": { + "urlPathTemplate": "/hooks", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "f14ce249-5900-4b4f-acd6-a9fa7255d829", + "name": "Get a hook - default", + "request": { + "urlPathTemplate": "/hooks/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "fields": { + "equalTo": "fields" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "f14ce249-5900-4b4f-acd6-a9fa7255d829", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "fff91330-4870-4c93-ac97-6d27a8f1fb9e", + "name": "Delete a hook - default", + "request": { + "urlPathTemplate": "/hooks/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "fff91330-4870-4c93-ac97-6d27a8f1fb9e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "5b56e935-667b-4af8-be86-94a3aa61008d", + "name": "Update a hook - default", + "request": { + "urlPathTemplate": "/hooks/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "5b56e935-667b-4af8-be86-94a3aa61008d", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "fcdce95c-c559-471a-985a-45682f16bc5a", + "name": "Get a job - default", + "request": { + "urlPathTemplate": "/jobs/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"location\": \"location\",\n \"percentage_done\": 1,\n \"time_left_seconds\": 1,\n \"format\": \"json\",\n \"status_details\": \"status_details\",\n \"summary\": {\n \"failed\": 1,\n \"updated\": 1,\n \"inserted\": 1,\n \"total\": 1\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "fcdce95c-c559-471a-985a-45682f16bc5a", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44", + "name": "Get log streams - default", + "request": { + "urlPathTemplate": "/log-streams", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {}\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n }\n]", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "3cac6a38-0d9f-40e0-983f-439cbedfa617", + "name": "Create a log stream - default", + "request": { + "urlPathTemplate": "/log-streams", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "3cac6a38-0d9f-40e0-983f-439cbedfa617", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "046f0424-b1aa-49bc-bf20-db22d7a7bdf4", + "name": "Get log stream by ID - default", + "request": { + "urlPathTemplate": "/log-streams/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "046f0424-b1aa-49bc-bf20-db22d7a7bdf4", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "9fb04f8d-0fba-4891-8126-013d70d871aa", + "name": "Delete log stream - default", + "request": { + "urlPathTemplate": "/log-streams/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "9fb04f8d-0fba-4891-8126-013d70d871aa", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "8d10acdd-e185-496c-98c4-c91d469e6ed2", + "name": "Update a log stream - default", + "request": { + "urlPathTemplate": "/log-streams/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8d10acdd-e185-496c-98c4-c91d469e6ed2", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132", + "name": "Search log events - default", + "request": { + "urlPathTemplate": "/logs", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "sort": { + "equalTo": "sort" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "include_totals": { + "equalTo": "true" + }, + "search": { + "equalTo": "search" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "b10cc251-b48a-429a-a136-810cdb7290fc", + "name": "Get a log event by id - default", + "request": { + "urlPathTemplate": "/logs/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\",\n \"security_context\": {\n \"ja3\": \"ja3\",\n \"ja4\": \"ja4\"\n },\n \"location_info\": {\n \"country_code\": \"country_code\",\n \"country_code3\": \"country_code3\",\n \"country_name\": \"country_name\",\n \"city_name\": \"city_name\",\n \"latitude\": 1.1,\n \"longitude\": 1.1,\n \"time_zone\": \"time_zone\",\n \"continent_code\": \"continent_code\"\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "b10cc251-b48a-429a-a136-810cdb7290fc", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "858e0070-39b1-460a-a2d5-53d0a5c3524a", + "name": "Get all access control list entries for a tenant - default", + "request": { + "urlPathTemplate": "/network-acls", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"network_acls\": [\n {\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {},\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "858e0070-39b1-460a-a2d5-53d0a5c3524a", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "f8a963bf-a53b-445d-b1d7-e21a4b253957", + "name": "Create Access Control List - default", + "request": { + "urlPathTemplate": "/network-acls", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "f8a963bf-a53b-445d-b1d7-e21a4b253957", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb", + "name": "Get a specific access control list entry for a tenant - default", + "request": { + "urlPathTemplate": "/network-acls/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"match_all\": true,\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "b26d23ea-edcd-4512-a319-51a6e98131a0", + "name": "Update Access Control List - default", + "request": { + "urlPathTemplate": "/network-acls/{id}", + "method": "PUT", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"match_all\": true,\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "b26d23ea-edcd-4512-a319-51a6e98131a0", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "6df7bc0d-d051-4e5f-8f62-608e9d028cc6", + "name": "Delete Access Control List - default", + "request": { + "urlPathTemplate": "/network-acls/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "6df7bc0d-d051-4e5f-8f62-608e9d028cc6", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "80648d37-b6ab-4ab4-ba80-17f00933453d", + "name": "Partial Update for an Access Control List - default", + "request": { + "urlPathTemplate": "/network-acls/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ],\n \"http_message_signature\": {\n \"keys\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"match_all\": true,\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "80648d37-b6ab-4ab4-ba80-17f00933453d", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "a4016e68-1c58-4a5c-b698-27ca350b937c", + "name": "Get organizations - default", + "request": { + "urlPathTemplate": "/organizations", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "include_totals": { + "equalTo": "true" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "sort": { + "equalTo": "sort" + }, + "include_client_association_for": { + "equalTo": "include_client_association_for" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "a4016e68-1c58-4a5c-b698-27ca350b937c", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "61349de2-c20a-4002-822b-9ed84e87ca1f", + "name": "Create an Organization - default", + "request": { + "urlPathTemplate": "/organizations", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "61349de2-c20a-4002-822b-9ed84e87ca1f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "dabd338a-8798-40ba-aaa0-8ce9b262b711", + "name": "Get organization by name - default", + "request": { + "urlPathTemplate": "/organizations/name/{name}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "name": { + "equalTo": "name" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "dabd338a-8798-40ba-aaa0-8ce9b262b711", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "649058a2-0c93-4131-92c0-7ce68e3716db", + "name": "Search organizations - default", + "request": { + "urlPathTemplate": "/organizations/search", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "q": { + "equalTo": "q" + }, + "parser": { + "equalTo": "scim" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "name" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "649058a2-0c93-4131-92c0-7ce68e3716db", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "da7fe10b-f528-48cf-b4e0-8d769617a66c", + "name": "Get organization - default", + "request": { + "urlPathTemplate": "/organizations/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "da7fe10b-f528-48cf-b4e0-8d769617a66c", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "82031fa8-9043-489a-aa84-46bae3772393", + "name": "Delete organization - default", + "request": { + "urlPathTemplate": "/organizations/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "82031fa8-9043-489a-aa84-46bae3772393", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a", + "name": "Modify an Organization - default", + "request": { + "urlPathTemplate": "/organizations/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4ddbe67a-e92f-41ef-a60a-225432ebeeec", + "name": "Retrieve all portals - default", + "request": { + "urlPathTemplate": "/portals", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"portals\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"slug\": \"slug\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4ddbe67a-e92f-41ef-a60a-225432ebeeec", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "df8690a5-5c50-48cd-a77a-783311cb9838", + "name": "Create a portal - default", + "request": { + "urlPathTemplate": "/portals", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"navigation\": {\n \"sidebar\": {\n \"components\": [\n {\n \"config\": {\n \"label\": \"label\",\n \"url\": \"url\"\n },\n \"type\": \"sidebar:component:auth0:external_link\"\n }\n ]\n }\n },\n \"pages\": {\n \"default\": \"default\",\n \"standard\": [\n {\n \"title\": \"title\",\n \"slug\": \"slug\"\n }\n ]\n },\n \"slug\": \"slug\",\n \"client\": {\n \"token_endpoint_auth_method\": \"client_secret_post\",\n \"client_id\": \"client_id\"\n },\n \"custom_code\": {\n \"head\": \"head\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "df8690a5-5c50-48cd-a77a-783311cb9838", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "8811b138-cc96-4b85-b569-e52e2bbe3fa8", + "name": "Get a portal - default", + "request": { + "urlPathTemplate": "/portals/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"navigation\": {\n \"sidebar\": {\n \"components\": [\n {\n \"config\": {\n \"label\": \"label\",\n \"url\": \"url\"\n },\n \"type\": \"sidebar:component:auth0:external_link\"\n }\n ]\n }\n },\n \"pages\": {\n \"default\": \"default\",\n \"standard\": [\n {\n \"title\": \"title\",\n \"slug\": \"slug\"\n }\n ]\n },\n \"slug\": \"slug\",\n \"client\": {\n \"token_endpoint_auth_method\": \"client_secret_post\",\n \"client_id\": \"client_id\"\n },\n \"custom_code\": {\n \"head\": \"head\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8811b138-cc96-4b85-b569-e52e2bbe3fa8", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "767fc5f8-1b0b-4219-b009-a2a630c22250", + "name": "Delete a portal - default", + "request": { + "urlPathTemplate": "/portals/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "767fc5f8-1b0b-4219-b009-a2a630c22250", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "db5492fb-a2c3-461b-8042-7148be3185aa", + "name": "Update a portal - default", + "request": { + "urlPathTemplate": "/portals/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"navigation\": {\n \"sidebar\": {\n \"components\": [\n {\n \"config\": {\n \"label\": \"label\",\n \"url\": \"url\"\n },\n \"type\": \"sidebar:component:auth0:external_link\"\n }\n ]\n }\n },\n \"pages\": {\n \"default\": \"default\",\n \"standard\": [\n {\n \"title\": \"title\",\n \"slug\": \"slug\"\n }\n ]\n },\n \"slug\": \"slug\",\n \"client\": {\n \"token_endpoint_auth_method\": \"client_secret_post\",\n \"client_id\": \"client_id\"\n },\n \"custom_code\": {\n \"head\": \"head\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "db5492fb-a2c3-461b-8042-7148be3185aa", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e", + "name": "Get prompt settings - default", + "request": { + "urlPathTemplate": "/prompts", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "170f5b5a-a3d8-415f-b2ab-64eb7e3b775b", + "name": "Update prompt settings - default", + "request": { + "urlPathTemplate": "/prompts", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "170f5b5a-a3d8-415f-b2ab-64eb7e3b775b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "ffa760a3-13f2-4a02-8c0b-0a50833659d1", + "name": "Get rate limit policies - default", + "request": { + "urlPathTemplate": "/rate-limit-policies", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "resource": { + "equalTo": "oauth_authentication_api" + }, + "consumer": { + "equalTo": "client" + }, + "consumer_selector": { + "equalTo": "consumer_selector" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"rate_limit_policies\": [\n {\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "ffa760a3-13f2-4a02-8c0b-0a50833659d1", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "8d96433a-d9e1-4c04-b3c7-6a38e20fb85f", + "name": "Create a rate limit policy - default", + "request": { + "urlPathTemplate": "/rate-limit-policies", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8d96433a-d9e1-4c04-b3c7-6a38e20fb85f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "252162e3-2c11-4b7f-aa9a-b9f245700110", + "name": "Get a rate limit policy - default", + "request": { + "urlPathTemplate": "/rate-limit-policies/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0bf329d0-420d-4f08-aec1-df5f12d67762", + "uuid": "252162e3-2c11-4b7f-aa9a-b9f245700110", "persistent": true, "priority": 3, "metadata": { @@ -2494,10 +4698,10 @@ } }, { - "id": "c91995fc-fe8b-410c-9cbf-e13e1d538d1e", - "name": "Delete a form - default", + "id": "8827be53-c433-4722-9aef-6c36aedd8e8f", + "name": "Delete a rate limit policy - default", "request": { - "urlPathTemplate": "/forms/{id}", + "urlPathTemplate": "/rate-limit-policies/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -2517,7 +4721,7 @@ "Content-Type": "application/json" } }, - "uuid": "c91995fc-fe8b-410c-9cbf-e13e1d538d1e", + "uuid": "8827be53-c433-4722-9aef-6c36aedd8e8f", "persistent": true, "priority": 3, "metadata": { @@ -2530,10 +4734,10 @@ } }, { - "id": "944b211b-eacb-4acc-8f40-a3463ae62f37", - "name": "Update a form - default", + "id": "067fc71d-f738-4be0-bbd8-7b63d5cef466", + "name": "Update a rate limit policy - default", "request": { - "urlPathTemplate": "/forms/{id}", + "urlPathTemplate": "/rate-limit-policies/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -2548,12 +4752,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}", + "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "944b211b-eacb-4acc-8f40-a3463ae62f37", + "uuid": "067fc71d-f738-4be0-bbd8-7b63d5cef466", "persistent": true, "priority": 3, "metadata": { @@ -2566,10 +4770,10 @@ } }, { - "id": "800693b3-6319-4d73-997d-7899f5d8b842", - "name": "Get grants - default", + "id": "1be8f43f-0f7e-4335-879a-b48d21ecfac6", + "name": "Get refresh tokens - default", "request": { - "urlPathTemplate": "/grants", + "urlPathTemplate": "/refresh-tokens", "method": "GET", "headers": { "Authorization": { @@ -2577,34 +4781,34 @@ } }, "queryParameters": { - "per_page": { - "equalTo": "1" - }, - "page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, "user_id": { "equalTo": "user_id" }, "client_id": { "equalTo": "client_id" }, - "audience": { - "equalTo": "audience" + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"grants\": [\n {\n \"id\": \"id\",\n \"clientID\": \"clientID\",\n \"user_id\": \"user_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n}", + "body": "{\n \"refresh_tokens\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {}\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "800693b3-6319-4d73-997d-7899f5d8b842", + "uuid": "1be8f43f-0f7e-4335-879a-b48d21ecfac6", "persistent": true, "priority": 3, "metadata": { @@ -2618,20 +4822,15 @@ "postServeActions": [] }, { - "id": "42d14bbf-3fda-4f6e-82c7-0511f2cc78b4", - "name": "Delete a grant by user_id - default", + "id": "65469ecb-a8c6-48b9-ab08-19befcf04503", + "name": "Revoke refresh tokens - default", "request": { - "urlPathTemplate": "/grants", - "method": "DELETE", + "urlPathTemplate": "/refresh-tokens/revoke", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "user_id": { - "equalTo": "user_id" - } } }, "response": { @@ -2641,7 +4840,7 @@ "Content-Type": "application/json" } }, - "uuid": "42d14bbf-3fda-4f6e-82c7-0511f2cc78b4", + "uuid": "65469ecb-a8c6-48b9-ab08-19befcf04503", "persistent": true, "priority": 3, "metadata": { @@ -2654,11 +4853,11 @@ } }, { - "id": "0384a6d8-8b93-4c86-9b01-4a78b2056a0b", - "name": "Delete a grant by id - default", + "id": "6a045b19-b94d-495c-b30c-c1de79efc46f", + "name": "Get a refresh token - default", "request": { - "urlPathTemplate": "/grants/{id}", - "method": "DELETE", + "urlPathTemplate": "/refresh-tokens/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2672,12 +4871,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0384a6d8-8b93-4c86-9b01-4a78b2056a0b", + "uuid": "6a045b19-b94d-495c-b30c-c1de79efc46f", "persistent": true, "priority": 3, "metadata": { @@ -2690,69 +4889,11 @@ } }, { - "id": "eef0d4e7-35b8-494e-9e36-bcdefebe33db", - "name": "Get all Groups - default", - "request": { - "urlPathTemplate": "/groups", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "queryParameters": { - "connection_id": { - "equalTo": "connection_id" - }, - "name": { - "equalTo": "name" - }, - "external_id": { - "equalTo": "external_id" - }, - "search": { - "equalTo": "search" - }, - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - }, - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"tenant_name\": \"tenant_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\",\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "eef0d4e7-35b8-494e-9e36-bcdefebe33db", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - }, - "postServeActions": [] - }, - { - "id": "871b57bd-a1f8-4a23-8337-5872e46fc987", - "name": "Get a Group - default", + "id": "9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7", + "name": "Delete a refresh token - default", "request": { - "urlPathTemplate": "/groups/{id}", - "method": "GET", + "urlPathTemplate": "/refresh-tokens/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2766,12 +4907,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"tenant_name\": \"tenant_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "871b57bd-a1f8-4a23-8337-5872e46fc987", + "uuid": "9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7", "persistent": true, "priority": 3, "metadata": { @@ -2784,11 +4925,11 @@ } }, { - "id": "8cbbad9c-deff-4a46-bd84-189922d9d131", - "name": "Delete a Group - default", + "id": "7ea8e845-2337-4fbc-9632-246f4befb072", + "name": "Update a refresh token - default", "request": { - "urlPathTemplate": "/groups/{id}", - "method": "DELETE", + "urlPathTemplate": "/refresh-tokens/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2802,12 +4943,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8cbbad9c-deff-4a46-bd84-189922d9d131", + "uuid": "7ea8e845-2337-4fbc-9632-246f4befb072", "persistent": true, "priority": 3, "metadata": { @@ -2820,10 +4961,10 @@ } }, { - "id": "8e59d144-ec26-4602-a30e-51471fa41a83", - "name": "Get hooks - default", + "id": "8e9d39f1-8389-4238-acc7-0c1fd5f97c1b", + "name": "Get resource servers - default", "request": { - "urlPathTemplate": "/hooks", + "urlPathTemplate": "/resource-servers", "method": "GET", "headers": { "Authorization": { @@ -2831,6 +4972,13 @@ } }, "queryParameters": { + "identifiers": { + "hasExactly": [ + { + "equalTo": "identifiers" + } + ] + }, "page": { "equalTo": "1" }, @@ -2840,25 +4988,19 @@ "include_totals": { "equalTo": "true" }, - "enabled": { + "include_fields": { "equalTo": "true" - }, - "fields": { - "equalTo": "fields" - }, - "triggerId": { - "equalTo": "credentials-exchange" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"hooks\": [\n {\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\",\n \"agent_subject_claims\": \"off\",\n \"type\": \"universal_commerce_protocol_server\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8e59d144-ec26-4602-a30e-51471fa41a83", + "uuid": "8e9d39f1-8389-4238-acc7-0c1fd5f97c1b", "persistent": true, "priority": 3, "metadata": { @@ -2872,10 +5014,10 @@ "postServeActions": [] }, { - "id": "275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b", - "name": "Create a hook - default", + "id": "47aa9a64-a544-47e0-9817-a2fe54866219", + "name": "Create a resource server - default", "request": { - "urlPathTemplate": "/hooks", + "urlPathTemplate": "/resource-servers", "method": "POST", "headers": { "Authorization": { @@ -2885,12 +5027,12 @@ }, "response": { "status": 201, - "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\",\n \"agent_subject_claims\": \"off\",\n \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b", + "uuid": "47aa9a64-a544-47e0-9817-a2fe54866219", "persistent": true, "priority": 3, "metadata": { @@ -2903,35 +5045,48 @@ } }, { - "id": "f14ce249-5900-4b4f-acd6-a9fa7255d829", - "name": "Get a hook - default", + "id": "d0cae775-80a1-4fdf-bda8-308cccbf3e2d", + "name": "Search resource servers - default", "request": { - "urlPathTemplate": "/hooks/{id}", + "urlPathTemplate": "/resource-servers/search", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, "queryParameters": { + "q": { + "equalTo": "q" + }, + "parser": { + "equalTo": "scim" + }, "fields": { "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "identifier" } } }, "response": { "status": 200, - "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\",\n \"agent_subject_claims\": \"off\",\n \"type\": \"universal_commerce_protocol_server\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f14ce249-5900-4b4f-acd6-a9fa7255d829", + "uuid": "d0cae775-80a1-4fdf-bda8-308cccbf3e2d", "persistent": true, "priority": 3, "metadata": { @@ -2941,14 +5096,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "fff91330-4870-4c93-ac97-6d27a8f1fb9e", - "name": "Delete a hook - default", + "id": "da399a32-c9a2-481c-9995-fc402c47f72a", + "name": "Get a resource server - default", "request": { - "urlPathTemplate": "/hooks/{id}", - "method": "DELETE", + "urlPathTemplate": "/resource-servers/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2958,16 +5114,21 @@ "id": { "equalTo": "id" } + }, + "queryParameters": { + "include_fields": { + "equalTo": "true" + } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\",\n \"agent_subject_claims\": \"off\",\n \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fff91330-4870-4c93-ac97-6d27a8f1fb9e", + "uuid": "da399a32-c9a2-481c-9995-fc402c47f72a", "persistent": true, "priority": 3, "metadata": { @@ -2980,11 +5141,11 @@ } }, { - "id": "5b56e935-667b-4af8-be86-94a3aa61008d", - "name": "Update a hook - default", + "id": "f46b0f05-ce0a-4b6a-9004-650a8a9d14da", + "name": "Delete a resource server - default", "request": { - "urlPathTemplate": "/hooks/{id}", - "method": "PATCH", + "urlPathTemplate": "/resource-servers/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -2996,14 +5157,14 @@ } } }, - "response": { - "status": 201, - "body": "{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}", + "response": { + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "5b56e935-667b-4af8-be86-94a3aa61008d", + "uuid": "f46b0f05-ce0a-4b6a-9004-650a8a9d14da", "persistent": true, "priority": 3, "metadata": { @@ -3016,11 +5177,11 @@ } }, { - "id": "fcdce95c-c559-471a-985a-45682f16bc5a", - "name": "Get a job - default", + "id": "dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7", + "name": "Update a resource server - default", "request": { - "urlPathTemplate": "/jobs/{id}", - "method": "GET", + "urlPathTemplate": "/resource-servers/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -3033,13 +5194,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"location\": \"location\",\n \"percentage_done\": 1,\n \"time_left_seconds\": 1,\n \"format\": \"json\",\n \"status_details\": \"status_details\",\n \"summary\": {\n \"failed\": 1,\n \"updated\": 1,\n \"inserted\": 1,\n \"total\": 1\n }\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\",\n \"agent_subject_claims\": \"off\",\n \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fcdce95c-c559-471a-985a-45682f16bc5a", + "uuid": "dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7", "persistent": true, "priority": 3, "metadata": { @@ -3052,25 +5213,45 @@ } }, { - "id": "0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44", - "name": "Get log streams - default", + "id": "d64f1dab-8cae-47da-98e9-b16c1a5189dc", + "name": "Get roles - default", "request": { - "urlPathTemplate": "/log-streams", + "urlPathTemplate": "/roles", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "per_page": { + "equalTo": "1" + }, + "page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" + }, + "name_filter": { + "equalTo": "name_filter" + }, + "type": { + "equalTo": "tenant" + }, + "owner_id": { + "equalTo": "owner_id" + } } }, "response": { "status": 200, - "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {}\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n }\n]", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44", + "uuid": "d64f1dab-8cae-47da-98e9-b16c1a5189dc", "persistent": true, "priority": 3, "metadata": { @@ -3084,10 +5265,10 @@ "postServeActions": [] }, { - "id": "3cac6a38-0d9f-40e0-983f-439cbedfa617", - "name": "Create a log stream - default", + "id": "ddc91359-6806-4cf1-b143-e8d1bc363c3f", + "name": "Create a role - default", "request": { - "urlPathTemplate": "/log-streams", + "urlPathTemplate": "/roles", "method": "POST", "headers": { "Authorization": { @@ -3097,12 +5278,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3cac6a38-0d9f-40e0-983f-439cbedfa617", + "uuid": "ddc91359-6806-4cf1-b143-e8d1bc363c3f", "persistent": true, "priority": 3, "metadata": { @@ -3115,10 +5296,10 @@ } }, { - "id": "046f0424-b1aa-49bc-bf20-db22d7a7bdf4", - "name": "Get log stream by ID - default", + "id": "18803f36-8ee6-4051-9c5e-ab4a2a000ec7", + "name": "Get a role - default", "request": { - "urlPathTemplate": "/log-streams/{id}", + "urlPathTemplate": "/roles/{id}", "method": "GET", "headers": { "Authorization": { @@ -3133,12 +5314,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "046f0424-b1aa-49bc-bf20-db22d7a7bdf4", + "uuid": "18803f36-8ee6-4051-9c5e-ab4a2a000ec7", "persistent": true, "priority": 3, "metadata": { @@ -3151,10 +5332,10 @@ } }, { - "id": "9fb04f8d-0fba-4891-8126-013d70d871aa", - "name": "Delete log stream - default", + "id": "53428abe-f9c9-49e7-ada5-7cabecc6f0f5", + "name": "Delete a role - default", "request": { - "urlPathTemplate": "/log-streams/{id}", + "urlPathTemplate": "/roles/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -3174,7 +5355,7 @@ "Content-Type": "application/json" } }, - "uuid": "9fb04f8d-0fba-4891-8126-013d70d871aa", + "uuid": "53428abe-f9c9-49e7-ada5-7cabecc6f0f5", "persistent": true, "priority": 3, "metadata": { @@ -3187,10 +5368,10 @@ } }, { - "id": "8d10acdd-e185-496c-98c4-c91d469e6ed2", - "name": "Update a log stream - default", + "id": "fb25cab0-ca38-4950-ba80-98504d41bb20", + "name": "Update a role - default", "request": { - "urlPathTemplate": "/log-streams/{id}", + "urlPathTemplate": "/roles/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -3205,12 +5386,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8d10acdd-e185-496c-98c4-c91d469e6ed2", + "uuid": "fb25cab0-ca38-4950-ba80-98504d41bb20", "persistent": true, "priority": 3, "metadata": { @@ -3223,10 +5404,10 @@ } }, { - "id": "dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132", - "name": "Search log events - default", + "id": "551dd253-310d-4f66-ab80-e07988490a37", + "name": "Get rules - default", "request": { - "urlPathTemplate": "/logs", + "urlPathTemplate": "/rules", "method": "GET", "headers": { "Authorization": { @@ -3240,31 +5421,28 @@ "per_page": { "equalTo": "1" }, - "sort": { - "equalTo": "sort" + "include_totals": { + "equalTo": "true" + }, + "enabled": { + "equalTo": "true" }, "fields": { "equalTo": "fields" }, "include_fields": { "equalTo": "true" - }, - "include_totals": { - "equalTo": "true" - }, - "search": { - "equalTo": "search" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"rules\": [\n {\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132", + "uuid": "551dd253-310d-4f66-ab80-e07988490a37", "persistent": true, "priority": 3, "metadata": { @@ -3278,30 +5456,25 @@ "postServeActions": [] }, { - "id": "b10cc251-b48a-429a-a136-810cdb7290fc", - "name": "Get a log event by id - default", + "id": "6eba8e54-3d94-4b5a-9f90-34ea57895fb5", + "name": "Create a rule - default", "request": { - "urlPathTemplate": "/logs/{id}", - "method": "GET", + "urlPathTemplate": "/rules", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\",\n \"security_context\": {\n \"ja3\": \"ja3\",\n \"ja4\": \"ja4\"\n },\n \"location_info\": {\n \"country_code\": \"country_code\",\n \"country_code3\": \"country_code3\",\n \"country_name\": \"country_name\",\n \"city_name\": \"city_name\",\n \"latitude\": 1.1,\n \"longitude\": 1.1,\n \"time_zone\": \"time_zone\",\n \"continent_code\": \"continent_code\"\n }\n}", + "status": 201, + "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b10cc251-b48a-429a-a136-810cdb7290fc", + "uuid": "6eba8e54-3d94-4b5a-9f90-34ea57895fb5", "persistent": true, "priority": 3, "metadata": { @@ -3314,36 +5487,38 @@ } }, { - "id": "858e0070-39b1-460a-a2d5-53d0a5c3524a", - "name": "Get all access control list entries for a tenant - default", + "id": "6bd903b2-17f8-4021-9cae-4c1141223c95", + "name": "Get a rule - default", "request": { - "urlPathTemplate": "/network-acls", + "urlPathTemplate": "/rules/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" + "fields": { + "equalTo": "fields" }, - "include_totals": { + "include_fields": { "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"network_acls\": [\n {\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {},\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}", + "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "858e0070-39b1-460a-a2d5-53d0a5c3524a", + "uuid": "6bd903b2-17f8-4021-9cae-4c1141223c95", "persistent": true, "priority": 3, "metadata": { @@ -3353,19 +5528,23 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "f8a963bf-a53b-445d-b1d7-e21a4b253957", - "name": "Create Access Control List - default", + "id": "6110c86e-027f-441b-bb72-e5b0e6096803", + "name": "Delete a rule - default", "request": { - "urlPathTemplate": "/network-acls", - "method": "POST", + "urlPathTemplate": "/rules/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { @@ -3375,7 +5554,7 @@ "Content-Type": "application/json" } }, - "uuid": "f8a963bf-a53b-445d-b1d7-e21a4b253957", + "uuid": "6110c86e-027f-441b-bb72-e5b0e6096803", "persistent": true, "priority": 3, "metadata": { @@ -3388,11 +5567,11 @@ } }, { - "id": "fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb", - "name": "Get a specific access control list entry for a tenant - default", + "id": "3033effa-f1f9-4988-8752-203075bb6aec", + "name": "Update a rule - default", "request": { - "urlPathTemplate": "/network-acls/{id}", - "method": "GET", + "urlPathTemplate": "/rules/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -3406,12 +5585,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb", + "uuid": "3033effa-f1f9-4988-8752-203075bb6aec", "persistent": true, "priority": 3, "metadata": { @@ -3424,10 +5603,42 @@ } }, { - "id": "b26d23ea-edcd-4512-a319-51a6e98131a0", - "name": "Update Access Control List - default", + "id": "3abfda6c-fc81-4be8-a87e-be80fcef8c2f", + "name": "Retrieve config variable keys for rules (get_rules-configs) - default", "request": { - "urlPathTemplate": "/network-acls/{id}", + "urlPathTemplate": "/rules-configs", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "[\n {\n \"key\": \"key\"\n }\n]", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "3abfda6c-fc81-4be8-a87e-be80fcef8c2f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "f90321dc-6914-4101-8af1-743cafaa62d7", + "name": "Set rules config for a given key - default", + "request": { + "urlPathTemplate": "/rules-configs/{key}", "method": "PUT", "headers": { "Authorization": { @@ -3435,19 +5646,19 @@ } }, "pathParameters": { - "id": { - "equalTo": "id" + "key": { + "equalTo": "key" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "body": "{\n \"key\": \"key\",\n \"value\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b26d23ea-edcd-4512-a319-51a6e98131a0", + "uuid": "f90321dc-6914-4101-8af1-743cafaa62d7", "persistent": true, "priority": 3, "metadata": { @@ -3460,30 +5671,72 @@ } }, { - "id": "6df7bc0d-d051-4e5f-8f62-608e9d028cc6", - "name": "Delete Access Control List - default", + "id": "4e06c73c-ffd7-4b88-9857-99801c652707", + "name": "Delete rules config for a given key - default", + "request": { + "urlPathTemplate": "/rules-configs/{key}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "key": { + "equalTo": "key" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4e06c73c-ffd7-4b88-9857-99801c652707", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "466bc78c-8022-4a7f-96e1-2a01c78c0b54", + "name": "Get self-service profiles - default", "request": { - "urlPathTemplate": "/network-acls/{id}", - "method": "DELETE", + "urlPathTemplate": "/self-service-profiles", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"self_service_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6df7bc0d-d051-4e5f-8f62-608e9d028cc6", + "uuid": "466bc78c-8022-4a7f-96e1-2a01c78c0b54", "persistent": true, "priority": 3, "metadata": { @@ -3493,33 +5746,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "80648d37-b6ab-4ab4-ba80-17f00933453d", - "name": "Partial Update for an Access Control List - default", + "id": "bc8551be-c96c-4800-a5cc-dbbecc17b15b", + "name": "Create a self-service profile - default", "request": { - "urlPathTemplate": "/network-acls/{id}", - "method": "PATCH", + "urlPathTemplate": "/self-service-profiles", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "80648d37-b6ab-4ab4-ba80-17f00933453d", + "uuid": "bc8551be-c96c-4800-a5cc-dbbecc17b15b", "persistent": true, "priority": 3, "metadata": { @@ -3532,36 +5781,30 @@ } }, { - "id": "a4016e68-1c58-4a5c-b698-27ca350b937c", - "name": "Get organizations - default", + "id": "19739c76-9199-492a-bd18-730f773b6ffb", + "name": "Get a self-service profile by Id - default", "request": { - "urlPathTemplate": "/organizations", + "urlPathTemplate": "/self-service-profiles/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - }, - "sort": { - "equalTo": "sort" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a4016e68-1c58-4a5c-b698-27ca350b937c", + "uuid": "19739c76-9199-492a-bd18-730f773b6ffb", "persistent": true, "priority": 3, "metadata": { @@ -3571,29 +5814,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "61349de2-c20a-4002-822b-9ed84e87ca1f", - "name": "Create an Organization - default", + "id": "5378d984-8d98-4586-9b4a-7dd9f2ef00af", + "name": "Delete a self-service profile by Id - default", "request": { - "urlPathTemplate": "/organizations", - "method": "POST", + "urlPathTemplate": "/self-service-profiles/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "61349de2-c20a-4002-822b-9ed84e87ca1f", + "uuid": "5378d984-8d98-4586-9b4a-7dd9f2ef00af", "persistent": true, "priority": 3, "metadata": { @@ -3606,30 +5853,30 @@ } }, { - "id": "dabd338a-8798-40ba-aaa0-8ce9b262b711", - "name": "Get organization by name - default", + "id": "d25c3782-1ef8-47b4-bf73-67a8f977fb17", + "name": "Update a self-service profile - default", "request": { - "urlPathTemplate": "/organizations/name/{name}", - "method": "GET", + "urlPathTemplate": "/self-service-profiles/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "name": { - "equalTo": "name" + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "dabd338a-8798-40ba-aaa0-8ce9b262b711", + "uuid": "d25c3782-1ef8-47b4-bf73-67a8f977fb17", "persistent": true, "priority": 3, "metadata": { @@ -3642,10 +5889,10 @@ } }, { - "id": "da7fe10b-f528-48cf-b4e0-8d769617a66c", - "name": "Get organization - default", + "id": "3eff16ca-bc50-43ac-9373-249bdaf18766", + "name": "Get session - default", "request": { - "urlPathTemplate": "/organizations/{id}", + "urlPathTemplate": "/sessions/{id}", "method": "GET", "headers": { "Authorization": { @@ -3660,12 +5907,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n },\n \"actor\": {\n \"sub\": \"sub\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "da7fe10b-f528-48cf-b4e0-8d769617a66c", + "uuid": "3eff16ca-bc50-43ac-9373-249bdaf18766", "persistent": true, "priority": 3, "metadata": { @@ -3678,10 +5925,10 @@ } }, { - "id": "82031fa8-9043-489a-aa84-46bae3772393", - "name": "Delete organization - default", + "id": "046df2cc-1fd5-4ffb-bf25-97235e3418aa", + "name": "Delete session - default", "request": { - "urlPathTemplate": "/organizations/{id}", + "urlPathTemplate": "/sessions/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -3701,7 +5948,7 @@ "Content-Type": "application/json" } }, - "uuid": "82031fa8-9043-489a-aa84-46bae3772393", + "uuid": "046df2cc-1fd5-4ffb-bf25-97235e3418aa", "persistent": true, "priority": 3, "metadata": { @@ -3714,10 +5961,10 @@ } }, { - "id": "a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a", - "name": "Modify an Organization - default", + "id": "cde85d14-94e2-472f-93d0-ab0f6a1e29e6", + "name": "Update session - default", "request": { - "urlPathTemplate": "/organizations/{id}", + "urlPathTemplate": "/sessions/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -3732,12 +5979,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n },\n \"actor\": {\n \"sub\": \"sub\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a", + "uuid": "cde85d14-94e2-472f-93d0-ab0f6a1e29e6", "persistent": true, "priority": 3, "metadata": { @@ -3750,25 +5997,30 @@ } }, { - "id": "a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e", - "name": "Get prompt settings - default", + "id": "eceb4045-ef5a-414d-a73f-ebbc3266db3b", + "name": "Revokes a session - default", "request": { - "urlPathTemplate": "/prompts", - "method": "GET", + "urlPathTemplate": "/sessions/{id}/revoke", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e", + "uuid": "eceb4045-ef5a-414d-a73f-ebbc3266db3b", "persistent": true, "priority": 3, "metadata": { @@ -3778,15 +6030,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "170f5b5a-a3d8-415f-b2ab-64eb7e3b775b", - "name": "Update prompt settings - default", + "id": "deb6f466-7529-4d43-9ae7-ec08cdee6fc8", + "name": "Get active users count - default", "request": { - "urlPathTemplate": "/prompts", - "method": "PATCH", + "urlPathTemplate": "/stats/active-users", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -3795,12 +6046,12 @@ }, "response": { "status": 200, - "body": "{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}", + "body": "1.1", "headers": { "Content-Type": "application/json" } }, - "uuid": "170f5b5a-a3d8-415f-b2ab-64eb7e3b775b", + "uuid": "deb6f466-7529-4d43-9ae7-ec08cdee6fc8", "persistent": true, "priority": 3, "metadata": { @@ -3810,13 +6061,14 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "ffa760a3-13f2-4a02-8c0b-0a50833659d1", - "name": "Get rate limit policies - default", + "id": "a1c7c8b9-a534-46f2-ae35-eb70ca7628ae", + "name": "Get daily stats - default", "request": { - "urlPathTemplate": "/rate-limit-policies", + "urlPathTemplate": "/stats/daily", "method": "GET", "headers": { "Authorization": { @@ -3824,31 +6076,22 @@ } }, "queryParameters": { - "resource": { - "equalTo": "oauth_authentication_api" - }, - "consumer": { - "equalTo": "client" - }, - "consumer_selector": { - "equalTo": "consumer_selector" - }, - "take": { - "equalTo": "1" - }, "from": { "equalTo": "from" + }, + "to": { + "equalTo": "to" } } }, "response": { "status": 200, - "body": "{\n \"rate_limit_policies\": [\n {\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "[\n {\n \"date\": \"date\",\n \"logins\": 1,\n \"signups\": 1,\n \"leaked_passwords\": 1,\n \"updated_at\": \"updated_at\",\n \"created_at\": \"created_at\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "ffa760a3-13f2-4a02-8c0b-0a50833659d1", + "uuid": "a1c7c8b9-a534-46f2-ae35-eb70ca7628ae", "persistent": true, "priority": 3, "metadata": { @@ -3862,11 +6105,11 @@ "postServeActions": [] }, { - "id": "8d96433a-d9e1-4c04-b3c7-6a38e20fb85f", - "name": "Create a rate limit policy - default", + "id": "818f5cc7-86b3-4568-8861-9d114c5669ef", + "name": "Get the supplemental signals configuration for a tenant - default", "request": { - "urlPathTemplate": "/rate-limit-policies", - "method": "POST", + "urlPathTemplate": "/supplemental-signals", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -3874,13 +6117,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"akamai_enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8d96433a-d9e1-4c04-b3c7-6a38e20fb85f", + "uuid": "818f5cc7-86b3-4568-8861-9d114c5669ef", "persistent": true, "priority": 3, "metadata": { @@ -3890,33 +6133,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "252162e3-2c11-4b7f-aa9a-b9f245700110", - "name": "Get a rate limit policy - default", + "id": "7ba85b66-eee6-4f11-b0e1-ae58fc016a79", + "name": "Update the supplemental signals configuration for a tenant - default", "request": { - "urlPathTemplate": "/rate-limit-policies/{id}", - "method": "GET", + "urlPathTemplate": "/supplemental-signals", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"akamai_enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "252162e3-2c11-4b7f-aa9a-b9f245700110", + "uuid": "7ba85b66-eee6-4f11-b0e1-ae58fc016a79", "persistent": true, "priority": 3, "metadata": { @@ -3929,30 +6168,25 @@ } }, { - "id": "8827be53-c433-4722-9aef-6c36aedd8e8f", - "name": "Delete a rate limit policy - default", + "id": "5b479979-e975-4c68-b8fd-ca081dfcbca7", + "name": "Create an email verification ticket - default", "request": { - "urlPathTemplate": "/rate-limit-policies/{id}", - "method": "DELETE", + "urlPathTemplate": "/tickets/email-verification", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"ticket\": \"ticket\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8827be53-c433-4722-9aef-6c36aedd8e8f", + "uuid": "5b479979-e975-4c68-b8fd-ca081dfcbca7", "persistent": true, "priority": 3, "metadata": { @@ -3965,30 +6199,25 @@ } }, { - "id": "067fc71d-f738-4be0-bbd8-7b63d5cef466", - "name": "Update a rate limit policy - default", + "id": "2b3107dc-9258-4e8c-bfb4-9f4d911eefec", + "name": "Create a password change ticket - default", "request": { - "urlPathTemplate": "/rate-limit-policies/{id}", - "method": "PATCH", + "urlPathTemplate": "/tickets/password-change", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"resource\": \"oauth_authentication_api\",\n \"consumer\": \"client\",\n \"consumer_selector\": \"consumer_selector\",\n \"configuration\": {\n \"action\": \"allow\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 201, + "body": "{\n \"ticket\": \"ticket\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "067fc71d-f738-4be0-bbd8-7b63d5cef466", + "uuid": "2b3107dc-9258-4e8c-bfb4-9f4d911eefec", "persistent": true, "priority": 3, "metadata": { @@ -4001,10 +6230,10 @@ } }, { - "id": "1be8f43f-0f7e-4335-879a-b48d21ecfac6", - "name": "Get refresh tokens - default", + "id": "83be5ec3-d77b-4a3a-9e52-87f57af4d962", + "name": "Get token exchange profiles - default", "request": { - "urlPathTemplate": "/refresh-tokens", + "urlPathTemplate": "/token-exchange-profiles", "method": "GET", "headers": { "Authorization": { @@ -4012,34 +6241,22 @@ } }, "queryParameters": { - "user_id": { - "equalTo": "user_id" - }, - "client_id": { - "equalTo": "client_id" - }, "from": { "equalTo": "from" }, "take": { "equalTo": "1" - }, - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"refresh_tokens\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {}\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"next\": \"next\",\n \"token_exchange_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1be8f43f-0f7e-4335-879a-b48d21ecfac6", + "uuid": "83be5ec3-d77b-4a3a-9e52-87f57af4d962", "persistent": true, "priority": 3, "metadata": { @@ -4053,10 +6270,10 @@ "postServeActions": [] }, { - "id": "65469ecb-a8c6-48b9-ab08-19befcf04503", - "name": "Revoke refresh tokens - default", + "id": "98e2d250-d01b-4580-a4b1-92e13a0b54b9", + "name": "Create a token exchange profile - default", "request": { - "urlPathTemplate": "/refresh-tokens/revoke", + "urlPathTemplate": "/token-exchange-profiles", "method": "POST", "headers": { "Authorization": { @@ -4065,13 +6282,13 @@ } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "65469ecb-a8c6-48b9-ab08-19befcf04503", + "uuid": "98e2d250-d01b-4580-a4b1-92e13a0b54b9", "persistent": true, "priority": 3, "metadata": { @@ -4084,10 +6301,10 @@ } }, { - "id": "6a045b19-b94d-495c-b30c-c1de79efc46f", - "name": "Get a refresh token - default", + "id": "4594d614-c499-48ab-9fee-e1d4df134a89", + "name": "Get a token exchange profile - default", "request": { - "urlPathTemplate": "/refresh-tokens/{id}", + "urlPathTemplate": "/token-exchange-profiles/{id}", "method": "GET", "headers": { "Authorization": { @@ -4102,12 +6319,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6a045b19-b94d-495c-b30c-c1de79efc46f", + "uuid": "4594d614-c499-48ab-9fee-e1d4df134a89", "persistent": true, "priority": 3, "metadata": { @@ -4120,10 +6337,10 @@ } }, { - "id": "9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7", - "name": "Delete a refresh token - default", + "id": "172477bd-43d7-47ae-8ec8-eeb2f403f89c", + "name": "Delete a token exchange profile - default", "request": { - "urlPathTemplate": "/refresh-tokens/{id}", + "urlPathTemplate": "/token-exchange-profiles/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -4143,7 +6360,7 @@ "Content-Type": "application/json" } }, - "uuid": "9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7", + "uuid": "172477bd-43d7-47ae-8ec8-eeb2f403f89c", "persistent": true, "priority": 3, "metadata": { @@ -4156,10 +6373,10 @@ } }, { - "id": "7ea8e845-2337-4fbc-9632-246f4befb072", - "name": "Update a refresh token - default", + "id": "2d5941b9-03b1-47b9-ad3b-1466357ae3b0", + "name": "Update an existing token exchange profile - default", "request": { - "urlPathTemplate": "/refresh-tokens/{id}", + "urlPathTemplate": "/token-exchange-profiles/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -4174,12 +6391,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "7ea8e845-2337-4fbc-9632-246f4befb072", + "uuid": "2d5941b9-03b1-47b9-ad3b-1466357ae3b0", "persistent": true, "priority": 3, "metadata": { @@ -4192,10 +6409,10 @@ } }, { - "id": "8e9d39f1-8389-4238-acc7-0c1fd5f97c1b", - "name": "Get resource servers - default", + "id": "b4e9ccbb-5ef3-4c51-8149-56153dc787d4", + "name": "Get User Attribute Profiles - default", "request": { - "urlPathTemplate": "/resource-servers", + "urlPathTemplate": "/user-attribute-profiles", "method": "GET", "headers": { "Authorization": { @@ -4203,35 +6420,22 @@ } }, "queryParameters": { - "identifiers": { - "hasExactly": [ - { - "equalTo": "identifiers" - } - ] - }, - "page": { - "equalTo": "1" + "from": { + "equalTo": "from" }, - "per_page": { + "take": { "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, - "include_fields": { - "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}", + "body": "{\n \"next\": \"next\",\n \"user_attribute_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8e9d39f1-8389-4238-acc7-0c1fd5f97c1b", + "uuid": "b4e9ccbb-5ef3-4c51-8149-56153dc787d4", "persistent": true, "priority": 3, "metadata": { @@ -4245,10 +6449,10 @@ "postServeActions": [] }, { - "id": "47aa9a64-a544-47e0-9817-a2fe54866219", - "name": "Create a resource server - default", + "id": "d032e452-b3cb-4a7a-8906-bb80a76c6b8f", + "name": "Post User Attribute Profile - default", "request": { - "urlPathTemplate": "/resource-servers", + "urlPathTemplate": "/user-attribute-profiles", "method": "POST", "headers": { "Authorization": { @@ -4258,12 +6462,12 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "47aa9a64-a544-47e0-9817-a2fe54866219", + "uuid": "d032e452-b3cb-4a7a-8906-bb80a76c6b8f", "persistent": true, "priority": 3, "metadata": { @@ -4276,10 +6480,42 @@ } }, { - "id": "da399a32-c9a2-481c-9995-fc402c47f72a", - "name": "Get a resource server - default", + "id": "5a222f5e-5188-4dff-ae26-46d41f56c061", + "name": "Get User Attribute Profile Templates - default", "request": { - "urlPathTemplate": "/resource-servers/{id}", + "urlPathTemplate": "/user-attribute-profiles/templates", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"user_attribute_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "5a222f5e-5188-4dff-ae26-46d41f56c061", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "6672c8c9-01d1-4aae-9ade-20890bbff6b3", + "name": "Get User Attribute Profile Template - default", + "request": { + "urlPathTemplate": "/user-attribute-profiles/templates/{id}", "method": "GET", "headers": { "Authorization": { @@ -4290,21 +6526,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "include_fields": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", + "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "da399a32-c9a2-481c-9995-fc402c47f72a", + "uuid": "6672c8c9-01d1-4aae-9ade-20890bbff6b3", "persistent": true, "priority": 3, "metadata": { @@ -4317,11 +6548,11 @@ } }, { - "id": "f46b0f05-ce0a-4b6a-9004-650a8a9d14da", - "name": "Delete a resource server - default", + "id": "b09540c6-726c-42e3-b5e8-dbc7182c2147", + "name": "Get User Attribute Profile - default", "request": { - "urlPathTemplate": "/resource-servers/{id}", - "method": "DELETE", + "urlPathTemplate": "/user-attribute-profiles/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4335,12 +6566,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f46b0f05-ce0a-4b6a-9004-650a8a9d14da", + "uuid": "b09540c6-726c-42e3-b5e8-dbc7182c2147", "persistent": true, "priority": 3, "metadata": { @@ -4353,11 +6584,11 @@ } }, { - "id": "dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7", - "name": "Update a resource server - default", + "id": "ce0d7ce2-8b91-4791-be9b-2774f5efeec0", + "name": "Delete User Attribute Profile - default", "request": { - "urlPathTemplate": "/resource-servers/{id}", - "method": "PATCH", + "urlPathTemplate": "/user-attribute-profiles/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4370,13 +6601,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7", + "uuid": "ce0d7ce2-8b91-4791-be9b-2774f5efeec0", "persistent": true, "priority": 3, "metadata": { @@ -4389,39 +6620,30 @@ } }, { - "id": "d64f1dab-8cae-47da-98e9-b16c1a5189dc", - "name": "Get roles - default", + "id": "2e6307a7-6f62-4b1f-a02b-e6414927a286", + "name": "Modify a user attribute profile - default", "request": { - "urlPathTemplate": "/roles", - "method": "GET", + "urlPathTemplate": "/user-attribute-profiles/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "per_page": { - "equalTo": "1" - }, - "page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, - "name_filter": { - "equalTo": "name_filter" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d64f1dab-8cae-47da-98e9-b16c1a5189dc", + "uuid": "2e6307a7-6f62-4b1f-a02b-e6414927a286", "persistent": true, "priority": 3, "metadata": { @@ -4431,29 +6653,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "ddc91359-6806-4cf1-b143-e8d1bc363c3f", - "name": "Create a role - default", + "id": "2522dc7d-5aa2-4655-a7a9-24f79a2b8425", + "name": "Get blocks by identifier - default", "request": { - "urlPathTemplate": "/roles", - "method": "POST", + "urlPathTemplate": "/user-blocks", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "identifier": { + "equalTo": "identifier" + }, + "consider_brute_force_enablement": { + "equalTo": "true" + } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}", + "body": "{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "ddc91359-6806-4cf1-b143-e8d1bc363c3f", + "uuid": "2522dc7d-5aa2-4655-a7a9-24f79a2b8425", "persistent": true, "priority": 3, "metadata": { @@ -4463,33 +6692,34 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "18803f36-8ee6-4051-9c5e-ab4a2a000ec7", - "name": "Get a role - default", + "id": "049ee4c7-943e-481c-8ebf-dc6d21d5260c", + "name": "Unblock by identifier - default", "request": { - "urlPathTemplate": "/roles/{id}", - "method": "GET", + "urlPathTemplate": "/user-blocks", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "identifier": { + "equalTo": "identifier" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "18803f36-8ee6-4051-9c5e-ab4a2a000ec7", + "uuid": "049ee4c7-943e-481c-8ebf-dc6d21d5260c", "persistent": true, "priority": 3, "metadata": { @@ -4502,11 +6732,11 @@ } }, { - "id": "53428abe-f9c9-49e7-ada5-7cabecc6f0f5", - "name": "Delete a role - default", + "id": "d2565899-4c2a-4b6b-93b5-caecdbadc782", + "name": "Get a user's blocks - default", "request": { - "urlPathTemplate": "/roles/{id}", - "method": "DELETE", + "urlPathTemplate": "/user-blocks/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4516,16 +6746,21 @@ "id": { "equalTo": "id" } + }, + "queryParameters": { + "consider_brute_force_enablement": { + "equalTo": "true" + } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "53428abe-f9c9-49e7-ada5-7cabecc6f0f5", + "uuid": "d2565899-4c2a-4b6b-93b5-caecdbadc782", "persistent": true, "priority": 3, "metadata": { @@ -4538,11 +6773,11 @@ } }, { - "id": "fb25cab0-ca38-4950-ba80-98504d41bb20", - "name": "Update a role - default", + "id": "b3f82ebe-f646-4a06-9770-8ece4e55d861", + "name": "Unblock a user - default", "request": { - "urlPathTemplate": "/roles/{id}", - "method": "PATCH", + "urlPathTemplate": "/user-blocks/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4556,12 +6791,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "fb25cab0-ca38-4950-ba80-98504d41bb20", + "uuid": "b3f82ebe-f646-4a06-9770-8ece4e55d861", "persistent": true, "priority": 3, "metadata": { @@ -4574,10 +6809,10 @@ } }, { - "id": "551dd253-310d-4f66-ab80-e07988490a37", - "name": "Get rules - default", + "id": "8b4e8914-5be6-4e9b-896f-0b72752d9671", + "name": "List or Search Users - default", "request": { - "urlPathTemplate": "/rules", + "urlPathTemplate": "/users", "method": "GET", "headers": { "Authorization": { @@ -4594,25 +6829,37 @@ "include_totals": { "equalTo": "true" }, - "enabled": { - "equalTo": "true" + "sort": { + "equalTo": "sort" + }, + "connection": { + "equalTo": "connection" }, "fields": { "equalTo": "fields" }, "include_fields": { "equalTo": "true" + }, + "q": { + "equalTo": "q" + }, + "search_engine": { + "equalTo": "v1" + }, + "primary_order": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"rules\": [\n {\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "551dd253-310d-4f66-ab80-e07988490a37", + "uuid": "8b4e8914-5be6-4e9b-896f-0b72752d9671", "persistent": true, "priority": 3, "metadata": { @@ -4626,10 +6873,10 @@ "postServeActions": [] }, { - "id": "6eba8e54-3d94-4b5a-9f90-34ea57895fb5", - "name": "Create a rule - default", + "id": "4a8c54d7-9d2a-4a48-ad89-4b2481eed23a", + "name": "Create a User - default", "request": { - "urlPathTemplate": "/rules", + "urlPathTemplate": "/users", "method": "POST", "headers": { "Authorization": { @@ -4639,12 +6886,12 @@ }, "response": { "status": 201, - "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", + "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6eba8e54-3d94-4b5a-9f90-34ea57895fb5", + "uuid": "4a8c54d7-9d2a-4a48-ad89-4b2481eed23a", "persistent": true, "priority": 3, "metadata": { @@ -4657,38 +6904,36 @@ } }, { - "id": "6bd903b2-17f8-4021-9cae-4c1141223c95", - "name": "Get a rule - default", + "id": "414f2fd9-cbe8-4b07-b181-1bc4d03f38d6", + "name": "Search Users by Email - default", "request": { - "urlPathTemplate": "/rules/{id}", + "urlPathTemplate": "/users-by-email", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, "queryParameters": { "fields": { "equalTo": "fields" }, "include_fields": { "equalTo": "true" + }, + "email": { + "equalTo": "email" } } }, "response": { "status": 200, - "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", + "body": "[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "6bd903b2-17f8-4021-9cae-4c1141223c95", + "uuid": "414f2fd9-cbe8-4b07-b181-1bc4d03f38d6", "persistent": true, "priority": 3, "metadata": { @@ -4698,14 +6943,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "6110c86e-027f-441b-bb72-e5b0e6096803", - "name": "Delete a rule - default", + "id": "9fc639a9-4bc3-4dab-909f-41947203684a", + "name": "Get a User - default", "request": { - "urlPathTemplate": "/rules/{id}", - "method": "DELETE", + "urlPathTemplate": "/users/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4715,16 +6961,24 @@ "id": { "equalTo": "id" } + }, + "queryParameters": { + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6110c86e-027f-441b-bb72-e5b0e6096803", + "uuid": "9fc639a9-4bc3-4dab-909f-41947203684a", "persistent": true, "priority": 3, "metadata": { @@ -4737,11 +6991,11 @@ } }, { - "id": "3033effa-f1f9-4988-8752-203075bb6aec", - "name": "Update a rule - default", + "id": "265181b3-7abf-472b-99f2-d2e6eb47b27e", + "name": "Delete a User - default", "request": { - "urlPathTemplate": "/rules/{id}", - "method": "PATCH", + "urlPathTemplate": "/users/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4755,12 +7009,12 @@ }, "response": { "status": 200, - "body": "{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "3033effa-f1f9-4988-8752-203075bb6aec", + "uuid": "265181b3-7abf-472b-99f2-d2e6eb47b27e", "persistent": true, "priority": 3, "metadata": { @@ -4773,62 +7027,30 @@ } }, { - "id": "3abfda6c-fc81-4be8-a87e-be80fcef8c2f", - "name": "Retrieve config variable keys for rules (get_rules-configs) - default", - "request": { - "urlPathTemplate": "/rules-configs", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - } - }, - "response": { - "status": 200, - "body": "[\n {\n \"key\": \"key\"\n }\n]", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "3abfda6c-fc81-4be8-a87e-be80fcef8c2f", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - }, - "postServeActions": [] - }, - { - "id": "f90321dc-6914-4101-8af1-743cafaa62d7", - "name": "Set rules config for a given key - default", + "id": "c65910b9-fa24-4a35-87b7-3b8e611f2d5c", + "name": "Update a User - default", "request": { - "urlPathTemplate": "/rules-configs/{key}", - "method": "PUT", + "urlPathTemplate": "/users/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "key": { - "equalTo": "key" + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"key\": \"key\",\n \"value\": \"value\"\n}", + "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f90321dc-6914-4101-8af1-743cafaa62d7", + "uuid": "c65910b9-fa24-4a35-87b7-3b8e611f2d5c", "persistent": true, "priority": 3, "metadata": { @@ -4841,30 +7063,30 @@ } }, { - "id": "4e06c73c-ffd7-4b88-9857-99801c652707", - "name": "Delete rules config for a given key - default", + "id": "9bc0f8b4-abad-4f66-9979-0abe967f0c6b", + "name": "Get consent signing keys for a user - default", "request": { - "urlPathTemplate": "/rules-configs/{key}", - "method": "DELETE", + "urlPathTemplate": "/users/{id}/consent-signing-keys", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "key": { - "equalTo": "key" + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"keys\": [\n {\n \"kid\": \"kid\",\n \"device_identifier\": \"device_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4e06c73c-ffd7-4b88-9857-99801c652707", + "uuid": "9bc0f8b4-abad-4f66-9979-0abe967f0c6b", "persistent": true, "priority": 3, "metadata": { @@ -4877,36 +7099,33 @@ } }, { - "id": "466bc78c-8022-4a7f-96e1-2a01c78c0b54", - "name": "Get self-service profiles - default", + "id": "28d3e4b7-f78e-4fa9-b458-5629d6274ebc", + "name": "Get a consent signing key by key ID - default", "request": { - "urlPathTemplate": "/self-service-profiles", + "urlPathTemplate": "/users/{id}/consent-signing-keys/{kid}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" + "pathParameters": { + "id": { + "equalTo": "id" }, - "include_totals": { - "equalTo": "true" + "kid": { + "equalTo": "kid" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"self_service_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n }\n ]\n}", + "body": "{\n \"kid\": \"kid\",\n \"device_identifier\": \"device_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "466bc78c-8022-4a7f-96e1-2a01c78c0b54", + "uuid": "28d3e4b7-f78e-4fa9-b458-5629d6274ebc", "persistent": true, "priority": 3, "metadata": { @@ -4916,29 +7135,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "bc8551be-c96c-4800-a5cc-dbbecc17b15b", - "name": "Create a self-service profile - default", + "id": "a39e1747-47fb-442f-96ba-b45ab6609569", + "name": "Delete a consent signing key by key ID - default", "request": { - "urlPathTemplate": "/self-service-profiles", - "method": "POST", + "urlPathTemplate": "/users/{id}/consent-signing-keys/{kid}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + }, + "kid": { + "equalTo": "kid" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "bc8551be-c96c-4800-a5cc-dbbecc17b15b", + "uuid": "a39e1747-47fb-442f-96ba-b45ab6609569", "persistent": true, "priority": 3, "metadata": { @@ -4951,11 +7177,11 @@ } }, { - "id": "19739c76-9199-492a-bd18-730f773b6ffb", - "name": "Get a self-service profile by Id - default", + "id": "365cef77-10c1-4fea-9b15-317ad7a38e99", + "name": "Generate New Multi-factor Authentication (MFA) Recovery Code - default", "request": { - "urlPathTemplate": "/self-service-profiles/{id}", - "method": "GET", + "urlPathTemplate": "/users/{id}/recovery-code-regeneration", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -4969,12 +7195,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", + "body": "{\n \"recovery_code\": \"recovery_code\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "19739c76-9199-492a-bd18-730f773b6ffb", + "uuid": "365cef77-10c1-4fea-9b15-317ad7a38e99", "persistent": true, "priority": 3, "metadata": { @@ -4987,11 +7213,11 @@ } }, { - "id": "5378d984-8d98-4586-9b4a-7dd9f2ef00af", - "name": "Delete a self-service profile by Id - default", + "id": "a562240d-132f-4adc-a0f6-763101460526", + "name": "Revokes selected resources from a user - default", "request": { - "urlPathTemplate": "/self-service-profiles/{id}", - "method": "DELETE", + "urlPathTemplate": "/users/{id}/revoke-access", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -5010,7 +7236,7 @@ "Content-Type": "application/json" } }, - "uuid": "5378d984-8d98-4586-9b4a-7dd9f2ef00af", + "uuid": "a562240d-132f-4adc-a0f6-763101460526", "persistent": true, "priority": 3, "metadata": { @@ -5023,30 +7249,38 @@ } }, { - "id": "d25c3782-1ef8-47b4-bf73-67a8f977fb17", - "name": "Update a self-service profile - default", + "id": "ccdc2dc5-d900-4938-9ae0-3a9466191ed1", + "name": "Get an action's versions - default", "request": { - "urlPathTemplate": "/self-service-profiles/{id}", - "method": "PATCH", + "urlPathTemplate": "/actions/actions/{actionId}/versions", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "actionId": { + "equalTo": "actionId" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}", + "body": "{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"versions\": [\n {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"modules\": [\n {}\n ]\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d25c3782-1ef8-47b4-bf73-67a8f977fb17", + "uuid": "ccdc2dc5-d900-4938-9ae0-3a9466191ed1", "persistent": true, "priority": 3, "metadata": { @@ -5059,10 +7293,10 @@ } }, { - "id": "3eff16ca-bc50-43ac-9373-249bdaf18766", - "name": "Get session - default", + "id": "33c0cb30-ca1f-4477-9078-8647e82f975f", + "name": "Get a specific version of an action - default", "request": { - "urlPathTemplate": "/sessions/{id}", + "urlPathTemplate": "/actions/actions/{actionId}/versions/{id}", "method": "GET", "headers": { "Authorization": { @@ -5070,6 +7304,9 @@ } }, "pathParameters": { + "actionId": { + "equalTo": "actionId" + }, "id": { "equalTo": "id" } @@ -5077,12 +7314,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3eff16ca-bc50-43ac-9373-249bdaf18766", + "uuid": "33c0cb30-ca1f-4477-9078-8647e82f975f", "persistent": true, "priority": 3, "metadata": { @@ -5095,30 +7332,33 @@ } }, { - "id": "046df2cc-1fd5-4ffb-bf25-97235e3418aa", - "name": "Delete session - default", + "id": "746fbf5a-cee7-4302-ad86-14035a3912f7", + "name": "Roll back to a previous action version - default", "request": { - "urlPathTemplate": "/sessions/{id}", - "method": "DELETE", + "urlPathTemplate": "/actions/actions/{actionId}/versions/{id}/deploy", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { + "actionId": { + "equalTo": "actionId" + }, "id": { "equalTo": "id" } } }, "response": { - "status": 200, - "body": "\"\"", + "status": 202, + "body": "{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "046df2cc-1fd5-4ffb-bf25-97235e3418aa", + "uuid": "746fbf5a-cee7-4302-ad86-14035a3912f7", "persistent": true, "priority": 3, "metadata": { @@ -5131,11 +7371,11 @@ } }, { - "id": "cde85d14-94e2-472f-93d0-ab0f6a1e29e6", - "name": "Update session - default", + "id": "822dd98d-546e-46d8-a976-8f2c97028432", + "name": "Get an execution - default", "request": { - "urlPathTemplate": "/sessions/{id}", - "method": "PATCH", + "urlPathTemplate": "/actions/executions/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -5149,12 +7389,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"status\": \"unspecified\",\n \"results\": [\n {\n \"action_name\": \"action_name\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cde85d14-94e2-472f-93d0-ab0f6a1e29e6", + "uuid": "822dd98d-546e-46d8-a976-8f2c97028432", "persistent": true, "priority": 3, "metadata": { @@ -5167,30 +7407,33 @@ } }, { - "id": "eceb4045-ef5a-414d-a73f-ebbc3266db3b", - "name": "Revokes a session - default", + "id": "8abc8ed4-7895-434f-a43b-613d4101d6bc", + "name": "List Actions Modules - default", "request": { - "urlPathTemplate": "/sessions/{id}/revoke", - "method": "POST", + "urlPathTemplate": "/actions/modules", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"modules\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "eceb4045-ef5a-414d-a73f-ebbc3266db3b", + "uuid": "8abc8ed4-7895-434f-a43b-613d4101d6bc", "persistent": true, "priority": 3, "metadata": { @@ -5200,14 +7443,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "deb6f466-7529-4d43-9ae7-ec08cdee6fc8", - "name": "Get active users count - default", + "id": "3e5b836f-105d-4d50-a185-5cd051f4db56", + "name": "Create a new Actions Module - default", "request": { - "urlPathTemplate": "/stats/active-users", - "method": "GET", + "urlPathTemplate": "/actions/modules", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -5215,13 +7459,13 @@ } }, "response": { - "status": 200, - "body": "1.1", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "deb6f466-7529-4d43-9ae7-ec08cdee6fc8", + "uuid": "3e5b836f-105d-4d50-a185-5cd051f4db56", "persistent": true, "priority": 3, "metadata": { @@ -5231,37 +7475,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "a1c7c8b9-a534-46f2-ae35-eb70ca7628ae", - "name": "Get daily stats - default", + "id": "51d32ec1-89e7-4db1-aae7-76445e9e0cd2", + "name": "Get a specific Actions Module by ID - default", "request": { - "urlPathTemplate": "/stats/daily", + "urlPathTemplate": "/actions/modules/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "to": { - "equalTo": "to" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "[\n {\n \"date\": \"date\",\n \"logins\": 1,\n \"signups\": 1,\n \"leaked_passwords\": 1,\n \"updated_at\": \"updated_at\",\n \"created_at\": \"created_at\"\n }\n]", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a1c7c8b9-a534-46f2-ae35-eb70ca7628ae", + "uuid": "51d32ec1-89e7-4db1-aae7-76445e9e0cd2", "persistent": true, "priority": 3, "metadata": { @@ -5271,29 +7511,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "818f5cc7-86b3-4568-8861-9d114c5669ef", - "name": "Get the supplemental signals configuration for a tenant - default", + "id": "613a56ac-b303-417b-bbfe-d8ceda21db89", + "name": "Delete a specific Actions Module by ID - default", "request": { - "urlPathTemplate": "/supplemental-signals", - "method": "GET", + "urlPathTemplate": "/actions/modules/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"akamai_enabled\": true\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "818f5cc7-86b3-4568-8861-9d114c5669ef", + "uuid": "613a56ac-b303-417b-bbfe-d8ceda21db89", "persistent": true, "priority": 3, "metadata": { @@ -5303,29 +7547,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "7ba85b66-eee6-4f11-b0e1-ae58fc016a79", - "name": "Update the supplemental signals configuration for a tenant - default", + "id": "33cfded9-118e-4c8a-b0a1-207b0f1ae202", + "name": "Update a specific Actions Module - default", "request": { - "urlPathTemplate": "/supplemental-signals", + "urlPathTemplate": "/actions/modules/{id}", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"akamai_enabled\": true\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7ba85b66-eee6-4f11-b0e1-ae58fc016a79", + "uuid": "33cfded9-118e-4c8a-b0a1-207b0f1ae202", "persistent": true, "priority": 3, "metadata": { @@ -5338,25 +7586,38 @@ } }, { - "id": "5b479979-e975-4c68-b8fd-ca081dfcbca7", - "name": "Create an email verification ticket - default", + "id": "989d944b-6872-44fc-957b-87900af162f6", + "name": "List all actions using an Actions Module - default", "request": { - "urlPathTemplate": "/tickets/email-verification", - "method": "POST", + "urlPathTemplate": "/actions/modules/{id}/actions", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + } } }, "response": { - "status": 201, - "body": "{\n \"ticket\": \"ticket\"\n}", + "status": 200, + "body": "{\n \"actions\": [\n {\n \"action_id\": \"action_id\",\n \"action_name\": \"action_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1,\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ]\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "5b479979-e975-4c68-b8fd-ca081dfcbca7", + "uuid": "989d944b-6872-44fc-957b-87900af162f6", "persistent": true, "priority": 3, "metadata": { @@ -5369,25 +7630,30 @@ } }, { - "id": "2b3107dc-9258-4e8c-bfb4-9f4d911eefec", - "name": "Create a password change ticket - default", + "id": "d83ce3f7-bfbf-4999-97ba-7813c7fb466b", + "name": "Rollback an Actions Module to a previous version - default", "request": { - "urlPathTemplate": "/tickets/password-change", + "urlPathTemplate": "/actions/modules/{id}/rollback", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"ticket\": \"ticket\"\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2b3107dc-9258-4e8c-bfb4-9f4d911eefec", + "uuid": "d83ce3f7-bfbf-4999-97ba-7813c7fb466b", "persistent": true, "priority": 3, "metadata": { @@ -5400,33 +7666,25 @@ } }, { - "id": "83be5ec3-d77b-4a3a-9e52-87f57af4d962", - "name": "Get token exchange profiles - default", + "id": "f6c96303-6883-4084-989f-2dbadb13c1d9", + "name": "Get triggers - default", "request": { - "urlPathTemplate": "/token-exchange-profiles", + "urlPathTemplate": "/actions/triggers", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"token_exchange_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "body": "{\n \"triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "83be5ec3-d77b-4a3a-9e52-87f57af4d962", + "uuid": "f6c96303-6883-4084-989f-2dbadb13c1d9", "persistent": true, "priority": 3, "metadata": { @@ -5440,25 +7698,38 @@ "postServeActions": [] }, { - "id": "98e2d250-d01b-4580-a4b1-92e13a0b54b9", - "name": "Create a token exchange profile - default", + "id": "f9d3c975-0170-4fb7-977a-8b220d9f62bb", + "name": "List all versions of an Actions Module - default", "request": { - "urlPathTemplate": "/token-exchange-profiles", - "method": "POST", + "urlPathTemplate": "/actions/modules/{id}/versions", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"versions\": [\n {\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {}\n ],\n \"dependencies\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "98e2d250-d01b-4580-a4b1-92e13a0b54b9", + "uuid": "f9d3c975-0170-4fb7-977a-8b220d9f62bb", "persistent": true, "priority": 3, "metadata": { @@ -5471,11 +7742,11 @@ } }, { - "id": "4594d614-c499-48ab-9fee-e1d4df134a89", - "name": "Get a token exchange profile - default", + "id": "f2ae0322-48cb-47bb-a197-e4607ede713a", + "name": "Create a new version of an Actions Module - default", "request": { - "urlPathTemplate": "/token-exchange-profiles/{id}", - "method": "GET", + "urlPathTemplate": "/actions/modules/{id}/versions", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -5489,12 +7760,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4594d614-c499-48ab-9fee-e1d4df134a89", + "uuid": "f2ae0322-48cb-47bb-a197-e4607ede713a", "persistent": true, "priority": 3, "metadata": { @@ -5507,11 +7778,11 @@ } }, { - "id": "172477bd-43d7-47ae-8ec8-eeb2f403f89c", - "name": "Delete a token exchange profile - default", + "id": "29f3eb37-e484-460b-a662-6e196927da74", + "name": "Get a specific version of an Actions Module - default", "request": { - "urlPathTemplate": "/token-exchange-profiles/{id}", - "method": "DELETE", + "urlPathTemplate": "/actions/modules/{id}/versions/{versionId}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -5520,17 +7791,20 @@ "pathParameters": { "id": { "equalTo": "id" + }, + "versionId": { + "equalTo": "versionId" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "172477bd-43d7-47ae-8ec8-eeb2f403f89c", + "uuid": "29f3eb37-e484-460b-a662-6e196927da74", "persistent": true, "priority": 3, "metadata": { @@ -5543,30 +7817,38 @@ } }, { - "id": "2d5941b9-03b1-47b9-ad3b-1466357ae3b0", - "name": "Update an existing token exchange profile - default", + "id": "eb7071fc-50a8-4dc9-a79d-ce47e23d4637", + "name": "Get trigger bindings - default", "request": { - "urlPathTemplate": "/token-exchange-profiles/{id}", - "method": "PATCH", + "urlPathTemplate": "/actions/triggers/{triggerId}/bindings", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "triggerId": { + "equalTo": "post-login" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2d5941b9-03b1-47b9-ad3b-1466357ae3b0", + "uuid": "eb7071fc-50a8-4dc9-a79d-ce47e23d4637", "persistent": true, "priority": 3, "metadata": { @@ -5579,33 +7861,30 @@ } }, { - "id": "b4e9ccbb-5ef3-4c51-8149-56153dc787d4", - "name": "Get User Attribute Profiles - default", + "id": "677bf282-a2a0-4bc7-a065-b5de9e248673", + "name": "Update trigger bindings - default", "request": { - "urlPathTemplate": "/user-attribute-profiles", - "method": "GET", + "urlPathTemplate": "/actions/triggers/{triggerId}/bindings", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" + "pathParameters": { + "triggerId": { + "equalTo": "post-login" } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"user_attribute_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n ]\n}", + "body": "{\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b4e9ccbb-5ef3-4c51-8149-56153dc787d4", + "uuid": "677bf282-a2a0-4bc7-a065-b5de9e248673", "persistent": true, "priority": 3, "metadata": { @@ -5615,29 +7894,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "d032e452-b3cb-4a7a-8906-bb80a76c6b8f", - "name": "Post User Attribute Profile - default", + "id": "858c0df0-350f-4619-8960-6f774c0f234a", + "name": "Check if an IP address is blocked - default", "request": { - "urlPathTemplate": "/user-attribute-profiles", - "method": "POST", + "urlPathTemplate": "/anomaly/blocks/ips/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "d032e452-b3cb-4a7a-8906-bb80a76c6b8f", + "uuid": "858c0df0-350f-4619-8960-6f774c0f234a", "persistent": true, "priority": 3, "metadata": { @@ -5650,25 +7933,30 @@ } }, { - "id": "5a222f5e-5188-4dff-ae26-46d41f56c061", - "name": "Get User Attribute Profile Templates - default", + "id": "3c386455-0d8c-4edf-a027-a4ac0ff2e391", + "name": "Remove the blocked IP address - default", "request": { - "urlPathTemplate": "/user-attribute-profiles/templates", - "method": "GET", + "urlPathTemplate": "/anomaly/blocks/ips/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"user_attribute_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "5a222f5e-5188-4dff-ae26-46d41f56c061", + "uuid": "3c386455-0d8c-4edf-a027-a4ac0ff2e391", "persistent": true, "priority": 3, "metadata": { @@ -5678,34 +7966,28 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "6672c8c9-01d1-4aae-9ade-20890bbff6b3", - "name": "Get User Attribute Profile Template - default", + "id": "80b1e16c-5284-48f9-9802-ff189fca3b63", + "name": "Get Bot Detection settings - default", "request": { - "urlPathTemplate": "/user-attribute-profiles/templates/{id}", + "urlPathTemplate": "/attack-protection/bot-detection", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n}", + "body": "{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "6672c8c9-01d1-4aae-9ade-20890bbff6b3", + "uuid": "80b1e16c-5284-48f9-9802-ff189fca3b63", "persistent": true, "priority": 3, "metadata": { @@ -5715,33 +7997,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "b09540c6-726c-42e3-b5e8-dbc7182c2147", - "name": "Get User Attribute Profile - default", + "id": "bf92fa51-631d-42ef-bf27-8161f3bcab37", + "name": "Update Bot Detection settings - default", "request": { - "urlPathTemplate": "/user-attribute-profiles/{id}", - "method": "GET", + "urlPathTemplate": "/attack-protection/bot-detection", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", + "body": "{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b09540c6-726c-42e3-b5e8-dbc7182c2147", + "uuid": "bf92fa51-631d-42ef-bf27-8161f3bcab37", "persistent": true, "priority": 3, "metadata": { @@ -5754,30 +8032,25 @@ } }, { - "id": "ce0d7ce2-8b91-4791-be9b-2774f5efeec0", - "name": "Delete User Attribute Profile - default", + "id": "3ecb5fd3-5290-46e1-80da-bbdc282e2e86", + "name": "Get Breached Password Detection settings - default", "request": { - "urlPathTemplate": "/user-attribute-profiles/{id}", - "method": "DELETE", + "urlPathTemplate": "/attack-protection/breached-password-detection", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "ce0d7ce2-8b91-4791-be9b-2774f5efeec0", + "uuid": "3ecb5fd3-5290-46e1-80da-bbdc282e2e86", "persistent": true, "priority": 3, "metadata": { @@ -5787,33 +8060,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "2e6307a7-6f62-4b1f-a02b-e6414927a286", - "name": "Modify a user attribute profile - default", + "id": "7f0c04d7-e36a-49ce-af70-af9df4825f56", + "name": "Update Breached Password Detection settings - default", "request": { - "urlPathTemplate": "/user-attribute-profiles/{id}", + "urlPathTemplate": "/attack-protection/breached-password-detection", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2e6307a7-6f62-4b1f-a02b-e6414927a286", + "uuid": "7f0c04d7-e36a-49ce-af70-af9df4825f56", "persistent": true, "priority": 3, "metadata": { @@ -5826,33 +8095,25 @@ } }, { - "id": "2522dc7d-5aa2-4655-a7a9-24f79a2b8425", - "name": "Get blocks by identifier - default", + "id": "7870c330-d1c9-4a9f-9745-40e1d8b2d0ac", + "name": "Get Brute-force settings - default", "request": { - "urlPathTemplate": "/user-blocks", + "urlPathTemplate": "/attack-protection/brute-force-protection", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "identifier": { - "equalTo": "identifier" - }, - "consider_brute_force_enablement": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"form_submission_mode\": \"auto\",\n \"max_attempts\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2522dc7d-5aa2-4655-a7a9-24f79a2b8425", + "uuid": "7870c330-d1c9-4a9f-9745-40e1d8b2d0ac", "persistent": true, "priority": 3, "metadata": { @@ -5866,30 +8127,25 @@ "postServeActions": [] }, { - "id": "049ee4c7-943e-481c-8ebf-dc6d21d5260c", - "name": "Unblock by identifier - default", + "id": "23e440e9-0ef4-4ec5-96f3-0b4d84085d92", + "name": "Update Brute-force settings - default", "request": { - "urlPathTemplate": "/user-blocks", - "method": "DELETE", + "urlPathTemplate": "/attack-protection/brute-force-protection", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "identifier": { - "equalTo": "identifier" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"form_submission_mode\": \"auto\",\n \"max_attempts\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "049ee4c7-943e-481c-8ebf-dc6d21d5260c", + "uuid": "23e440e9-0ef4-4ec5-96f3-0b4d84085d92", "persistent": true, "priority": 3, "metadata": { @@ -5902,35 +8158,25 @@ } }, { - "id": "d2565899-4c2a-4b6b-93b5-caecdbadc782", - "name": "Get a user's blocks - default", + "id": "1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34", + "name": "Get the CAPTCHA configuration for a tenant - default", "request": { - "urlPathTemplate": "/user-blocks/{id}", + "urlPathTemplate": "/attack-protection/captcha", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, - "queryParameters": { - "consider_brute_force_enablement": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}", + "body": "{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d2565899-4c2a-4b6b-93b5-caecdbadc782", + "uuid": "1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34", "persistent": true, "priority": 3, "metadata": { @@ -5940,33 +8186,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "b3f82ebe-f646-4a06-9770-8ece4e55d861", - "name": "Unblock a user - default", + "id": "c8a6243c-e0ad-49f2-8b47-405276a8ae5e", + "name": "Partial Update for CAPTCHA Configuration - default", "request": { - "urlPathTemplate": "/user-blocks/{id}", - "method": "DELETE", + "urlPathTemplate": "/attack-protection/captcha", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b3f82ebe-f646-4a06-9770-8ece4e55d861", + "uuid": "c8a6243c-e0ad-49f2-8b47-405276a8ae5e", "persistent": true, "priority": 3, "metadata": { @@ -5979,57 +8221,25 @@ } }, { - "id": "8b4e8914-5be6-4e9b-896f-0b72752d9671", - "name": "List or Search Users - default", - "request": { - "urlPathTemplate": "/users", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - }, - "sort": { - "equalTo": "sort" - }, - "connection": { - "equalTo": "connection" - }, - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - }, - "q": { - "equalTo": "q" - }, - "search_engine": { - "equalTo": "v1" - }, - "primary_order": { - "equalTo": "true" + "id": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", + "name": "Get Phone Provider Protection settings - default", + "request": { + "urlPathTemplate": "/attack-protection/phone-provider-protection", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}", + "body": "{\n \"type\": \"exponential\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8b4e8914-5be6-4e9b-896f-0b72752d9671", + "uuid": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", "persistent": true, "priority": 3, "metadata": { @@ -6043,11 +8253,11 @@ "postServeActions": [] }, { - "id": "4a8c54d7-9d2a-4a48-ad89-4b2481eed23a", - "name": "Create a User - default", + "id": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b", + "name": "Update Phone Provider Protection settings - default", "request": { - "urlPathTemplate": "/users", - "method": "POST", + "urlPathTemplate": "/attack-protection/phone-provider-protection", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -6055,13 +8265,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", + "status": 200, + "body": "{\n \"type\": \"exponential\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4a8c54d7-9d2a-4a48-ad89-4b2481eed23a", + "uuid": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b", "persistent": true, "priority": 3, "metadata": { @@ -6074,36 +8284,25 @@ } }, { - "id": "414f2fd9-cbe8-4b07-b181-1bc4d03f38d6", - "name": "Search Users by Email - default", + "id": "a3ae14b8-1582-4cae-bb51-84b1d3b3fccf", + "name": "Get Suspicious IP Throttling settings - default", "request": { - "urlPathTemplate": "/users-by-email", + "urlPathTemplate": "/attack-protection/suspicious-ip-throttling", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - }, - "email": { - "equalTo": "email" - } } }, "response": { "status": 200, - "body": "[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-custom-token-exchange\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "414f2fd9-cbe8-4b07-b181-1bc4d03f38d6", + "uuid": "a3ae14b8-1582-4cae-bb51-84b1d3b3fccf", "persistent": true, "priority": 3, "metadata": { @@ -6117,38 +8316,25 @@ "postServeActions": [] }, { - "id": "9fc639a9-4bc3-4dab-909f-41947203684a", - "name": "Get a User - default", + "id": "119c9fe7-b349-4ad0-8846-3e6be6a9661e", + "name": "Update Suspicious IP Throttling settings - default", "request": { - "urlPathTemplate": "/users/{id}", - "method": "GET", + "urlPathTemplate": "/attack-protection/suspicious-ip-throttling", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, - "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-custom-token-exchange\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "9fc639a9-4bc3-4dab-909f-41947203684a", + "uuid": "119c9fe7-b349-4ad0-8846-3e6be6a9661e", "persistent": true, "priority": 3, "metadata": { @@ -6161,30 +8347,25 @@ } }, { - "id": "265181b3-7abf-472b-99f2-d2e6eb47b27e", - "name": "Delete a User - default", + "id": "bdf661b2-3819-41c2-98f8-4b9137f67189", + "name": "Get template for New Universal Login Experience - default", "request": { - "urlPathTemplate": "/users/{id}", - "method": "DELETE", + "urlPathTemplate": "/branding/templates/universal-login", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"body\": \"body\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "265181b3-7abf-472b-99f2-d2e6eb47b27e", + "uuid": "bdf661b2-3819-41c2-98f8-4b9137f67189", "persistent": true, "priority": 3, "metadata": { @@ -6194,33 +8375,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "c65910b9-fa24-4a35-87b7-3b8e611f2d5c", - "name": "Update a User - default", + "id": "44f5b8dc-7d64-47a1-8889-79cda94f7809", + "name": "Set template for New Universal Login Experience - default", "request": { - "urlPathTemplate": "/users/{id}", - "method": "PATCH", + "urlPathTemplate": "/branding/templates/universal-login", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "c65910b9-fa24-4a35-87b7-3b8e611f2d5c", + "uuid": "44f5b8dc-7d64-47a1-8889-79cda94f7809", "persistent": true, "priority": 3, "metadata": { @@ -6233,30 +8410,25 @@ } }, { - "id": "365cef77-10c1-4fea-9b15-317ad7a38e99", - "name": "Generate New Multi-factor Authentication (MFA) Recovery Code - default", + "id": "c2b51bd9-187b-466d-8fe6-68a2eb02e00f", + "name": "Delete template for New Universal Login Experience - default", "request": { - "urlPathTemplate": "/users/{id}/recovery-code-regeneration", - "method": "POST", + "urlPathTemplate": "/branding/templates/universal-login", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"recovery_code\": \"recovery_code\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "365cef77-10c1-4fea-9b15-317ad7a38e99", + "uuid": "c2b51bd9-187b-466d-8fe6-68a2eb02e00f", "persistent": true, "priority": 3, "metadata": { @@ -6269,30 +8441,25 @@ } }, { - "id": "a562240d-132f-4adc-a0f6-763101460526", - "name": "Revokes selected resources from a user - default", + "id": "2c7a5627-a851-4881-9e60-689c81a3122b", + "name": "Create branding theme - default", "request": { - "urlPathTemplate": "/users/{id}/revoke-access", + "urlPathTemplate": "/branding/themes", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"identifiers\": {\n \"login_display\": \"separate\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"formatting\": \"international\",\n \"masking\": \"hide_country_code\"\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a562240d-132f-4adc-a0f6-763101460526", + "uuid": "2c7a5627-a851-4881-9e60-689c81a3122b", "persistent": true, "priority": 3, "metadata": { @@ -6305,38 +8472,25 @@ } }, { - "id": "ccdc2dc5-d900-4938-9ae0-3a9466191ed1", - "name": "Get an action's versions - default", + "id": "91d16fa4-7e8b-4de2-aa78-061a5267295b", + "name": "Get default branding theme - default", "request": { - "urlPathTemplate": "/actions/actions/{actionId}/versions", + "urlPathTemplate": "/branding/themes/default", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "actionId": { - "equalTo": "actionId" - } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"versions\": [\n {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"modules\": [\n {}\n ]\n }\n ]\n}", + "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"identifiers\": {\n \"login_display\": \"separate\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"formatting\": \"international\",\n \"masking\": \"hide_country_code\"\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "ccdc2dc5-d900-4938-9ae0-3a9466191ed1", + "uuid": "91d16fa4-7e8b-4de2-aa78-061a5267295b", "persistent": true, "priority": 3, "metadata": { @@ -6346,13 +8500,14 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "33c0cb30-ca1f-4477-9078-8647e82f975f", - "name": "Get a specific version of an action - default", + "id": "f102da1c-5323-41ec-b320-888d05f069b8", + "name": "Get branding theme - default", "request": { - "urlPathTemplate": "/actions/actions/{actionId}/versions/{id}", + "urlPathTemplate": "/branding/themes/{themeId}", "method": "GET", "headers": { "Authorization": { @@ -6360,22 +8515,19 @@ } }, "pathParameters": { - "actionId": { - "equalTo": "actionId" - }, - "id": { - "equalTo": "id" + "themeId": { + "equalTo": "themeId" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}", + "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"identifiers\": {\n \"login_display\": \"separate\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"formatting\": \"international\",\n \"masking\": \"hide_country_code\"\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "33c0cb30-ca1f-4477-9078-8647e82f975f", + "uuid": "f102da1c-5323-41ec-b320-888d05f069b8", "persistent": true, "priority": 3, "metadata": { @@ -6388,33 +8540,30 @@ } }, { - "id": "746fbf5a-cee7-4302-ad86-14035a3912f7", - "name": "Roll back to a previous action version - default", + "id": "215eeb29-68c9-4243-857e-d87a7c62795f", + "name": "Delete branding theme - default", "request": { - "urlPathTemplate": "/actions/actions/{actionId}/versions/{id}/deploy", - "method": "POST", + "urlPathTemplate": "/branding/themes/{themeId}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "actionId": { - "equalTo": "actionId" - }, - "id": { - "equalTo": "id" + "themeId": { + "equalTo": "themeId" } } }, "response": { - "status": 202, - "body": "{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "746fbf5a-cee7-4302-ad86-14035a3912f7", + "uuid": "215eeb29-68c9-4243-857e-d87a7c62795f", "persistent": true, "priority": 3, "metadata": { @@ -6427,30 +8576,30 @@ } }, { - "id": "822dd98d-546e-46d8-a976-8f2c97028432", - "name": "Get an execution - default", + "id": "2dbbd929-7e98-438f-8310-2500cb90f70c", + "name": "Update branding theme - default", "request": { - "urlPathTemplate": "/actions/executions/{id}", - "method": "GET", + "urlPathTemplate": "/branding/themes/{themeId}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "themeId": { + "equalTo": "themeId" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"status\": \"unspecified\",\n \"results\": [\n {\n \"action_name\": \"action_name\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"identifiers\": {\n \"login_display\": \"separate\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"formatting\": \"international\",\n \"masking\": \"hide_country_code\"\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "822dd98d-546e-46d8-a976-8f2c97028432", + "uuid": "2dbbd929-7e98-438f-8310-2500cb90f70c", "persistent": true, "priority": 3, "metadata": { @@ -6463,10 +8612,10 @@ } }, { - "id": "8abc8ed4-7895-434f-a43b-613d4101d6bc", - "name": "List Actions Modules - default", + "id": "520b4b30-1317-42da-89bf-a0491d1694b6", + "name": "Get a list of phone providers - default", "request": { - "urlPathTemplate": "/actions/modules", + "urlPathTemplate": "/branding/phone/providers", "method": "GET", "headers": { "Authorization": { @@ -6474,22 +8623,19 @@ } }, "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" + "disabled": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"modules\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", + "body": "{\n \"providers\": [\n {\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8abc8ed4-7895-434f-a43b-613d4101d6bc", + "uuid": "520b4b30-1317-42da-89bf-a0491d1694b6", "persistent": true, "priority": 3, "metadata": { @@ -6503,10 +8649,10 @@ "postServeActions": [] }, { - "id": "3e5b836f-105d-4d50-a185-5cd051f4db56", - "name": "Create a new Actions Module - default", + "id": "be5761ff-7af6-40ca-95bb-4fdc3bf8eb00", + "name": "Configure the phone provider - default", "request": { - "urlPathTemplate": "/actions/modules", + "urlPathTemplate": "/branding/phone/providers", "method": "POST", "headers": { "Authorization": { @@ -6516,12 +8662,12 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3e5b836f-105d-4d50-a185-5cd051f4db56", + "uuid": "be5761ff-7af6-40ca-95bb-4fdc3bf8eb00", "persistent": true, "priority": 3, "metadata": { @@ -6534,10 +8680,10 @@ } }, { - "id": "51d32ec1-89e7-4db1-aae7-76445e9e0cd2", - "name": "Get a specific Actions Module by ID - default", + "id": "8c639058-4844-47c5-8ad8-c0ccd33399bb", + "name": "Get a phone provider - default", "request": { - "urlPathTemplate": "/actions/modules/{id}", + "urlPathTemplate": "/branding/phone/providers/{id}", "method": "GET", "headers": { "Authorization": { @@ -6552,12 +8698,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "51d32ec1-89e7-4db1-aae7-76445e9e0cd2", + "uuid": "8c639058-4844-47c5-8ad8-c0ccd33399bb", "persistent": true, "priority": 3, "metadata": { @@ -6570,10 +8716,10 @@ } }, { - "id": "613a56ac-b303-417b-bbfe-d8ceda21db89", - "name": "Delete a specific Actions Module by ID - default", + "id": "a6175428-056a-47f4-b776-4dcf8260822c", + "name": "Deletes a Phone Provider - default", "request": { - "urlPathTemplate": "/actions/modules/{id}", + "urlPathTemplate": "/branding/phone/providers/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -6593,7 +8739,7 @@ "Content-Type": "application/json" } }, - "uuid": "613a56ac-b303-417b-bbfe-d8ceda21db89", + "uuid": "a6175428-056a-47f4-b776-4dcf8260822c", "persistent": true, "priority": 3, "metadata": { @@ -6606,10 +8752,10 @@ } }, { - "id": "33cfded9-118e-4c8a-b0a1-207b0f1ae202", - "name": "Update a specific Actions Module - default", + "id": "95edda2c-d9d9-4854-9130-044ebb441bd7", + "name": "Update the phone provider - default", "request": { - "urlPathTemplate": "/actions/modules/{id}", + "urlPathTemplate": "/branding/phone/providers/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -6624,12 +8770,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "33cfded9-118e-4c8a-b0a1-207b0f1ae202", + "uuid": "95edda2c-d9d9-4854-9130-044ebb441bd7", "persistent": true, "priority": 3, "metadata": { @@ -6642,11 +8788,11 @@ } }, { - "id": "989d944b-6872-44fc-957b-87900af162f6", - "name": "List all actions using an Actions Module - default", + "id": "eced0fdd-3915-430a-8c28-1161ab6a3313", + "name": "Send a test phone notification for the configured provider - default", "request": { - "urlPathTemplate": "/actions/modules/{id}/actions", - "method": "GET", + "urlPathTemplate": "/branding/phone/providers/{id}/try", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -6656,24 +8802,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - } } }, "response": { - "status": 200, - "body": "{\n \"actions\": [\n {\n \"action_id\": \"action_id\",\n \"action_name\": \"action_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1,\n \"supported_triggers\": [\n {\n \"id\": \"post-login\"\n }\n ]\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", + "status": 202, + "body": "{\n \"code\": 1.1,\n \"message\": \"message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "989d944b-6872-44fc-957b-87900af162f6", + "uuid": "eced0fdd-3915-430a-8c28-1161ab6a3313", "persistent": true, "priority": 3, "metadata": { @@ -6686,30 +8824,30 @@ } }, { - "id": "d83ce3f7-bfbf-4999-97ba-7813c7fb466b", - "name": "Rollback an Actions Module to a previous version - default", + "id": "927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d", + "name": "Get a list of phone notification templates - default", "request": { - "urlPathTemplate": "/actions/modules/{id}/rollback", - "method": "POST", + "urlPathTemplate": "/branding/phone/templates", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "disabled": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}", + "body": "{\n \"templates\": [\n {\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {},\n \"type\": \"otp_verify\",\n \"disabled\": true\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d83ce3f7-bfbf-4999-97ba-7813c7fb466b", + "uuid": "927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d", "persistent": true, "priority": 3, "metadata": { @@ -6719,14 +8857,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "f6c96303-6883-4084-989f-2dbadb13c1d9", - "name": "Get triggers - default", + "id": "300d3eb8-52bc-4001-8af4-a0594f4242d9", + "name": "Create a phone notification template - default", "request": { - "urlPathTemplate": "/actions/triggers", - "method": "GET", + "urlPathTemplate": "/branding/phone/templates", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -6734,13 +8873,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"post-login\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f6c96303-6883-4084-989f-2dbadb13c1d9", + "uuid": "300d3eb8-52bc-4001-8af4-a0594f4242d9", "persistent": true, "priority": 3, "metadata": { @@ -6750,14 +8889,13 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "f9d3c975-0170-4fb7-977a-8b220d9f62bb", - "name": "List all versions of an Actions Module - default", + "id": "76aa966c-5fbe-4a23-a2a4-7cbf13eb043c", + "name": "Get a phone notification template - default", "request": { - "urlPathTemplate": "/actions/modules/{id}/versions", + "urlPathTemplate": "/branding/phone/templates/{id}", "method": "GET", "headers": { "Authorization": { @@ -6768,24 +8906,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"versions\": [\n {\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {}\n ],\n \"dependencies\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}", + "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f9d3c975-0170-4fb7-977a-8b220d9f62bb", + "uuid": "76aa966c-5fbe-4a23-a2a4-7cbf13eb043c", "persistent": true, "priority": 3, "metadata": { @@ -6798,11 +8928,11 @@ } }, { - "id": "f2ae0322-48cb-47bb-a197-e4607ede713a", - "name": "Create a new version of an Actions Module - default", + "id": "97c15733-1abd-4f5e-8eda-3dc1b372e0ec", + "name": "Delete a phone notification template - default", "request": { - "urlPathTemplate": "/actions/modules/{id}/versions", - "method": "POST", + "urlPathTemplate": "/branding/phone/templates/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -6816,12 +8946,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "f2ae0322-48cb-47bb-a197-e4607ede713a", + "uuid": "97c15733-1abd-4f5e-8eda-3dc1b372e0ec", "persistent": true, "priority": 3, "metadata": { @@ -6834,11 +8964,11 @@ } }, { - "id": "29f3eb37-e484-460b-a662-6e196927da74", - "name": "Get a specific version of an Actions Module - default", + "id": "2e4c517e-f1d0-4252-bfea-7b6342825fba", + "name": "Update a phone notification template - default", "request": { - "urlPathTemplate": "/actions/modules/{id}/versions/{versionId}", - "method": "GET", + "urlPathTemplate": "/branding/phone/templates/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -6847,20 +8977,17 @@ "pathParameters": { "id": { "equalTo": "id" - }, - "versionId": { - "equalTo": "versionId" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "29f3eb37-e484-460b-a662-6e196927da74", + "uuid": "2e4c517e-f1d0-4252-bfea-7b6342825fba", "persistent": true, "priority": 3, "metadata": { @@ -6873,38 +9000,30 @@ } }, { - "id": "eb7071fc-50a8-4dc9-a79d-ce47e23d4637", - "name": "Get trigger bindings - default", + "id": "7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4", + "name": "Resets a phone notification template values - default", "request": { - "urlPathTemplate": "/actions/triggers/{triggerId}/bindings", - "method": "GET", + "urlPathTemplate": "/branding/phone/templates/{id}/reset", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "triggerId": { - "equalTo": "post-login" - } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "body": "{\n \"id\": \"x\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"x\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"x\",\n \"body\": {\n \"text\": \"x\",\n \"voice\": \"x\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "eb7071fc-50a8-4dc9-a79d-ce47e23d4637", + "uuid": "7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4", "persistent": true, "priority": 3, "metadata": { @@ -6917,30 +9036,30 @@ } }, { - "id": "677bf282-a2a0-4bc7-a065-b5de9e248673", - "name": "Update trigger bindings - default", + "id": "0d9ba799-020f-40db-86d6-08de485ad618", + "name": "Send a test phone notification for the configured template - default", "request": { - "urlPathTemplate": "/actions/triggers/{triggerId}/bindings", - "method": "PATCH", + "urlPathTemplate": "/branding/phone/templates/{id}/try", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "triggerId": { - "equalTo": "post-login" + "id": { + "equalTo": "id" } } }, "response": { - "status": 200, - "body": "{\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"post-login\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "status": 202, + "body": "{\n \"message\": \"message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "677bf282-a2a0-4bc7-a065-b5de9e248673", + "uuid": "0d9ba799-020f-40db-86d6-08de485ad618", "persistent": true, "priority": 3, "metadata": { @@ -6953,10 +9072,10 @@ } }, { - "id": "858c0df0-350f-4619-8960-6f774c0f234a", - "name": "Check if an IP address is blocked - default", + "id": "f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde", + "name": "Get the organizations associated to a client grant - default", "request": { - "urlPathTemplate": "/anomaly/blocks/ips/{id}", + "urlPathTemplate": "/client-grants/{id}/organizations", "method": "GET", "headers": { "Authorization": { @@ -6967,16 +9086,27 @@ "id": { "equalTo": "id" } + }, + "queryParameters": { + "include_totals": { + "equalTo": "true" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "858c0df0-350f-4619-8960-6f774c0f234a", + "uuid": "f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde", "persistent": true, "priority": 3, "metadata": { @@ -6989,30 +9119,30 @@ } }, { - "id": "3c386455-0d8c-4edf-a027-a4ac0ff2e391", - "name": "Remove the blocked IP address - default", + "id": "318739d6-2060-4406-9548-e1dca9fc9306", + "name": "Get client credentials - default", "request": { - "urlPathTemplate": "/anomaly/blocks/ips/{id}", - "method": "DELETE", + "urlPathTemplate": "/clients/{client_id}/credentials", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "client_id": { + "equalTo": "client_id" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "3c386455-0d8c-4edf-a027-a4ac0ff2e391", + "uuid": "318739d6-2060-4406-9548-e1dca9fc9306", "persistent": true, "priority": 3, "metadata": { @@ -7025,25 +9155,30 @@ } }, { - "id": "80b1e16c-5284-48f9-9802-ff189fca3b63", - "name": "Get Bot Detection settings - default", + "id": "e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358", + "name": "Create a client credential - default", "request": { - "urlPathTemplate": "/attack-protection/bot-detection", - "method": "GET", + "urlPathTemplate": "/clients/{client_id}/credentials", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "client_id": { + "equalTo": "client_id" + } } }, "response": { - "status": 200, - "body": "{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "80b1e16c-5284-48f9-9802-ff189fca3b63", + "uuid": "e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358", "persistent": true, "priority": 3, "metadata": { @@ -7053,29 +9188,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "bf92fa51-631d-42ef-bf27-8161f3bcab37", - "name": "Update Bot Detection settings - default", + "id": "84fb49da-5fa4-4f09-8176-cf14ff179829", + "name": "Get client credential details - default", "request": { - "urlPathTemplate": "/attack-protection/bot-detection", - "method": "PATCH", + "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "client_id": { + "equalTo": "client_id" + }, + "credential_id": { + "equalTo": "credential_id" + } } }, "response": { "status": 200, - "body": "{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "bf92fa51-631d-42ef-bf27-8161f3bcab37", + "uuid": "84fb49da-5fa4-4f09-8176-cf14ff179829", "persistent": true, "priority": 3, "metadata": { @@ -7088,25 +9230,33 @@ } }, { - "id": "3ecb5fd3-5290-46e1-80da-bbdc282e2e86", - "name": "Get Breached Password Detection settings - default", + "id": "ac24c006-0300-485b-b881-9bfd0a38c4aa", + "name": "Delete a client credential - default", "request": { - "urlPathTemplate": "/attack-protection/breached-password-detection", - "method": "GET", + "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "client_id": { + "equalTo": "client_id" + }, + "credential_id": { + "equalTo": "credential_id" + } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "3ecb5fd3-5290-46e1-80da-bbdc282e2e86", + "uuid": "ac24c006-0300-485b-b881-9bfd0a38c4aa", "persistent": true, "priority": 3, "metadata": { @@ -7116,29 +9266,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "7f0c04d7-e36a-49ce-af70-af9df4825f56", - "name": "Update Breached Password Detection settings - default", + "id": "c820cce1-37c3-4aa6-8700-119563b70d23", + "name": "Update a client credential - default", "request": { - "urlPathTemplate": "/attack-protection/breached-password-detection", + "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "client_id": { + "equalTo": "client_id" + }, + "credential_id": { + "equalTo": "credential_id" + } } }, "response": { - "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7f0c04d7-e36a-49ce-af70-af9df4825f56", + "uuid": "c820cce1-37c3-4aa6-8700-119563b70d23", "persistent": true, "priority": 3, "metadata": { @@ -7151,25 +9308,51 @@ } }, { - "id": "7870c330-d1c9-4a9f-9745-40e1d8b2d0ac", - "name": "Get Brute-force settings - default", + "id": "324ddd4f-5b97-4bf3-8c51-91ad2c931c47", + "name": "Get enabled connections for a client - default", "request": { - "urlPathTemplate": "/attack-protection/brute-force-protection", + "urlPathTemplate": "/clients/{id}/connections", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "strategy": { + "hasExactly": [ + { + "equalTo": "ad" + } + ] + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}", + "body": "{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n },\n \"cross_app_access_resource_app\": {\n \"status\": \"enabled\"\n }\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7870c330-d1c9-4a9f-9745-40e1d8b2d0ac", + "uuid": "324ddd4f-5b97-4bf3-8c51-91ad2c931c47", "persistent": true, "priority": 3, "metadata": { @@ -7179,29 +9362,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "23e440e9-0ef4-4ec5-96f3-0b4d84085d92", - "name": "Update Brute-force settings - default", + "id": "7960ea97-24a9-4c8e-ad42-2dcb8c0215bc", + "name": "Get a list of directory provisioning configurations - default", "request": { - "urlPathTemplate": "/attack-protection/brute-force-protection", - "method": "PATCH", + "urlPathTemplate": "/connections-directory-provisionings", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}", + "body": "{\n \"directory_provisionings\": [\n {\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "23e440e9-0ef4-4ec5-96f3-0b4d84085d92", + "uuid": "7960ea97-24a9-4c8e-ad42-2dcb8c0215bc", "persistent": true, "priority": 3, "metadata": { @@ -7211,28 +9401,34 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34", - "name": "Get the CAPTCHA configuration for a tenant - default", + "id": "feeddf21-212e-4dbc-a0eb-4a922ec0341b", + "name": "Get a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/attack-protection/captcha", + "urlPathTemplate": "/connections/{id}/directory-provisioning", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34", + "uuid": "feeddf21-212e-4dbc-a0eb-4a922ec0341b", "persistent": true, "priority": 3, "metadata": { @@ -7242,29 +9438,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "c8a6243c-e0ad-49f2-8b47-405276a8ae5e", - "name": "Partial Update for CAPTCHA Configuration - default", + "id": "3cfd3977-6fa4-44df-bdf3-78fee867315a", + "name": "Create a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/attack-protection/captcha", - "method": "PATCH", + "urlPathTemplate": "/connections/{id}/directory-provisioning", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 200, - "body": "{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}", + "status": 201, + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "c8a6243c-e0ad-49f2-8b47-405276a8ae5e", + "uuid": "3cfd3977-6fa4-44df-bdf3-78fee867315a", "persistent": true, "priority": 3, "metadata": { @@ -7277,25 +9477,30 @@ } }, { - "id": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", - "name": "Get Phone Provider Protection settings - default", + "id": "2ee66349-1719-45a8-bbbc-65b8e4e783a3", + "name": "Delete a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/attack-protection/phone-provider-protection", - "method": "GET", + "urlPathTemplate": "/connections/{id}/directory-provisioning", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"type\": \"exponential\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", + "uuid": "2ee66349-1719-45a8-bbbc-65b8e4e783a3", "persistent": true, "priority": 3, "metadata": { @@ -7305,29 +9510,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b", - "name": "Update Phone Provider Protection settings - default", + "id": "738a6f0e-a176-48c6-ac5b-1bcc67bc8656", + "name": "Patch a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/attack-protection/phone-provider-protection", + "urlPathTemplate": "/connections/{id}/directory-provisioning", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"type\": \"exponential\"\n}", + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b", + "uuid": "738a6f0e-a176-48c6-ac5b-1bcc67bc8656", "persistent": true, "priority": 3, "metadata": { @@ -7340,25 +9549,30 @@ } }, { - "id": "a3ae14b8-1582-4cae-bb51-84b1d3b3fccf", - "name": "Get Suspicious IP Throttling settings - default", + "id": "181a029d-c4d1-4386-8c0d-4e517aea7579", + "name": "Get a connection's default directory provisioning attribute mapping - default", "request": { - "urlPathTemplate": "/attack-protection/suspicious-ip-throttling", + "urlPathTemplate": "/connections/{id}/directory-provisioning/default-mapping", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}", + "body": "{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a3ae14b8-1582-4cae-bb51-84b1d3b3fccf", + "uuid": "181a029d-c4d1-4386-8c0d-4e517aea7579", "persistent": true, "priority": 3, "metadata": { @@ -7368,29 +9582,44 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "119c9fe7-b349-4ad0-8846-3e6be6a9661e", - "name": "Update Suspicious IP Throttling settings - default", + "id": "54b92a05-a1d2-41b6-887a-45227b7b7901", + "name": "Get synchronized groups for a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/attack-protection/suspicious-ip-throttling", - "method": "PATCH", + "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "q": { + "equalTo": "q" + } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}", + "body": "{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"email\": \"email\",\n \"direct_members_count\": 1\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "119c9fe7-b349-4ad0-8846-3e6be6a9661e", + "uuid": "54b92a05-a1d2-41b6-887a-45227b7b7901", "persistent": true, "priority": 3, "metadata": { @@ -7403,25 +9632,30 @@ } }, { - "id": "bdf661b2-3819-41c2-98f8-4b9137f67189", - "name": "Get template for New Universal Login Experience - default", + "id": "5bbdfb31-4781-467f-8fba-9b4896124cb2", + "name": "Add synchronized group selections to a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/branding/templates/universal-login", - "method": "GET", + "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"body\": \"body\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "bdf661b2-3819-41c2-98f8-4b9137f67189", + "uuid": "5bbdfb31-4781-467f-8fba-9b4896124cb2", "persistent": true, "priority": 3, "metadata": { @@ -7431,19 +9665,23 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "44f5b8dc-7d64-47a1-8889-79cda94f7809", - "name": "Set template for New Universal Login Experience - default", + "id": "3862e103-ed23-45b1-9543-8c83720a6c9c", + "name": "Create or replace synchronized group selections for a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/branding/templates/universal-login", + "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { @@ -7453,7 +9691,7 @@ "Content-Type": "application/json" } }, - "uuid": "44f5b8dc-7d64-47a1-8889-79cda94f7809", + "uuid": "3862e103-ed23-45b1-9543-8c83720a6c9c", "persistent": true, "priority": 3, "metadata": { @@ -7466,15 +9704,20 @@ } }, { - "id": "c2b51bd9-187b-466d-8fe6-68a2eb02e00f", - "name": "Delete template for New Universal Login Experience - default", + "id": "e0e41a59-3e51-4a64-b4c9-8bfae41b828f", + "name": "Delete synchronized group selections for a directory provisioning configuration - default", "request": { - "urlPathTemplate": "/branding/templates/universal-login", + "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { @@ -7484,7 +9727,7 @@ "Content-Type": "application/json" } }, - "uuid": "c2b51bd9-187b-466d-8fe6-68a2eb02e00f", + "uuid": "e0e41a59-3e51-4a64-b4c9-8bfae41b828f", "persistent": true, "priority": 3, "metadata": { @@ -7497,25 +9740,33 @@ } }, { - "id": "2c7a5627-a851-4881-9e60-689c81a3122b", - "name": "Create branding theme - default", + "id": "9821e94c-1529-464c-911e-9b351dbc15bd", + "name": "Get a list of SCIM configurations - default", "request": { - "urlPathTemplate": "/branding/themes", - "method": "POST", + "urlPathTemplate": "/connections-scim-configurations", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } } }, "response": { "status": 200, - "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", + "body": "{\n \"scim_configurations\": [\n {\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2c7a5627-a851-4881-9e60-689c81a3122b", + "uuid": "9821e94c-1529-464c-911e-9b351dbc15bd", "persistent": true, "priority": 3, "metadata": { @@ -7525,28 +9776,34 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "91d16fa4-7e8b-4de2-aa78-061a5267295b", - "name": "Get default branding theme - default", + "id": "30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f", + "name": "Get a connection's SCIM configuration - default", "request": { - "urlPathTemplate": "/branding/themes/default", + "urlPathTemplate": "/connections/{id}/scim-configuration", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "91d16fa4-7e8b-4de2-aa78-061a5267295b", + "uuid": "30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f", "persistent": true, "priority": 3, "metadata": { @@ -7556,34 +9813,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "f102da1c-5323-41ec-b320-888d05f069b8", - "name": "Get branding theme - default", + "id": "45f92e80-8b92-4937-b29b-76fac22cf624", + "name": "Create a SCIM configuration - default", "request": { - "urlPathTemplate": "/branding/themes/{themeId}", - "method": "GET", + "urlPathTemplate": "/connections/{id}/scim-configuration", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "themeId": { - "equalTo": "themeId" + "id": { + "equalTo": "id" } } }, "response": { - "status": 200, - "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", + "status": 201, + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f102da1c-5323-41ec-b320-888d05f069b8", + "uuid": "45f92e80-8b92-4937-b29b-76fac22cf624", "persistent": true, "priority": 3, "metadata": { @@ -7596,10 +9852,10 @@ } }, { - "id": "215eeb29-68c9-4243-857e-d87a7c62795f", - "name": "Delete branding theme - default", + "id": "c9239c3d-f534-4c1d-a05e-64c0785f569a", + "name": "Delete a connection's SCIM configuration - default", "request": { - "urlPathTemplate": "/branding/themes/{themeId}", + "urlPathTemplate": "/connections/{id}/scim-configuration", "method": "DELETE", "headers": { "Authorization": { @@ -7607,8 +9863,8 @@ } }, "pathParameters": { - "themeId": { - "equalTo": "themeId" + "id": { + "equalTo": "id" } } }, @@ -7619,7 +9875,7 @@ "Content-Type": "application/json" } }, - "uuid": "215eeb29-68c9-4243-857e-d87a7c62795f", + "uuid": "c9239c3d-f534-4c1d-a05e-64c0785f569a", "persistent": true, "priority": 3, "metadata": { @@ -7632,10 +9888,10 @@ } }, { - "id": "2dbbd929-7e98-438f-8310-2500cb90f70c", - "name": "Update branding theme - default", + "id": "d298cb6d-3c6a-4510-a78c-556fad17fd65", + "name": "Patch a connection's SCIM configuration - default", "request": { - "urlPathTemplate": "/branding/themes/{themeId}", + "urlPathTemplate": "/connections/{id}/scim-configuration", "method": "PATCH", "headers": { "Authorization": { @@ -7643,19 +9899,19 @@ } }, "pathParameters": { - "themeId": { - "equalTo": "themeId" + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}", + "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2dbbd929-7e98-438f-8310-2500cb90f70c", + "uuid": "d298cb6d-3c6a-4510-a78c-556fad17fd65", "persistent": true, "priority": 3, "metadata": { @@ -7668,30 +9924,30 @@ } }, { - "id": "520b4b30-1317-42da-89bf-a0491d1694b6", - "name": "Get a list of phone providers - default", + "id": "4cc31df0-e4df-450c-9fac-16b9c893e9fa", + "name": "Get a connection's default SCIM mapping - default", "request": { - "urlPathTemplate": "/branding/phone/providers", + "urlPathTemplate": "/connections/{id}/scim-configuration/default-mapping", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "disabled": { - "equalTo": "true" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"providers\": [\n {\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "body": "{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "520b4b30-1317-42da-89bf-a0491d1694b6", + "uuid": "4cc31df0-e4df-450c-9fac-16b9c893e9fa", "persistent": true, "priority": 3, "metadata": { @@ -7701,29 +9957,41 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "be5761ff-7af6-40ca-95bb-4fdc3bf8eb00", - "name": "Configure the phone provider - default", + "id": "4cda0987-d608-47ba-b465-245ecfaabb90", + "name": "Get enabled clients for a connection - default", "request": { - "urlPathTemplate": "/branding/phone/providers", - "method": "POST", + "urlPathTemplate": "/connections/{id}/clients", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "be5761ff-7af6-40ca-95bb-4fdc3bf8eb00", + "uuid": "4cda0987-d608-47ba-b465-245ecfaabb90", "persistent": true, "priority": 3, "metadata": { @@ -7736,11 +10004,11 @@ } }, { - "id": "8c639058-4844-47c5-8ad8-c0ccd33399bb", - "name": "Get a phone provider - default", + "id": "0c56da15-4d9a-470c-9fcd-64f2c04dd3d3", + "name": "Update enabled clients for a connection - default", "request": { - "urlPathTemplate": "/branding/phone/providers/{id}", - "method": "GET", + "urlPathTemplate": "/connections/{id}/clients", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -7754,12 +10022,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "8c639058-4844-47c5-8ad8-c0ccd33399bb", + "uuid": "0c56da15-4d9a-470c-9fcd-64f2c04dd3d3", "persistent": true, "priority": 3, "metadata": { @@ -7772,11 +10040,11 @@ } }, { - "id": "a6175428-056a-47f4-b776-4dcf8260822c", - "name": "Deletes a Phone Provider - default", + "id": "bf72570e-1315-4eaa-8145-3f400d3eccf0", + "name": "Get connection keys - default", "request": { - "urlPathTemplate": "/branding/phone/providers/{id}", - "method": "DELETE", + "urlPathTemplate": "/connections/{id}/keys", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -7790,12 +10058,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "a6175428-056a-47f4-b776-4dcf8260822c", + "uuid": "bf72570e-1315-4eaa-8145-3f400d3eccf0", "persistent": true, "priority": 3, "metadata": { @@ -7808,11 +10076,11 @@ } }, { - "id": "95edda2c-d9d9-4854-9130-044ebb441bd7", - "name": "Update the phone provider - default", + "id": "faa363d9-1b22-41f6-a15a-6b53ce1566f2", + "name": "Create connection keys - default", "request": { - "urlPathTemplate": "/branding/phone/providers/{id}", - "method": "PATCH", + "urlPathTemplate": "/connections/{id}/keys", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -7825,13 +10093,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 201, + "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "95edda2c-d9d9-4854-9130-044ebb441bd7", + "uuid": "faa363d9-1b22-41f6-a15a-6b53ce1566f2", "persistent": true, "priority": 3, "metadata": { @@ -7844,10 +10112,10 @@ } }, { - "id": "eced0fdd-3915-430a-8c28-1161ab6a3313", - "name": "Send a test phone notification for the configured provider - default", + "id": "b11a1483-99df-4d6a-ace7-cb55bf35ba34", + "name": "Rotate connection keys - default", "request": { - "urlPathTemplate": "/branding/phone/providers/{id}/try", + "urlPathTemplate": "/connections/{id}/keys/rotate", "method": "POST", "headers": { "Authorization": { @@ -7861,13 +10129,13 @@ } }, "response": { - "status": 202, - "body": "{\n \"code\": 1.1,\n \"message\": \"message\"\n}", + "status": 201, + "body": "{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"next\": true,\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "eced0fdd-3915-430a-8c28-1161ab6a3313", + "uuid": "b11a1483-99df-4d6a-ace7-cb55bf35ba34", "persistent": true, "priority": 3, "metadata": { @@ -7880,30 +10148,35 @@ } }, { - "id": "927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d", - "name": "Get a list of phone notification templates - default", + "id": "1d0cb62f-340c-4168-bd90-0fa1ba032e3a", + "name": "Delete a connection user - default", "request": { - "urlPathTemplate": "/branding/phone/templates", - "method": "GET", + "urlPathTemplate": "/connections/{id}/users", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } }, + "pathParameters": { + "id": { + "equalTo": "id" + } + }, "queryParameters": { - "disabled": { - "equalTo": "true" + "email": { + "equalTo": "email" } } }, "response": { "status": 200, - "body": "{\n \"templates\": [\n {\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {},\n \"type\": \"otp_verify\",\n \"disabled\": true\n }\n ]\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d", + "uuid": "1d0cb62f-340c-4168-bd90-0fa1ba032e3a", "persistent": true, "priority": 3, "metadata": { @@ -7913,29 +10186,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "300d3eb8-52bc-4001-8af4-a0594f4242d9", - "name": "Create a phone notification template - default", + "id": "175c0550-405b-4cd6-b498-6501a695ed33", + "name": "Request an on-demand synchronization of the directory - default", "request": { - "urlPathTemplate": "/branding/phone/templates", + "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronizations", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", + "body": "{\n \"connection_id\": \"connection_id\",\n \"synchronization_id\": \"synchronization_id\",\n \"status\": \"status\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "300d3eb8-52bc-4001-8af4-a0594f4242d9", + "uuid": "175c0550-405b-4cd6-b498-6501a695ed33", "persistent": true, "priority": 3, "metadata": { @@ -7948,10 +10225,10 @@ } }, { - "id": "76aa966c-5fbe-4a23-a2a4-7cbf13eb043c", - "name": "Get a phone notification template - default", + "id": "58eab082-4eda-42df-9764-ed787b38df1e", + "name": "Get a connection's SCIM tokens - default", "request": { - "urlPathTemplate": "/branding/phone/templates/{id}", + "urlPathTemplate": "/connections/{id}/scim-configuration/tokens", "method": "GET", "headers": { "Authorization": { @@ -7966,12 +10243,12 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", + "body": "[\n {\n \"token_id\": \"token_id\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\",\n \"last_used_at\": \"last_used_at\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "76aa966c-5fbe-4a23-a2a4-7cbf13eb043c", + "uuid": "58eab082-4eda-42df-9764-ed787b38df1e", "persistent": true, "priority": 3, "metadata": { @@ -7984,11 +10261,11 @@ } }, { - "id": "97c15733-1abd-4f5e-8eda-3dc1b372e0ec", - "name": "Delete a phone notification template - default", + "id": "b55da7ed-453d-4799-b895-796f72020abb", + "name": "Create a SCIM Token - default", "request": { - "urlPathTemplate": "/branding/phone/templates/{id}", - "method": "DELETE", + "urlPathTemplate": "/connections/{id}/scim-configuration/tokens", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8001,13 +10278,13 @@ } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"token_id\": \"token_id\",\n \"token\": \"token\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "97c15733-1abd-4f5e-8eda-3dc1b372e0ec", + "uuid": "b55da7ed-453d-4799-b895-796f72020abb", "persistent": true, "priority": 3, "metadata": { @@ -8020,11 +10297,11 @@ } }, { - "id": "2e4c517e-f1d0-4252-bfea-7b6342825fba", - "name": "Update a phone notification template - default", + "id": "e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9", + "name": "Delete a connection's SCIM token - default", "request": { - "urlPathTemplate": "/branding/phone/templates/{id}", - "method": "PATCH", + "urlPathTemplate": "/connections/{id}/scim-configuration/tokens/{tokenId}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8033,17 +10310,20 @@ "pathParameters": { "id": { "equalTo": "id" + }, + "tokenId": { + "equalTo": "tokenId" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "2e4c517e-f1d0-4252-bfea-7b6342825fba", + "uuid": "e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9", "persistent": true, "priority": 3, "metadata": { @@ -8056,30 +10336,33 @@ } }, { - "id": "7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4", - "name": "Resets a phone notification template values - default", + "id": "53da06f4-1ed4-4e51-8bb8-0ce04e219464", + "name": "Get email provider - default", "request": { - "urlPathTemplate": "/branding/phone/templates/{id}/reset", - "method": "PATCH", + "urlPathTemplate": "/emails/provider", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"x\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"x\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"x\",\n \"body\": {\n \"text\": \"x\",\n \"voice\": \"x\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}", + "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4", + "uuid": "53da06f4-1ed4-4e51-8bb8-0ce04e219464", "persistent": true, "priority": 3, "metadata": { @@ -8089,33 +10372,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "0d9ba799-020f-40db-86d6-08de485ad618", - "name": "Send a test phone notification for the configured template - default", + "id": "d1a0f535-378f-4200-865f-23ca6cf50b9d", + "name": "Configure email provider - default", "request": { - "urlPathTemplate": "/branding/phone/templates/{id}/try", + "urlPathTemplate": "/emails/provider", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 202, - "body": "{\n \"message\": \"message\"\n}", + "status": 201, + "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0d9ba799-020f-40db-86d6-08de485ad618", + "uuid": "d1a0f535-378f-4200-865f-23ca6cf50b9d", "persistent": true, "priority": 3, "metadata": { @@ -8128,38 +10407,25 @@ } }, { - "id": "f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde", - "name": "Get the organizations associated to a client grant - default", + "id": "a57ca053-0cf9-416a-9cb3-144e7c5bd4d5", + "name": "Delete email provider - default", "request": { - "urlPathTemplate": "/client-grants/{id}/organizations", - "method": "GET", + "urlPathTemplate": "/emails/provider", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde", + "uuid": "a57ca053-0cf9-416a-9cb3-144e7c5bd4d5", "persistent": true, "priority": 3, "metadata": { @@ -8172,30 +10438,25 @@ } }, { - "id": "318739d6-2060-4406-9548-e1dca9fc9306", - "name": "Get client credentials - default", + "id": "36f2813e-a299-41fd-a6d6-54938ea37a15", + "name": "Update email provider - default", "request": { - "urlPathTemplate": "/clients/{client_id}/credentials", - "method": "GET", + "urlPathTemplate": "/emails/provider", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "client_id": { - "equalTo": "client_id" - } } }, "response": { "status": 200, - "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n]", + "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "318739d6-2060-4406-9548-e1dca9fc9306", + "uuid": "36f2813e-a299-41fd-a6d6-54938ea37a15", "persistent": true, "priority": 3, "metadata": { @@ -8208,30 +10469,50 @@ } }, { - "id": "e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358", - "name": "Create a client credential - default", + "id": "c3751490-b492-4376-9596-bd7d6f5e8443", + "name": "Get this event stream's delivery history - default", "request": { - "urlPathTemplate": "/clients/{client_id}/credentials", - "method": "POST", + "urlPathTemplate": "/event-streams/{id}/deliveries", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "client_id": { - "equalTo": "client_id" + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "statuses": { + "equalTo": "statuses" + }, + "event_types": { + "equalTo": "event_types" + }, + "date_from": { + "equalTo": "date_from" + }, + "date_to": { + "equalTo": "date_to" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"deliveries\": [\n {\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"connection.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\"\n }\n ]\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358", + "uuid": "c3751490-b492-4376-9596-bd7d6f5e8443", "persistent": true, "priority": 3, "metadata": { @@ -8244,10 +10525,10 @@ } }, { - "id": "84fb49da-5fa4-4f09-8176-cf14ff179829", - "name": "Get client credential details - default", + "id": "93fa5cb1-a92c-4b20-8483-814c91175496", + "name": "Get a specific event's delivery history - default", "request": { - "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", + "urlPathTemplate": "/event-streams/{id}/deliveries/{event_id}", "method": "GET", "headers": { "Authorization": { @@ -8255,22 +10536,22 @@ } }, "pathParameters": { - "client_id": { - "equalTo": "client_id" + "id": { + "equalTo": "id" }, - "credential_id": { - "equalTo": "credential_id" + "event_id": { + "equalTo": "event_id" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"connection.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\",\n \"duration\": 1.1\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": {\n \"key\": \"value\"\n }\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "84fb49da-5fa4-4f09-8176-cf14ff179829", + "uuid": "93fa5cb1-a92c-4b20-8483-814c91175496", "persistent": true, "priority": 3, "metadata": { @@ -8283,33 +10564,30 @@ } }, { - "id": "ac24c006-0300-485b-b881-9bfd0a38c4aa", - "name": "Delete a client credential - default", + "id": "25856d60-9bad-4777-b7f2-7b5e2656b133", + "name": "Redeliver failed events - default", "request": { - "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", - "method": "DELETE", + "urlPathTemplate": "/event-streams/{id}/redeliver", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "client_id": { - "equalTo": "client_id" - }, - "credential_id": { - "equalTo": "credential_id" + "id": { + "equalTo": "id" } } }, "response": { - "status": 200, - "body": "\"\"", + "status": 202, + "body": "{\n \"date_from\": \"2024-01-15T09:30:00Z\",\n \"date_to\": \"2024-01-15T09:30:00Z\",\n \"statuses\": [\n \"failed\"\n ],\n \"event_types\": [\n \"connection.created\"\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "ac24c006-0300-485b-b881-9bfd0a38c4aa", + "uuid": "25856d60-9bad-4777-b7f2-7b5e2656b133", "persistent": true, "priority": 3, "metadata": { @@ -8322,33 +10600,33 @@ } }, { - "id": "c820cce1-37c3-4aa6-8700-119563b70d23", - "name": "Update a client credential - default", + "id": "05d8b619-8b8d-41ea-b60f-bea3298d5e33", + "name": "Redeliver a single failed event by ID - default", "request": { - "urlPathTemplate": "/clients/{client_id}/credentials/{credential_id}", - "method": "PATCH", + "urlPathTemplate": "/event-streams/{id}/redeliver/{event_id}", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "client_id": { - "equalTo": "client_id" + "id": { + "equalTo": "id" }, - "credential_id": { - "equalTo": "credential_id" + "event_id": { + "equalTo": "event_id" } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "c820cce1-37c3-4aa6-8700-119563b70d23", + "uuid": "05d8b619-8b8d-41ea-b60f-bea3298d5e33", "persistent": true, "priority": 3, "metadata": { @@ -8361,51 +10639,42 @@ } }, { - "id": "324ddd4f-5b97-4bf3-8c51-91ad2c931c47", - "name": "Get enabled connections for a client - default", + "id": "bd75bcab-7889-4be2-8450-869b365b3fd6", + "name": "List experiments for the tenant. - default", "request": { - "urlPathTemplate": "/clients/{id}/connections", + "urlPathTemplate": "/experimentation/experiments", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, "queryParameters": { - "strategy": { - "hasExactly": [ - { - "equalTo": "ad" - } - ] - }, "from": { "equalTo": "from" }, "take": { "equalTo": "1" }, - "fields": { - "equalTo": "fields" + "status": { + "equalTo": "draft" }, - "include_fields": { - "equalTo": "true" + "authentication_flow": { + "equalTo": "authentication_flow" + }, + "feature_flag_id": { + "equalTo": "feature_flag_id" } } }, "response": { "status": 200, - "body": "{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"experiments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {}\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "324ddd4f-5b97-4bf3-8c51-91ad2c931c47", + "uuid": "bd75bcab-7889-4be2-8450-869b365b3fd6", "persistent": true, "priority": 3, "metadata": { @@ -8415,36 +10684,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "7960ea97-24a9-4c8e-ad42-2dcb8c0215bc", - "name": "Get a list of directory provisioning configurations - default", + "id": "8134b9b9-4d8a-4951-a430-6287adc0df07", + "name": "Create an experiment for the Experiment Center. - default", "request": { - "urlPathTemplate": "/connections-directory-provisionings", - "method": "GET", + "urlPathTemplate": "/experimentation/experiments", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { - "status": 200, - "body": "{\n \"directory_provisionings\": [\n {\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n }\n ],\n \"next\": \"next\"\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7960ea97-24a9-4c8e-ad42-2dcb8c0215bc", + "uuid": "8134b9b9-4d8a-4951-a430-6287adc0df07", "persistent": true, "priority": 3, "metadata": { @@ -8454,14 +10716,13 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "feeddf21-212e-4dbc-a0eb-4a922ec0341b", - "name": "Get a directory provisioning configuration - default", + "id": "274d4dba-dc33-4e37-8a85-e46845e575b9", + "name": "Get an experiment by ID. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning", + "urlPathTemplate": "/experimentation/experiments/{id}", "method": "GET", "headers": { "Authorization": { @@ -8476,12 +10737,12 @@ }, "response": { "status": 200, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "feeddf21-212e-4dbc-a0eb-4a922ec0341b", + "uuid": "274d4dba-dc33-4e37-8a85-e46845e575b9", "persistent": true, "priority": 3, "metadata": { @@ -8494,11 +10755,11 @@ } }, { - "id": "3cfd3977-6fa4-44df-bdf3-78fee867315a", - "name": "Create a directory provisioning configuration - default", + "id": "0029389e-1345-4549-9a99-7244a9975ed8", + "name": "Delete an experiment. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning", - "method": "POST", + "urlPathTemplate": "/experimentation/experiments/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8511,13 +10772,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "3cfd3977-6fa4-44df-bdf3-78fee867315a", + "uuid": "0029389e-1345-4549-9a99-7244a9975ed8", "persistent": true, "priority": 3, "metadata": { @@ -8530,11 +10791,11 @@ } }, { - "id": "2ee66349-1719-45a8-bbbc-65b8e4e783a3", - "name": "Delete a directory provisioning configuration - default", + "id": "2f052315-dd21-4094-b6d2-095774dabfe2", + "name": "Update an experiment. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning", - "method": "DELETE", + "urlPathTemplate": "/experimentation/experiments/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8548,12 +10809,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2ee66349-1719-45a8-bbbc-65b8e4e783a3", + "uuid": "2f052315-dd21-4094-b6d2-095774dabfe2", "persistent": true, "priority": 3, "metadata": { @@ -8566,11 +10827,11 @@ } }, { - "id": "738a6f0e-a176-48c6-ac5b-1bcc67bc8656", - "name": "Patch a directory provisioning configuration - default", + "id": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3", + "name": "Advance the rollout level of a ramp experiment. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning", - "method": "PATCH", + "urlPathTemplate": "/experimentation/experiments/{id}/advance-ramp", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8583,13 +10844,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"synchronize_groups\": \"all\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}", + "status": 201, + "body": "{\n \"experiment_id\": \"experiment_id\",\n \"from_level\": 1,\n \"to_level\": 1,\n \"current_level\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "738a6f0e-a176-48c6-ac5b-1bcc67bc8656", + "uuid": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3", "persistent": true, "priority": 3, "metadata": { @@ -8602,11 +10863,11 @@ } }, { - "id": "181a029d-c4d1-4386-8c0d-4e517aea7579", - "name": "Get a connection's default directory provisioning attribute mapping - default", + "id": "20ae6e00-fdf5-43c3-a259-bcdbc0129c9d", + "name": "Validate an experiment. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning/default-mapping", - "method": "GET", + "urlPathTemplate": "/experimentation/experiments/{id}/validate", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8620,12 +10881,12 @@ }, "response": { "status": 200, - "body": "{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ]\n}", + "body": "{\n \"is_valid\": true,\n \"errors\": [\n {\n \"code\": \"code\",\n \"message\": \"message\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "181a029d-c4d1-4386-8c0d-4e517aea7579", + "uuid": "20ae6e00-fdf5-43c3-a259-bcdbc0129c9d", "persistent": true, "priority": 3, "metadata": { @@ -8638,38 +10899,39 @@ } }, { - "id": "54b92a05-a1d2-41b6-887a-45227b7b7901", - "name": "Get synchronized groups for a directory provisioning configuration - default", + "id": "c7a5a02e-7595-4d10-b58d-5a96d5a3f7c8", + "name": "List feature flags for the tenant. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", + "urlPathTemplate": "/experimentation/feature-flags", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, "queryParameters": { "from": { "equalTo": "from" }, - "take": { - "equalTo": "1" + "take": { + "equalTo": "1" + }, + "type": { + "equalTo": "auth0" + }, + "status": { + "equalTo": "draft" } } }, "response": { "status": 200, - "body": "{\n \"groups\": [\n {\n \"id\": \"id\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"feature_flags\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "54b92a05-a1d2-41b6-887a-45227b7b7901", + "uuid": "c7a5a02e-7595-4d10-b58d-5a96d5a3f7c8", "persistent": true, "priority": 3, "metadata": { @@ -8679,33 +10941,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "3862e103-ed23-45b1-9543-8c83720a6c9c", - "name": "Create or replace synchronized group selections for a directory provisioning configuration - default", + "id": "5b965deb-f921-4ef0-b7db-7ba8c30d1fef", + "name": "Create a feature flag for the Experiment Center. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronized-groups", - "method": "PUT", + "urlPathTemplate": "/experimentation/feature-flags", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3862e103-ed23-45b1-9543-8c83720a6c9c", + "uuid": "5b965deb-f921-4ef0-b7db-7ba8c30d1fef", "persistent": true, "priority": 3, "metadata": { @@ -8718,33 +10976,30 @@ } }, { - "id": "9821e94c-1529-464c-911e-9b351dbc15bd", - "name": "Get a list of SCIM configurations - default", + "id": "d67c44c6-dd70-4a7a-a203-566a40f7970f", + "name": "Get a feature flag by ID. - default", "request": { - "urlPathTemplate": "/connections-scim-configurations", + "urlPathTemplate": "/experimentation/feature-flags/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"scim_configurations\": [\n {\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "9821e94c-1529-464c-911e-9b351dbc15bd", + "uuid": "d67c44c6-dd70-4a7a-a203-566a40f7970f", "persistent": true, "priority": 3, "metadata": { @@ -8754,15 +11009,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f", - "name": "Get a connection's SCIM configuration - default", + "id": "94fc1535-b1de-4f15-a050-e0db73d2031d", + "name": "Delete a feature flag. - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration", - "method": "GET", + "urlPathTemplate": "/experimentation/feature-flags/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8776,12 +11030,12 @@ }, "response": { "status": 200, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f", + "uuid": "94fc1535-b1de-4f15-a050-e0db73d2031d", "persistent": true, "priority": 3, "metadata": { @@ -8794,11 +11048,11 @@ } }, { - "id": "45f92e80-8b92-4937-b29b-76fac22cf624", - "name": "Create a SCIM configuration - default", + "id": "fca842b6-3f36-4dfb-ae90-568e68695c8c", + "name": "Update a feature flag. - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration", - "method": "POST", + "urlPathTemplate": "/experimentation/feature-flags/{id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8811,13 +11065,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "45f92e80-8b92-4937-b29b-76fac22cf624", + "uuid": "fca842b6-3f36-4dfb-ae90-568e68695c8c", "persistent": true, "priority": 3, "metadata": { @@ -8830,30 +11084,39 @@ } }, { - "id": "c9239c3d-f534-4c1d-a05e-64c0785f569a", - "name": "Delete a connection's SCIM configuration - default", + "id": "f3d101fb-cdd6-4ae1-9613-a72ab8cb6207", + "name": "List segments for the tenant. - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration", - "method": "DELETE", + "urlPathTemplate": "/experimentation/segments", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "type": { + "equalTo": "auth0" + }, + "status": { + "equalTo": "active" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"segments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "c9239c3d-f534-4c1d-a05e-64c0785f569a", + "uuid": "f3d101fb-cdd6-4ae1-9613-a72ab8cb6207", "persistent": true, "priority": 3, "metadata": { @@ -8863,33 +11126,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "d298cb6d-3c6a-4510-a78c-556fad17fd65", - "name": "Patch a connection's SCIM configuration - default", + "id": "d8d193b6-8822-4d36-8044-479bd24483e1", + "name": "Create a segment for the Experiment Center. - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration", - "method": "PATCH", + "urlPathTemplate": "/experimentation/segments", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_on\": \"2024-01-15T09:30:00Z\"\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d298cb6d-3c6a-4510-a78c-556fad17fd65", + "uuid": "d8d193b6-8822-4d36-8044-479bd24483e1", "persistent": true, "priority": 3, "metadata": { @@ -8902,10 +11161,10 @@ } }, { - "id": "4cc31df0-e4df-450c-9fac-16b9c893e9fa", - "name": "Get a connection's default SCIM mapping - default", + "id": "f205ed84-327b-4abc-9154-889fab0fb681", + "name": "Get a segment by ID. - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration/default-mapping", + "urlPathTemplate": "/experimentation/segments/{id}", "method": "GET", "headers": { "Authorization": { @@ -8920,12 +11179,12 @@ }, "response": { "status": 200, - "body": "{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "4cc31df0-e4df-450c-9fac-16b9c893e9fa", + "uuid": "f205ed84-327b-4abc-9154-889fab0fb681", "persistent": true, "priority": 3, "metadata": { @@ -8938,11 +11197,11 @@ } }, { - "id": "4cda0987-d608-47ba-b465-245ecfaabb90", - "name": "Get enabled clients for a connection - default", + "id": "1f1e87b3-9fdc-4b26-8ac2-537a57b6d8ae", + "name": "Delete a segment. - default", "request": { - "urlPathTemplate": "/connections/{id}/clients", - "method": "GET", + "urlPathTemplate": "/experimentation/segments/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -8952,24 +11211,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "take": { - "equalTo": "1" - }, - "from": { - "equalTo": "from" - } } }, "response": { "status": 200, - "body": "{\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "4cda0987-d608-47ba-b465-245ecfaabb90", + "uuid": "1f1e87b3-9fdc-4b26-8ac2-537a57b6d8ae", "persistent": true, "priority": 3, "metadata": { @@ -8982,10 +11233,10 @@ } }, { - "id": "0c56da15-4d9a-470c-9fcd-64f2c04dd3d3", - "name": "Update enabled clients for a connection - default", + "id": "e2397c3e-6009-45bf-8ebd-62d6d9ccc2bd", + "name": "Update a segment. - default", "request": { - "urlPathTemplate": "/connections/{id}/clients", + "urlPathTemplate": "/experimentation/segments/{id}", "method": "PATCH", "headers": { "Authorization": { @@ -9000,12 +11251,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0c56da15-4d9a-470c-9fcd-64f2c04dd3d3", + "uuid": "e2397c3e-6009-45bf-8ebd-62d6d9ccc2bd", "persistent": true, "priority": 3, "metadata": { @@ -9018,10 +11269,10 @@ } }, { - "id": "bf72570e-1315-4eaa-8145-3f400d3eccf0", - "name": "Get connection keys - default", + "id": "1abb2607-78fd-4896-bc90-9384a36aafdc", + "name": "List all variations for a feature flag. - default", "request": { - "urlPathTemplate": "/connections/{id}/keys", + "urlPathTemplate": "/experimentation/feature-flags/{id}/variations", "method": "GET", "headers": { "Authorization": { @@ -9036,12 +11287,12 @@ }, "response": { "status": 200, - "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]", + "body": "{\n \"variations\": [\n {\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "bf72570e-1315-4eaa-8145-3f400d3eccf0", + "uuid": "1abb2607-78fd-4896-bc90-9384a36aafdc", "persistent": true, "priority": 3, "metadata": { @@ -9054,10 +11305,10 @@ } }, { - "id": "faa363d9-1b22-41f6-a15a-6b53ce1566f2", - "name": "Create connection keys - default", + "id": "c9d939f1-99ea-420a-a6ad-0f672876141b", + "name": "Create a variation for a feature flag. - default", "request": { - "urlPathTemplate": "/connections/{id}/keys", + "urlPathTemplate": "/experimentation/feature-flags/{id}/variations", "method": "POST", "headers": { "Authorization": { @@ -9072,12 +11323,12 @@ }, "response": { "status": 201, - "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]", + "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "faa363d9-1b22-41f6-a15a-6b53ce1566f2", + "uuid": "c9d939f1-99ea-420a-a6ad-0f672876141b", "persistent": true, "priority": 3, "metadata": { @@ -9090,11 +11341,11 @@ } }, { - "id": "b11a1483-99df-4d6a-ace7-cb55bf35ba34", - "name": "Rotate connection keys - default", + "id": "e2d62924-fd55-44bd-a420-b2af14221ab3", + "name": "Get a variation by ID. - default", "request": { - "urlPathTemplate": "/connections/{id}/keys/rotate", - "method": "POST", + "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -9103,17 +11354,20 @@ "pathParameters": { "id": { "equalTo": "id" + }, + "vid": { + "equalTo": "vid" } } }, "response": { - "status": 201, - "body": "{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"next\": true,\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b11a1483-99df-4d6a-ace7-cb55bf35ba34", + "uuid": "e2d62924-fd55-44bd-a420-b2af14221ab3", "persistent": true, "priority": 3, "metadata": { @@ -9126,10 +11380,10 @@ } }, { - "id": "1d0cb62f-340c-4168-bd90-0fa1ba032e3a", - "name": "Delete a connection user - default", + "id": "c581e83f-a6d2-4f3f-b7c3-fd93c5d99b1b", + "name": "Delete a variation. - default", "request": { - "urlPathTemplate": "/connections/{id}/users", + "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}", "method": "DELETE", "headers": { "Authorization": { @@ -9139,11 +11393,9 @@ "pathParameters": { "id": { "equalTo": "id" - } - }, - "queryParameters": { - "email": { - "equalTo": "email" + }, + "vid": { + "equalTo": "vid" } } }, @@ -9154,7 +11406,7 @@ "Content-Type": "application/json" } }, - "uuid": "1d0cb62f-340c-4168-bd90-0fa1ba032e3a", + "uuid": "c581e83f-a6d2-4f3f-b7c3-fd93c5d99b1b", "persistent": true, "priority": 3, "metadata": { @@ -9167,11 +11419,11 @@ } }, { - "id": "175c0550-405b-4cd6-b498-6501a695ed33", - "name": "Request an on-demand synchronization of the directory - default", + "id": "f2b8f79d-6aa1-47c2-8894-b917b3dea8e3", + "name": "Update a variation. - default", "request": { - "urlPathTemplate": "/connections/{id}/directory-provisioning/synchronizations", - "method": "POST", + "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -9180,17 +11432,20 @@ "pathParameters": { "id": { "equalTo": "id" + }, + "vid": { + "equalTo": "vid" } } }, "response": { - "status": 201, - "body": "{\n \"connection_id\": \"connection_id\",\n \"synchronization_id\": \"synchronization_id\",\n \"status\": \"status\"\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "175c0550-405b-4cd6-b498-6501a695ed33", + "uuid": "f2b8f79d-6aa1-47c2-8894-b917b3dea8e3", "persistent": true, "priority": 3, "metadata": { @@ -9203,10 +11458,10 @@ } }, { - "id": "58eab082-4eda-42df-9764-ed787b38df1e", - "name": "Get a connection's SCIM tokens - default", + "id": "62d121a4-93bc-4281-8659-06708ac8d781", + "name": "Get flow executions - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration/tokens", + "urlPathTemplate": "/flows/{flow_id}/executions", "method": "GET", "headers": { "Authorization": { @@ -9214,19 +11469,30 @@ } }, "pathParameters": { - "id": { - "equalTo": "id" + "flow_id": { + "equalTo": "flow_id" + } + }, + "queryParameters": { + "include_totals": { + "equalTo": "true" + }, + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "[\n {\n \"token_id\": \"token_id\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\",\n \"last_used_at\": \"last_used_at\"\n }\n]", + "body": "{\n \"next\": \"next\",\n \"executions\": [\n {\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "58eab082-4eda-42df-9764-ed787b38df1e", + "uuid": "62d121a4-93bc-4281-8659-06708ac8d781", "persistent": true, "priority": 3, "metadata": { @@ -9239,30 +11505,42 @@ } }, { - "id": "b55da7ed-453d-4799-b895-796f72020abb", - "name": "Create a SCIM Token - default", + "id": "3151ee0d-c1ca-45b6-9f72-5b4138b4b90d", + "name": "Get a flow execution - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration/tokens", - "method": "POST", + "urlPathTemplate": "/flows/{flow_id}/executions/{execution_id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "flow_id": { + "equalTo": "flow_id" + }, + "execution_id": { + "equalTo": "execution_id" + } + }, + "queryParameters": { + "hydrate": { + "hasExactly": [ + { + "equalTo": "debug" + } + ] } } }, "response": { - "status": 201, - "body": "{\n \"token_id\": \"token_id\",\n \"token\": \"token\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\"\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"debug\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b55da7ed-453d-4799-b895-796f72020abb", + "uuid": "3151ee0d-c1ca-45b6-9f72-5b4138b4b90d", "persistent": true, "priority": 3, "metadata": { @@ -9275,10 +11553,10 @@ } }, { - "id": "e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9", - "name": "Delete a connection's SCIM token - default", + "id": "9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5", + "name": "Delete a flow execution - default", "request": { - "urlPathTemplate": "/connections/{id}/scim-configuration/tokens/{tokenId}", + "urlPathTemplate": "/flows/{flow_id}/executions/{execution_id}", "method": "DELETE", "headers": { "Authorization": { @@ -9286,22 +11564,64 @@ } }, "pathParameters": { - "id": { - "equalTo": "id" + "flow_id": { + "equalTo": "flow_id" + }, + "execution_id": { + "equalTo": "execution_id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee", + "name": "Get Flows Vault connection list - default", + "request": { + "urlPathTemplate": "/flows/vault/connections", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "page": { + "equalTo": "1" }, - "tokenId": { - "equalTo": "tokenId" + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9", + "uuid": "ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee", "persistent": true, "priority": 3, "metadata": { @@ -9311,36 +11631,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "53da06f4-1ed4-4e51-8bb8-0ce04e219464", - "name": "Get email provider - default", + "id": "b56d64da-174f-4d7e-86e7-3240fb1a8174", + "name": "Create a Flows Vault connection - default", "request": { - "urlPathTemplate": "/emails/provider", - "method": "GET", + "urlPathTemplate": "/flows/vault/connections", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - } } }, "response": { - "status": 200, - "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "53da06f4-1ed4-4e51-8bb8-0ce04e219464", + "uuid": "b56d64da-174f-4d7e-86e7-3240fb1a8174", "persistent": true, "priority": 3, "metadata": { @@ -9350,29 +11663,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "d1a0f535-378f-4200-865f-23ca6cf50b9d", - "name": "Configure email provider - default", + "id": "6cc30ec0-8e30-44ab-b033-e2db27abc3ac", + "name": "Get a Flows Vault connection - default", "request": { - "urlPathTemplate": "/emails/provider", - "method": "POST", + "urlPathTemplate": "/flows/vault/connections/{id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", + "status": 200, + "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d1a0f535-378f-4200-865f-23ca6cf50b9d", + "uuid": "6cc30ec0-8e30-44ab-b033-e2db27abc3ac", "persistent": true, "priority": 3, "metadata": { @@ -9385,15 +11702,20 @@ } }, { - "id": "a57ca053-0cf9-416a-9cb3-144e7c5bd4d5", - "name": "Delete email provider - default", + "id": "97e2e46c-2af3-4cf0-b6df-e09cd0f4151a", + "name": "Delete a Flows Vault connection - default", "request": { - "urlPathTemplate": "/emails/provider", + "urlPathTemplate": "/flows/vault/connections/{id}", "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { @@ -9403,7 +11725,7 @@ "Content-Type": "application/json" } }, - "uuid": "a57ca053-0cf9-416a-9cb3-144e7c5bd4d5", + "uuid": "97e2e46c-2af3-4cf0-b6df-e09cd0f4151a", "persistent": true, "priority": 3, "metadata": { @@ -9416,25 +11738,30 @@ } }, { - "id": "36f2813e-a299-41fd-a6d6-54938ea37a15", - "name": "Update email provider - default", + "id": "cdbf8062-2c13-4861-9280-e1ef2af24823", + "name": "Update a Flows Vault connection - default", "request": { - "urlPathTemplate": "/emails/provider", + "urlPathTemplate": "/flows/vault/connections/{id}", "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}", + "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "36f2813e-a299-41fd-a6d6-54938ea37a15", + "uuid": "cdbf8062-2c13-4861-9280-e1ef2af24823", "persistent": true, "priority": 3, "metadata": { @@ -9447,10 +11774,10 @@ } }, { - "id": "c3751490-b492-4376-9596-bd7d6f5e8443", - "name": "Get this event stream's delivery history - default", + "id": "a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb", + "name": "Get Group Members - default", "request": { - "urlPathTemplate": "/event-streams/{id}/deliveries", + "urlPathTemplate": "/groups/{id}/members", "method": "GET", "headers": { "Authorization": { @@ -9463,17 +11790,11 @@ } }, "queryParameters": { - "statuses": { - "equalTo": "statuses" - }, - "event_types": { - "equalTo": "event_types" - }, - "date_from": { - "equalTo": "date_from" + "fields": { + "equalTo": "fields" }, - "date_to": { - "equalTo": "date_to" + "include_fields": { + "equalTo": "true" }, "from": { "equalTo": "from" @@ -9485,12 +11806,12 @@ }, "response": { "status": 200, - "body": "[\n {\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"group.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n }\n]", + "body": "{\n \"members\": [\n {\n \"id\": \"id\",\n \"member_type\": \"user\",\n \"type\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "c3751490-b492-4376-9596-bd7d6f5e8443", + "uuid": "a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb", "persistent": true, "priority": 3, "metadata": { @@ -9503,10 +11824,10 @@ } }, { - "id": "93fa5cb1-a92c-4b20-8483-814c91175496", - "name": "Get a specific event's delivery history - default", + "id": "a6180ede-b842-44df-ae1d-d9243c735673", + "name": "Get a group's roles - default", "request": { - "urlPathTemplate": "/event-streams/{id}/deliveries/{event_id}", + "urlPathTemplate": "/groups/{id}/roles", "method": "GET", "headers": { "Authorization": { @@ -9516,20 +11837,25 @@ "pathParameters": { "id": { "equalTo": "id" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" }, - "event_id": { - "equalTo": "event_id" + "take": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"group.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}", + "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "93fa5cb1-a92c-4b20-8483-814c91175496", + "uuid": "a6180ede-b842-44df-ae1d-d9243c735673", "persistent": true, "priority": 3, "metadata": { @@ -9542,10 +11868,10 @@ } }, { - "id": "25856d60-9bad-4777-b7f2-7b5e2656b133", - "name": "Redeliver failed events - default", + "id": "89bf9bc1-fdef-4324-af0b-ae27bc06a0b7", + "name": "Assign roles to a group - default", "request": { - "urlPathTemplate": "/event-streams/{id}/redeliver", + "urlPathTemplate": "/groups/{id}/roles", "method": "POST", "headers": { "Authorization": { @@ -9559,13 +11885,13 @@ } }, "response": { - "status": 202, - "body": "{\n \"date_from\": \"2024-01-15T09:30:00Z\",\n \"date_to\": \"2024-01-15T09:30:00Z\",\n \"statuses\": [\n \"failed\"\n ],\n \"event_types\": [\n \"group.created\"\n ]\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "25856d60-9bad-4777-b7f2-7b5e2656b133", + "uuid": "89bf9bc1-fdef-4324-af0b-ae27bc06a0b7", "persistent": true, "priority": 3, "metadata": { @@ -9578,11 +11904,11 @@ } }, { - "id": "05d8b619-8b8d-41ea-b60f-bea3298d5e33", - "name": "Redeliver a single failed event by ID - default", + "id": "8524f74e-b4e7-406d-847c-49ff4fda5446", + "name": "Remove roles from a group - default", "request": { - "urlPathTemplate": "/event-streams/{id}/redeliver/{event_id}", - "method": "POST", + "urlPathTemplate": "/groups/{id}/roles", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -9591,9 +11917,6 @@ "pathParameters": { "id": { "equalTo": "id" - }, - "event_id": { - "equalTo": "event_id" } } }, @@ -9604,7 +11927,7 @@ "Content-Type": "application/json" } }, - "uuid": "05d8b619-8b8d-41ea-b60f-bea3298d5e33", + "uuid": "8524f74e-b4e7-406d-847c-49ff4fda5446", "persistent": true, "priority": 3, "metadata": { @@ -9617,38 +11940,25 @@ } }, { - "id": "62d121a4-93bc-4281-8659-06708ac8d781", - "name": "Get flow executions - default", + "id": "a2982e98-d69b-4815-a50d-57f1267374d8", + "name": "Create a multi-factor authentication enrollment ticket - default", "request": { - "urlPathTemplate": "/flows/{flow_id}/executions", - "method": "GET", + "urlPathTemplate": "/guardian/enrollments/ticket", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "flow_id": { - "equalTo": "flow_id" - } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"next\": \"next\",\n \"executions\": [\n {\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "body": "{\n \"ticket_id\": \"ticket_id\",\n \"ticket_url\": \"ticket_url\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "62d121a4-93bc-4281-8659-06708ac8d781", + "uuid": "a2982e98-d69b-4815-a50d-57f1267374d8", "persistent": true, "priority": 3, "metadata": { @@ -9661,10 +11971,10 @@ } }, { - "id": "3151ee0d-c1ca-45b6-9f72-5b4138b4b90d", - "name": "Get a flow execution - default", + "id": "029d8a45-40e7-4697-b2da-a0c12a4d3895", + "name": "Get a multi-factor authentication enrollment - default", "request": { - "urlPathTemplate": "/flows/{flow_id}/executions/{execution_id}", + "urlPathTemplate": "/guardian/enrollments/{id}", "method": "GET", "headers": { "Authorization": { @@ -9672,31 +11982,19 @@ } }, "pathParameters": { - "flow_id": { - "equalTo": "flow_id" - }, - "execution_id": { - "equalTo": "execution_id" - } - }, - "queryParameters": { - "hydrate": { - "hasExactly": [ - { - "equalTo": "debug" - } - ] + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"debug\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"status\": \"pending\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"enrolled_at\": \"enrolled_at\",\n \"last_auth\": \"last_auth\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3151ee0d-c1ca-45b6-9f72-5b4138b4b90d", + "uuid": "029d8a45-40e7-4697-b2da-a0c12a4d3895", "persistent": true, "priority": 3, "metadata": { @@ -9709,10 +12007,10 @@ } }, { - "id": "9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5", - "name": "Delete a flow execution - default", + "id": "d28abba4-f155-4fa4-ba9b-077e8ea016ad", + "name": "Delete a multi-factor authentication enrollment - default", "request": { - "urlPathTemplate": "/flows/{flow_id}/executions/{execution_id}", + "urlPathTemplate": "/guardian/enrollments/{id}", "method": "DELETE", "headers": { "Authorization": { @@ -9720,11 +12018,8 @@ } }, "pathParameters": { - "flow_id": { - "equalTo": "flow_id" - }, - "execution_id": { - "equalTo": "execution_id" + "id": { + "equalTo": "id" } } }, @@ -9735,7 +12030,7 @@ "Content-Type": "application/json" } }, - "uuid": "9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5", + "uuid": "d28abba4-f155-4fa4-ba9b-077e8ea016ad", "persistent": true, "priority": 3, "metadata": { @@ -9748,36 +12043,25 @@ } }, { - "id": "ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee", - "name": "Get Flows Vault connection list - default", + "id": "12377456-a682-4cdc-b63d-41a188b3ce32", + "name": "Get Factors and multi-factor authentication details - default", "request": { - "urlPathTemplate": "/flows/vault/connections", + "urlPathTemplate": "/guardian/factors", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n }\n ]\n}", + "body": "[\n {\n \"enabled\": true,\n \"trial_expired\": true,\n \"name\": \"push-notification\",\n \"settings\": {\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n }\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee", + "uuid": "12377456-a682-4cdc-b63d-41a188b3ce32", "persistent": true, "priority": 3, "metadata": { @@ -9791,25 +12075,30 @@ "postServeActions": [] }, { - "id": "b56d64da-174f-4d7e-86e7-3240fb1a8174", - "name": "Create a Flows Vault connection - default", + "id": "93c9905e-4981-4cb3-a7b0-026dab1704d6", + "name": "Update multi-factor authentication type - default", "request": { - "urlPathTemplate": "/flows/vault/connections", - "method": "POST", + "urlPathTemplate": "/guardian/factors/{name}", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "name": { + "equalTo": "push-notification" + } } }, - "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", + "response": { + "status": 200, + "body": "{\n \"enabled\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "b56d64da-174f-4d7e-86e7-3240fb1a8174", + "uuid": "93c9905e-4981-4cb3-a7b0-026dab1704d6", "persistent": true, "priority": 3, "metadata": { @@ -9822,30 +12111,25 @@ } }, { - "id": "6cc30ec0-8e30-44ab-b033-e2db27abc3ac", - "name": "Get a Flows Vault connection - default", + "id": "e47dd04a-f3a3-409a-a301-7732f16f3bec", + "name": "Get multi-factor authentication policies - default", "request": { - "urlPathTemplate": "/flows/vault/connections/{id}", + "urlPathTemplate": "/guardian/policies", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", + "body": "[\n \"all-applications\"\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "6cc30ec0-8e30-44ab-b033-e2db27abc3ac", + "uuid": "e47dd04a-f3a3-409a-a301-7732f16f3bec", "persistent": true, "priority": 3, "metadata": { @@ -9855,33 +12139,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "97e2e46c-2af3-4cf0-b6df-e09cd0f4151a", - "name": "Delete a Flows Vault connection - default", + "id": "8ee26dda-4638-4269-9b14-59f2907ef28b", + "name": "Update multi-factor authentication policies - default", "request": { - "urlPathTemplate": "/flows/vault/connections/{id}", - "method": "DELETE", + "urlPathTemplate": "/guardian/policies", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "[\n \"all-applications\"\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "97e2e46c-2af3-4cf0-b6df-e09cd0f4151a", + "uuid": "8ee26dda-4638-4269-9b14-59f2907ef28b", "persistent": true, "priority": 3, "metadata": { @@ -9894,30 +12174,25 @@ } }, { - "id": "cdbf8062-2c13-4861-9280-e1ef2af24823", - "name": "Update a Flows Vault connection - default", + "id": "42069ebb-c0f8-4cbd-9a08-c6006af4bdc2", + "name": "Get Email Factor Settings - default", "request": { - "urlPathTemplate": "/flows/vault/connections/{id}", - "method": "PATCH", + "urlPathTemplate": "/guardian/factors/email/settings", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}", + "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cdbf8062-2c13-4861-9280-e1ef2af24823", + "uuid": "42069ebb-c0f8-4cbd-9a08-c6006af4bdc2", "persistent": true, "priority": 3, "metadata": { @@ -9927,47 +12202,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb", - "name": "Get Group Members - default", + "id": "2e305645-5aea-4725-9542-96afbf858842", + "name": "Set the Email Factor Settings - default", "request": { - "urlPathTemplate": "/groups/{id}/members", - "method": "GET", + "urlPathTemplate": "/guardian/factors/email/settings", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, - "queryParameters": { - "fields": { - "equalTo": "fields" - }, - "include_fields": { - "equalTo": "true" - }, - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"members\": [\n {\n \"id\": \"id\",\n \"member_type\": \"user\",\n \"type\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb", + "uuid": "2e305645-5aea-4725-9542-96afbf858842", "persistent": true, "priority": 3, "metadata": { @@ -9980,38 +12237,25 @@ } }, { - "id": "a6180ede-b842-44df-ae1d-d9243c735673", - "name": "Get a group's roles - default", + "id": "ed435b3e-66b6-47b0-882f-08d926944cad", + "name": "Get Enabled Phone Factors - default", "request": { - "urlPathTemplate": "/groups/{id}/roles", + "urlPathTemplate": "/guardian/factors/phone/message-types", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - }, - "queryParameters": { - "from": { - "equalTo": "from" - }, - "take": { - "equalTo": "1" - } } }, "response": { "status": 200, - "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"message_types\": [\n \"sms\"\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a6180ede-b842-44df-ae1d-d9243c735673", + "uuid": "ed435b3e-66b6-47b0-882f-08d926944cad", "persistent": true, "priority": 3, "metadata": { @@ -10021,33 +12265,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "89bf9bc1-fdef-4324-af0b-ae27bc06a0b7", - "name": "Assign roles to a group - default", + "id": "92b96146-6175-4994-87af-ac137f73595d", + "name": "Update the Enabled Phone Factors - default", "request": { - "urlPathTemplate": "/groups/{id}/roles", - "method": "POST", + "urlPathTemplate": "/guardian/factors/phone/message-types", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"message_types\": [\n \"sms\"\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "89bf9bc1-fdef-4324-af0b-ae27bc06a0b7", + "uuid": "92b96146-6175-4994-87af-ac137f73595d", "persistent": true, "priority": 3, "metadata": { @@ -10060,30 +12300,25 @@ } }, { - "id": "8524f74e-b4e7-406d-847c-49ff4fda5446", - "name": "Remove roles from a group - default", + "id": "bd1421c2-3dbe-4603-b96c-02e53872498b", + "name": "Get Twilio configuration - default", "request": { - "urlPathTemplate": "/groups/{id}/roles", - "method": "DELETE", + "urlPathTemplate": "/guardian/factors/phone/providers/twilio", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8524f74e-b4e7-406d-847c-49ff4fda5446", + "uuid": "bd1421c2-3dbe-4603-b96c-02e53872498b", "persistent": true, "priority": 3, "metadata": { @@ -10093,14 +12328,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "a2982e98-d69b-4815-a50d-57f1267374d8", - "name": "Create a multi-factor authentication enrollment ticket - default", + "id": "92ac09b5-25bb-4b34-8fad-73bbd1a12984", + "name": "Update Twilio configuration - default", "request": { - "urlPathTemplate": "/guardian/enrollments/ticket", - "method": "POST", + "urlPathTemplate": "/guardian/factors/phone/providers/twilio", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10109,12 +12345,12 @@ }, "response": { "status": 200, - "body": "{\n \"ticket_id\": \"ticket_id\",\n \"ticket_url\": \"ticket_url\"\n}", + "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a2982e98-d69b-4815-a50d-57f1267374d8", + "uuid": "92ac09b5-25bb-4b34-8fad-73bbd1a12984", "persistent": true, "priority": 3, "metadata": { @@ -10127,30 +12363,25 @@ } }, { - "id": "029d8a45-40e7-4697-b2da-a0c12a4d3895", - "name": "Get a multi-factor authentication enrollment - default", + "id": "5c310715-a914-4928-9142-141be90dd71e", + "name": "Get phone provider configuration - default", "request": { - "urlPathTemplate": "/guardian/enrollments/{id}", + "urlPathTemplate": "/guardian/factors/phone/selected-provider", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"status\": \"pending\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"enrolled_at\": \"enrolled_at\",\n \"last_auth\": \"last_auth\"\n}", + "body": "{\n \"provider\": \"auth0\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "029d8a45-40e7-4697-b2da-a0c12a4d3895", + "uuid": "5c310715-a914-4928-9142-141be90dd71e", "persistent": true, "priority": 3, "metadata": { @@ -10160,33 +12391,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "d28abba4-f155-4fa4-ba9b-077e8ea016ad", - "name": "Delete a multi-factor authentication enrollment - default", + "id": "555dfcb1-93af-4dcf-8241-1114028c32b4", + "name": "Update phone provider configuration - default", "request": { - "urlPathTemplate": "/guardian/enrollments/{id}", - "method": "DELETE", + "urlPathTemplate": "/guardian/factors/phone/selected-provider", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"provider\": \"auth0\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d28abba4-f155-4fa4-ba9b-077e8ea016ad", + "uuid": "555dfcb1-93af-4dcf-8241-1114028c32b4", "persistent": true, "priority": 3, "metadata": { @@ -10199,10 +12426,10 @@ } }, { - "id": "12377456-a682-4cdc-b63d-41a188b3ce32", - "name": "Get Factors and multi-factor authentication details - default", + "id": "a1c996a2-8f68-4dd2-9497-e1fac204c099", + "name": "Get Phone Factor Settings - default", "request": { - "urlPathTemplate": "/guardian/factors", + "urlPathTemplate": "/guardian/factors/phone/settings", "method": "GET", "headers": { "Authorization": { @@ -10212,12 +12439,12 @@ }, "response": { "status": 200, - "body": "[\n {\n \"enabled\": true,\n \"trial_expired\": true,\n \"name\": \"push-notification\"\n }\n]", + "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "12377456-a682-4cdc-b63d-41a188b3ce32", + "uuid": "a1c996a2-8f68-4dd2-9497-e1fac204c099", "persistent": true, "priority": 3, "metadata": { @@ -10231,30 +12458,25 @@ "postServeActions": [] }, { - "id": "93c9905e-4981-4cb3-a7b0-026dab1704d6", - "name": "Update multi-factor authentication type - default", + "id": "d96e86d1-f45b-45a8-ac01-0c50ac8b829e", + "name": "Set the Phone Factor Settings - default", "request": { - "urlPathTemplate": "/guardian/factors/{name}", + "urlPathTemplate": "/guardian/factors/phone/settings", "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "name": { - "equalTo": "push-notification" - } } }, "response": { "status": 200, - "body": "{\n \"enabled\": true\n}", + "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "93c9905e-4981-4cb3-a7b0-026dab1704d6", + "uuid": "d96e86d1-f45b-45a8-ac01-0c50ac8b829e", "persistent": true, "priority": 3, "metadata": { @@ -10267,10 +12489,10 @@ } }, { - "id": "e47dd04a-f3a3-409a-a301-7732f16f3bec", - "name": "Get multi-factor authentication policies - default", + "id": "0e83b2df-19bf-4909-b1c4-0522a7f929a3", + "name": "Get Enrollment and Verification Phone Templates - default", "request": { - "urlPathTemplate": "/guardian/policies", + "urlPathTemplate": "/guardian/factors/phone/templates", "method": "GET", "headers": { "Authorization": { @@ -10280,12 +12502,12 @@ }, "response": { "status": 200, - "body": "[\n \"all-applications\"\n]", + "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e47dd04a-f3a3-409a-a301-7732f16f3bec", + "uuid": "0e83b2df-19bf-4909-b1c4-0522a7f929a3", "persistent": true, "priority": 3, "metadata": { @@ -10299,10 +12521,10 @@ "postServeActions": [] }, { - "id": "8ee26dda-4638-4269-9b14-59f2907ef28b", - "name": "Update multi-factor authentication policies - default", + "id": "d55307be-4c05-42f6-888f-c5a6ee1d2ae2", + "name": "Update Enrollment and Verification Phone Templates - default", "request": { - "urlPathTemplate": "/guardian/policies", + "urlPathTemplate": "/guardian/factors/phone/templates", "method": "PUT", "headers": { "Authorization": { @@ -10312,12 +12534,12 @@ }, "response": { "status": 200, - "body": "[\n \"all-applications\"\n]", + "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "8ee26dda-4638-4269-9b14-59f2907ef28b", + "uuid": "d55307be-4c05-42f6-888f-c5a6ee1d2ae2", "persistent": true, "priority": 3, "metadata": { @@ -10330,11 +12552,43 @@ } }, { - "id": "ed435b3e-66b6-47b0-882f-08d926944cad", - "name": "Get Enabled Phone Factors - default", + "id": "11ed0ad4-9dc8-48ea-bc9c-9824179b9f32", + "name": "Get APNS push notification configuration - default", + "request": { + "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"bundle_id\": \"bundle_id\",\n \"sandbox\": true,\n \"enabled\": true\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "11ed0ad4-9dc8-48ea-bc9c-9824179b9f32", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "e3a3549b-eb87-4309-aa03-a9f08b1b17a7", + "name": "Update APNS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/message-types", - "method": "GET", + "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10343,12 +12597,12 @@ }, "response": { "status": 200, - "body": "{\n \"message_types\": [\n \"sms\"\n ]\n}", + "body": "{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "ed435b3e-66b6-47b0-882f-08d926944cad", + "uuid": "e3a3549b-eb87-4309-aa03-a9f08b1b17a7", "persistent": true, "priority": 3, "metadata": { @@ -10358,15 +12612,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "92b96146-6175-4994-87af-ac137f73595d", - "name": "Update the Enabled Phone Factors - default", + "id": "177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784", + "name": "Update APNs provider configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/message-types", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10375,12 +12628,12 @@ }, "response": { "status": 200, - "body": "{\n \"message_types\": [\n \"sms\"\n ]\n}", + "body": "{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "92b96146-6175-4994-87af-ac137f73595d", + "uuid": "177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784", "persistent": true, "priority": 3, "metadata": { @@ -10393,11 +12646,11 @@ } }, { - "id": "bd1421c2-3dbe-4603-b96c-02e53872498b", - "name": "Get Twilio configuration - default", + "id": "2a5a732a-4ffa-4f42-8454-448f5735b2f3", + "name": "Overwrite FCM configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/providers/twilio", - "method": "GET", + "urlPathTemplate": "/guardian/factors/push-notification/providers/fcm", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10406,12 +12659,12 @@ }, "response": { "status": 200, - "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", + "body": "{\n \"key\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "bd1421c2-3dbe-4603-b96c-02e53872498b", + "uuid": "2a5a732a-4ffa-4f42-8454-448f5735b2f3", "persistent": true, "priority": 3, "metadata": { @@ -10421,15 +12674,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "92ac09b5-25bb-4b34-8fad-73bbd1a12984", - "name": "Update Twilio configuration - default", + "id": "96fb85cc-6ac7-4ec7-9234-6b2db38ea009", + "name": "Updates FCM configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/providers/twilio", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/push-notification/providers/fcm", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10438,12 +12690,12 @@ }, "response": { "status": 200, - "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", + "body": "{\n \"key\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "92ac09b5-25bb-4b34-8fad-73bbd1a12984", + "uuid": "96fb85cc-6ac7-4ec7-9234-6b2db38ea009", "persistent": true, "priority": 3, "metadata": { @@ -10456,11 +12708,11 @@ } }, { - "id": "5c310715-a914-4928-9142-141be90dd71e", - "name": "Get phone provider configuration - default", + "id": "712dc55b-7135-4196-89c9-281072bf1983", + "name": "Overwrite FCMV1 configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/selected-provider", - "method": "GET", + "urlPathTemplate": "/guardian/factors/push-notification/providers/fcmv1", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10469,12 +12721,12 @@ }, "response": { "status": 200, - "body": "{\n \"provider\": \"auth0\"\n}", + "body": "{\n \"key\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "5c310715-a914-4928-9142-141be90dd71e", + "uuid": "712dc55b-7135-4196-89c9-281072bf1983", "persistent": true, "priority": 3, "metadata": { @@ -10484,15 +12736,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "555dfcb1-93af-4dcf-8241-1114028c32b4", - "name": "Update phone provider configuration - default", + "id": "de696b9c-3ffb-4bc8-adde-131913ca6338", + "name": "Updates FCMV1 configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/selected-provider", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/push-notification/providers/fcmv1", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10501,12 +12752,12 @@ }, "response": { "status": 200, - "body": "{\n \"provider\": \"auth0\"\n}", + "body": "{\n \"key\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "555dfcb1-93af-4dcf-8241-1114028c32b4", + "uuid": "de696b9c-3ffb-4bc8-adde-131913ca6338", "persistent": true, "priority": 3, "metadata": { @@ -10519,10 +12770,10 @@ } }, { - "id": "0e83b2df-19bf-4909-b1c4-0522a7f929a3", - "name": "Get Enrollment and Verification Phone Templates - default", + "id": "a03df5fb-b6e0-4345-9c83-e920d88114c9", + "name": "Get AWS SNS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/templates", + "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", "method": "GET", "headers": { "Authorization": { @@ -10532,12 +12783,12 @@ }, "response": { "status": 200, - "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", + "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0e83b2df-19bf-4909-b1c4-0522a7f929a3", + "uuid": "a03df5fb-b6e0-4345-9c83-e920d88114c9", "persistent": true, "priority": 3, "metadata": { @@ -10551,10 +12802,10 @@ "postServeActions": [] }, { - "id": "d55307be-4c05-42f6-888f-c5a6ee1d2ae2", - "name": "Update Enrollment and Verification Phone Templates - default", + "id": "e2945e05-5067-4c32-b82b-483fff53cfc3", + "name": "Configure AWS SNS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/phone/templates", + "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", "method": "PUT", "headers": { "Authorization": { @@ -10564,12 +12815,12 @@ }, "response": { "status": 200, - "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", + "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d55307be-4c05-42f6-888f-c5a6ee1d2ae2", + "uuid": "e2945e05-5067-4c32-b82b-483fff53cfc3", "persistent": true, "priority": 3, "metadata": { @@ -10582,11 +12833,11 @@ } }, { - "id": "11ed0ad4-9dc8-48ea-bc9c-9824179b9f32", - "name": "Get APNS push notification configuration - default", + "id": "79a10ee8-bacd-486b-b5f3-4f23e2382c4b", + "name": "Update AWS SNS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", - "method": "GET", + "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10595,12 +12846,12 @@ }, "response": { "status": 200, - "body": "{\n \"bundle_id\": \"bundle_id\",\n \"sandbox\": true,\n \"enabled\": true\n}", + "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "11ed0ad4-9dc8-48ea-bc9c-9824179b9f32", + "uuid": "79a10ee8-bacd-486b-b5f3-4f23e2382c4b", "persistent": true, "priority": 3, "metadata": { @@ -10610,15 +12861,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "e3a3549b-eb87-4309-aa03-a9f08b1b17a7", - "name": "Update APNS configuration - default", + "id": "0496348c-7357-4623-8514-fb741a753c75", + "name": "Get push notification provider - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/push-notification/selected-provider", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10627,12 +12877,12 @@ }, "response": { "status": 200, - "body": "{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}", + "body": "{\n \"provider\": \"guardian\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e3a3549b-eb87-4309-aa03-a9f08b1b17a7", + "uuid": "0496348c-7357-4623-8514-fb741a753c75", "persistent": true, "priority": 3, "metadata": { @@ -10642,14 +12892,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784", - "name": "Update APNs provider configuration - default", + "id": "7285a311-6499-4a95-a8cc-6701a6997bf5", + "name": "Update Push Notification configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/apns", - "method": "PATCH", + "urlPathTemplate": "/guardian/factors/push-notification/selected-provider", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10658,12 +12909,12 @@ }, "response": { "status": 200, - "body": "{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}", + "body": "{\n \"provider\": \"guardian\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784", + "uuid": "7285a311-6499-4a95-a8cc-6701a6997bf5", "persistent": true, "priority": 3, "metadata": { @@ -10676,11 +12927,11 @@ } }, { - "id": "2a5a732a-4ffa-4f42-8454-448f5735b2f3", - "name": "Overwrite FCM configuration - default", + "id": "e8ca19da-0184-44a0-868c-f020f73cbcbe", + "name": "Get Twilio SMS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/fcm", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/sms/providers/twilio", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10689,12 +12940,12 @@ }, "response": { "status": 200, - "body": "{\n \"key\": \"value\"\n}", + "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2a5a732a-4ffa-4f42-8454-448f5735b2f3", + "uuid": "e8ca19da-0184-44a0-868c-f020f73cbcbe", "persistent": true, "priority": 3, "metadata": { @@ -10704,14 +12955,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "96fb85cc-6ac7-4ec7-9234-6b2db38ea009", - "name": "Updates FCM configuration - default", + "id": "8e51f842-c731-4fc6-9f28-42d20d05f8a7", + "name": "Update Twilio SMS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/fcm", - "method": "PATCH", + "urlPathTemplate": "/guardian/factors/sms/providers/twilio", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10720,12 +12972,12 @@ }, "response": { "status": 200, - "body": "{\n \"key\": \"value\"\n}", + "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "96fb85cc-6ac7-4ec7-9234-6b2db38ea009", + "uuid": "8e51f842-c731-4fc6-9f28-42d20d05f8a7", "persistent": true, "priority": 3, "metadata": { @@ -10738,11 +12990,11 @@ } }, { - "id": "712dc55b-7135-4196-89c9-281072bf1983", - "name": "Overwrite FCMV1 configuration - default", + "id": "a9bd6f03-210a-4eba-9f63-48eb355c59a5", + "name": "Get SMS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/fcmv1", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/sms/selected-provider", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10751,12 +13003,12 @@ }, "response": { "status": 200, - "body": "{\n \"key\": \"value\"\n}", + "body": "{\n \"provider\": \"auth0\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "712dc55b-7135-4196-89c9-281072bf1983", + "uuid": "a9bd6f03-210a-4eba-9f63-48eb355c59a5", "persistent": true, "priority": 3, "metadata": { @@ -10766,14 +13018,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "de696b9c-3ffb-4bc8-adde-131913ca6338", - "name": "Updates FCMV1 configuration - default", + "id": "69919759-0017-4dd6-8df8-a40088848ddb", + "name": "Update SMS configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/fcmv1", - "method": "PATCH", + "urlPathTemplate": "/guardian/factors/sms/selected-provider", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10782,12 +13035,12 @@ }, "response": { "status": 200, - "body": "{\n \"key\": \"value\"\n}", + "body": "{\n \"provider\": \"auth0\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "de696b9c-3ffb-4bc8-adde-131913ca6338", + "uuid": "69919759-0017-4dd6-8df8-a40088848ddb", "persistent": true, "priority": 3, "metadata": { @@ -10800,10 +13053,10 @@ } }, { - "id": "a03df5fb-b6e0-4345-9c83-e920d88114c9", - "name": "Get AWS SNS configuration - default", + "id": "1731b364-a171-42f2-8475-62bdb634879d", + "name": "Get SMS enrollment and verification templates - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", + "urlPathTemplate": "/guardian/factors/sms/templates", "method": "GET", "headers": { "Authorization": { @@ -10813,12 +13066,12 @@ }, "response": { "status": 200, - "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", + "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "a03df5fb-b6e0-4345-9c83-e920d88114c9", + "uuid": "1731b364-a171-42f2-8475-62bdb634879d", "persistent": true, "priority": 3, "metadata": { @@ -10832,10 +13085,10 @@ "postServeActions": [] }, { - "id": "e2945e05-5067-4c32-b82b-483fff53cfc3", - "name": "Configure AWS SNS configuration - default", + "id": "2b0be931-6224-442e-92ca-1b5dfe5c06ba", + "name": "Update SMS enrollment and verification templates - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", + "urlPathTemplate": "/guardian/factors/sms/templates", "method": "PUT", "headers": { "Authorization": { @@ -10845,12 +13098,12 @@ }, "response": { "status": 200, - "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", + "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e2945e05-5067-4c32-b82b-483fff53cfc3", + "uuid": "2b0be931-6224-442e-92ca-1b5dfe5c06ba", "persistent": true, "priority": 3, "metadata": { @@ -10863,11 +13116,11 @@ } }, { - "id": "79a10ee8-bacd-486b-b5f3-4f23e2382c4b", - "name": "Update AWS SNS configuration - default", + "id": "47cb059e-e754-4e4c-804b-52d84dd12162", + "name": "Get DUO Configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/providers/sns", - "method": "PATCH", + "urlPathTemplate": "/guardian/factors/duo/settings", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10876,12 +13129,12 @@ }, "response": { "status": 200, - "body": "{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}", + "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "79a10ee8-bacd-486b-b5f3-4f23e2382c4b", + "uuid": "47cb059e-e754-4e4c-804b-52d84dd12162", "persistent": true, "priority": 3, "metadata": { @@ -10891,14 +13144,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "0496348c-7357-4623-8514-fb741a753c75", - "name": "Get push notification provider - default", + "id": "0bc934b5-9b7a-4a4d-9ffe-54d5473d5f62", + "name": "Set the DUO Configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/selected-provider", - "method": "GET", + "urlPathTemplate": "/guardian/factors/duo/settings", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10907,12 +13161,12 @@ }, "response": { "status": 200, - "body": "{\n \"provider\": \"guardian\"\n}", + "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "0496348c-7357-4623-8514-fb741a753c75", + "uuid": "0bc934b5-9b7a-4a4d-9ffe-54d5473d5f62", "persistent": true, "priority": 3, "metadata": { @@ -10922,15 +13176,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "7285a311-6499-4a95-a8cc-6701a6997bf5", - "name": "Update Push Notification configuration - default", + "id": "38a5aa65-75f0-471c-ab5e-10b544359b3c", + "name": "Update the DUO Configuration - default", "request": { - "urlPathTemplate": "/guardian/factors/push-notification/selected-provider", - "method": "PUT", + "urlPathTemplate": "/guardian/factors/duo/settings", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -10939,12 +13192,12 @@ }, "response": { "status": 200, - "body": "{\n \"provider\": \"guardian\"\n}", + "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "7285a311-6499-4a95-a8cc-6701a6997bf5", + "uuid": "38a5aa65-75f0-471c-ab5e-10b544359b3c", "persistent": true, "priority": 3, "metadata": { @@ -10957,25 +13210,30 @@ } }, { - "id": "e8ca19da-0184-44a0-868c-f020f73cbcbe", - "name": "Get Twilio SMS configuration - default", + "id": "fcdfec44-0fb3-42b6-a292-48e9fb13271a", + "name": "Get hook secrets - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/providers/twilio", + "urlPathTemplate": "/hooks/{id}/secrets", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", + "body": "{\n \"key\": \"value\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e8ca19da-0184-44a0-868c-f020f73cbcbe", + "uuid": "fcdfec44-0fb3-42b6-a292-48e9fb13271a", "persistent": true, "priority": 3, "metadata": { @@ -10985,29 +13243,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "8e51f842-c731-4fc6-9f28-42d20d05f8a7", - "name": "Update Twilio SMS configuration - default", + "id": "a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2", + "name": "Add hook secrets - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/providers/twilio", - "method": "PUT", + "urlPathTemplate": "/hooks/{id}/secrets", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "8e51f842-c731-4fc6-9f28-42d20d05f8a7", + "uuid": "a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2", "persistent": true, "priority": 3, "metadata": { @@ -11020,25 +13282,30 @@ } }, { - "id": "a9bd6f03-210a-4eba-9f63-48eb355c59a5", - "name": "Get SMS configuration - default", + "id": "1e6e250b-ded1-4ca6-831a-83d54b71295e", + "name": "Delete hook secrets - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/selected-provider", - "method": "GET", + "urlPathTemplate": "/hooks/{id}/secrets", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"provider\": \"auth0\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "a9bd6f03-210a-4eba-9f63-48eb355c59a5", + "uuid": "1e6e250b-ded1-4ca6-831a-83d54b71295e", "persistent": true, "priority": 3, "metadata": { @@ -11048,29 +13315,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "69919759-0017-4dd6-8df8-a40088848ddb", - "name": "Update SMS configuration - default", + "id": "81e2c92a-69de-446b-82c8-7f320f9e1060", + "name": "Update hook secrets - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/selected-provider", - "method": "PUT", + "urlPathTemplate": "/hooks/{id}/secrets", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"provider\": \"auth0\"\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "69919759-0017-4dd6-8df8-a40088848ddb", + "uuid": "81e2c92a-69de-446b-82c8-7f320f9e1060", "persistent": true, "priority": 3, "metadata": { @@ -11083,11 +13354,11 @@ } }, { - "id": "1731b364-a171-42f2-8475-62bdb634879d", - "name": "Get SMS enrollment and verification templates - default", + "id": "a93c6324-dab3-4581-8117-74e0dc2c05b3", + "name": "Create export users job - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/templates", - "method": "GET", + "urlPathTemplate": "/jobs/users-exports", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11096,12 +13367,12 @@ }, "response": { "status": 200, - "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", + "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"format\": \"json\",\n \"limit\": 1,\n \"fields\": [\n {\n \"name\": \"name\",\n \"export_as\": \"export_as\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1731b364-a171-42f2-8475-62bdb634879d", + "uuid": "a93c6324-dab3-4581-8117-74e0dc2c05b3", "persistent": true, "priority": 3, "metadata": { @@ -11111,15 +13382,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "2b0be931-6224-442e-92ca-1b5dfe5c06ba", - "name": "Update SMS enrollment and verification templates - default", + "id": "d7d59bf9-f846-4967-a50c-0d5e2daaf044", + "name": "Create import users job - default", "request": { - "urlPathTemplate": "/guardian/factors/sms/templates", - "method": "PUT", + "urlPathTemplate": "/jobs/users-imports", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11127,13 +13397,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}", + "status": 202, + "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"external_id\": \"external_id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "2b0be931-6224-442e-92ca-1b5dfe5c06ba", + "uuid": "d7d59bf9-f846-4967-a50c-0d5e2daaf044", "persistent": true, "priority": 3, "metadata": { @@ -11146,11 +13416,11 @@ } }, { - "id": "47cb059e-e754-4e4c-804b-52d84dd12162", - "name": "Get DUO Configuration - default", + "id": "1ec86184-b7ac-4cff-9fa1-e78fcdcaa954", + "name": "Send an email address verification email - default", "request": { - "urlPathTemplate": "/guardian/factors/duo/settings", - "method": "GET", + "urlPathTemplate": "/jobs/verification-email", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11158,13 +13428,13 @@ } }, "response": { - "status": 200, - "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", + "status": 201, + "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "47cb059e-e754-4e4c-804b-52d84dd12162", + "uuid": "1ec86184-b7ac-4cff-9fa1-e78fcdcaa954", "persistent": true, "priority": 3, "metadata": { @@ -11174,29 +13444,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "0bc934b5-9b7a-4a4d-9ffe-54d5473d5f62", - "name": "Set the DUO Configuration - default", + "id": "1ddcb674-4117-4538-98e8-5723fdb083e8", + "name": "Get job error details - default", "request": { - "urlPathTemplate": "/guardian/factors/duo/settings", - "method": "PUT", + "urlPathTemplate": "/jobs/{id}/errors", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { "status": 200, - "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", + "body": "[\n {\n \"user\": {\n \"key\": \"value\"\n },\n \"errors\": [\n {}\n ]\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "0bc934b5-9b7a-4a4d-9ffe-54d5473d5f62", + "uuid": "1ddcb674-4117-4538-98e8-5723fdb083e8", "persistent": true, "priority": 3, "metadata": { @@ -11209,11 +13483,11 @@ } }, { - "id": "38a5aa65-75f0-471c-ab5e-10b544359b3c", - "name": "Update the DUO Configuration - default", + "id": "70e1c2da-e7db-401a-b166-be0b5da6139c", + "name": "Get custom signing keys - default", "request": { - "urlPathTemplate": "/guardian/factors/duo/settings", - "method": "PATCH", + "urlPathTemplate": "/keys/custom-signing", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11222,12 +13496,12 @@ }, "response": { "status": 200, - "body": "{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}", + "body": "{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "38a5aa65-75f0-471c-ab5e-10b544359b3c", + "uuid": "70e1c2da-e7db-401a-b166-be0b5da6139c", "persistent": true, "priority": 3, "metadata": { @@ -11237,33 +13511,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "fcdfec44-0fb3-42b6-a292-48e9fb13271a", - "name": "Get hook secrets - default", + "id": "3b40098d-d649-4030-bc12-31606e807e15", + "name": "Create or replace custom signing keys - default", "request": { - "urlPathTemplate": "/hooks/{id}/secrets", - "method": "GET", + "urlPathTemplate": "/keys/custom-signing", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { "status": 200, - "body": "{\n \"key\": \"value\"\n}", + "body": "{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "fcdfec44-0fb3-42b6-a292-48e9fb13271a", + "uuid": "3b40098d-d649-4030-bc12-31606e807e15", "persistent": true, "priority": 3, "metadata": { @@ -11276,20 +13546,15 @@ } }, { - "id": "a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2", - "name": "Add hook secrets - default", + "id": "f9b82290-1c82-4a29-891c-cee6ec28bcc5", + "name": "Delete custom signing keys - default", "request": { - "urlPathTemplate": "/hooks/{id}/secrets", - "method": "POST", + "urlPathTemplate": "/keys/custom-signing", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { @@ -11299,7 +13564,7 @@ "Content-Type": "application/json" } }, - "uuid": "a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2", + "uuid": "f9b82290-1c82-4a29-891c-cee6ec28bcc5", "persistent": true, "priority": 3, "metadata": { @@ -11312,30 +13577,36 @@ } }, { - "id": "1e6e250b-ded1-4ca6-831a-83d54b71295e", - "name": "Delete hook secrets - default", + "id": "c09166ed-9d73-4607-92f6-ae884592a5e5", + "name": "Get all encryption keys - default", "request": { - "urlPathTemplate": "/hooks/{id}/secrets", - "method": "DELETE", + "urlPathTemplate": "/keys/encryption", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "pathParameters": { - "id": { - "equalTo": "id" + "queryParameters": { + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"start\": 1,\n \"limit\": 1,\n \"total\": 1,\n \"keys\": [\n {\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1e6e250b-ded1-4ca6-831a-83d54b71295e", + "uuid": "c09166ed-9d73-4607-92f6-ae884592a5e5", "persistent": true, "priority": 3, "metadata": { @@ -11345,33 +13616,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "81e2c92a-69de-446b-82c8-7f320f9e1060", - "name": "Update hook secrets - default", + "id": "b0a9c75d-5268-41dd-849a-da3c0cfcb04b", + "name": "Create the new encryption key - default", "request": { - "urlPathTemplate": "/hooks/{id}/secrets", - "method": "PATCH", + "urlPathTemplate": "/keys/encryption", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "81e2c92a-69de-446b-82c8-7f320f9e1060", + "uuid": "b0a9c75d-5268-41dd-849a-da3c0cfcb04b", "persistent": true, "priority": 3, "metadata": { @@ -11384,10 +13651,10 @@ } }, { - "id": "a93c6324-dab3-4581-8117-74e0dc2c05b3", - "name": "Create export users job - default", + "id": "974880c1-1ef6-4001-a614-aa43c37b4420", + "name": "Rekey the key hierarchy - default", "request": { - "urlPathTemplate": "/jobs/users-exports", + "urlPathTemplate": "/keys/encryption/rekey", "method": "POST", "headers": { "Authorization": { @@ -11397,12 +13664,12 @@ }, "response": { "status": 200, - "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"format\": \"json\",\n \"limit\": 1,\n \"fields\": [\n {\n \"name\": \"name\",\n \"export_as\": \"export_as\"\n }\n ]\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "a93c6324-dab3-4581-8117-74e0dc2c05b3", + "uuid": "974880c1-1ef6-4001-a614-aa43c37b4420", "persistent": true, "priority": 3, "metadata": { @@ -11415,25 +13682,30 @@ } }, { - "id": "d7d59bf9-f846-4967-a50c-0d5e2daaf044", - "name": "Create import users job - default", + "id": "77bab061-9dae-4268-84d0-0b63e263f1ab", + "name": "Get the encryption key by its key id - default", "request": { - "urlPathTemplate": "/jobs/users-imports", - "method": "POST", + "urlPathTemplate": "/keys/encryption/{kid}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "kid": { + "equalTo": "kid" + } } }, "response": { - "status": 202, - "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"external_id\": \"external_id\"\n}", + "status": 200, + "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "d7d59bf9-f846-4967-a50c-0d5e2daaf044", + "uuid": "77bab061-9dae-4268-84d0-0b63e263f1ab", "persistent": true, "priority": 3, "metadata": { @@ -11446,25 +13718,30 @@ } }, { - "id": "1ec86184-b7ac-4cff-9fa1-e78fcdcaa954", - "name": "Send an email address verification email - default", + "id": "86a3fc30-c02a-4c36-ac4c-7900289870b8", + "name": "Import the encryption key - default", "request": { - "urlPathTemplate": "/jobs/verification-email", + "urlPathTemplate": "/keys/encryption/{kid}", "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "kid": { + "equalTo": "kid" + } } }, "response": { "status": 201, - "body": "{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\"\n}", + "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1ec86184-b7ac-4cff-9fa1-e78fcdcaa954", + "uuid": "86a3fc30-c02a-4c36-ac4c-7900289870b8", "persistent": true, "priority": 3, "metadata": { @@ -11477,30 +13754,30 @@ } }, { - "id": "1ddcb674-4117-4538-98e8-5723fdb083e8", - "name": "Get job error details - default", + "id": "cb3a536a-7775-4fcf-a037-f10b16d2fe1d", + "name": "Delete the encryption key by its key id - default", "request": { - "urlPathTemplate": "/jobs/{id}/errors", - "method": "GET", + "urlPathTemplate": "/keys/encryption/{kid}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "id": { - "equalTo": "id" + "kid": { + "equalTo": "kid" } } }, "response": { "status": 200, - "body": "[\n {\n \"user\": {\n \"key\": \"value\"\n },\n \"errors\": [\n {}\n ]\n }\n]", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "1ddcb674-4117-4538-98e8-5723fdb083e8", + "uuid": "cb3a536a-7775-4fcf-a037-f10b16d2fe1d", "persistent": true, "priority": 3, "metadata": { @@ -11513,25 +13790,30 @@ } }, { - "id": "70e1c2da-e7db-401a-b166-be0b5da6139c", - "name": "Get custom signing keys - default", + "id": "cf0b4ec6-52f1-4f55-974a-9eadd755c04f", + "name": "Create the public wrapping key - default", "request": { - "urlPathTemplate": "/keys/custom-signing", - "method": "GET", + "urlPathTemplate": "/keys/encryption/{kid}/wrapping-key", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "kid": { + "equalTo": "kid" + } } }, "response": { - "status": 200, - "body": "{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}", + "status": 201, + "body": "{\n \"public_key\": \"public_key\",\n \"algorithm\": \"CKM_RSA_AES_KEY_WRAP\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "70e1c2da-e7db-401a-b166-be0b5da6139c", + "uuid": "cf0b4ec6-52f1-4f55-974a-9eadd755c04f", "persistent": true, "priority": 3, "metadata": { @@ -11541,15 +13823,14 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "3b40098d-d649-4030-bc12-31606e807e15", - "name": "Create or replace custom signing keys - default", + "id": "b208e814-8b1a-41b6-84a1-eb2ddde585c0", + "name": "Get all Network ACL keys - default", "request": { - "urlPathTemplate": "/keys/custom-signing", - "method": "PUT", + "urlPathTemplate": "/keys/network-acls", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11558,12 +13839,12 @@ }, "response": { "status": 200, - "body": "{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}", + "body": "{\n \"keys\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"alg\": \"hmac-sha256\",\n \"fingerprint\": \"fingerprint\",\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "3b40098d-d649-4030-bc12-31606e807e15", + "uuid": "b208e814-8b1a-41b6-84a1-eb2ddde585c0", "persistent": true, "priority": 3, "metadata": { @@ -11573,14 +13854,15 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "f9b82290-1c82-4a29-891c-cee6ec28bcc5", - "name": "Delete custom signing keys - default", + "id": "c0cd46f9-9e74-46b7-83ad-2a2dc48f2b21", + "name": "Create a Network ACL key - default", "request": { - "urlPathTemplate": "/keys/custom-signing", - "method": "DELETE", + "urlPathTemplate": "/keys/network-acls", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11588,13 +13870,13 @@ } }, "response": { - "status": 200, - "body": "\"\"", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"alg\": \"hmac-sha256\",\n \"fingerprint\": \"fingerprint\",\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "f9b82290-1c82-4a29-891c-cee6ec28bcc5", + "uuid": "c0cd46f9-9e74-46b7-83ad-2a2dc48f2b21", "persistent": true, "priority": 3, "metadata": { @@ -11607,36 +13889,30 @@ } }, { - "id": "c09166ed-9d73-4607-92f6-ae884592a5e5", - "name": "Get all encryption keys - default", + "id": "70abaeea-0098-4253-9ddf-c5866aa153cd", + "name": "Get a Network ACL Key - default", "request": { - "urlPathTemplate": "/keys/encryption", + "urlPathTemplate": "/keys/network-acls/{id}", "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, - "queryParameters": { - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" + "pathParameters": { + "id": { + "equalTo": "id" } } }, "response": { "status": 200, - "body": "{\n \"start\": 1,\n \"limit\": 1,\n \"total\": 1,\n \"keys\": [\n {\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n }\n ]\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"alg\": \"hmac-sha256\",\n \"fingerprint\": \"fingerprint\",\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "c09166ed-9d73-4607-92f6-ae884592a5e5", + "uuid": "70abaeea-0098-4253-9ddf-c5866aa153cd", "persistent": true, "priority": 3, "metadata": { @@ -11646,29 +13922,33 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "b0a9c75d-5268-41dd-849a-da3c0cfcb04b", - "name": "Create the new encryption key - default", + "id": "d615e76a-1190-4dc3-8bb4-4b336863e1be", + "name": "Delete a Network ACL key - default", "request": { - "urlPathTemplate": "/keys/encryption", - "method": "POST", + "urlPathTemplate": "/keys/network-acls/{id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 201, - "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "b0a9c75d-5268-41dd-849a-da3c0cfcb04b", + "uuid": "d615e76a-1190-4dc3-8bb4-4b336863e1be", "persistent": true, "priority": 3, "metadata": { @@ -11681,11 +13961,11 @@ } }, { - "id": "974880c1-1ef6-4001-a614-aa43c37b4420", - "name": "Rekey the key hierarchy - default", + "id": "1bde50a3-a51e-41b4-9018-8f46bd597774", + "name": "Get all Application Signing Keys - default", "request": { - "urlPathTemplate": "/keys/encryption/rekey", - "method": "POST", + "urlPathTemplate": "/keys/signing", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11694,12 +13974,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "974880c1-1ef6-4001-a614-aa43c37b4420", + "uuid": "1bde50a3-a51e-41b4-9018-8f46bd597774", "persistent": true, "priority": 3, "metadata": { @@ -11709,33 +13989,29 @@ "via": "SYSTEM" } } - } + }, + "postServeActions": [] }, { - "id": "77bab061-9dae-4268-84d0-0b63e263f1ab", - "name": "Get the encryption key by its key id - default", + "id": "e9d4827d-c55c-4b09-a761-24a551052257", + "name": "Rotate the Application Signing Key - default", "request": { - "urlPathTemplate": "/keys/encryption/{kid}", - "method": "GET", + "urlPathTemplate": "/keys/signing/rotate", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } - }, - "pathParameters": { - "kid": { - "equalTo": "kid" - } } }, "response": { - "status": 200, - "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", + "status": 201, + "body": "{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "77bab061-9dae-4268-84d0-0b63e263f1ab", + "uuid": "e9d4827d-c55c-4b09-a761-24a551052257", "persistent": true, "priority": 3, "metadata": { @@ -11748,11 +14024,11 @@ } }, { - "id": "86a3fc30-c02a-4c36-ac4c-7900289870b8", - "name": "Import the encryption key - default", + "id": "adec0e81-f58d-4f1f-9071-2c1f28b236e1", + "name": "Get an Application Signing Key by its key id - default", "request": { - "urlPathTemplate": "/keys/encryption/{kid}", - "method": "POST", + "urlPathTemplate": "/keys/signing/{kid}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11765,13 +14041,13 @@ } }, "response": { - "status": 201, - "body": "{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}", + "status": 200, + "body": "{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "86a3fc30-c02a-4c36-ac4c-7900289870b8", + "uuid": "adec0e81-f58d-4f1f-9071-2c1f28b236e1", "persistent": true, "priority": 3, "metadata": { @@ -11784,11 +14060,11 @@ } }, { - "id": "cb3a536a-7775-4fcf-a037-f10b16d2fe1d", - "name": "Delete the encryption key by its key id - default", + "id": "cab3e5d7-c549-4ce9-aa51-648a2d61b321", + "name": "Revoke an Application Signing Key by its key id - default", "request": { - "urlPathTemplate": "/keys/encryption/{kid}", - "method": "DELETE", + "urlPathTemplate": "/keys/signing/{kid}/revoke", + "method": "PUT", "headers": { "Authorization": { "matches": "Bearer .+" @@ -11802,12 +14078,12 @@ }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cb3a536a-7775-4fcf-a037-f10b16d2fe1d", + "uuid": "cab3e5d7-c549-4ce9-aa51-648a2d61b321", "persistent": true, "priority": 3, "metadata": { @@ -11820,30 +14096,54 @@ } }, { - "id": "cf0b4ec6-52f1-4f55-974a-9eadd755c04f", - "name": "Create the public wrapping key - default", + "id": "3bd5c630-fb83-4b4e-a903-67268e3218e0", + "name": "Get client grants associated to an organization - default", "request": { - "urlPathTemplate": "/keys/encryption/{kid}/wrapping-key", - "method": "POST", + "urlPathTemplate": "/organizations/{id}/client-grants", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "kid": { - "equalTo": "kid" + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "audience": { + "equalTo": "audience" + }, + "client_id": { + "equalTo": "client_id" + }, + "grant_ids": { + "hasExactly": [ + { + "equalTo": "grant_ids" + } + ] + }, + "page": { + "equalTo": "1" + }, + "per_page": { + "equalTo": "1" + }, + "include_totals": { + "equalTo": "true" } } }, "response": { - "status": 201, - "body": "{\n \"public_key\": \"public_key\",\n \"algorithm\": \"CKM_RSA_AES_KEY_WRAP\"\n}", + "status": 200, + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n }\n ]\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "cf0b4ec6-52f1-4f55-974a-9eadd755c04f", + "uuid": "3bd5c630-fb83-4b4e-a903-67268e3218e0", "persistent": true, "priority": 3, "metadata": { @@ -11856,25 +14156,30 @@ } }, { - "id": "1bde50a3-a51e-41b4-9018-8f46bd597774", - "name": "Get all Application Signing Keys - default", + "id": "e4a9924e-c625-4ff3-a5ed-44c5e7f20053", + "name": "Associate a client grant with an organization - default", "request": { - "urlPathTemplate": "/keys/signing", - "method": "GET", + "urlPathTemplate": "/organizations/{id}/client-grants", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } } }, "response": { - "status": 200, - "body": "[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n }\n]", + "status": 201, + "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "1bde50a3-a51e-41b4-9018-8f46bd597774", + "uuid": "e4a9924e-c625-4ff3-a5ed-44c5e7f20053", "persistent": true, "priority": 3, "metadata": { @@ -11884,29 +14189,36 @@ "via": "SYSTEM" } } - }, - "postServeActions": [] + } }, { - "id": "e9d4827d-c55c-4b09-a761-24a551052257", - "name": "Rotate the Application Signing Key - default", + "id": "36ae6d81-83b3-4c2c-8f37-5e921d4740ad", + "name": "Remove a client grant from an organization - default", "request": { - "urlPathTemplate": "/keys/signing/rotate", - "method": "POST", + "urlPathTemplate": "/organizations/{id}/client-grants/{grant_id}", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" } + }, + "pathParameters": { + "id": { + "equalTo": "id" + }, + "grant_id": { + "equalTo": "grant_id" + } } }, "response": { - "status": 201, - "body": "{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}", + "status": 200, + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "e9d4827d-c55c-4b09-a761-24a551052257", + "uuid": "36ae6d81-83b3-4c2c-8f37-5e921d4740ad", "persistent": true, "priority": 3, "metadata": { @@ -11919,10 +14231,10 @@ } }, { - "id": "adec0e81-f58d-4f1f-9071-2c1f28b236e1", - "name": "Get an Application Signing Key by its key id - default", + "id": "a3c9ba95-a693-4d69-a1b3-1aa9120eb072", + "name": "List organization client associations - default", "request": { - "urlPathTemplate": "/keys/signing/{kid}", + "urlPathTemplate": "/organizations/{id}/clients", "method": "GET", "headers": { "Authorization": { @@ -11930,19 +14242,27 @@ } }, "pathParameters": { - "kid": { - "equalTo": "kid" + "id": { + "equalTo": "id" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" } } }, "response": { "status": 200, - "body": "{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n}", + "body": "{\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"use_for_member_access\": true,\n \"client\": {}\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "adec0e81-f58d-4f1f-9071-2c1f28b236e1", + "uuid": "a3c9ba95-a693-4d69-a1b3-1aa9120eb072", "persistent": true, "priority": 3, "metadata": { @@ -11955,30 +14275,30 @@ } }, { - "id": "cab3e5d7-c549-4ce9-aa51-648a2d61b321", - "name": "Revoke an Application Signing Key by its key id - default", + "id": "2fa25415-ea73-486d-a4db-dc430b35eb0b", + "name": "Associate clients with an organization - default", "request": { - "urlPathTemplate": "/keys/signing/{kid}/revoke", - "method": "PUT", + "urlPathTemplate": "/organizations/{id}/clients", + "method": "POST", "headers": { "Authorization": { "matches": "Bearer .+" } }, "pathParameters": { - "kid": { - "equalTo": "kid" + "id": { + "equalTo": "id" } } }, "response": { - "status": 200, - "body": "{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}", + "status": 201, + "body": "[\n {\n \"client_id\": \"client_id\",\n \"use_for_member_access\": true,\n \"client\": {\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"grant_types\": [\n \"grant_types\"\n ],\n \"organization_usage\": \"deny\"\n }\n }\n]", "headers": { "Content-Type": "application/json" } }, - "uuid": "cab3e5d7-c549-4ce9-aa51-648a2d61b321", + "uuid": "2fa25415-ea73-486d-a4db-dc430b35eb0b", "persistent": true, "priority": 3, "metadata": { @@ -11991,11 +14311,11 @@ } }, { - "id": "3bd5c630-fb83-4b4e-a903-67268e3218e0", - "name": "Get client grants associated to an organization - default", + "id": "20855d1e-636b-4663-bac9-875b3eb0d7b3", + "name": "Remove client associations from an organization - default", "request": { - "urlPathTemplate": "/organizations/{id}/client-grants", - "method": "GET", + "urlPathTemplate": "/organizations/{id}/clients", + "method": "DELETE", "headers": { "Authorization": { "matches": "Bearer .+" @@ -12005,40 +14325,16 @@ "id": { "equalTo": "id" } - }, - "queryParameters": { - "audience": { - "equalTo": "audience" - }, - "client_id": { - "equalTo": "client_id" - }, - "grant_ids": { - "hasExactly": [ - { - "equalTo": "grant_ids" - } - ] - }, - "page": { - "equalTo": "1" - }, - "per_page": { - "equalTo": "1" - }, - "include_totals": { - "equalTo": "true" - } } }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n }\n ]\n}", + "body": "\"\"", "headers": { "Content-Type": "application/json" } }, - "uuid": "3bd5c630-fb83-4b4e-a903-67268e3218e0", + "uuid": "20855d1e-636b-4663-bac9-875b3eb0d7b3", "persistent": true, "priority": 3, "metadata": { @@ -12051,11 +14347,11 @@ } }, { - "id": "e4a9924e-c625-4ff3-a5ed-44c5e7f20053", - "name": "Associate a client grant with an organization - default", + "id": "87f91e02-b7a6-470d-9913-43e936377815", + "name": "Get an organization client association - default", "request": { - "urlPathTemplate": "/organizations/{id}/client-grants", - "method": "POST", + "urlPathTemplate": "/organizations/{id}/clients/{client_id}", + "method": "GET", "headers": { "Authorization": { "matches": "Bearer .+" @@ -12064,17 +14360,20 @@ "pathParameters": { "id": { "equalTo": "id" + }, + "client_id": { + "equalTo": "client_id" } } }, "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}", + "status": 200, + "body": "{\n \"client_id\": \"client_id\",\n \"use_for_member_access\": true,\n \"client\": {\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"grant_types\": [\n \"grant_types\"\n ],\n \"organization_usage\": \"deny\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "e4a9924e-c625-4ff3-a5ed-44c5e7f20053", + "uuid": "87f91e02-b7a6-470d-9913-43e936377815", "persistent": true, "priority": 3, "metadata": { @@ -12087,11 +14386,11 @@ } }, { - "id": "36ae6d81-83b3-4c2c-8f37-5e921d4740ad", - "name": "Remove a client grant from an organization - default", + "id": "da35509c-6faa-46b7-b7d9-809febc746b9", + "name": "Update an organization client association - default", "request": { - "urlPathTemplate": "/organizations/{id}/client-grants/{grant_id}", - "method": "DELETE", + "urlPathTemplate": "/organizations/{id}/clients/{client_id}", + "method": "PATCH", "headers": { "Authorization": { "matches": "Bearer .+" @@ -12101,19 +14400,19 @@ "id": { "equalTo": "id" }, - "grant_id": { - "equalTo": "grant_id" + "client_id": { + "equalTo": "client_id" } } }, "response": { "status": 200, - "body": "\"\"", + "body": "{\n \"client_id\": \"client_id\",\n \"use_for_member_access\": true,\n \"client\": {\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"grant_types\": [\n \"grant_types\"\n ],\n \"organization_usage\": \"deny\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "36ae6d81-83b3-4c2c-8f37-5e921d4740ad", + "uuid": "da35509c-6faa-46b7-b7d9-809febc746b9", "persistent": true, "priority": 3, "metadata": { @@ -12158,7 +14457,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"organization_member_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -12176,8 +14475,8 @@ } }, { - "id": "de944d33-99f5-481d-9810-4aa2473950cc", - "name": "Adds a connection to an organization - default", + "id": "1d212ed4-03d7-4aac-a774-8ae99461b148", + "name": "Add a connection to an organization - default", "request": { "urlPathTemplate": "/organizations/{id}/connections", "method": "POST", @@ -12194,12 +14493,12 @@ }, "response": { "status": 201, - "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", + "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"organization_member_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "de944d33-99f5-481d-9810-4aa2473950cc", + "uuid": "1d212ed4-03d7-4aac-a774-8ae99461b148", "persistent": true, "priority": 3, "metadata": { @@ -12233,7 +14532,7 @@ }, "response": { "status": 200, - "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", + "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"organization_member_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -12311,7 +14610,7 @@ }, "response": { "status": 200, - "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", + "body": "{\n \"organization_connection_name\": \"organization_connection_name\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"organization_access_level\": \"none\",\n \"organization_member_access_level\": \"none\",\n \"is_enabled\": true,\n \"connection_id\": \"connection_id\",\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -12959,6 +15258,9 @@ } }, "queryParameters": { + "include_totals": { + "equalTo": "true" + }, "from": { "equalTo": "from" }, @@ -13065,8 +15367,8 @@ } }, { - "id": "c4da691c-ffe9-48de-9227-f8ce48855cda", - "name": "Lists the groups that are assigned to the organization. - default", + "id": "6d9e3ba1-00dd-4040-89c3-a856e4b77da2", + "name": "List the groups that are assigned to the organization. - default", "request": { "urlPathTemplate": "/organizations/{organization_id}/groups", "method": "GET", @@ -13096,7 +15398,7 @@ "Content-Type": "application/json" } }, - "uuid": "c4da691c-ffe9-48de-9227-f8ce48855cda", + "uuid": "6d9e3ba1-00dd-4040-89c3-a856e4b77da2", "persistent": true, "priority": 3, "metadata": { @@ -13109,8 +15411,8 @@ } }, { - "id": "25999a58-81d7-488c-9a80-5967b5f1e6ae", - "name": "Lists the roles assigned to a group in the context of an organization. - default", + "id": "709cfc79-902f-4c6b-9c1d-8f115c63e170", + "name": "List the roles assigned to a group in the context of an organization. - default", "request": { "urlPathTemplate": "/organizations/{organization_id}/groups/{group_id}/roles", "method": "GET", @@ -13138,12 +15440,12 @@ }, "response": { "status": 200, - "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "25999a58-81d7-488c-9a80-5967b5f1e6ae", + "uuid": "709cfc79-902f-4c6b-9c1d-8f115c63e170", "persistent": true, "priority": 3, "metadata": { @@ -13156,8 +15458,8 @@ } }, { - "id": "5f66622b-f0dc-4cab-8cb9-c5dd4f868ef6", - "name": "Assigns roles to a group in an organization context. - default", + "id": "51f1e8f1-c3f9-4662-b84c-98d35f72e50c", + "name": "Assign roles to a group in an organization context. - default", "request": { "urlPathTemplate": "/organizations/{organization_id}/groups/{group_id}/roles", "method": "POST", @@ -13182,7 +15484,7 @@ "Content-Type": "application/json" } }, - "uuid": "5f66622b-f0dc-4cab-8cb9-c5dd4f868ef6", + "uuid": "51f1e8f1-c3f9-4662-b84c-98d35f72e50c", "persistent": true, "priority": 3, "metadata": { @@ -13195,8 +15497,8 @@ } }, { - "id": "f3a06a3e-a047-4c64-ad21-52cf3943c125", - "name": "Removes roles assigned to a group in an organization context. - default", + "id": "41aa31c6-ab88-4d21-a15f-f2238b94e356", + "name": "Remove roles assigned to a group in an organization context. - default", "request": { "urlPathTemplate": "/organizations/{organization_id}/groups/{group_id}/roles", "method": "DELETE", @@ -13221,7 +15523,7 @@ "Content-Type": "application/json" } }, - "uuid": "f3a06a3e-a047-4c64-ad21-52cf3943c125", + "uuid": "41aa31c6-ab88-4d21-a15f-f2238b94e356", "persistent": true, "priority": 3, "metadata": { @@ -13313,7 +15615,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -13458,6 +15760,106 @@ } } }, + { + "id": "b184f317-24f3-4e73-9e7b-c6e7decd08e0", + "name": "List the members assigned to a role in the context of an organization - default", + "request": { + "urlPathTemplate": "/organizations/{id}/roles/{role_id}/members", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + }, + "role_id": { + "equalTo": "role_id" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"members\": [\n {\n \"user_id\": \"user_id\",\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"email\": \"email\"\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "b184f317-24f3-4e73-9e7b-c6e7decd08e0", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "c6a72036-f7db-4e59-a8cf-684c7aa65301", + "name": "List the groups assigned to a role in the context of an organization - default", + "request": { + "urlPathTemplate": "/organizations/{organization_id}/roles/{role_id}/groups", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "organization_id": { + "equalTo": "organization_id" + }, + "role_id": { + "equalTo": "role_id" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"organization_id\": \"organization_id\",\n \"tenant_name\": \"tenant_name\",\n \"description\": \"description\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "c6a72036-f7db-4e59-a8cf-684c7aa65301", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "f02cb8dc-cee0-4470-b69b-596e4d0653f9", "name": "Get render setting configurations for all screens - default", @@ -14153,6 +16555,9 @@ } }, "queryParameters": { + "include_totals": { + "equalTo": "true" + }, "from": { "equalTo": "from" }, @@ -14397,7 +16802,7 @@ }, "response": { "status": 200, - "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", + "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"dpop_strict_refresh_token_binding\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"client_id_metadata_document_dynamic_registration_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -14429,7 +16834,7 @@ }, "response": { "status": 200, - "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", + "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"dpop_strict_refresh_token_binding\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"client_id_metadata_document_dynamic_registration_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -14799,8 +17204,8 @@ } }, { - "id": "275c2e74-3552-46aa-bd98-e7945f609962", - "name": "Lists the permissions assigned to a user directly or through roles or groups. - default", + "id": "7536c164-3568-4198-bcd2-c4f13e028cf6", + "name": "List the permissions assigned to a user directly or through roles or groups. - default", "request": { "urlPathTemplate": "/users/{id}/effective-permissions", "method": "GET", @@ -14833,7 +17238,7 @@ "Content-Type": "application/json" } }, - "uuid": "275c2e74-3552-46aa-bd98-e7945f609962", + "uuid": "7536c164-3568-4198-bcd2-c4f13e028cf6", "persistent": true, "priority": 3, "metadata": { @@ -14846,8 +17251,8 @@ } }, { - "id": "0a1118c7-87a0-4e15-a026-c26ae69fc942", - "name": "Lists the roles for a user with sources: directly assigned or through group membership. - default", + "id": "ca15acda-19bd-4ac9-8810-10a77a44c083", + "name": "List the roles for a user with sources: directly assigned or through group membership. - default", "request": { "urlPathTemplate": "/users/{id}/effective-roles", "method": "GET", @@ -14877,7 +17282,7 @@ "Content-Type": "application/json" } }, - "uuid": "0a1118c7-87a0-4e15-a026-c26ae69fc942", + "uuid": "ca15acda-19bd-4ac9-8810-10a77a44c083", "persistent": true, "priority": 3, "metadata": { @@ -14925,81 +17330,6 @@ } } }, - { - "id": "7df16d6a-51ec-415e-a605-f161474b5a60", - "name": "Get tokensets for a user - default", - "request": { - "urlPathTemplate": "/users/{id}/federated-connections-tokensets", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "[\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"scope\": \"scope\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"issued_at\": \"2024-01-15T09:30:00Z\",\n \"last_used_at\": \"2024-01-15T09:30:00Z\"\n }\n]", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "7df16d6a-51ec-415e-a605-f161474b5a60", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93", - "name": "Deletes a tokenset for federated connections by id. - default", - "request": { - "urlPathTemplate": "/users/{id}/federated-connections-tokensets/{tokenset_id}", - "method": "DELETE", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - }, - "tokenset_id": { - "equalTo": "tokenset_id" - } - } - }, - "response": { - "status": 200, - "body": "\"\"", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, { "id": "10f1d36a-08fb-4d1c-9ae0-7e3a75f996ee", "name": "Get user's groups - default", @@ -15023,6 +17353,9 @@ "include_fields": { "equalTo": "true" }, + "include_totals": { + "equalTo": "true" + }, "from": { "equalTo": "from" }, @@ -15283,7 +17616,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -15485,7 +17818,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -15539,8 +17872,8 @@ } }, { - "id": "c727015f-123f-4f98-9b24-25828361a4ab", - "name": "Removes roles from a user - default", + "id": "45b3a04d-67d0-4781-84c6-686818e8cc76", + "name": "Remove roles from a user - default", "request": { "urlPathTemplate": "/users/{id}/roles", "method": "DELETE", @@ -15562,7 +17895,7 @@ "Content-Type": "application/json" } }, - "uuid": "c727015f-123f-4f98-9b24-25828361a4ab", + "uuid": "45b3a04d-67d0-4781-84c6-686818e8cc76", "persistent": true, "priority": 3, "metadata": { @@ -15591,6 +17924,9 @@ } }, "queryParameters": { + "include_totals": { + "equalTo": "true" + }, "from": { "equalTo": "from" }, @@ -15671,6 +18007,9 @@ } }, "queryParameters": { + "include_totals": { + "equalTo": "true" + }, "from": { "equalTo": "from" }, @@ -15681,7 +18020,7 @@ }, "response": { "status": 200, - "body": "{\n \"sessions\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"clients\": [\n {}\n ],\n \"session_metadata\": {\n \"key\": \"value\"\n }\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"sessions\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"clients\": [\n {}\n ],\n \"session_metadata\": {\n \"key\": \"value\"\n },\n \"actor\": {\n \"sub\": \"sub\"\n }\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } @@ -15735,8 +18074,8 @@ } }, { - "id": "bb869da8-6539-45f5-82b2-96dba9672d2b", - "name": "Lists the roles which grant the user a given permission (whether directly or through groups). - default", + "id": "4e6af123-91a7-4267-8471-a054fc227366", + "name": "List the roles which grant the user a given permission (whether directly or through groups). - default", "request": { "urlPathTemplate": "/users/{id}/effective-permissions/sources/effective-roles", "method": "GET", @@ -15767,12 +18106,12 @@ }, "response": { "status": 200, - "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"sources\": [\n \"direct\"\n ]\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"tenant\",\n \"owner_id\": \"owner_id\",\n \"sources\": [\n \"direct\"\n ]\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } }, - "uuid": "bb869da8-6539-45f5-82b2-96dba9672d2b", + "uuid": "4e6af123-91a7-4267-8471-a054fc227366", "persistent": true, "priority": 3, "metadata": { @@ -16012,6 +18351,6 @@ } ], "meta": { - "total": 429 + "total": 490 } } \ No newline at end of file