Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 2 additions & 89 deletions src/adcp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,15 @@
from importlib.metadata import version as _pkg_version

from adcp.adagents import (
AdagentsCacheEntry,
AdagentsEntryError,
AdagentsFetchResult,
AdagentsValidationReport,
AdAgentsValidationResult,
AgentAuthorizationsDirectoryResult,
AuthorizationContext,
DirectoryDiscoveryMethod,
DirectoryEdgeStatus,
DirectoryPublisherEntry,
DiscoveryMethod,
DivergenceReport,
EntryErrorKind,
PublisherDivergence,
detect_publisher_properties_divergence,
domain_matches,
fetch_adagents,
fetch_adagents_with_cache,
fetch_agent_authorizations,
fetch_agent_authorizations_from_directory,
filter_revoked_selectors,
get_all_properties,
get_all_tags,
get_properties_by_agent,
Expand All @@ -49,6 +37,7 @@
)
from adcp.client import ADCPClient, ADCPMultiAgentClient, Checkpoint
from adcp.exceptions import ( # noqa: F401
AdagentsAccessBlockedError,
AdagentsNotFoundError,
AdagentsTimeoutError,
AdagentsValidationError,
Expand Down Expand Up @@ -275,16 +264,9 @@
UpdateFrequency,
UpdateMediaBuyRequest,
UpdateMediaBuyResponse,
ValidateInputRequest,
ValidateInputResponse,
VcpmAuctionPricingOption,
VcpmFixedRatePricingOption,
VcpmPricingOption,
VerifyBrandClaimRequest,
VerifyBrandClaimResponse,
VerifyBrandClaimsRequest,
VerifyBrandClaimsRequestBulk,
VerifyBrandClaimsResponseBulk,
WcagLevel,
aliases,
)
Expand All @@ -301,9 +283,7 @@
AcquireRightsErrorResponse,
AcquireRightsPendingResponse,
AcquireRightsRejectedResponse,
AcquireRightsResponse1,
ActivateSignalErrorResponse,
ActivateSignalResponse1,
ActivateSignalSuccessResponse,
AgentDeployment,
AgentDestination,
Expand All @@ -316,44 +296,33 @@
AuthorizedAgentsBySignalTag,
BothPreviewRender,
BuildCreativeErrorResponse,
BuildCreativeResponse1,
BuildCreativeSuccessResponse,
CalibrateContentErrorResponse,
CalibrateContentResponse1,
CalibrateContentSuccessResponse,
ComplyTestControllerResponse1,
CreateContentStandardsErrorResponse,
CreateContentStandardsResponse1,
CreateContentStandardsSuccessResponse,
CreateMediaBuyErrorResponse,
CreateMediaBuyResponse1,
CreateMediaBuySubmittedResponse,
CreateMediaBuySuccessResponse,
Deployment,
Destination,
GetAccountFinancialsErrorResponse,
GetAccountFinancialsResponse1,
GetAccountFinancialsSuccessResponse,
GetBrandIdentityErrorResponse,
GetBrandIdentityResponse1,
GetBrandIdentitySuccessResponse,
GetContentStandardsErrorResponse,
GetContentStandardsResponse1,
GetContentStandardsSuccessResponse,
GetCreativeDeliveryByBuyerRefRequest,
GetCreativeDeliveryByCreativeRequest,
GetCreativeDeliveryByMediaBuyRequest,
GetCreativeFeaturesErrorResponse,
GetCreativeFeaturesResponse1,
GetCreativeFeaturesSuccessResponse,
GetMediaBuyArtifactsErrorResponse,
GetMediaBuyArtifactsResponse1,
GetMediaBuyArtifactsSuccessResponse,
GetProductsBriefRequest,
GetProductsRefineRequest,
GetProductsWholesaleRequest,
GetRightsErrorResponse,
GetRightsResponse1,
GetRightsSuccessResponse,
GetSignalsDiscoveryRequest,
GetSignalsLookupRequest,
Expand All @@ -362,15 +331,12 @@
InlineVastAsset,
KeyValueActivationKey,
ListContentStandardsErrorResponse,
ListContentStandardsResponse1,
ListContentStandardsSuccessResponse,
LogEventErrorResponse,
LogEventResponse1,
LogEventSuccessResponse,
PlatformDeployment,
PlatformDestination,
PreviewCreativeBatchResponse,
PreviewCreativeResponse1,
PreviewCreativeSingleResponse,
PreviewCreativeVariantResponse,
PricingOption,
Expand All @@ -379,7 +345,6 @@
ProvidePerformanceFeedbackByBuyerRefRequest,
ProvidePerformanceFeedbackByMediaBuyRequest,
ProvidePerformanceFeedbackErrorResponse,
ProvidePerformanceFeedbackResponse1,
ProvidePerformanceFeedbackSuccessResponse,
PublisherProperties,
PublisherPropertiesAll,
Expand All @@ -389,36 +354,28 @@
SiSendActionResponseRequest,
SiSendTextMessageRequest,
SyncAccountsErrorResponse,
SyncAccountsResponse1,
SyncAccountsSuccessResponse,
SyncAudiencesAudience,
SyncAudiencesErrorResponse,
SyncAudiencesResponse1,
SyncAudiencesSuccessResponse,
SyncCatalogResult,
SyncCatalogsErrorResponse,
SyncCatalogsResponse1,
SyncCatalogsSuccessResponse,
SyncCreativeResult,
SyncCreativesErrorResponse,
SyncCreativesResponse1,
SyncCreativesSuccessResponse,
SyncEventSourcesErrorResponse,
SyncEventSourcesResponse1,
SyncEventSourcesSuccessResponse,
UpdateContentStandardsErrorResponse,
UpdateContentStandardsResponse1,
UpdateContentStandardsSuccessResponse,
UpdateMediaBuyErrorResponse,
UpdateMediaBuyPackagesRequest,
UpdateMediaBuyPropertiesRequest,
UpdateMediaBuyResponse1,
UpdateMediaBuySuccessResponse,
UrlDaastAsset,
UrlPreviewRender,
UrlVastAsset,
ValidateContentDeliveryErrorResponse,
ValidateContentDeliveryResponse1,
ValidateContentDeliverySuccessResponse,
)
from adcp.types.core import (
Expand Down Expand Up @@ -684,7 +641,6 @@ def get_adcp_version() -> str:
"AccountReference",
"GetAccountFinancialsRequest",
"GetAccountFinancialsResponse",
"GetAccountFinancialsResponse1",
"GetAccountFinancialsSuccessResponse",
"GetAccountFinancialsErrorResponse",
"ReportUsageRequest",
Expand All @@ -700,19 +656,16 @@ def get_adcp_version() -> str:
# Brand Rights
"AcquireRightsRequest",
"AcquireRightsResponse",
"AcquireRightsResponse1",
"AcquireRightsAcquiredResponse",
"AcquireRightsErrorResponse",
"AcquireRightsPendingResponse",
"AcquireRightsRejectedResponse",
"GetBrandIdentityRequest",
"GetBrandIdentityResponse",
"GetBrandIdentityResponse1",
"GetBrandIdentitySuccessResponse",
"GetBrandIdentityErrorResponse",
"GetRightsRequest",
"GetRightsResponse",
"GetRightsResponse1",
"GetRightsSuccessResponse",
"GetRightsErrorResponse",
# Compliance
Expand All @@ -724,7 +677,6 @@ def get_adcp_version() -> str:
"GetCreativeDeliveryResponse",
"GetCreativeFeaturesRequest",
"GetCreativeFeaturesResponse",
"GetCreativeFeaturesResponse1",
"GetCreativeFeaturesSuccessResponse",
"GetCreativeFeaturesErrorResponse",
"GetPlanAuditLogsRequest",
Expand All @@ -739,8 +691,6 @@ def get_adcp_version() -> str:
"UpdateMediaBuyResponse",
"BuildCreativeRequest",
"BuildCreativeResponse",
"ValidateInputRequest",
"ValidateInputResponse",
"ListAccountsRequest",
"ListAccountsResponse",
"ListCreativeFormatsRequest",
Expand Down Expand Up @@ -768,11 +718,6 @@ def get_adcp_version() -> str:
"SyncPlansResponse",
"ActivateSignalRequest",
"ActivateSignalResponse",
"VerifyBrandClaimRequest",
"VerifyBrandClaimResponse",
"VerifyBrandClaimsRequest",
"VerifyBrandClaimsRequestBulk",
"VerifyBrandClaimsResponseBulk",
"GetSignalsRequest",
"GetSignalsResponse",
"SignalFilters",
Expand Down Expand Up @@ -869,25 +814,13 @@ def get_adcp_version() -> str:
"PushNotificationConfig",
# Adagents validation
"AdAgentsValidationResult",
"AdagentsCacheEntry",
"AdagentsEntryError",
"AdagentsFetchResult",
"AdagentsValidationReport",
"AgentAuthorizationsDirectoryResult",
"AuthorizationContext",
"DirectoryDiscoveryMethod",
"DirectoryEdgeStatus",
"DirectoryPublisherEntry",
"DiscoveryMethod",
"DivergenceReport",
"EntryErrorKind",
"PublisherDivergence",
"detect_publisher_properties_divergence",
"fetch_adagents",
"fetch_adagents_with_cache",
"fetch_agent_authorizations",
"fetch_agent_authorizations_from_directory",
"filter_revoked_selectors",
"validate_adagents_domain",
"validate_adagents_structure",
"verify_agent_authorization",
Expand Down Expand Up @@ -922,6 +855,7 @@ def get_adcp_version() -> str:
"ADCPSigningRequiredError",
"ADCPWebhookError",
"ADCPWebhookSignatureError",
"AdagentsAccessBlockedError",
"AdagentsValidationError",
"AdagentsNotFoundError",
"AdagentsTimeoutError",
Expand Down Expand Up @@ -955,8 +889,6 @@ def get_adcp_version() -> str:
# Semantic type aliases (for better API ergonomics)
"AccountReferenceById",
"AccountReferenceByNaturalKey",
"AcquireRightsResponse1",
"ActivateSignalResponse1",
"ActivateSignalSuccessResponse",
"ActivateSignalErrorResponse",
"AgentDeployment",
Expand All @@ -970,29 +902,22 @@ def get_adcp_version() -> str:
"AuthorizedAgentsBySignalTag",
"BothPreviewRender",
"BuildCreativeSuccessResponse",
"BuildCreativeResponse1",
"BuildCreativeErrorResponse",
"CalibrateContentSuccessResponse",
"CalibrateContentResponse1",
"CalibrateContentErrorResponse",
"ComplyTestControllerResponse1",
"CreateContentStandardsSuccessResponse",
"CreateContentStandardsResponse1",
"CreateContentStandardsErrorResponse",
"CreateMediaBuySuccessResponse",
"CreateMediaBuyResponse1",
"CreateMediaBuyErrorResponse",
"CreateMediaBuySubmittedResponse",
"Deployment",
"Destination",
"GetContentStandardsSuccessResponse",
"GetContentStandardsResponse1",
"GetContentStandardsErrorResponse",
"GetCreativeDeliveryByBuyerRefRequest",
"GetCreativeDeliveryByCreativeRequest",
"GetCreativeDeliveryByMediaBuyRequest",
"GetMediaBuyArtifactsSuccessResponse",
"GetMediaBuyArtifactsResponse1",
"GetMediaBuyArtifactsErrorResponse",
"GetProductsBriefRequest",
"GetProductsRefineRequest",
Expand All @@ -1004,15 +929,12 @@ def get_adcp_version() -> str:
"InlineVastAsset",
"KeyValueActivationKey",
"ListContentStandardsSuccessResponse",
"ListContentStandardsResponse1",
"ListContentStandardsErrorResponse",
"LogEventSuccessResponse",
"LogEventResponse1",
"LogEventErrorResponse",
"PlatformDeployment",
"PlatformDestination",
"PreviewCreativeBatchResponse",
"PreviewCreativeResponse1",
"PreviewCreativeSingleResponse",
"PreviewCreativeVariantResponse",
"PricingOption",
Expand All @@ -1021,7 +943,6 @@ def get_adcp_version() -> str:
"ProvidePerformanceFeedbackByBuyerRefRequest",
"ProvidePerformanceFeedbackByMediaBuyRequest",
"ProvidePerformanceFeedbackSuccessResponse",
"ProvidePerformanceFeedbackResponse1",
"ProvidePerformanceFeedbackErrorResponse",
"PublisherProperties",
"PublisherPropertiesAll",
Expand All @@ -1031,36 +952,28 @@ def get_adcp_version() -> str:
"SiSendActionResponseRequest",
"SiSendTextMessageRequest",
"SyncAccountsSuccessResponse",
"SyncAccountsResponse1",
"SyncAccountsErrorResponse",
"SyncAudiencesAudience",
"SyncAudiencesSuccessResponse",
"SyncAudiencesResponse1",
"SyncAudiencesErrorResponse",
"SyncCatalogResult",
"SyncCatalogsSuccessResponse",
"SyncCatalogsResponse1",
"SyncCatalogsErrorResponse",
"SyncCreativeResult",
"SyncCreativesSuccessResponse",
"SyncCreativesResponse1",
"SyncCreativesErrorResponse",
"SyncEventSourcesSuccessResponse",
"SyncEventSourcesResponse1",
"SyncEventSourcesErrorResponse",
"UpdateContentStandardsSuccessResponse",
"UpdateContentStandardsResponse1",
"UpdateContentStandardsErrorResponse",
"UpdateMediaBuySuccessResponse",
"UpdateMediaBuyResponse1",
"UpdateMediaBuyErrorResponse",
"UpdateMediaBuyPackagesRequest",
"UpdateMediaBuyPropertiesRequest",
"UrlDaastAsset",
"UrlPreviewRender",
"UrlVastAsset",
"ValidateContentDeliverySuccessResponse",
"ValidateContentDeliveryResponse1",
"ValidateContentDeliveryErrorResponse",
# Backward compat: renamed/removed types
# Backward compat: pricing type renames
Expand Down
Loading
Loading