@adcp/sdk 14.0.0-beta.5 → 14.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/AgentClient.js +26 -10
- package/dist/lib/core/AgentClient.js.map +1 -1
- package/dist/lib/core/AgentClient.mjs +26 -10
- package/dist/lib/core/AgentClient.mjs.map +1 -1
- package/dist/lib/core/AsyncHandler.d.mts +4 -2
- package/dist/lib/core/AsyncHandler.d.ts +4 -2
- package/dist/lib/core/AsyncHandler.d.ts.map +1 -1
- package/dist/lib/core/AsyncHandler.js +15 -1
- package/dist/lib/core/AsyncHandler.js.map +1 -1
- package/dist/lib/core/AsyncHandler.mjs +15 -1
- package/dist/lib/core/AsyncHandler.mjs.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.mts +3 -1
- package/dist/lib/core/SingleAgentClient.d.ts +3 -1
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +158 -39
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/core/SingleAgentClient.mjs +167 -40
- package/dist/lib/core/SingleAgentClient.mjs.map +1 -1
- package/dist/lib/core/TaskExecutor.d.mts +57 -2
- package/dist/lib/core/TaskExecutor.d.ts +57 -2
- package/dist/lib/core/TaskExecutor.d.ts.map +1 -1
- package/dist/lib/core/TaskExecutor.js +382 -44
- package/dist/lib/core/TaskExecutor.js.map +1 -1
- package/dist/lib/core/TaskExecutor.mjs +382 -45
- package/dist/lib/core/TaskExecutor.mjs.map +1 -1
- package/dist/lib/core/request-proposals-guard.d.mts +11 -0
- package/dist/lib/core/request-proposals-guard.d.ts +12 -0
- package/dist/lib/core/request-proposals-guard.d.ts.map +1 -0
- package/dist/lib/core/request-proposals-guard.js +65 -0
- package/dist/lib/core/request-proposals-guard.js.map +1 -0
- package/dist/lib/core/request-proposals-guard.mjs +39 -0
- package/dist/lib/core/request-proposals-guard.mjs.map +1 -0
- package/dist/lib/core/webhook-registration.d.mts +5 -0
- package/dist/lib/core/webhook-registration.d.ts +5 -0
- package/dist/lib/core/webhook-registration.d.ts.map +1 -1
- package/dist/lib/core/webhook-registration.js +13 -0
- package/dist/lib/core/webhook-registration.js.map +1 -1
- package/dist/lib/core/webhook-registration.mjs +13 -0
- package/dist/lib/core/webhook-registration.mjs.map +1 -1
- package/dist/lib/media-buy/compatibility.d.mts +45 -10
- package/dist/lib/media-buy/compatibility.d.ts +45 -10
- package/dist/lib/media-buy/compatibility.d.ts.map +1 -1
- package/dist/lib/media-buy/compatibility.js +295 -113
- package/dist/lib/media-buy/compatibility.js.map +1 -1
- package/dist/lib/media-buy/compatibility.mjs +295 -113
- package/dist/lib/media-buy/compatibility.mjs.map +1 -1
- package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/types/core.generated.d.mts +334 -85
- package/dist/lib/types/core.generated.d.ts +334 -85
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js.map +1 -1
- package/dist/lib/types/decline-proposals.d.ts +0 -5
- package/dist/lib/types/index.d.mts +2 -0
- package/dist/lib/types/index.d.ts +2 -0
- package/dist/lib/types/index.d.ts.map +1 -1
- package/dist/lib/types/index.js.map +1 -1
- package/dist/lib/types/index.mjs.map +1 -1
- package/dist/lib/types/request-proposals.d.ts +254 -36
- package/dist/lib/types/schemas.generated.d.ts +3123 -835
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +192 -85
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/schemas.generated.mjs +192 -85
- package/dist/lib/types/schemas.generated.mjs.map +1 -1
- package/dist/lib/types/tools.generated.d.mts +1 -121
- package/dist/lib/types/tools.generated.d.ts +1 -121
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/types/tools.generated.js.map +1 -1
- package/dist/lib/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.js.map +1 -1
- package/dist/lib/version.mjs +3 -3
- package/dist/lib/version.mjs.map +1 -1
- package/docs/guides/MEDIA-BUY-3.2-COMPATIBILITY.md +28 -14
- package/docs/llms.txt +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ export type FormatID = FormatReferenceStructuredObject;
|
|
|
16
16
|
export type { AccountReference, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, } from './tools.generated.mjs';
|
|
17
17
|
export type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated.mjs';
|
|
18
18
|
export type { GetProductsRequest, GetProductsResponse, GetProductsAsyncSubmitted, CreateMediaBuyRequest, CreateMediaBuyResponse, CreateMediaBuySuccess, CreateMediaBuyError, CreateMediaBuySubmitted, CreateMediaBuyAsyncSubmitted, UpdateMediaBuyRequest, UpdateMediaBuyResponse, UpdateMediaBuySuccess, UpdateMediaBuyError, UpdateMediaBuyAsyncSubmitted, GetMediaBuysRequest, GetMediaBuysResponse, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse, GetMediaBuyArtifactsRequest, GetMediaBuyArtifactsResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, SyncPlansRequest, SyncPlansResponse, ReportUsageRequest, ReportUsageResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, } from './tools.generated.mjs';
|
|
19
|
+
export type { RequestProposalsRequest } from './tools.generated.mjs';
|
|
20
|
+
export type { RequestProposalsResponse } from './core.generated.mjs';
|
|
19
21
|
export type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated.mjs';
|
|
20
22
|
export type { MediaChannel, AudienceStatus, MediaBuyStatus, CreativeStatus, Placement, PublisherPropertySelector, ReportingCapabilities, } from './tools.generated.mjs';
|
|
21
23
|
export type { SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, SyncCatalogsAsyncSubmitted, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, } from './tools.generated.mjs';
|
|
@@ -16,6 +16,8 @@ export type FormatID = FormatReferenceStructuredObject;
|
|
|
16
16
|
export type { AccountReference, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, } from './tools.generated';
|
|
17
17
|
export type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated';
|
|
18
18
|
export type { GetProductsRequest, GetProductsResponse, GetProductsAsyncSubmitted, CreateMediaBuyRequest, CreateMediaBuyResponse, CreateMediaBuySuccess, CreateMediaBuyError, CreateMediaBuySubmitted, CreateMediaBuyAsyncSubmitted, UpdateMediaBuyRequest, UpdateMediaBuyResponse, UpdateMediaBuySuccess, UpdateMediaBuyError, UpdateMediaBuyAsyncSubmitted, GetMediaBuysRequest, GetMediaBuysResponse, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse, GetMediaBuyArtifactsRequest, GetMediaBuyArtifactsResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, SyncPlansRequest, SyncPlansResponse, ReportUsageRequest, ReportUsageResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, } from './tools.generated';
|
|
19
|
+
export type { RequestProposalsRequest } from './tools.generated';
|
|
20
|
+
export type { RequestProposalsResponse } from './core.generated';
|
|
19
21
|
export type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated';
|
|
20
22
|
export type { MediaChannel, AudienceStatus, MediaBuyStatus, CreativeStatus, Placement, PublisherPropertySelector, ReportingCapabilities, } from './tools.generated';
|
|
21
23
|
export type { SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, SyncCatalogsAsyncSubmitted, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, } from './tools.generated';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/types/index.ts"],"names":[],"mappings":"AACA,cAAc,QAAQ,CAAC;AAGvB,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,SAAS,EACT,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,QAAQ,CAAC;AAOhB,YAAY,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAKxE,YAAY,EACV,wDAAwD,EACxD,mBAAmB,EACnB,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,EAC3B,iCAAiC,EACjC,yDAAyD,EACzD,wBAAwB,EACxB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,6BAA6B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrF,cAAc,0BAA0B,CAAC;AACzC;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG,+BAA+B,CAAC;AAqBvD,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EAAE,cAAc,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAGjH,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,iCAAiC,EACjC,+BAA+B,EAC/B,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/types/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/types/index.ts"],"sourcesContent":["// AdCP Core Types - Main exports for external consumers\nexport * from './adcp';\n\n// Re-export key types for easier importing\nexport type {\n AgentConfig,\n TestResult,\n TestRequest,\n ApiResponse,\n LegacyCreativeFormatSummary,\n LegacyAdvertisingProduct,\n MediaBuy,\n Targeting,\n LegacyManagedCreativeAsset,\n LegacyManageSyncCreativesRequest,\n LegacyManageListCreativesRequest,\n LegacyManageListCreativesResponse,\n LegacyManagedCreativeFilters,\n ManageCreativeAssetsRequest,\n ManageCreativeAssetsResponse,\n CreateMediaBuyAsyncResponseData,\n UpdateMediaBuyAsyncResponseData,\n GetProductsAsyncResponseData,\n SyncCreativesAsyncResponseData,\n} from './adcp';\n\n// Re-export the structured format identifier from generated core types.\n// AdCP 3.0.1 renamed the schema title from \"Format ID\" to \"Format Reference\n// (Structured Object)\" — purely a doc change, the wire shape is identical.\n// We expose the new canonical name AND keep the historical `FormatID` alias\n// so SDK consumers don't break across the version bump.\nexport type { FormatReferenceStructuredObject } from './core.generated';\n// Canonical-format declarations are part of the 3.2 authoring surface. Keep\n// these curated exports available from `@adcp/sdk/types` so adopters can type\n// check the shared array-valued `slots` contract without importing generated\n// implementation files.\nexport type {\n CanonicalFormatAgentPlacementAISurfaceSponsoredPlacement,\n CanonicalFormatBase,\n CanonicalFormatDAASTAudio,\n CanonicalFormatDisplayTag,\n CanonicalFormatHostedAudio,\n CanonicalFormatHostedVideo,\n CanonicalFormatHTML5Banner,\n CanonicalFormatImageCarousel,\n CanonicalFormatNativeInFeed,\n CanonicalFormatResponsiveCreative,\n CanonicalFormatSponsoredPlacementRetailMediaCatalogDriven,\n CanonicalFormatVASTVideo,\n ExtensionObject,\n} from './core.generated';\nimport type { FormatReferenceStructuredObject } from './core.generated';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from './server-payload';\nexport * from './server-payload-aliases';\n/**\n * @deprecated AdCP 3.0.1 renamed this type to `FormatReferenceStructuredObject`\n * (the wire shape is identical — pure documentation rename per the spec). This\n * alias is preserved for one minor cycle so existing imports keep compiling;\n * editor tooling will surface the rename so downstream code can migrate at its\n * own pace. Slated for removal in the next major.\n */\nexport type FormatID = FormatReferenceStructuredObject;\n\n// Re-export wire request/response types adopters need when building a\n// DecisioningPlatform or calling AdCP agents. Source of truth is\n// `tools.generated.ts`; this curated block is the public surface so\n// adopters never reach into generated files.\n//\n// Intentionally excluded — name conflicts with legacy adcp.ts shapes:\n// LegacyManageSyncCreativesRequest, LegacyManageListCreativesRequest, LegacyManageListCreativesResponse,\n// ManageCreativeAssetsRequest, ManageCreativeAssetsResponse (adcp.ts versions\n// already public via `export * from './adcp'` above; use those).\n// Intentionally excluded — comply-runner internals, not specialism surface:\n// ComplyTestControllerRequest/Response, SeedSuccess, SimulationSuccess,\n// ControllerError, ForcedDirectiveSuccess, StateTransitionSuccess,\n// ListScenariosSuccess.\n// Intentionally excluded — internal pagination/packaging sub-shapes, not\n// part of the top-level tool request/response surface:\n// PaginationRequest, PaginationResponse, PackageRequest,\n// TMPResponseType, WebhookResponseType.\n\n// Account model + account operations\nexport type {\n AccountReference,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAccountsSuccess,\n SyncAccountsError,\n GetAccountFinancialsRequest,\n GetAccountFinancialsResponse,\n GetAccountFinancialsSuccess,\n GetAccountFinancialsError,\n} from './tools.generated';\n\n// Capabilities\nexport type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated';\n\n// Sales — media buy\nexport type {\n GetProductsRequest,\n GetProductsResponse,\n GetProductsAsyncSubmitted,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n CreateMediaBuySuccess,\n CreateMediaBuyError,\n CreateMediaBuySubmitted,\n CreateMediaBuyAsyncSubmitted,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n UpdateMediaBuySuccess,\n UpdateMediaBuyError,\n UpdateMediaBuyAsyncSubmitted,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetMediaBuyArtifactsRequest,\n GetMediaBuyArtifactsResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n ProvidePerformanceFeedbackSuccess,\n ProvidePerformanceFeedbackError,\n SyncPlansRequest,\n SyncPlansResponse,\n ReportUsageRequest,\n ReportUsageResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n} from './tools.generated';\n\n// Pricing models (discriminated union across pricing types)\nexport type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated';\n\n// Media-channel + status enums; publisher property + reporting shapes\nexport type {\n MediaChannel,\n AudienceStatus,\n MediaBuyStatus,\n CreativeStatus,\n Placement,\n PublisherPropertySelector,\n ReportingCapabilities,\n} from './tools.generated';\n\n// Audiences, catalogs, event sources, and events (audience-sync + retail media)\nexport type {\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n SyncAudiencesSuccess,\n SyncAudiencesError,\n SyncCatalogsRequest,\n SyncCatalogsResponse,\n SyncCatalogsSuccess,\n SyncCatalogsError,\n SyncCatalogsAsyncSubmitted,\n SyncEventSourcesRequest,\n SyncEventSourcesResponse,\n SyncEventSourcesSuccess,\n SyncEventSourcesError,\n LogEventRequest,\n LogEventResponse,\n LogEventSuccess,\n LogEventError,\n} from './tools.generated';\n\n// Signals\nexport type {\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n ActivateSignalSuccess,\n ActivateSignalError,\n SignalID,\n SignalValueType,\n SignalAvailabilityType,\n SignalAvailabilityType as SignalCatalogType,\n Destination,\n Deployment,\n ActivationKey,\n VendorPricingOption,\n SignalFilters, // embedded in GetSignalsRequest.filters\n SignalTargeting, // embedded in ActivateSignalRequest.signal_targeting\n} from './tools.generated';\n\n// Creative\nexport type {\n BuildCreativeRequest,\n BuildCreativeResponse,\n BuildCreativeSuccess,\n BuildCreativeError,\n BuildCreativeMultiSuccess,\n BuildCreativeAsyncSubmitted,\n CreativeManifest,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n PreviewCreativeSingleResponse,\n PreviewCreativeVariantResponse,\n PreviewCreativeBatchResponse,\n PreviewBatchResultSuccess,\n PreviewBatchResultError,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeFeaturesRequest,\n GetCreativeFeaturesResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n SyncCreativesSuccess,\n SyncCreativesError,\n SyncCreativesSubmitted,\n SyncCreativesAsyncSubmitted,\n ListCreativesRequest,\n ListCreativesResponse,\n CreativeFilters,\n CreativeAsset,\n CreativeQuality,\n Format,\n ProductFormatDeclaration,\n FormatIDParameter,\n} from './tools.generated';\n\n// Governance — property lists\nexport type {\n PropertyList,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n} from './tools.generated';\n\n// Governance — collection lists\nexport type {\n CollectionList,\n CreateCollectionListRequest,\n CreateCollectionListResponse,\n UpdateCollectionListRequest,\n UpdateCollectionListResponse,\n GetCollectionListRequest,\n GetCollectionListResponse,\n ListCollectionListsRequest,\n ListCollectionListsResponse,\n DeleteCollectionListRequest,\n DeleteCollectionListResponse,\n} from './tools.generated';\n\n// Governance — content standards + delivery validation\nexport type {\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n SyncGovernanceRequest,\n SyncGovernanceResponse,\n SyncGovernanceSuccess,\n SyncGovernanceError,\n CreateContentStandardsRequest,\n CreateContentStandardsResponse,\n UpdateContentStandardsRequest,\n UpdateContentStandardsResponse,\n UpdateContentStandardsSuccess,\n UpdateContentStandardsError,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n} from './tools.generated';\n\n// Sponsored intelligence\nexport type {\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n SICapabilities,\n SIIdentity,\n SISessionStatus,\n SIUIElement,\n} from './tools.generated';\n\n// Brand rights — identity discovery + licensing for branded inventory.\n// `creative_approval` is webhook-only (not an MCP/A2A tool) — types\n// re-exported for adopters wiring their own HTTP receiver.\nexport type {\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetBrandIdentitySuccess,\n GetRightsRequest,\n GetRightsResponse,\n GetRightsSuccess,\n AcquireRightsRequest,\n AcquireRightsResponse,\n AcquireRightsAcquired,\n AcquireRightsPendingApproval,\n AcquireRightsRejected,\n AcquireRightsError,\n UpdateRightsRequest,\n UpdateRightsResponse,\n UpdateRightsSuccess,\n UpdateRightsError,\n CreativeApprovalRequest,\n CreativeApprovalResponse,\n CreativeApproved,\n CreativeRejected,\n CreativePendingReview,\n CreativeApprovalError,\n RightsTerms,\n RightsConstraint,\n RightUse,\n RightType,\n GenerationCredential,\n} from './core.generated';\n\n// Strict format asset slot types (hand-authored — the codegen drops the\n// discriminated per-asset-type branches of Format.assets[]).\nexport * from './format-asset-slots';\n\n// Discriminated union of creative asset INSTANCES (what a buyer delivers\n// inside `creative_manifest.assets`). Companion to format-asset-slots.ts\n// (which describes what a publisher SELLS in `Format.assets[]`). The\n// individual ImageAsset / VideoAsset / etc. interfaces and their canonical\n// `AssetVariant` union are generated. `AssetInstance` aliases that union so\n// every registry-backed asset branch remains available without curated drift.\n// `AssetVariant` itself is intentionally not re-exported.\nexport * from './asset-instances';\n\n// Strict per-row types for sync_* response success arms. The codegen\n// leaves these row shapes inline; named types make the discriminators\n// (e.g., SyncAccountsResponseRow.action) reachable to handler authors.\nexport * from './sync-rows';\n\n// Re-export const-array enum values (e.g., MediaChannelValues, PacingValues)\n// for consumers that need to enumerate or validate against the spec's\n// literal sets without re-deriving them from Zod schemas.\nexport * from './enums.generated';\n\n// Re-export inline-union value arrays for anonymous string-literal unions\n// inside named schemas (e.g., ImageAssetRequirements_FormatsValues,\n// VideoAssetRequirements_ContainersValues). Companion to enums.generated;\n// see scripts/generate-inline-enum-arrays.ts.\nexport * from './inline-enums.generated';\n\n// Back-compat aliases for inline-enum exports collapsed in AdCP 3.0.1\n// (adcp#3148 / #3174 hoisted byte-identical literal sets into shared\n// `enums/*.json` files). Each alias is `@deprecated` so editor tooling\n// surfaces the canonical replacement; slated for removal in the next major.\nexport * from './inline-enums.aliases';\nexport * from './enum-compat';\n\n// Back-compat aliases for the 6 error-details schemas renamed in AdCP 3.0.x\n// (adcp#3149 / adcp#3566 canonicalized SCREAMING_SNAKE titles into Title Case).\n// Each alias is `@deprecated`; slated for removal in the next major.\nexport * from './error-details.aliases';\n\n// Well-known file shapes (brand.json, adagents.json) inferred from the\n// canonical Zod schemas. Re-exported so adopters can derive types like\n// `BrandDefinition` directly from the spec instead of hand-rolling\n// interfaces that drift across versions. Source of truth is the schema\n// cache (`schemas/cache/{version}/{brand,adagents}.json`) — regenerate\n// with `npm run generate-wellknown-schemas` when the spec bumps.\nexport type { BrandJson, AdagentsJson } from './wellknown-schemas.generated';\nexport { BrandJsonSchema, AdagentsJsonSchema } from './wellknown-schemas.generated';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAc,mBADd;AAqDA,0BAAc,qCArDd;AA6UA,0BAAc,iCA7Ud;AAsVA,0BAAc,8BAtVd;AA2VA,0BAAc,wBA3Vd;AAgWA,0BAAc,8BAhWd;AAsWA,0BAAc,qCAtWd;AA4WA,0BAAc,mCA5Wd;AA6WA,0BAAc,0BA7Wd;AAkXA,0BAAc,oCAlXd;AA2XA,+BAAoD;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/types/index.ts"],"sourcesContent":["// AdCP Core Types - Main exports for external consumers\nexport * from './adcp';\n\n// Re-export key types for easier importing\nexport type {\n AgentConfig,\n TestResult,\n TestRequest,\n ApiResponse,\n LegacyCreativeFormatSummary,\n LegacyAdvertisingProduct,\n MediaBuy,\n Targeting,\n LegacyManagedCreativeAsset,\n LegacyManageSyncCreativesRequest,\n LegacyManageListCreativesRequest,\n LegacyManageListCreativesResponse,\n LegacyManagedCreativeFilters,\n ManageCreativeAssetsRequest,\n ManageCreativeAssetsResponse,\n CreateMediaBuyAsyncResponseData,\n UpdateMediaBuyAsyncResponseData,\n GetProductsAsyncResponseData,\n SyncCreativesAsyncResponseData,\n} from './adcp';\n\n// Re-export the structured format identifier from generated core types.\n// AdCP 3.0.1 renamed the schema title from \"Format ID\" to \"Format Reference\n// (Structured Object)\" — purely a doc change, the wire shape is identical.\n// We expose the new canonical name AND keep the historical `FormatID` alias\n// so SDK consumers don't break across the version bump.\nexport type { FormatReferenceStructuredObject } from './core.generated';\n// Canonical-format declarations are part of the 3.2 authoring surface. Keep\n// these curated exports available from `@adcp/sdk/types` so adopters can type\n// check the shared array-valued `slots` contract without importing generated\n// implementation files.\nexport type {\n CanonicalFormatAgentPlacementAISurfaceSponsoredPlacement,\n CanonicalFormatBase,\n CanonicalFormatDAASTAudio,\n CanonicalFormatDisplayTag,\n CanonicalFormatHostedAudio,\n CanonicalFormatHostedVideo,\n CanonicalFormatHTML5Banner,\n CanonicalFormatImageCarousel,\n CanonicalFormatNativeInFeed,\n CanonicalFormatResponsiveCreative,\n CanonicalFormatSponsoredPlacementRetailMediaCatalogDriven,\n CanonicalFormatVASTVideo,\n ExtensionObject,\n} from './core.generated';\nimport type { FormatReferenceStructuredObject } from './core.generated';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from './server-payload';\nexport * from './server-payload-aliases';\n/**\n * @deprecated AdCP 3.0.1 renamed this type to `FormatReferenceStructuredObject`\n * (the wire shape is identical — pure documentation rename per the spec). This\n * alias is preserved for one minor cycle so existing imports keep compiling;\n * editor tooling will surface the rename so downstream code can migrate at its\n * own pace. Slated for removal in the next major.\n */\nexport type FormatID = FormatReferenceStructuredObject;\n\n// Re-export wire request/response types adopters need when building a\n// DecisioningPlatform or calling AdCP agents. Source of truth is\n// `tools.generated.ts`; this curated block is the public surface so\n// adopters never reach into generated files.\n//\n// Intentionally excluded — name conflicts with legacy adcp.ts shapes:\n// LegacyManageSyncCreativesRequest, LegacyManageListCreativesRequest, LegacyManageListCreativesResponse,\n// ManageCreativeAssetsRequest, ManageCreativeAssetsResponse (adcp.ts versions\n// already public via `export * from './adcp'` above; use those).\n// Intentionally excluded — comply-runner internals, not specialism surface:\n// ComplyTestControllerRequest/Response, SeedSuccess, SimulationSuccess,\n// ControllerError, ForcedDirectiveSuccess, StateTransitionSuccess,\n// ListScenariosSuccess.\n// Intentionally excluded — internal pagination/packaging sub-shapes, not\n// part of the top-level tool request/response surface:\n// PaginationRequest, PaginationResponse, PackageRequest,\n// TMPResponseType, WebhookResponseType.\n\n// Account model + account operations\nexport type {\n AccountReference,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAccountsSuccess,\n SyncAccountsError,\n GetAccountFinancialsRequest,\n GetAccountFinancialsResponse,\n GetAccountFinancialsSuccess,\n GetAccountFinancialsError,\n} from './tools.generated';\n\n// Capabilities\nexport type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated';\n\n// Sales — media buy\nexport type {\n GetProductsRequest,\n GetProductsResponse,\n GetProductsAsyncSubmitted,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n CreateMediaBuySuccess,\n CreateMediaBuyError,\n CreateMediaBuySubmitted,\n CreateMediaBuyAsyncSubmitted,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n UpdateMediaBuySuccess,\n UpdateMediaBuyError,\n UpdateMediaBuyAsyncSubmitted,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetMediaBuyArtifactsRequest,\n GetMediaBuyArtifactsResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n ProvidePerformanceFeedbackSuccess,\n ProvidePerformanceFeedbackError,\n SyncPlansRequest,\n SyncPlansResponse,\n ReportUsageRequest,\n ReportUsageResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n} from './tools.generated';\n\n// Compact proposal authoring. The response is owned by core.generated so\n// every public surface retains its discriminated branches and non-empty\n// tuple guarantees instead of the weaker aggregate-tool projection.\nexport type { RequestProposalsRequest } from './tools.generated';\nexport type { RequestProposalsResponse } from './core.generated';\n\n// Pricing models (discriminated union across pricing types)\nexport type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated';\n\n// Media-channel + status enums; publisher property + reporting shapes\nexport type {\n MediaChannel,\n AudienceStatus,\n MediaBuyStatus,\n CreativeStatus,\n Placement,\n PublisherPropertySelector,\n ReportingCapabilities,\n} from './tools.generated';\n\n// Audiences, catalogs, event sources, and events (audience-sync + retail media)\nexport type {\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n SyncAudiencesSuccess,\n SyncAudiencesError,\n SyncCatalogsRequest,\n SyncCatalogsResponse,\n SyncCatalogsSuccess,\n SyncCatalogsError,\n SyncCatalogsAsyncSubmitted,\n SyncEventSourcesRequest,\n SyncEventSourcesResponse,\n SyncEventSourcesSuccess,\n SyncEventSourcesError,\n LogEventRequest,\n LogEventResponse,\n LogEventSuccess,\n LogEventError,\n} from './tools.generated';\n\n// Signals\nexport type {\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n ActivateSignalSuccess,\n ActivateSignalError,\n SignalID,\n SignalValueType,\n SignalAvailabilityType,\n SignalAvailabilityType as SignalCatalogType,\n Destination,\n Deployment,\n ActivationKey,\n VendorPricingOption,\n SignalFilters, // embedded in GetSignalsRequest.filters\n SignalTargeting, // embedded in ActivateSignalRequest.signal_targeting\n} from './tools.generated';\n\n// Creative\nexport type {\n BuildCreativeRequest,\n BuildCreativeResponse,\n BuildCreativeSuccess,\n BuildCreativeError,\n BuildCreativeMultiSuccess,\n BuildCreativeAsyncSubmitted,\n CreativeManifest,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n PreviewCreativeSingleResponse,\n PreviewCreativeVariantResponse,\n PreviewCreativeBatchResponse,\n PreviewBatchResultSuccess,\n PreviewBatchResultError,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeFeaturesRequest,\n GetCreativeFeaturesResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n SyncCreativesSuccess,\n SyncCreativesError,\n SyncCreativesSubmitted,\n SyncCreativesAsyncSubmitted,\n ListCreativesRequest,\n ListCreativesResponse,\n CreativeFilters,\n CreativeAsset,\n CreativeQuality,\n Format,\n ProductFormatDeclaration,\n FormatIDParameter,\n} from './tools.generated';\n\n// Governance — property lists\nexport type {\n PropertyList,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n} from './tools.generated';\n\n// Governance — collection lists\nexport type {\n CollectionList,\n CreateCollectionListRequest,\n CreateCollectionListResponse,\n UpdateCollectionListRequest,\n UpdateCollectionListResponse,\n GetCollectionListRequest,\n GetCollectionListResponse,\n ListCollectionListsRequest,\n ListCollectionListsResponse,\n DeleteCollectionListRequest,\n DeleteCollectionListResponse,\n} from './tools.generated';\n\n// Governance — content standards + delivery validation\nexport type {\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n SyncGovernanceRequest,\n SyncGovernanceResponse,\n SyncGovernanceSuccess,\n SyncGovernanceError,\n CreateContentStandardsRequest,\n CreateContentStandardsResponse,\n UpdateContentStandardsRequest,\n UpdateContentStandardsResponse,\n UpdateContentStandardsSuccess,\n UpdateContentStandardsError,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n} from './tools.generated';\n\n// Sponsored intelligence\nexport type {\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n SICapabilities,\n SIIdentity,\n SISessionStatus,\n SIUIElement,\n} from './tools.generated';\n\n// Brand rights — identity discovery + licensing for branded inventory.\n// `creative_approval` is webhook-only (not an MCP/A2A tool) — types\n// re-exported for adopters wiring their own HTTP receiver.\nexport type {\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetBrandIdentitySuccess,\n GetRightsRequest,\n GetRightsResponse,\n GetRightsSuccess,\n AcquireRightsRequest,\n AcquireRightsResponse,\n AcquireRightsAcquired,\n AcquireRightsPendingApproval,\n AcquireRightsRejected,\n AcquireRightsError,\n UpdateRightsRequest,\n UpdateRightsResponse,\n UpdateRightsSuccess,\n UpdateRightsError,\n CreativeApprovalRequest,\n CreativeApprovalResponse,\n CreativeApproved,\n CreativeRejected,\n CreativePendingReview,\n CreativeApprovalError,\n RightsTerms,\n RightsConstraint,\n RightUse,\n RightType,\n GenerationCredential,\n} from './core.generated';\n\n// Strict format asset slot types (hand-authored — the codegen drops the\n// discriminated per-asset-type branches of Format.assets[]).\nexport * from './format-asset-slots';\n\n// Discriminated union of creative asset INSTANCES (what a buyer delivers\n// inside `creative_manifest.assets`). Companion to format-asset-slots.ts\n// (which describes what a publisher SELLS in `Format.assets[]`). The\n// individual ImageAsset / VideoAsset / etc. interfaces and their canonical\n// `AssetVariant` union are generated. `AssetInstance` aliases that union so\n// every registry-backed asset branch remains available without curated drift.\n// `AssetVariant` itself is intentionally not re-exported.\nexport * from './asset-instances';\n\n// Strict per-row types for sync_* response success arms. The codegen\n// leaves these row shapes inline; named types make the discriminators\n// (e.g., SyncAccountsResponseRow.action) reachable to handler authors.\nexport * from './sync-rows';\n\n// Re-export const-array enum values (e.g., MediaChannelValues, PacingValues)\n// for consumers that need to enumerate or validate against the spec's\n// literal sets without re-deriving them from Zod schemas.\nexport * from './enums.generated';\n\n// Re-export inline-union value arrays for anonymous string-literal unions\n// inside named schemas (e.g., ImageAssetRequirements_FormatsValues,\n// VideoAssetRequirements_ContainersValues). Companion to enums.generated;\n// see scripts/generate-inline-enum-arrays.ts.\nexport * from './inline-enums.generated';\n\n// Back-compat aliases for inline-enum exports collapsed in AdCP 3.0.1\n// (adcp#3148 / #3174 hoisted byte-identical literal sets into shared\n// `enums/*.json` files). Each alias is `@deprecated` so editor tooling\n// surfaces the canonical replacement; slated for removal in the next major.\nexport * from './inline-enums.aliases';\nexport * from './enum-compat';\n\n// Back-compat aliases for the 6 error-details schemas renamed in AdCP 3.0.x\n// (adcp#3149 / adcp#3566 canonicalized SCREAMING_SNAKE titles into Title Case).\n// Each alias is `@deprecated`; slated for removal in the next major.\nexport * from './error-details.aliases';\n\n// Well-known file shapes (brand.json, adagents.json) inferred from the\n// canonical Zod schemas. Re-exported so adopters can derive types like\n// `BrandDefinition` directly from the spec instead of hand-rolling\n// interfaces that drift across versions. Source of truth is the schema\n// cache (`schemas/cache/{version}/{brand,adagents}.json`) — regenerate\n// with `npm run generate-wellknown-schemas` when the spec bumps.\nexport type { BrandJson, AdagentsJson } from './wellknown-schemas.generated';\nexport { BrandJsonSchema, AdagentsJsonSchema } from './wellknown-schemas.generated';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAc,mBADd;AAqDA,0BAAc,qCArDd;AAmVA,0BAAc,iCAnVd;AA4VA,0BAAc,8BA5Vd;AAiWA,0BAAc,wBAjWd;AAsWA,0BAAc,8BAtWd;AA4WA,0BAAc,qCA5Wd;AAkXA,0BAAc,mCAlXd;AAmXA,0BAAc,0BAnXd;AAwXA,0BAAc,oCAxXd;AAiYA,+BAAoD;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/types/index.ts"],"sourcesContent":["// AdCP Core Types - Main exports for external consumers\nexport * from './adcp';\n\n// Re-export key types for easier importing\nexport type {\n AgentConfig,\n TestResult,\n TestRequest,\n ApiResponse,\n LegacyCreativeFormatSummary,\n LegacyAdvertisingProduct,\n MediaBuy,\n Targeting,\n LegacyManagedCreativeAsset,\n LegacyManageSyncCreativesRequest,\n LegacyManageListCreativesRequest,\n LegacyManageListCreativesResponse,\n LegacyManagedCreativeFilters,\n ManageCreativeAssetsRequest,\n ManageCreativeAssetsResponse,\n CreateMediaBuyAsyncResponseData,\n UpdateMediaBuyAsyncResponseData,\n GetProductsAsyncResponseData,\n SyncCreativesAsyncResponseData,\n} from './adcp';\n\n// Re-export the structured format identifier from generated core types.\n// AdCP 3.0.1 renamed the schema title from \"Format ID\" to \"Format Reference\n// (Structured Object)\" — purely a doc change, the wire shape is identical.\n// We expose the new canonical name AND keep the historical `FormatID` alias\n// so SDK consumers don't break across the version bump.\nexport type { FormatReferenceStructuredObject } from './core.generated';\n// Canonical-format declarations are part of the 3.2 authoring surface. Keep\n// these curated exports available from `@adcp/sdk/types` so adopters can type\n// check the shared array-valued `slots` contract without importing generated\n// implementation files.\nexport type {\n CanonicalFormatAgentPlacementAISurfaceSponsoredPlacement,\n CanonicalFormatBase,\n CanonicalFormatDAASTAudio,\n CanonicalFormatDisplayTag,\n CanonicalFormatHostedAudio,\n CanonicalFormatHostedVideo,\n CanonicalFormatHTML5Banner,\n CanonicalFormatImageCarousel,\n CanonicalFormatNativeInFeed,\n CanonicalFormatResponsiveCreative,\n CanonicalFormatSponsoredPlacementRetailMediaCatalogDriven,\n CanonicalFormatVASTVideo,\n ExtensionObject,\n} from './core.generated';\nimport type { FormatReferenceStructuredObject } from './core.generated';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from './server-payload';\nexport * from './server-payload-aliases';\n/**\n * @deprecated AdCP 3.0.1 renamed this type to `FormatReferenceStructuredObject`\n * (the wire shape is identical — pure documentation rename per the spec). This\n * alias is preserved for one minor cycle so existing imports keep compiling;\n * editor tooling will surface the rename so downstream code can migrate at its\n * own pace. Slated for removal in the next major.\n */\nexport type FormatID = FormatReferenceStructuredObject;\n\n// Re-export wire request/response types adopters need when building a\n// DecisioningPlatform or calling AdCP agents. Source of truth is\n// `tools.generated.ts`; this curated block is the public surface so\n// adopters never reach into generated files.\n//\n// Intentionally excluded — name conflicts with legacy adcp.ts shapes:\n// LegacyManageSyncCreativesRequest, LegacyManageListCreativesRequest, LegacyManageListCreativesResponse,\n// ManageCreativeAssetsRequest, ManageCreativeAssetsResponse (adcp.ts versions\n// already public via `export * from './adcp'` above; use those).\n// Intentionally excluded — comply-runner internals, not specialism surface:\n// ComplyTestControllerRequest/Response, SeedSuccess, SimulationSuccess,\n// ControllerError, ForcedDirectiveSuccess, StateTransitionSuccess,\n// ListScenariosSuccess.\n// Intentionally excluded — internal pagination/packaging sub-shapes, not\n// part of the top-level tool request/response surface:\n// PaginationRequest, PaginationResponse, PackageRequest,\n// TMPResponseType, WebhookResponseType.\n\n// Account model + account operations\nexport type {\n AccountReference,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAccountsSuccess,\n SyncAccountsError,\n GetAccountFinancialsRequest,\n GetAccountFinancialsResponse,\n GetAccountFinancialsSuccess,\n GetAccountFinancialsError,\n} from './tools.generated';\n\n// Capabilities\nexport type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated';\n\n// Sales — media buy\nexport type {\n GetProductsRequest,\n GetProductsResponse,\n GetProductsAsyncSubmitted,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n CreateMediaBuySuccess,\n CreateMediaBuyError,\n CreateMediaBuySubmitted,\n CreateMediaBuyAsyncSubmitted,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n UpdateMediaBuySuccess,\n UpdateMediaBuyError,\n UpdateMediaBuyAsyncSubmitted,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetMediaBuyArtifactsRequest,\n GetMediaBuyArtifactsResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n ProvidePerformanceFeedbackSuccess,\n ProvidePerformanceFeedbackError,\n SyncPlansRequest,\n SyncPlansResponse,\n ReportUsageRequest,\n ReportUsageResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n} from './tools.generated';\n\n// Pricing models (discriminated union across pricing types)\nexport type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated';\n\n// Media-channel + status enums; publisher property + reporting shapes\nexport type {\n MediaChannel,\n AudienceStatus,\n MediaBuyStatus,\n CreativeStatus,\n Placement,\n PublisherPropertySelector,\n ReportingCapabilities,\n} from './tools.generated';\n\n// Audiences, catalogs, event sources, and events (audience-sync + retail media)\nexport type {\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n SyncAudiencesSuccess,\n SyncAudiencesError,\n SyncCatalogsRequest,\n SyncCatalogsResponse,\n SyncCatalogsSuccess,\n SyncCatalogsError,\n SyncCatalogsAsyncSubmitted,\n SyncEventSourcesRequest,\n SyncEventSourcesResponse,\n SyncEventSourcesSuccess,\n SyncEventSourcesError,\n LogEventRequest,\n LogEventResponse,\n LogEventSuccess,\n LogEventError,\n} from './tools.generated';\n\n// Signals\nexport type {\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n ActivateSignalSuccess,\n ActivateSignalError,\n SignalID,\n SignalValueType,\n SignalAvailabilityType,\n SignalAvailabilityType as SignalCatalogType,\n Destination,\n Deployment,\n ActivationKey,\n VendorPricingOption,\n SignalFilters, // embedded in GetSignalsRequest.filters\n SignalTargeting, // embedded in ActivateSignalRequest.signal_targeting\n} from './tools.generated';\n\n// Creative\nexport type {\n BuildCreativeRequest,\n BuildCreativeResponse,\n BuildCreativeSuccess,\n BuildCreativeError,\n BuildCreativeMultiSuccess,\n BuildCreativeAsyncSubmitted,\n CreativeManifest,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n PreviewCreativeSingleResponse,\n PreviewCreativeVariantResponse,\n PreviewCreativeBatchResponse,\n PreviewBatchResultSuccess,\n PreviewBatchResultError,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeFeaturesRequest,\n GetCreativeFeaturesResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n SyncCreativesSuccess,\n SyncCreativesError,\n SyncCreativesSubmitted,\n SyncCreativesAsyncSubmitted,\n ListCreativesRequest,\n ListCreativesResponse,\n CreativeFilters,\n CreativeAsset,\n CreativeQuality,\n Format,\n ProductFormatDeclaration,\n FormatIDParameter,\n} from './tools.generated';\n\n// Governance — property lists\nexport type {\n PropertyList,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n} from './tools.generated';\n\n// Governance — collection lists\nexport type {\n CollectionList,\n CreateCollectionListRequest,\n CreateCollectionListResponse,\n UpdateCollectionListRequest,\n UpdateCollectionListResponse,\n GetCollectionListRequest,\n GetCollectionListResponse,\n ListCollectionListsRequest,\n ListCollectionListsResponse,\n DeleteCollectionListRequest,\n DeleteCollectionListResponse,\n} from './tools.generated';\n\n// Governance — content standards + delivery validation\nexport type {\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n SyncGovernanceRequest,\n SyncGovernanceResponse,\n SyncGovernanceSuccess,\n SyncGovernanceError,\n CreateContentStandardsRequest,\n CreateContentStandardsResponse,\n UpdateContentStandardsRequest,\n UpdateContentStandardsResponse,\n UpdateContentStandardsSuccess,\n UpdateContentStandardsError,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n} from './tools.generated';\n\n// Sponsored intelligence\nexport type {\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n SICapabilities,\n SIIdentity,\n SISessionStatus,\n SIUIElement,\n} from './tools.generated';\n\n// Brand rights — identity discovery + licensing for branded inventory.\n// `creative_approval` is webhook-only (not an MCP/A2A tool) — types\n// re-exported for adopters wiring their own HTTP receiver.\nexport type {\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetBrandIdentitySuccess,\n GetRightsRequest,\n GetRightsResponse,\n GetRightsSuccess,\n AcquireRightsRequest,\n AcquireRightsResponse,\n AcquireRightsAcquired,\n AcquireRightsPendingApproval,\n AcquireRightsRejected,\n AcquireRightsError,\n UpdateRightsRequest,\n UpdateRightsResponse,\n UpdateRightsSuccess,\n UpdateRightsError,\n CreativeApprovalRequest,\n CreativeApprovalResponse,\n CreativeApproved,\n CreativeRejected,\n CreativePendingReview,\n CreativeApprovalError,\n RightsTerms,\n RightsConstraint,\n RightUse,\n RightType,\n GenerationCredential,\n} from './core.generated';\n\n// Strict format asset slot types (hand-authored — the codegen drops the\n// discriminated per-asset-type branches of Format.assets[]).\nexport * from './format-asset-slots';\n\n// Discriminated union of creative asset INSTANCES (what a buyer delivers\n// inside `creative_manifest.assets`). Companion to format-asset-slots.ts\n// (which describes what a publisher SELLS in `Format.assets[]`). The\n// individual ImageAsset / VideoAsset / etc. interfaces and their canonical\n// `AssetVariant` union are generated. `AssetInstance` aliases that union so\n// every registry-backed asset branch remains available without curated drift.\n// `AssetVariant` itself is intentionally not re-exported.\nexport * from './asset-instances';\n\n// Strict per-row types for sync_* response success arms. The codegen\n// leaves these row shapes inline; named types make the discriminators\n// (e.g., SyncAccountsResponseRow.action) reachable to handler authors.\nexport * from './sync-rows';\n\n// Re-export const-array enum values (e.g., MediaChannelValues, PacingValues)\n// for consumers that need to enumerate or validate against the spec's\n// literal sets without re-deriving them from Zod schemas.\nexport * from './enums.generated';\n\n// Re-export inline-union value arrays for anonymous string-literal unions\n// inside named schemas (e.g., ImageAssetRequirements_FormatsValues,\n// VideoAssetRequirements_ContainersValues). Companion to enums.generated;\n// see scripts/generate-inline-enum-arrays.ts.\nexport * from './inline-enums.generated';\n\n// Back-compat aliases for inline-enum exports collapsed in AdCP 3.0.1\n// (adcp#3148 / #3174 hoisted byte-identical literal sets into shared\n// `enums/*.json` files). Each alias is `@deprecated` so editor tooling\n// surfaces the canonical replacement; slated for removal in the next major.\nexport * from './inline-enums.aliases';\nexport * from './enum-compat';\n\n// Back-compat aliases for the 6 error-details schemas renamed in AdCP 3.0.x\n// (adcp#3149 / adcp#3566 canonicalized SCREAMING_SNAKE titles into Title Case).\n// Each alias is `@deprecated`; slated for removal in the next major.\nexport * from './error-details.aliases';\n\n// Well-known file shapes (brand.json, adagents.json) inferred from the\n// canonical Zod schemas. Re-exported so adopters can derive types like\n// `BrandDefinition` directly from the spec instead of hand-rolling\n// interfaces that drift across versions. Source of truth is the schema\n// cache (`schemas/cache/{version}/{brand,adagents}.json`) — regenerate\n// with `npm run generate-wellknown-schemas` when the spec bumps.\nexport type { BrandJson, AdagentsJson } from './wellknown-schemas.generated';\nexport { BrandJsonSchema, AdagentsJsonSchema } from './wellknown-schemas.generated';\n"],"mappings":"AACA,cAAc;AAoDd,cAAc;AAwRd,cAAc;AASd,cAAc;AAKd,cAAc;AAKd,cAAc;AAMd,cAAc;AAMd,cAAc;AACd,cAAc;AAKd,cAAc;AASd,SAAS,iBAAiB,0BAA0B;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/types/index.ts"],"sourcesContent":["// AdCP Core Types - Main exports for external consumers\nexport * from './adcp';\n\n// Re-export key types for easier importing\nexport type {\n AgentConfig,\n TestResult,\n TestRequest,\n ApiResponse,\n LegacyCreativeFormatSummary,\n LegacyAdvertisingProduct,\n MediaBuy,\n Targeting,\n LegacyManagedCreativeAsset,\n LegacyManageSyncCreativesRequest,\n LegacyManageListCreativesRequest,\n LegacyManageListCreativesResponse,\n LegacyManagedCreativeFilters,\n ManageCreativeAssetsRequest,\n ManageCreativeAssetsResponse,\n CreateMediaBuyAsyncResponseData,\n UpdateMediaBuyAsyncResponseData,\n GetProductsAsyncResponseData,\n SyncCreativesAsyncResponseData,\n} from './adcp';\n\n// Re-export the structured format identifier from generated core types.\n// AdCP 3.0.1 renamed the schema title from \"Format ID\" to \"Format Reference\n// (Structured Object)\" — purely a doc change, the wire shape is identical.\n// We expose the new canonical name AND keep the historical `FormatID` alias\n// so SDK consumers don't break across the version bump.\nexport type { FormatReferenceStructuredObject } from './core.generated';\n// Canonical-format declarations are part of the 3.2 authoring surface. Keep\n// these curated exports available from `@adcp/sdk/types` so adopters can type\n// check the shared array-valued `slots` contract without importing generated\n// implementation files.\nexport type {\n CanonicalFormatAgentPlacementAISurfaceSponsoredPlacement,\n CanonicalFormatBase,\n CanonicalFormatDAASTAudio,\n CanonicalFormatDisplayTag,\n CanonicalFormatHostedAudio,\n CanonicalFormatHostedVideo,\n CanonicalFormatHTML5Banner,\n CanonicalFormatImageCarousel,\n CanonicalFormatNativeInFeed,\n CanonicalFormatResponsiveCreative,\n CanonicalFormatSponsoredPlacementRetailMediaCatalogDriven,\n CanonicalFormatVASTVideo,\n ExtensionObject,\n} from './core.generated';\nimport type { FormatReferenceStructuredObject } from './core.generated';\nexport type { RequireCacheScopeWhenProducts, ServerPayload } from './server-payload';\nexport * from './server-payload-aliases';\n/**\n * @deprecated AdCP 3.0.1 renamed this type to `FormatReferenceStructuredObject`\n * (the wire shape is identical — pure documentation rename per the spec). This\n * alias is preserved for one minor cycle so existing imports keep compiling;\n * editor tooling will surface the rename so downstream code can migrate at its\n * own pace. Slated for removal in the next major.\n */\nexport type FormatID = FormatReferenceStructuredObject;\n\n// Re-export wire request/response types adopters need when building a\n// DecisioningPlatform or calling AdCP agents. Source of truth is\n// `tools.generated.ts`; this curated block is the public surface so\n// adopters never reach into generated files.\n//\n// Intentionally excluded — name conflicts with legacy adcp.ts shapes:\n// LegacyManageSyncCreativesRequest, LegacyManageListCreativesRequest, LegacyManageListCreativesResponse,\n// ManageCreativeAssetsRequest, ManageCreativeAssetsResponse (adcp.ts versions\n// already public via `export * from './adcp'` above; use those).\n// Intentionally excluded — comply-runner internals, not specialism surface:\n// ComplyTestControllerRequest/Response, SeedSuccess, SimulationSuccess,\n// ControllerError, ForcedDirectiveSuccess, StateTransitionSuccess,\n// ListScenariosSuccess.\n// Intentionally excluded — internal pagination/packaging sub-shapes, not\n// part of the top-level tool request/response surface:\n// PaginationRequest, PaginationResponse, PackageRequest,\n// TMPResponseType, WebhookResponseType.\n\n// Account model + account operations\nexport type {\n AccountReference,\n ListAccountsRequest,\n ListAccountsResponse,\n SyncAccountsRequest,\n SyncAccountsResponse,\n SyncAccountsSuccess,\n SyncAccountsError,\n GetAccountFinancialsRequest,\n GetAccountFinancialsResponse,\n GetAccountFinancialsSuccess,\n GetAccountFinancialsError,\n} from './tools.generated';\n\n// Capabilities\nexport type { AdCPSpecialism, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse } from './tools.generated';\n\n// Sales — media buy\nexport type {\n GetProductsRequest,\n GetProductsResponse,\n GetProductsAsyncSubmitted,\n CreateMediaBuyRequest,\n CreateMediaBuyResponse,\n CreateMediaBuySuccess,\n CreateMediaBuyError,\n CreateMediaBuySubmitted,\n CreateMediaBuyAsyncSubmitted,\n UpdateMediaBuyRequest,\n UpdateMediaBuyResponse,\n UpdateMediaBuySuccess,\n UpdateMediaBuyError,\n UpdateMediaBuyAsyncSubmitted,\n GetMediaBuysRequest,\n GetMediaBuysResponse,\n GetMediaBuyDeliveryRequest,\n GetMediaBuyDeliveryResponse,\n GetMediaBuyArtifactsRequest,\n GetMediaBuyArtifactsResponse,\n ProvidePerformanceFeedbackRequest,\n ProvidePerformanceFeedbackResponse,\n ProvidePerformanceFeedbackSuccess,\n ProvidePerformanceFeedbackError,\n SyncPlansRequest,\n SyncPlansResponse,\n ReportUsageRequest,\n ReportUsageResponse,\n ReportPlanOutcomeRequest,\n ReportPlanOutcomeResponse,\n GetPlanAuditLogsRequest,\n GetPlanAuditLogsResponse,\n} from './tools.generated';\n\n// Compact proposal authoring. The response is owned by core.generated so\n// every public surface retains its discriminated branches and non-empty\n// tuple guarantees instead of the weaker aggregate-tool projection.\nexport type { RequestProposalsRequest } from './tools.generated';\nexport type { RequestProposalsResponse } from './core.generated';\n\n// Pricing models (discriminated union across pricing types)\nexport type { PricingOption, CPMPricingOption, CPCPricingOption, CPVPricingOption } from './tools.generated';\n\n// Media-channel + status enums; publisher property + reporting shapes\nexport type {\n MediaChannel,\n AudienceStatus,\n MediaBuyStatus,\n CreativeStatus,\n Placement,\n PublisherPropertySelector,\n ReportingCapabilities,\n} from './tools.generated';\n\n// Audiences, catalogs, event sources, and events (audience-sync + retail media)\nexport type {\n SyncAudiencesRequest,\n SyncAudiencesResponse,\n SyncAudiencesSuccess,\n SyncAudiencesError,\n SyncCatalogsRequest,\n SyncCatalogsResponse,\n SyncCatalogsSuccess,\n SyncCatalogsError,\n SyncCatalogsAsyncSubmitted,\n SyncEventSourcesRequest,\n SyncEventSourcesResponse,\n SyncEventSourcesSuccess,\n SyncEventSourcesError,\n LogEventRequest,\n LogEventResponse,\n LogEventSuccess,\n LogEventError,\n} from './tools.generated';\n\n// Signals\nexport type {\n GetSignalsRequest,\n GetSignalsResponse,\n ActivateSignalRequest,\n ActivateSignalResponse,\n ActivateSignalSuccess,\n ActivateSignalError,\n SignalID,\n SignalValueType,\n SignalAvailabilityType,\n SignalAvailabilityType as SignalCatalogType,\n Destination,\n Deployment,\n ActivationKey,\n VendorPricingOption,\n SignalFilters, // embedded in GetSignalsRequest.filters\n SignalTargeting, // embedded in ActivateSignalRequest.signal_targeting\n} from './tools.generated';\n\n// Creative\nexport type {\n BuildCreativeRequest,\n BuildCreativeResponse,\n BuildCreativeSuccess,\n BuildCreativeError,\n BuildCreativeMultiSuccess,\n BuildCreativeAsyncSubmitted,\n CreativeManifest,\n PreviewCreativeRequest,\n PreviewCreativeResponse,\n PreviewCreativeSingleResponse,\n PreviewCreativeVariantResponse,\n PreviewCreativeBatchResponse,\n PreviewBatchResultSuccess,\n PreviewBatchResultError,\n ListCreativeFormatsRequest,\n ListCreativeFormatsResponse,\n GetCreativeFeaturesRequest,\n GetCreativeFeaturesResponse,\n GetCreativeDeliveryRequest,\n GetCreativeDeliveryResponse,\n SyncCreativesRequest,\n SyncCreativesResponse,\n SyncCreativesSuccess,\n SyncCreativesError,\n SyncCreativesSubmitted,\n SyncCreativesAsyncSubmitted,\n ListCreativesRequest,\n ListCreativesResponse,\n CreativeFilters,\n CreativeAsset,\n CreativeQuality,\n Format,\n ProductFormatDeclaration,\n FormatIDParameter,\n} from './tools.generated';\n\n// Governance — property lists\nexport type {\n PropertyList,\n CreatePropertyListRequest,\n CreatePropertyListResponse,\n UpdatePropertyListRequest,\n UpdatePropertyListResponse,\n GetPropertyListRequest,\n GetPropertyListResponse,\n ListPropertyListsRequest,\n ListPropertyListsResponse,\n DeletePropertyListRequest,\n DeletePropertyListResponse,\n} from './tools.generated';\n\n// Governance — collection lists\nexport type {\n CollectionList,\n CreateCollectionListRequest,\n CreateCollectionListResponse,\n UpdateCollectionListRequest,\n UpdateCollectionListResponse,\n GetCollectionListRequest,\n GetCollectionListResponse,\n ListCollectionListsRequest,\n ListCollectionListsResponse,\n DeleteCollectionListRequest,\n DeleteCollectionListResponse,\n} from './tools.generated';\n\n// Governance — content standards + delivery validation\nexport type {\n CheckGovernanceRequest,\n CheckGovernanceResponse,\n SyncGovernanceRequest,\n SyncGovernanceResponse,\n SyncGovernanceSuccess,\n SyncGovernanceError,\n CreateContentStandardsRequest,\n CreateContentStandardsResponse,\n UpdateContentStandardsRequest,\n UpdateContentStandardsResponse,\n UpdateContentStandardsSuccess,\n UpdateContentStandardsError,\n ListContentStandardsRequest,\n ListContentStandardsResponse,\n GetContentStandardsRequest,\n GetContentStandardsResponse,\n CalibrateContentRequest,\n CalibrateContentResponse,\n ValidateContentDeliveryRequest,\n ValidateContentDeliveryResponse,\n} from './tools.generated';\n\n// Sponsored intelligence\nexport type {\n SIGetOfferingRequest,\n SIGetOfferingResponse,\n SIInitiateSessionRequest,\n SIInitiateSessionResponse,\n SISendMessageRequest,\n SISendMessageResponse,\n SITerminateSessionRequest,\n SITerminateSessionResponse,\n SICapabilities,\n SIIdentity,\n SISessionStatus,\n SIUIElement,\n} from './tools.generated';\n\n// Brand rights — identity discovery + licensing for branded inventory.\n// `creative_approval` is webhook-only (not an MCP/A2A tool) — types\n// re-exported for adopters wiring their own HTTP receiver.\nexport type {\n GetBrandIdentityRequest,\n GetBrandIdentityResponse,\n GetBrandIdentitySuccess,\n GetRightsRequest,\n GetRightsResponse,\n GetRightsSuccess,\n AcquireRightsRequest,\n AcquireRightsResponse,\n AcquireRightsAcquired,\n AcquireRightsPendingApproval,\n AcquireRightsRejected,\n AcquireRightsError,\n UpdateRightsRequest,\n UpdateRightsResponse,\n UpdateRightsSuccess,\n UpdateRightsError,\n CreativeApprovalRequest,\n CreativeApprovalResponse,\n CreativeApproved,\n CreativeRejected,\n CreativePendingReview,\n CreativeApprovalError,\n RightsTerms,\n RightsConstraint,\n RightUse,\n RightType,\n GenerationCredential,\n} from './core.generated';\n\n// Strict format asset slot types (hand-authored — the codegen drops the\n// discriminated per-asset-type branches of Format.assets[]).\nexport * from './format-asset-slots';\n\n// Discriminated union of creative asset INSTANCES (what a buyer delivers\n// inside `creative_manifest.assets`). Companion to format-asset-slots.ts\n// (which describes what a publisher SELLS in `Format.assets[]`). The\n// individual ImageAsset / VideoAsset / etc. interfaces and their canonical\n// `AssetVariant` union are generated. `AssetInstance` aliases that union so\n// every registry-backed asset branch remains available without curated drift.\n// `AssetVariant` itself is intentionally not re-exported.\nexport * from './asset-instances';\n\n// Strict per-row types for sync_* response success arms. The codegen\n// leaves these row shapes inline; named types make the discriminators\n// (e.g., SyncAccountsResponseRow.action) reachable to handler authors.\nexport * from './sync-rows';\n\n// Re-export const-array enum values (e.g., MediaChannelValues, PacingValues)\n// for consumers that need to enumerate or validate against the spec's\n// literal sets without re-deriving them from Zod schemas.\nexport * from './enums.generated';\n\n// Re-export inline-union value arrays for anonymous string-literal unions\n// inside named schemas (e.g., ImageAssetRequirements_FormatsValues,\n// VideoAssetRequirements_ContainersValues). Companion to enums.generated;\n// see scripts/generate-inline-enum-arrays.ts.\nexport * from './inline-enums.generated';\n\n// Back-compat aliases for inline-enum exports collapsed in AdCP 3.0.1\n// (adcp#3148 / #3174 hoisted byte-identical literal sets into shared\n// `enums/*.json` files). Each alias is `@deprecated` so editor tooling\n// surfaces the canonical replacement; slated for removal in the next major.\nexport * from './inline-enums.aliases';\nexport * from './enum-compat';\n\n// Back-compat aliases for the 6 error-details schemas renamed in AdCP 3.0.x\n// (adcp#3149 / adcp#3566 canonicalized SCREAMING_SNAKE titles into Title Case).\n// Each alias is `@deprecated`; slated for removal in the next major.\nexport * from './error-details.aliases';\n\n// Well-known file shapes (brand.json, adagents.json) inferred from the\n// canonical Zod schemas. Re-exported so adopters can derive types like\n// `BrandDefinition` directly from the spec instead of hand-rolling\n// interfaces that drift across versions. Source of truth is the schema\n// cache (`schemas/cache/{version}/{brand,adagents}.json`) — regenerate\n// with `npm run generate-wellknown-schemas` when the spec bumps.\nexport type { BrandJson, AdagentsJson } from './wellknown-schemas.generated';\nexport { BrandJsonSchema, AdagentsJsonSchema } from './wellknown-schemas.generated';\n"],"mappings":"AACA,cAAc;AAoDd,cAAc;AA8Rd,cAAc;AASd,cAAc;AAKd,cAAc;AAKd,cAAc;AAMd,cAAc;AAMd,cAAc;AACd,cAAc;AAKd,cAAc;AASd,SAAS,iBAAiB,0BAA0B;","names":[]}
|
|
@@ -61,16 +61,206 @@ export interface RequestProposalsRequest {
|
|
|
61
61
|
/**
|
|
62
62
|
* One or more immutable draft media-plan proposals and compact canonical products referenced by their purchases. Products always carry product_id and name and never carry legacy named-format identifiers. During the AdCP 3.x compatibility window, an SDK projecting a valid products-only get_products brief result may instead return the deprecated products_available outcome with an explicit purchase continuation. Native 3.2 sellers MUST NOT use that compatibility outcome, and adapters MUST NOT fabricate a proposal, terms digest, or feed version.
|
|
63
63
|
*/
|
|
64
|
-
export type RequestProposalsResponse =
|
|
64
|
+
export type RequestProposalsResponse = {
|
|
65
|
+
/**
|
|
66
|
+
* Release-precision AdCP version (VERSION.RELEASE, e.g. "3.0", "3.1", "3.1-beta"). On a request: the buyer's release pin — the seller validates against its supported_versions and returns VERSION_UNSUPPORTED on cross-major mismatch, or downshifts to the highest supported release within the same major. On a response: the release the seller actually served — clients SHOULD validate the response against that release's schema, not against their pin. Patches are not negotiated; surface them as build_version on capabilities for operational visibility. When omitted, falls back to adcp_major_version (deprecated) or server default. Buyers SHOULD emit both adcp_version and adcp_major_version through 3.x to remain compatible with sellers that only read the legacy field. NORMALIZATION: SDKs that read full-semver values from bundle metadata (e.g. ComplianceIndex.published_version = "3.1.0-beta.1") MUST normalize to release-precision ("3.1-beta.1") before emitting on the wire — meta-field values are NOT valid wire values.
|
|
67
|
+
*/
|
|
68
|
+
adcp_version?: string;
|
|
65
69
|
outcome: 'proposed';
|
|
70
|
+
reason?: never;
|
|
71
|
+
suggestions?: never;
|
|
72
|
+
/**
|
|
73
|
+
* @minItems 1
|
|
74
|
+
*/
|
|
75
|
+
proposals: [
|
|
76
|
+
CanonicalProposal & {
|
|
77
|
+
proposal_status: 'draft';
|
|
78
|
+
/**
|
|
79
|
+
* @format date-time
|
|
80
|
+
*/
|
|
81
|
+
expires_at: string;
|
|
82
|
+
},
|
|
83
|
+
...(CanonicalProposal & {
|
|
84
|
+
proposal_status: 'draft';
|
|
85
|
+
/**
|
|
86
|
+
* @format date-time
|
|
87
|
+
*/
|
|
88
|
+
expires_at: string;
|
|
89
|
+
})[]
|
|
90
|
+
];
|
|
91
|
+
/**
|
|
92
|
+
* @minItems 1
|
|
93
|
+
*/
|
|
94
|
+
products: [CanonicalProduct, ...CanonicalProduct[]];
|
|
95
|
+
/**
|
|
96
|
+
* Usable partial discovery result retained from the established get_products response. Absence means the source response did not declare an incomplete scope; it does not authorize an adapter to infer missing proposal terms.
|
|
97
|
+
*
|
|
98
|
+
* @minItems 1
|
|
99
|
+
*/
|
|
100
|
+
incomplete?: [
|
|
101
|
+
{
|
|
102
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
103
|
+
/**
|
|
104
|
+
* @minLength 1
|
|
105
|
+
*/
|
|
106
|
+
description: string;
|
|
107
|
+
estimated_wait?: Duration;
|
|
108
|
+
},
|
|
109
|
+
...{
|
|
110
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
111
|
+
/**
|
|
112
|
+
* @minLength 1
|
|
113
|
+
*/
|
|
114
|
+
description: string;
|
|
115
|
+
estimated_wait?: Duration;
|
|
116
|
+
}[]
|
|
117
|
+
];
|
|
118
|
+
purchase_continuation?: never;
|
|
119
|
+
targeting_resolution?: ProductDiscoveryTargetingResolution;
|
|
66
120
|
status?: 'completed';
|
|
121
|
+
task_id?: never;
|
|
122
|
+
/**
|
|
123
|
+
* @maxLength 2000
|
|
124
|
+
*/
|
|
125
|
+
message?: string;
|
|
126
|
+
errors?: Error[];
|
|
127
|
+
context?: ContextObject;
|
|
128
|
+
ext?: ExtensionObject;
|
|
129
|
+
replayed?: true;
|
|
67
130
|
} | {
|
|
131
|
+
/**
|
|
132
|
+
* Release-precision AdCP version (VERSION.RELEASE, e.g. "3.0", "3.1", "3.1-beta"). On a request: the buyer's release pin — the seller validates against its supported_versions and returns VERSION_UNSUPPORTED on cross-major mismatch, or downshifts to the highest supported release within the same major. On a response: the release the seller actually served — clients SHOULD validate the response against that release's schema, not against their pin. Patches are not negotiated; surface them as build_version on capabilities for operational visibility. When omitted, falls back to adcp_major_version (deprecated) or server default. Buyers SHOULD emit both adcp_version and adcp_major_version through 3.x to remain compatible with sellers that only read the legacy field. NORMALIZATION: SDKs that read full-semver values from bundle metadata (e.g. ComplianceIndex.published_version = "3.1.0-beta.1") MUST normalize to release-precision ("3.1-beta.1") before emitting on the wire — meta-field values are NOT valid wire values.
|
|
133
|
+
*/
|
|
134
|
+
adcp_version?: string;
|
|
68
135
|
outcome: 'products_available';
|
|
136
|
+
reason?: never;
|
|
137
|
+
suggestions?: never;
|
|
138
|
+
proposals?: never;
|
|
139
|
+
/**
|
|
140
|
+
* @minItems 1
|
|
141
|
+
*/
|
|
142
|
+
products: [CanonicalProduct, ...CanonicalProduct[]];
|
|
143
|
+
/**
|
|
144
|
+
* Usable partial discovery result retained from the established get_products response. Absence means the source response did not declare an incomplete scope; it does not authorize an adapter to infer missing proposal terms.
|
|
145
|
+
*
|
|
146
|
+
* @minItems 1
|
|
147
|
+
*/
|
|
148
|
+
incomplete?: [
|
|
149
|
+
{
|
|
150
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
151
|
+
/**
|
|
152
|
+
* @minLength 1
|
|
153
|
+
*/
|
|
154
|
+
description: string;
|
|
155
|
+
estimated_wait?: Duration;
|
|
156
|
+
},
|
|
157
|
+
...{
|
|
158
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
159
|
+
/**
|
|
160
|
+
* @minLength 1
|
|
161
|
+
*/
|
|
162
|
+
description: string;
|
|
163
|
+
estimated_wait?: Duration;
|
|
164
|
+
}[]
|
|
165
|
+
];
|
|
166
|
+
/**
|
|
167
|
+
* @deprecated
|
|
168
|
+
* Deprecated AdCP 3.x projection instruction for purchasing products returned without a proposal. This is coordinator state, not a claim that the established seller implements a compact task. A native 3.2 seller MUST NOT emit it.
|
|
169
|
+
*/
|
|
170
|
+
purchase_continuation: {
|
|
171
|
+
kind: 'listed_purchase';
|
|
172
|
+
/**
|
|
173
|
+
* Exact products the coordinator promoted and re-read through account-scoped list_products before returning this result. The set MUST match products[].product_id.
|
|
174
|
+
*
|
|
175
|
+
* @minItems 1
|
|
176
|
+
*/
|
|
177
|
+
product_ids: [string, ...string[]];
|
|
178
|
+
cache_scope: 'account';
|
|
179
|
+
/**
|
|
180
|
+
* Real seller-issued account-scoped feed fence obtained by re-reading the promoted products through list_products.
|
|
181
|
+
* @minLength 1
|
|
182
|
+
*/
|
|
183
|
+
feed_version: string;
|
|
184
|
+
/**
|
|
185
|
+
* Real seller-issued pricing fence from the same account-scoped list_products response, when the seller versions pricing independently.
|
|
186
|
+
* @minLength 1
|
|
187
|
+
*/
|
|
188
|
+
pricing_version?: string;
|
|
189
|
+
} | {
|
|
190
|
+
kind: 'legacy_create';
|
|
191
|
+
/**
|
|
192
|
+
* Opaque, short-lived coordinator token bound to the caller principal, account, and complete observed product/pricing payload. It is not a seller-issued feed fence.
|
|
193
|
+
* @minLength 16
|
|
194
|
+
*/
|
|
195
|
+
continuation_token: string;
|
|
196
|
+
/**
|
|
197
|
+
* Absolute expiry of the single-use compatibility continuation.
|
|
198
|
+
* @format date-time
|
|
199
|
+
*/
|
|
200
|
+
continuation_expires_at: string;
|
|
201
|
+
/**
|
|
202
|
+
* Established AdCP version actually negotiated with the peer. This provenance is required; the coordinator MUST NOT infer stronger guarantees from the label.
|
|
203
|
+
*/
|
|
204
|
+
source_adcp_version: '2.5' | '3.0' | '3.1';
|
|
205
|
+
/**
|
|
206
|
+
* Exact products bound to this continuation. A follow-up MUST select a non-empty subset and MUST NOT substitute an ID from another discovery result.
|
|
207
|
+
*
|
|
208
|
+
* @minItems 1
|
|
209
|
+
*/
|
|
210
|
+
product_ids: [string, ...string[]];
|
|
211
|
+
/**
|
|
212
|
+
* Guarantees that the established create_media_buy continuation cannot provide. The coordinator MUST fail before mutation unless the caller explicitly accepts every listed loss.
|
|
213
|
+
*
|
|
214
|
+
* @minItems 2
|
|
215
|
+
*/
|
|
216
|
+
losses: [
|
|
217
|
+
'feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed',
|
|
218
|
+
'feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed',
|
|
219
|
+
...('feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed')[]
|
|
220
|
+
];
|
|
221
|
+
requires_explicit_acceptance: true;
|
|
222
|
+
};
|
|
223
|
+
targeting_resolution?: ProductDiscoveryTargetingResolution;
|
|
69
224
|
status?: 'completed';
|
|
225
|
+
task_id?: never;
|
|
226
|
+
/**
|
|
227
|
+
* @maxLength 2000
|
|
228
|
+
*/
|
|
229
|
+
message?: string;
|
|
230
|
+
errors?: Error[];
|
|
231
|
+
context?: ContextObject;
|
|
232
|
+
ext?: ExtensionObject;
|
|
233
|
+
replayed?: true;
|
|
70
234
|
} | {
|
|
235
|
+
/**
|
|
236
|
+
* Release-precision AdCP version (VERSION.RELEASE, e.g. "3.0", "3.1", "3.1-beta"). On a request: the buyer's release pin — the seller validates against its supported_versions and returns VERSION_UNSUPPORTED on cross-major mismatch, or downshifts to the highest supported release within the same major. On a response: the release the seller actually served — clients SHOULD validate the response against that release's schema, not against their pin. Patches are not negotiated; surface them as build_version on capabilities for operational visibility. When omitted, falls back to adcp_major_version (deprecated) or server default. Buyers SHOULD emit both adcp_version and adcp_major_version through 3.x to remain compatible with sellers that only read the legacy field. NORMALIZATION: SDKs that read full-semver values from bundle metadata (e.g. ComplianceIndex.published_version = "3.1.0-beta.1") MUST normalize to release-precision ("3.1-beta.1") before emitting on the wire — meta-field values are NOT valid wire values.
|
|
237
|
+
*/
|
|
238
|
+
adcp_version?: string;
|
|
71
239
|
outcome: 'rejected';
|
|
240
|
+
/**
|
|
241
|
+
* @minLength 1
|
|
242
|
+
*/
|
|
243
|
+
reason: string;
|
|
244
|
+
/**
|
|
245
|
+
* @minItems 1
|
|
246
|
+
*/
|
|
247
|
+
suggestions?: [string, ...string[]];
|
|
248
|
+
proposals?: never;
|
|
249
|
+
products?: never;
|
|
250
|
+
incomplete?: never;
|
|
251
|
+
purchase_continuation?: never;
|
|
252
|
+
targeting_resolution?: ProductDiscoveryTargetingResolution;
|
|
72
253
|
status?: 'completed';
|
|
73
|
-
|
|
254
|
+
task_id?: never;
|
|
255
|
+
/**
|
|
256
|
+
* @maxLength 2000
|
|
257
|
+
*/
|
|
258
|
+
message?: string;
|
|
259
|
+
errors?: Error[];
|
|
260
|
+
context?: ContextObject;
|
|
261
|
+
ext?: ExtensionObject;
|
|
262
|
+
replayed?: true;
|
|
263
|
+
} | {
|
|
74
264
|
/**
|
|
75
265
|
* Release-precision AdCP version (VERSION.RELEASE, e.g. "3.0", "3.1", "3.1-beta"). On a request: the buyer's release pin — the seller validates against its supported_versions and returns VERSION_UNSUPPORTED on cross-major mismatch, or downshifts to the highest supported release within the same major. On a response: the release the seller actually served — clients SHOULD validate the response against that release's schema, not against their pin. Patches are not negotiated; surface them as build_version on capabilities for operational visibility. When omitted, falls back to adcp_major_version (deprecated) or server default. Buyers SHOULD emit both adcp_version and adcp_major_version through 3.x to remain compatible with sellers that only read the legacy field. NORMALIZATION: SDKs that read full-semver values from bundle metadata (e.g. ComplianceIndex.published_version = "3.1.0-beta.1") MUST normalize to release-precision ("3.1-beta.1") before emitting on the wire — meta-field values are NOT valid wire values.
|
|
76
266
|
*/
|
|
@@ -80,26 +270,56 @@ export type RequestProposalsResponse = ({
|
|
|
80
270
|
* @minLength 1
|
|
81
271
|
*/
|
|
82
272
|
reason?: string;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
273
|
+
/**
|
|
274
|
+
* @minItems 1
|
|
275
|
+
*/
|
|
276
|
+
suggestions?: [string, ...string[]];
|
|
277
|
+
/**
|
|
278
|
+
* @minItems 1
|
|
279
|
+
*/
|
|
280
|
+
proposals?: [
|
|
281
|
+
CanonicalProposal & {
|
|
282
|
+
proposal_status: 'draft';
|
|
283
|
+
/**
|
|
284
|
+
* @format date-time
|
|
285
|
+
*/
|
|
286
|
+
expires_at: string;
|
|
287
|
+
},
|
|
288
|
+
...(CanonicalProposal & {
|
|
289
|
+
proposal_status: 'draft';
|
|
290
|
+
/**
|
|
291
|
+
* @format date-time
|
|
292
|
+
*/
|
|
293
|
+
expires_at: string;
|
|
294
|
+
})[]
|
|
295
|
+
];
|
|
296
|
+
/**
|
|
297
|
+
* @minItems 1
|
|
298
|
+
*/
|
|
299
|
+
products?: [CanonicalProduct, ...CanonicalProduct[]];
|
|
92
300
|
/**
|
|
93
301
|
* Usable partial discovery result retained from the established get_products response. Absence means the source response did not declare an incomplete scope; it does not authorize an adapter to infer missing proposal terms.
|
|
302
|
+
*
|
|
303
|
+
* @minItems 1
|
|
94
304
|
*/
|
|
95
|
-
incomplete?:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
305
|
+
incomplete?: [
|
|
306
|
+
{
|
|
307
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
308
|
+
/**
|
|
309
|
+
* @minLength 1
|
|
310
|
+
*/
|
|
311
|
+
description: string;
|
|
312
|
+
estimated_wait?: Duration;
|
|
313
|
+
},
|
|
314
|
+
...{
|
|
315
|
+
scope: 'products' | 'pricing' | 'forecast' | 'proposals' | 'wholesale_feed';
|
|
316
|
+
/**
|
|
317
|
+
* @minLength 1
|
|
318
|
+
*/
|
|
319
|
+
description: string;
|
|
320
|
+
estimated_wait?: Duration;
|
|
321
|
+
}[]
|
|
322
|
+
];
|
|
103
323
|
/**
|
|
104
324
|
* @deprecated
|
|
105
325
|
* Deprecated AdCP 3.x projection instruction for purchasing products returned without a proposal. This is coordinator state, not a claim that the established seller implements a compact task. A native 3.2 seller MUST NOT emit it.
|
|
@@ -108,8 +328,10 @@ export type RequestProposalsResponse = ({
|
|
|
108
328
|
kind: 'listed_purchase';
|
|
109
329
|
/**
|
|
110
330
|
* Exact products the coordinator promoted and re-read through account-scoped list_products before returning this result. The set MUST match products[].product_id.
|
|
331
|
+
*
|
|
332
|
+
* @minItems 1
|
|
111
333
|
*/
|
|
112
|
-
product_ids: string[];
|
|
334
|
+
product_ids: [string, ...string[]];
|
|
113
335
|
cache_scope: 'account';
|
|
114
336
|
/**
|
|
115
337
|
* Real seller-issued account-scoped feed fence obtained by re-reading the promoted products through list_products.
|
|
@@ -139,20 +361,28 @@ export type RequestProposalsResponse = ({
|
|
|
139
361
|
source_adcp_version: '2.5' | '3.0' | '3.1';
|
|
140
362
|
/**
|
|
141
363
|
* Exact products bound to this continuation. A follow-up MUST select a non-empty subset and MUST NOT substitute an ID from another discovery result.
|
|
364
|
+
*
|
|
365
|
+
* @minItems 1
|
|
142
366
|
*/
|
|
143
|
-
product_ids: string[];
|
|
367
|
+
product_ids: [string, ...string[]];
|
|
144
368
|
/**
|
|
145
369
|
* Guarantees that the established create_media_buy continuation cannot provide. The coordinator MUST fail before mutation unless the caller explicitly accepts every listed loss.
|
|
370
|
+
*
|
|
371
|
+
* @minItems 2
|
|
146
372
|
*/
|
|
147
|
-
losses:
|
|
373
|
+
losses: [
|
|
374
|
+
'feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed',
|
|
375
|
+
'feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed',
|
|
376
|
+
...('feed_version_not_atomic' | 'pricing_version_not_atomic' | 'mutation_idempotency_not_guaranteed')[]
|
|
377
|
+
];
|
|
148
378
|
requires_explicit_acceptance: true;
|
|
149
379
|
};
|
|
150
380
|
targeting_resolution?: ProductDiscoveryTargetingResolution;
|
|
151
|
-
status
|
|
381
|
+
status: 'submitted';
|
|
152
382
|
/**
|
|
153
383
|
* @minLength 1
|
|
154
384
|
*/
|
|
155
|
-
task_id
|
|
385
|
+
task_id: string;
|
|
156
386
|
/**
|
|
157
387
|
* @maxLength 2000
|
|
158
388
|
*/
|
|
@@ -1348,18 +1578,6 @@ export interface CommercialTerms {
|
|
|
1348
1578
|
};
|
|
1349
1579
|
}
|
|
1350
1580
|
|
|
1351
|
-
/**
|
|
1352
|
-
* Bounded submitted envelope shared by the compact lifecycle tools.
|
|
1353
|
-
*/
|
|
1354
|
-
export interface CompactTaskSubmitted {
|
|
1355
|
-
status: 'submitted';
|
|
1356
|
-
task_id: string;
|
|
1357
|
-
message?: string;
|
|
1358
|
-
errors?: Error[];
|
|
1359
|
-
context?: ContextObject;
|
|
1360
|
-
ext?: ExtensionObject;
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
1581
|
/**
|
|
1364
1582
|
* Trust-source disambiguator for `completion_rate` — *who* attested to the completion event, not *how* (methodology granularity is a separate dimension; future qualifier keys may add it if buyer demand surfaces). The two paths can yield materially different rates, particularly in SSAI environments where the player's view of completion may differ from a vendor's. Used as a `qualifier.completion_source` key on `committed_metrics`, `missing_metrics`, and `metric_aggregates` to disambiguate which trust source the row represents. Edge cases: walled gardens where the seller is also the measurement vendor (YouTube, Spotify) collapse to `seller_attested` by trust-model logic — the same party served and counted. IAB-certified first-party podcast measurement (Podtrac, Triton on their own platforms; Art19 on its own platform) likewise collapses to `seller_attested`. The same vendor's offering on a third-party platform (Podtrac on a publisher who isn't Podtrac) is `vendor_attested`. The trust axis is *not* who runs the SDK — it's who is independent of the seller's revenue interest.
|
|
1365
1583
|
*/
|