@adcp/sdk 12.1.1 → 13.0.0-rc.0
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/README.md +19 -3
- package/bin/adcp-fuzz.js +3 -1
- package/dist/lib/adapters/content-standards-adapter.d.mts +9 -9
- package/dist/lib/adapters/content-standards-adapter.d.ts +9 -9
- package/dist/lib/adapters/content-standards-adapter.d.ts.map +1 -1
- package/dist/lib/adapters/content-standards-adapter.js +22 -22
- package/dist/lib/adapters/content-standards-adapter.js.map +1 -1
- package/dist/lib/adapters/content-standards-adapter.mjs +18 -18
- package/dist/lib/adapters/content-standards-adapter.mjs.map +1 -1
- package/dist/lib/adapters/index.d.mts +2 -2
- package/dist/lib/adapters/index.d.ts +2 -2
- package/dist/lib/adapters/index.d.ts.map +1 -1
- package/dist/lib/adapters/index.js +10 -10
- package/dist/lib/adapters/index.js.map +1 -1
- package/dist/lib/adapters/index.mjs +9 -9
- package/dist/lib/adapters/index.mjs.map +1 -1
- package/dist/lib/auth/oauth/provider-cache.d.mts +7 -0
- package/dist/lib/auth/oauth/provider-cache.d.ts +8 -0
- package/dist/lib/auth/oauth/provider-cache.d.ts.map +1 -0
- package/dist/lib/auth/oauth/provider-cache.js +44 -0
- package/dist/lib/auth/oauth/provider-cache.js.map +1 -0
- package/dist/lib/auth/oauth/provider-cache.mjs +19 -0
- package/dist/lib/auth/oauth/provider-cache.mjs.map +1 -0
- package/dist/lib/conformance/invariants/uniformError.js +1 -1
- package/dist/lib/conformance/invariants/uniformError.js.map +1 -1
- package/dist/lib/conformance/invariants/uniformError.mjs +1 -1
- package/dist/lib/conformance/invariants/uniformError.mjs.map +1 -1
- package/dist/lib/conformance/runners.js +1 -1
- package/dist/lib/conformance/runners.js.map +1 -1
- package/dist/lib/conformance/runners.mjs +1 -1
- package/dist/lib/conformance/runners.mjs.map +1 -1
- package/dist/lib/conformance/seeder.js +5 -5
- package/dist/lib/conformance/seeder.js.map +1 -1
- package/dist/lib/conformance/seeder.mjs +5 -5
- package/dist/lib/conformance/seeder.mjs.map +1 -1
- package/dist/lib/core/ADCPMultiAgentClient.d.mts +26 -29
- package/dist/lib/core/ADCPMultiAgentClient.d.ts +26 -29
- package/dist/lib/core/ADCPMultiAgentClient.d.ts.map +1 -1
- package/dist/lib/core/ADCPMultiAgentClient.js +27 -19
- package/dist/lib/core/ADCPMultiAgentClient.js.map +1 -1
- package/dist/lib/core/ADCPMultiAgentClient.mjs +27 -19
- package/dist/lib/core/ADCPMultiAgentClient.mjs.map +1 -1
- package/dist/lib/core/AgentClient.d.mts +148 -138
- package/dist/lib/core/AgentClient.d.ts +148 -138
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/AgentClient.js +174 -85
- package/dist/lib/core/AgentClient.js.map +1 -1
- package/dist/lib/core/AgentClient.mjs +174 -85
- package/dist/lib/core/AgentClient.mjs.map +1 -1
- package/dist/lib/core/AsyncHandler.d.mts +18 -16
- package/dist/lib/core/AsyncHandler.d.ts +18 -16
- package/dist/lib/core/AsyncHandler.d.ts.map +1 -1
- package/dist/lib/core/AsyncHandler.js +22 -1
- package/dist/lib/core/AsyncHandler.js.map +1 -1
- package/dist/lib/core/AsyncHandler.mjs +22 -1
- package/dist/lib/core/AsyncHandler.mjs.map +1 -1
- package/dist/lib/core/ConversationTypes.d.mts +6 -2
- package/dist/lib/core/ConversationTypes.d.ts +6 -2
- package/dist/lib/core/ConversationTypes.d.ts.map +1 -1
- package/dist/lib/core/ConversationTypes.js.map +1 -1
- package/dist/lib/core/CreativeAgentClient.d.mts +41 -17
- package/dist/lib/core/CreativeAgentClient.d.ts +41 -17
- package/dist/lib/core/CreativeAgentClient.d.ts.map +1 -1
- package/dist/lib/core/CreativeAgentClient.js +39 -12
- package/dist/lib/core/CreativeAgentClient.js.map +1 -1
- package/dist/lib/core/CreativeAgentClient.mjs +39 -12
- package/dist/lib/core/CreativeAgentClient.mjs.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.mts +127 -50
- package/dist/lib/core/SingleAgentClient.d.ts +127 -50
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +1617 -177
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/core/SingleAgentClient.mjs +1627 -177
- package/dist/lib/core/SingleAgentClient.mjs.map +1 -1
- package/dist/lib/core/TaskExecutor.d.mts +9 -0
- package/dist/lib/core/TaskExecutor.d.ts +9 -0
- package/dist/lib/core/TaskExecutor.d.ts.map +1 -1
- package/dist/lib/core/TaskExecutor.js +136 -43
- package/dist/lib/core/TaskExecutor.js.map +1 -1
- package/dist/lib/core/TaskExecutor.mjs +136 -43
- package/dist/lib/core/TaskExecutor.mjs.map +1 -1
- package/dist/lib/index.d.mts +111 -17
- package/dist/lib/index.d.ts +111 -17
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +94 -94
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +93 -94
- package/dist/lib/index.mjs.map +1 -1
- package/dist/lib/protocols/index.d.ts.map +1 -1
- package/dist/lib/protocols/index.js +6 -15
- package/dist/lib/protocols/index.js.map +1 -1
- package/dist/lib/protocols/index.mjs +6 -16
- package/dist/lib/protocols/index.mjs.map +1 -1
- package/dist/lib/protocols/mcp-modern.d.ts.map +1 -1
- package/dist/lib/protocols/mcp-modern.js +87 -12
- package/dist/lib/protocols/mcp-modern.js.map +1 -1
- package/dist/lib/protocols/mcp-modern.mjs +89 -12
- package/dist/lib/protocols/mcp-modern.mjs.map +1 -1
- package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
- package/dist/lib/server/create-adcp-server.d.mts +6 -0
- package/dist/lib/server/create-adcp-server.d.ts +6 -0
- package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
- package/dist/lib/server/create-adcp-server.js +295 -48
- package/dist/lib/server/create-adcp-server.js.map +1 -1
- package/dist/lib/server/create-adcp-server.mjs +301 -50
- package/dist/lib/server/create-adcp-server.mjs.map +1 -1
- package/dist/lib/server/decisioning/assembly-helpers.d.mts +27 -13
- package/dist/lib/server/decisioning/assembly-helpers.d.ts +27 -13
- package/dist/lib/server/decisioning/assembly-helpers.d.ts.map +1 -1
- package/dist/lib/server/decisioning/assembly-helpers.js +136 -14
- package/dist/lib/server/decisioning/assembly-helpers.js.map +1 -1
- package/dist/lib/server/decisioning/assembly-helpers.mjs +134 -13
- package/dist/lib/server/decisioning/assembly-helpers.mjs.map +1 -1
- package/dist/lib/server/decisioning/index.d.mts +13 -12
- package/dist/lib/server/decisioning/index.d.ts +13 -12
- package/dist/lib/server/decisioning/index.d.ts.map +1 -1
- package/dist/lib/server/decisioning/index.js +6 -0
- package/dist/lib/server/decisioning/index.js.map +1 -1
- package/dist/lib/server/decisioning/index.mjs +9 -3
- package/dist/lib/server/decisioning/index.mjs.map +1 -1
- package/dist/lib/server/decisioning/list-helpers.d.mts +13 -3
- package/dist/lib/server/decisioning/list-helpers.d.ts +13 -3
- package/dist/lib/server/decisioning/list-helpers.d.ts.map +1 -1
- package/dist/lib/server/decisioning/list-helpers.js +13 -3
- package/dist/lib/server/decisioning/list-helpers.js.map +1 -1
- package/dist/lib/server/decisioning/list-helpers.mjs +11 -2
- package/dist/lib/server/decisioning/list-helpers.mjs.map +1 -1
- package/dist/lib/server/decisioning/manifest-helpers.d.mts +5 -3
- package/dist/lib/server/decisioning/manifest-helpers.d.ts +5 -3
- package/dist/lib/server/decisioning/manifest-helpers.d.ts.map +1 -1
- package/dist/lib/server/decisioning/manifest-helpers.js.map +1 -1
- package/dist/lib/server/decisioning/manifest-helpers.mjs.map +1 -1
- package/dist/lib/server/decisioning/proposal/dispatch.d.mts +2 -2
- package/dist/lib/server/decisioning/proposal/dispatch.d.ts +2 -2
- package/dist/lib/server/decisioning/proposal/dispatch.d.ts.map +1 -1
- package/dist/lib/server/decisioning/proposal/dispatch.js.map +1 -1
- package/dist/lib/server/decisioning/proposal/dispatch.mjs.map +1 -1
- package/dist/lib/server/decisioning/proposal/index.d.mts +1 -1
- package/dist/lib/server/decisioning/proposal/index.d.ts +1 -1
- package/dist/lib/server/decisioning/proposal/index.d.ts.map +1 -1
- package/dist/lib/server/decisioning/proposal/index.js.map +1 -1
- package/dist/lib/server/decisioning/proposal/index.mjs.map +1 -1
- package/dist/lib/server/decisioning/proposal/lifecycle.d.mts +3 -2
- package/dist/lib/server/decisioning/proposal/lifecycle.d.ts +3 -2
- package/dist/lib/server/decisioning/proposal/lifecycle.d.ts.map +1 -1
- package/dist/lib/server/decisioning/proposal/lifecycle.js.map +1 -1
- package/dist/lib/server/decisioning/proposal/lifecycle.mjs.map +1 -1
- package/dist/lib/server/decisioning/proposal/mock-manager.d.mts +3 -3
- package/dist/lib/server/decisioning/proposal/mock-manager.d.ts +3 -3
- package/dist/lib/server/decisioning/proposal/mock-manager.d.ts.map +1 -1
- package/dist/lib/server/decisioning/proposal/mock-manager.js.map +1 -1
- package/dist/lib/server/decisioning/proposal/mock-manager.mjs.map +1 -1
- package/dist/lib/server/decisioning/proposal/types.d.mts +10 -6
- package/dist/lib/server/decisioning/proposal/types.d.ts +10 -6
- package/dist/lib/server/decisioning/proposal/types.d.ts.map +1 -1
- package/dist/lib/server/decisioning/proposal/types.js.map +1 -1
- package/dist/lib/server/decisioning/proposal/types.mjs.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.d.mts +21 -2
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts +21 -2
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.js +754 -81
- package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -1
- package/dist/lib/server/decisioning/runtime/from-platform.mjs +763 -81
- package/dist/lib/server/decisioning/runtime/from-platform.mjs.map +1 -1
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.mts +9 -9
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts +9 -9
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/brand-rights.js.map +1 -1
- package/dist/lib/server/decisioning/specialisms/content-standards.d.mts +16 -16
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts +16 -16
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/content-standards.js.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.mts +15 -13
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts +15 -13
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative.d.mts +12 -11
- package/dist/lib/server/decisioning/specialisms/creative.d.ts +12 -11
- package/dist/lib/server/decisioning/specialisms/creative.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/creative.js.map +1 -1
- package/dist/lib/server/decisioning/specialisms/sales.d.mts +25 -15
- package/dist/lib/server/decisioning/specialisms/sales.d.ts +25 -15
- package/dist/lib/server/decisioning/specialisms/sales.d.ts.map +1 -1
- package/dist/lib/server/decisioning/specialisms/sales.js.map +1 -1
- package/dist/lib/server/index.d.mts +3 -3
- package/dist/lib/server/index.d.ts +3 -3
- package/dist/lib/server/index.d.ts.map +1 -1
- package/dist/lib/server/index.js +72 -72
- package/dist/lib/server/index.js.map +1 -1
- package/dist/lib/server/index.mjs +36 -36
- package/dist/lib/server/index.mjs.map +1 -1
- package/dist/lib/server/legacy/v5/index.d.mts +1 -0
- package/dist/lib/server/legacy/v5/index.d.ts +1 -0
- package/dist/lib/server/legacy/v5/index.d.ts.map +1 -1
- package/dist/lib/server/legacy/v5/index.js +74 -1
- package/dist/lib/server/legacy/v5/index.js.map +1 -1
- package/dist/lib/server/legacy/v5/index.mjs +75 -1
- package/dist/lib/server/legacy/v5/index.mjs.map +1 -1
- package/dist/lib/server/responses.d.mts +2 -2
- package/dist/lib/server/responses.d.ts +2 -2
- package/dist/lib/server/responses.js.map +1 -1
- package/dist/lib/server/responses.mjs.map +1 -1
- package/dist/lib/testing/client.js +1 -1
- package/dist/lib/testing/client.js.map +1 -1
- package/dist/lib/testing/client.mjs +1 -1
- package/dist/lib/testing/client.mjs.map +1 -1
- package/dist/lib/testing/scenarios/brand-rights.js +6 -6
- package/dist/lib/testing/scenarios/brand-rights.js.map +1 -1
- package/dist/lib/testing/scenarios/brand-rights.mjs +6 -6
- package/dist/lib/testing/scenarios/brand-rights.mjs.map +1 -1
- package/dist/lib/testing/scenarios/creative.js +7 -7
- package/dist/lib/testing/scenarios/creative.js.map +1 -1
- package/dist/lib/testing/scenarios/creative.mjs +7 -7
- package/dist/lib/testing/scenarios/creative.mjs.map +1 -1
- package/dist/lib/testing/scenarios/discovery.js +2 -2
- package/dist/lib/testing/scenarios/discovery.js.map +1 -1
- package/dist/lib/testing/scenarios/discovery.mjs +2 -2
- package/dist/lib/testing/scenarios/discovery.mjs.map +1 -1
- package/dist/lib/testing/scenarios/edge-cases.js +11 -11
- package/dist/lib/testing/scenarios/edge-cases.js.map +1 -1
- package/dist/lib/testing/scenarios/edge-cases.mjs +11 -11
- package/dist/lib/testing/scenarios/edge-cases.mjs.map +1 -1
- package/dist/lib/testing/scenarios/governance.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/governance.js +16 -22
- package/dist/lib/testing/scenarios/governance.js.map +1 -1
- package/dist/lib/testing/scenarios/governance.mjs +16 -22
- package/dist/lib/testing/scenarios/governance.mjs.map +1 -1
- package/dist/lib/testing/scenarios/media-buy.js +5 -5
- package/dist/lib/testing/scenarios/media-buy.js.map +1 -1
- package/dist/lib/testing/scenarios/media-buy.mjs +5 -5
- package/dist/lib/testing/scenarios/media-buy.mjs.map +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.js +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.js.map +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.mjs +1 -1
- package/dist/lib/testing/scenarios/schema-compliance.mjs.map +1 -1
- package/dist/lib/testing/scenarios/trusted-match.d.ts.map +1 -1
- package/dist/lib/testing/scenarios/trusted-match.js +4 -3
- package/dist/lib/testing/scenarios/trusted-match.js.map +1 -1
- package/dist/lib/testing/scenarios/trusted-match.mjs +4 -3
- package/dist/lib/testing/scenarios/trusted-match.mjs.map +1 -1
- package/dist/lib/testing/storyboard/shape-drift-hints.d.mts +3 -4
- package/dist/lib/testing/storyboard/shape-drift-hints.d.ts +3 -4
- package/dist/lib/testing/storyboard/shape-drift-hints.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/shape-drift-hints.js +27 -27
- package/dist/lib/testing/storyboard/shape-drift-hints.js.map +1 -1
- package/dist/lib/testing/storyboard/shape-drift-hints.mjs +27 -27
- package/dist/lib/testing/storyboard/shape-drift-hints.mjs.map +1 -1
- package/dist/lib/testing/storyboard/task-map.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/task-map.js +43 -5
- package/dist/lib/testing/storyboard/task-map.js.map +1 -1
- package/dist/lib/testing/storyboard/task-map.mjs +43 -5
- package/dist/lib/testing/storyboard/task-map.mjs.map +1 -1
- package/dist/lib/testing/test-helpers.d.mts +2 -2
- package/dist/lib/testing/test-helpers.d.ts +2 -2
- package/dist/lib/testing/test-helpers.js.map +1 -1
- package/dist/lib/testing/test-helpers.mjs.map +1 -1
- package/dist/lib/types/adcp.d.mts +14 -14
- package/dist/lib/types/adcp.d.ts +14 -14
- package/dist/lib/types/adcp.d.ts.map +1 -1
- package/dist/lib/types/adcp.js.map +1 -1
- package/dist/lib/types/adcp.mjs.map +1 -1
- package/dist/lib/types/index.d.mts +2 -2
- package/dist/lib/types/index.d.ts +2 -2
- 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/utils/capabilities.d.mts +6 -0
- package/dist/lib/utils/capabilities.d.ts +6 -0
- package/dist/lib/utils/capabilities.d.ts.map +1 -1
- package/dist/lib/utils/capabilities.js +4 -0
- package/dist/lib/utils/capabilities.js.map +1 -1
- package/dist/lib/utils/capabilities.mjs +4 -0
- package/dist/lib/utils/capabilities.mjs.map +1 -1
- package/dist/lib/utils/creative-delivery.d.mts +52 -10
- package/dist/lib/utils/creative-delivery.d.ts +52 -10
- package/dist/lib/utils/creative-delivery.d.ts.map +1 -1
- package/dist/lib/utils/creative-delivery.js +104 -9
- package/dist/lib/utils/creative-delivery.js.map +1 -1
- package/dist/lib/utils/creative-delivery.mjs +104 -8
- package/dist/lib/utils/creative-delivery.mjs.map +1 -1
- package/dist/lib/utils/format-assets.d.mts +41 -38
- package/dist/lib/utils/format-assets.d.ts +41 -38
- package/dist/lib/utils/format-assets.d.ts.map +1 -1
- package/dist/lib/utils/format-assets.js +3 -1
- package/dist/lib/utils/format-assets.js.map +1 -1
- package/dist/lib/utils/format-assets.mjs +3 -1
- package/dist/lib/utils/format-assets.mjs.map +1 -1
- package/dist/lib/utils/index.d.mts +8 -8
- package/dist/lib/utils/index.d.ts +8 -8
- package/dist/lib/utils/index.d.ts.map +1 -1
- package/dist/lib/utils/index.js +11 -9
- package/dist/lib/utils/index.js.map +1 -1
- package/dist/lib/utils/index.mjs +9 -8
- package/dist/lib/utils/index.mjs.map +1 -1
- package/dist/lib/utils/preview-utils.d.mts +11 -8
- package/dist/lib/utils/preview-utils.d.ts +11 -8
- package/dist/lib/utils/preview-utils.d.ts.map +1 -1
- package/dist/lib/utils/preview-utils.js +4 -4
- package/dist/lib/utils/preview-utils.js.map +1 -1
- package/dist/lib/utils/preview-utils.mjs +3 -3
- package/dist/lib/utils/preview-utils.mjs.map +1 -1
- package/dist/lib/utils/tool-request-schemas.d.mts +2 -2
- package/dist/lib/utils/tool-request-schemas.d.ts +2 -2
- package/dist/lib/v2/projection/aao-reference-formats.json +492 -0
- package/dist/lib/v2/projection/augment-response.d.mts +31 -11
- package/dist/lib/v2/projection/augment-response.d.ts +31 -11
- package/dist/lib/v2/projection/augment-response.d.ts.map +1 -1
- package/dist/lib/v2/projection/augment-response.js +233 -27
- package/dist/lib/v2/projection/augment-response.js.map +1 -1
- package/dist/lib/v2/projection/augment-response.mjs +232 -27
- package/dist/lib/v2/projection/augment-response.mjs.map +1 -1
- package/dist/lib/v2/projection/builders.d.mts +7 -6
- package/dist/lib/v2/projection/builders.d.ts +7 -6
- package/dist/lib/v2/projection/builders.d.ts.map +1 -1
- package/dist/lib/v2/projection/builders.js +11 -8
- package/dist/lib/v2/projection/builders.js.map +1 -1
- package/dist/lib/v2/projection/builders.mjs +9 -6
- package/dist/lib/v2/projection/builders.mjs.map +1 -1
- package/dist/lib/v2/projection/catalog-snapshot.d.mts +47 -0
- package/dist/lib/v2/projection/catalog-snapshot.d.ts +48 -0
- package/dist/lib/v2/projection/catalog-snapshot.d.ts.map +1 -0
- package/dist/lib/v2/projection/catalog-snapshot.js +291 -0
- package/dist/lib/v2/projection/catalog-snapshot.js.map +1 -0
- package/dist/lib/v2/projection/catalog-snapshot.mjs +265 -0
- package/dist/lib/v2/projection/catalog-snapshot.mjs.map +1 -0
- package/dist/lib/v2/projection/catalog.d.mts +23 -2
- package/dist/lib/v2/projection/catalog.d.ts +23 -2
- package/dist/lib/v2/projection/catalog.d.ts.map +1 -1
- package/dist/lib/v2/projection/catalog.js +34 -10
- package/dist/lib/v2/projection/catalog.js.map +1 -1
- package/dist/lib/v2/projection/catalog.mjs +33 -10
- package/dist/lib/v2/projection/catalog.mjs.map +1 -1
- package/dist/lib/v2/projection/creative-delivery.d.mts +157 -0
- package/dist/lib/v2/projection/creative-delivery.d.ts +158 -0
- package/dist/lib/v2/projection/creative-delivery.d.ts.map +1 -0
- package/dist/lib/v2/projection/creative-delivery.js +967 -0
- package/dist/lib/v2/projection/creative-delivery.js.map +1 -0
- package/dist/lib/v2/projection/creative-delivery.mjs +941 -0
- package/dist/lib/v2/projection/creative-delivery.mjs.map +1 -0
- package/dist/lib/v2/projection/index.d.mts +8 -6
- package/dist/lib/v2/projection/index.d.ts +8 -6
- package/dist/lib/v2/projection/index.d.ts.map +1 -1
- package/dist/lib/v2/projection/index.js +26 -4
- package/dist/lib/v2/projection/index.js.map +1 -1
- package/dist/lib/v2/projection/index.mjs +28 -4
- package/dist/lib/v2/projection/index.mjs.map +1 -1
- package/dist/lib/v2/projection/legacy-metadata.d.mts +21 -0
- package/dist/lib/v2/projection/legacy-metadata.d.ts +22 -0
- package/dist/lib/v2/projection/legacy-metadata.d.ts.map +1 -0
- package/dist/lib/v2/projection/legacy-metadata.js +73 -0
- package/dist/lib/v2/projection/legacy-metadata.js.map +1 -0
- package/dist/lib/v2/projection/legacy-metadata.mjs +45 -0
- package/dist/lib/v2/projection/legacy-metadata.mjs.map +1 -0
- package/dist/lib/v2/projection/types.d.mts +29 -23
- package/dist/lib/v2/projection/types.d.ts +29 -23
- package/dist/lib/v2/projection/types.d.ts.map +1 -1
- package/dist/lib/v2/projection/types.js.map +1 -1
- package/dist/lib/v2/projection/v1-to-v2.d.mts +29 -6
- package/dist/lib/v2/projection/v1-to-v2.d.ts +29 -6
- package/dist/lib/v2/projection/v1-to-v2.d.ts.map +1 -1
- package/dist/lib/v2/projection/v1-to-v2.js +218 -9
- package/dist/lib/v2/projection/v1-to-v2.js.map +1 -1
- package/dist/lib/v2/projection/v1-to-v2.mjs +219 -10
- package/dist/lib/v2/projection/v1-to-v2.mjs.map +1 -1
- package/dist/lib/v2/projection/v2-to-v1.d.mts +31 -2
- package/dist/lib/v2/projection/v2-to-v1.d.ts +31 -2
- package/dist/lib/v2/projection/v2-to-v1.d.ts.map +1 -1
- package/dist/lib/v2/projection/v2-to-v1.js +138 -7
- package/dist/lib/v2/projection/v2-to-v1.js.map +1 -1
- package/dist/lib/v2/projection/v2-to-v1.mjs +135 -6
- package/dist/lib/v2/projection/v2-to-v1.mjs.map +1 -1
- package/dist/lib/v2/projection/write-side.d.mts +12 -13
- package/dist/lib/v2/projection/write-side.d.ts +12 -13
- package/dist/lib/v2/projection/write-side.d.ts.map +1 -1
- package/dist/lib/v2/projection/write-side.js +16 -12
- package/dist/lib/v2/projection/write-side.js.map +1 -1
- package/dist/lib/v2/projection/write-side.mjs +16 -12
- package/dist/lib/v2/projection/write-side.mjs.map +1 -1
- package/dist/lib/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.d.ts.map +1 -1
- 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/BUILD-AN-AGENT.md +7 -2
- package/docs/guides/PREVIEW-ASSET-DURABILITY.md +6 -2
- package/docs/llms.txt +1 -0
- package/examples/README.md +1 -1
- package/examples/batch-preview-test.ts +3 -3
- package/examples/conversation-client.ts +2 -2
- package/examples/debug-preview-response.ts +1 -1
- package/examples/decisioning-platform-broadcast-tv.ts +10 -4
- package/examples/decisioning-platform-mock-seller.ts +16 -9
- package/examples/decisioning-platform-programmatic.ts +18 -7
- package/examples/error-compliant-server.ts +26 -16
- package/examples/generative-creative-demo.ts +7 -19
- package/examples/hello_creative_adapter_ad_server.ts +37 -16
- package/examples/hello_creative_adapter_template.ts +12 -10
- package/examples/hello_seller_adapter_guaranteed.ts +52 -23
- package/examples/hello_seller_adapter_multi_tenant.ts +6 -3
- package/examples/hello_seller_adapter_non_guaranteed.ts +54 -26
- package/examples/hello_seller_adapter_proposal_mode.ts +40 -14
- package/examples/hello_seller_adapter_social.ts +2 -7
- package/examples/inspect-card-formats.ts +1 -1
- package/examples/simple-getting-started.ts +1 -1
- package/examples/test-helpers-demo.ts +1 -1
- package/package.json +2 -2
- package/skills/build-decisioning-creative-template/SKILL.md +11 -11
- package/skills/build-decisioning-platform/advanced/REFERENCE.md +8 -2
package/dist/lib/index.d.mts
CHANGED
|
@@ -14,11 +14,11 @@ export { resolveInlinePublisherProperties, resolveSingularInline, detectInlineFe
|
|
|
14
14
|
export { fetchAgentAuthorizationsFromDirectory, type AgentAuthorizationsIterator, type FetchAgentAuthorizationsOptions, type DirectoryLookupPage, type DirectoryPublisherEntry, type DirectoryDiscoveryMethod, type DirectoryPublisherStatus, } from './discovery/agent-directory.mjs';
|
|
15
15
|
export { validateAdAgents, parseManagerDomain, type DiscoveryMethod, type AdAgentsValidationResult, type ValidateAdAgentsOptions, } from './discovery/validate-adagents.mjs';
|
|
16
16
|
export { SingleAgentClient, WebhookDispatchError, createSingleAgentClient, UnsupportedFeatureError, } from './core/SingleAgentClient.mjs';
|
|
17
|
-
export type { ClientProductPropertyPolicy, SingleAgentClientConfig, VerifyAndParseWebhookOptions, WebhookParseErrorCode, WebhookParseFailure, WebhookParseResult, WebhookParseSuccess, } from './core/SingleAgentClient.mjs';
|
|
18
|
-
export { AgentClient, type TaskResponseTypeMap, type AdcpTaskName, type InProcessAgentClientConfig, } from './core/AgentClient.mjs';
|
|
17
|
+
export type { ClientProductPropertyPolicy, CreativeDeliveryTaskOptions, SingleAgentClientConfig, SyncCreativesTaskOptions, VerifyAndParseWebhookOptions, WebhookParseErrorCode, WebhookParseFailure, WebhookParseResult, WebhookParseSuccess, } from './core/SingleAgentClient.mjs';
|
|
18
|
+
export { AgentClient, type CanonicalGetProductsResponse, type CanonicalProjectionTaskOptions, type TaskResponseTypeMap, type TaskRequestTypeMap, type TaskRequestFor, type AdcpTaskName, type InProcessAgentClientConfig, } from './core/AgentClient.mjs';
|
|
19
19
|
export { ADCPMultiAgentClient, createADCPMultiAgentClient } from './core/ADCPMultiAgentClient.mjs';
|
|
20
20
|
export { ConfigurationManager } from './core/ConfigurationManager.mjs';
|
|
21
|
-
export { CreativeAgentClient, createCreativeAgentClient, STANDARD_CREATIVE_AGENTS, type
|
|
21
|
+
export { CreativeAgentClient, createCreativeAgentClient, STANDARD_CREATIVE_AGENTS, type CreativeAgentListTaskOptions, type CreativeAgentClientConfig, type LegacyCreativeFormat, } from './core/CreativeAgentClient.mjs';
|
|
22
22
|
export { TaskExecutor } from './core/TaskExecutor.mjs';
|
|
23
23
|
export { match, attachMatch } from './core/match.mjs';
|
|
24
24
|
export type { MatchHandlers, PartialMatchHandlers } from './core/match.mjs';
|
|
@@ -53,16 +53,110 @@ export type { MutatingRequestInput } from './utils/idempotency.mjs';
|
|
|
53
53
|
export { canonicalize, canonicalJsonSha256 } from './utils/jcs.mjs';
|
|
54
54
|
export { rollupOptimizationMetricsFromProducts } from './utils/capability-rollups.mjs';
|
|
55
55
|
export * from './types/index.mjs';
|
|
56
|
-
export type { GetProductsRequest, GetProductsResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse, CreateMediaBuyRequest, CreateMediaBuyResponse, CreateMediaBuySuccess, CreateMediaBuyError, CreateMediaBuySubmitted, UpdateMediaBuyRequest, UpdateMediaBuyResponse, UpdateMediaBuySuccess, UpdateMediaBuyError, SyncCreativesRequest, SyncCreativesResponse, SyncCreativesSuccess, SyncCreativesError, SyncCreativesSubmitted, SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, ListCreativesRequest, ListCreativesResponse, CreativeFilters, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, GetSignalsRequest, GetSignalsResponse, ActivateSignalRequest, ActivateSignalResponse, ActivateSignalSuccess, ActivateSignalError, CpmPricing, PercentOfMediaPricing, FlatFeePricing, PerUnitPricing, CustomPricing, VendorPricing, VendorPricingOption, CPMPricingOption, VCPMPricingOption, CPCPricingOption, CPCVPricingOption, CPVPricingOption, CPPPricingOption, FlatRatePricingOption, TimeBasedPricingOption, CreatePropertyListRequest, CreatePropertyListResponse, UpdatePropertyListRequest, UpdatePropertyListResponse, GetPropertyListRequest, GetPropertyListResponse, ListPropertyListsRequest, ListPropertyListsResponse, DeletePropertyListRequest, DeletePropertyListResponse, PropertyList, PropertyListFilters, ListContentStandardsRequest, ListContentStandardsResponse, GetContentStandardsRequest, GetContentStandardsResponse, CreateContentStandardsRequest, CreateContentStandardsResponse, UpdateContentStandardsRequest, UpdateContentStandardsResponse, UpdateContentStandardsSuccess, UpdateContentStandardsError, CalibrateContentRequest, CalibrateContentResponse, ValidateContentDeliveryRequest, ValidateContentDeliveryResponse, ContentStandards, Artifact, SyncPlansRequest, SyncPlansResponse, SyncGovernanceRequest, SyncGovernanceResponse, SyncGovernanceSuccess, SyncGovernanceError, CheckGovernanceRequest, CheckGovernanceResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, PlannedDelivery, GovernancePhase, EscalationSeverity, PolicyEnforcementLevel, OutcomeType, GetCreativeFeaturesRequest, GetCreativeFeaturesResponse, SIGetOfferingRequest, SIGetOfferingResponse, SIInitiateSessionRequest, SIInitiateSessionResponse, SISendMessageRequest, SISendMessageResponse, SITerminateSessionRequest, SITerminateSessionResponse, SICapabilities, SIIdentity, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, CanceledBy, Format, Product, Proposal, ProductAllocation, PackageRequest, //
|
|
57
|
-
CreativeAsset, CreativePolicy, BrandReference, BrandID, AccountReference, CPAPricingOption, EventType, ActionSource, OptimizationGoal, ReachUnit, TargetingOverlay, OutcomeMeasurementDeprecated, OutcomeMeasurementDeprecated as OutcomeMeasurement, Duration, DeviceType, DigitalSourceType, FrequencyCap, GeographicBreakdownSupport, Catalog, CatalogType, FeedFormat, UpdateFrequency, ContentIDType, CatalogFieldMapping, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, Overlay, Placement, CreativeManifest, CreativeVariable, BuildCreativeRequest, BuildCreativeResponse, BuildCreativeSuccess, BuildCreativeMultiSuccess, BuildCreativeError, PreviewCreativeRequest, PreviewCreativeResponse, GetMediaBuysRequest, GetMediaBuysResponse, ImageAsset, VideoAsset, AudioAsset, TextAsset, URLAsset, HTMLAsset, VASTAsset, DAASTAsset, JavaScriptAsset, WebhookAsset, CSSAsset, MarkdownAsset, CatalogAsset, BriefAsset, ReferenceAsset, Provenance, PreviewOutputFormat, DisclosurePosition, EventCustomData, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse, Account, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, PaginationRequest, PaginationResponse, PackageUpdate, Package, Destination, SignalFilters, PricingOption, PriceGuidance, } from './types/tools.generated.mjs';
|
|
56
|
+
export type { GetProductsRequest as LegacyGetProductsRequest, GetProductsResponse as LegacyGetProductsResponse, ListCreativeFormatsRequest as LegacyListCreativeFormatsRequest, ListCreativeFormatsResponse as LegacyListCreativeFormatsResponse, CreateMediaBuyRequest as LegacyCreateMediaBuyRequest, CreateMediaBuyResponse as LegacyCreateMediaBuyResponse, CreateMediaBuySuccess as LegacyCreateMediaBuySuccess, CreateMediaBuyError as LegacyCreateMediaBuyError, CreateMediaBuySubmitted as LegacyCreateMediaBuySubmitted, UpdateMediaBuyRequest as LegacyUpdateMediaBuyRequest, UpdateMediaBuyResponse as LegacyUpdateMediaBuyResponse, UpdateMediaBuySuccess as LegacyUpdateMediaBuySuccess, UpdateMediaBuyError as LegacyUpdateMediaBuyError, SyncCreativesRequest as LegacySyncCreativesRequest, SyncCreativesResponse as LegacySyncCreativesResponse, SyncCreativesSuccess as LegacySyncCreativesSuccess, SyncCreativesError as LegacySyncCreativesError, SyncCreativesSubmitted as LegacySyncCreativesSubmitted, SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, ListCreativesRequest as LegacyListCreativesRequest, ListCreativesResponse as LegacyListCreativesResponse, CreativeFilters as LegacyCreativeFilters, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse as LegacyGetMediaBuyDeliveryResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, GetSignalsRequest, GetSignalsResponse, ActivateSignalRequest, ActivateSignalResponse, ActivateSignalSuccess, ActivateSignalError, CpmPricing, PercentOfMediaPricing, FlatFeePricing, PerUnitPricing, CustomPricing, VendorPricing, VendorPricingOption, CPMPricingOption, VCPMPricingOption, CPCPricingOption, CPCVPricingOption, CPVPricingOption, CPPPricingOption, FlatRatePricingOption, TimeBasedPricingOption, CreatePropertyListRequest, CreatePropertyListResponse, UpdatePropertyListRequest, UpdatePropertyListResponse, GetPropertyListRequest, GetPropertyListResponse, ListPropertyListsRequest, ListPropertyListsResponse, DeletePropertyListRequest, DeletePropertyListResponse, PropertyList, PropertyListFilters, ListContentStandardsRequest as LegacyListContentStandardsRequest, ListContentStandardsResponse as LegacyListContentStandardsResponse, GetContentStandardsRequest as LegacyGetContentStandardsRequest, GetContentStandardsResponse as LegacyGetContentStandardsResponse, CreateContentStandardsRequest as LegacyCreateContentStandardsRequest, CreateContentStandardsResponse as LegacyCreateContentStandardsResponse, UpdateContentStandardsRequest as LegacyUpdateContentStandardsRequest, UpdateContentStandardsResponse as LegacyUpdateContentStandardsResponse, UpdateContentStandardsSuccess as LegacyUpdateContentStandardsSuccess, UpdateContentStandardsError as LegacyUpdateContentStandardsError, CalibrateContentRequest as LegacyCalibrateContentRequest, CalibrateContentResponse as LegacyCalibrateContentResponse, ValidateContentDeliveryRequest as LegacyValidateContentDeliveryRequest, ValidateContentDeliveryResponse as LegacyValidateContentDeliveryResponse, ContentStandards as LegacyContentStandards, Artifact as LegacyArtifact, SyncPlansRequest, SyncPlansResponse, SyncGovernanceRequest, SyncGovernanceResponse, SyncGovernanceSuccess, SyncGovernanceError, CheckGovernanceRequest, CheckGovernanceResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, PlannedDelivery, GovernancePhase, EscalationSeverity, PolicyEnforcementLevel, OutcomeType, GetCreativeFeaturesRequest as LegacyGetCreativeFeaturesRequest, GetCreativeFeaturesResponse as LegacyGetCreativeFeaturesResponse, SIGetOfferingRequest, SIGetOfferingResponse, SIInitiateSessionRequest, SIInitiateSessionResponse, SISendMessageRequest, SISendMessageResponse, SITerminateSessionRequest, SITerminateSessionResponse, SICapabilities, SIIdentity, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, CanceledBy, Format as LegacyFormat, Product as LegacyProduct, Proposal, ProductAllocation, PackageRequest as LegacyPackageRequest, // Raw wire shape for migration/server tooling
|
|
57
|
+
CreativeAsset as LegacyCompatibleCreativeAsset, CreativePolicy, BrandReference, BrandID, AccountReference, CPAPricingOption, EventType, ActionSource, OptimizationGoal, ReachUnit, TargetingOverlay, OutcomeMeasurementDeprecated, OutcomeMeasurementDeprecated as OutcomeMeasurement, Duration, DeviceType, DigitalSourceType, FrequencyCap, GeographicBreakdownSupport, Catalog, CatalogType, FeedFormat, UpdateFrequency, ContentIDType, CatalogFieldMapping, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, Overlay, Placement as LegacyPlacement, CreativeManifest as LegacyCreativeManifest, CreativeVariable, BuildCreativeRequest as LegacyBuildCreativeRequest, BuildCreativeResponse as LegacyBuildCreativeResponse, BuildCreativeSuccess as LegacyBuildCreativeSuccess, BuildCreativeMultiSuccess as LegacyBuildCreativeMultiSuccess, BuildCreativeError as LegacyBuildCreativeError, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, GetMediaBuysRequest, GetMediaBuysResponse as LegacyGetMediaBuysResponse, ImageAsset, VideoAsset, AudioAsset, TextAsset, URLAsset, HTMLAsset, VASTAsset, DAASTAsset, JavaScriptAsset, WebhookAsset, CSSAsset, MarkdownAsset, CatalogAsset, BriefAsset, ReferenceAsset, Provenance, PreviewOutputFormat, DisclosurePosition, EventCustomData, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse as LegacyGetCreativeDeliveryResponse, Account, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, PaginationRequest, PaginationResponse, PackageUpdate as LegacyPackageUpdate, Package as LegacyPackage, Destination, SignalFilters, PricingOption, PriceGuidance, } from './types/tools.generated.mjs';
|
|
58
|
+
export type { GetMediaBuyArtifactsRequest as LegacyGetMediaBuyArtifactsRequest, GetMediaBuyArtifactsResponse as LegacyGetMediaBuyArtifactsResponse, } from './types/tools.generated.mjs';
|
|
59
|
+
export type { GetRightsRequest as LegacyGetRightsRequest, GetRightsResponse as LegacyGetRightsResponse, AcquireRightsRequest as LegacyAcquireRightsRequest, AcquireRightsResponse as LegacyAcquireRightsResponse, UpdateRightsRequest as LegacyUpdateRightsRequest, UpdateRightsResponse as LegacyUpdateRightsResponse, } from './types/core.generated.mjs';
|
|
60
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
61
|
+
export type GetMediaBuyArtifactsRequest = never;
|
|
62
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
63
|
+
export type GetMediaBuyArtifactsResponse = never;
|
|
64
|
+
export type { FormatReferenceStructuredObject as LegacyFormatReferenceStructuredObject, FormatReferenceStructuredObject as LegacyFormatID, } from './types/core.generated.mjs';
|
|
65
|
+
/** @deprecated Legacy creative routing identity is available as `LegacyFormatReferenceStructuredObject`. */
|
|
66
|
+
export type FormatReferenceStructuredObject = never;
|
|
67
|
+
/** @deprecated Legacy creative routing identity is available as `LegacyFormatID`. */
|
|
68
|
+
export type FormatID = never;
|
|
69
|
+
/** @deprecated Use `LegacyBuildCreativeRequest`; canonical build support awaits a canonical protocol request. */
|
|
70
|
+
export type BuildCreativeRequest = never;
|
|
71
|
+
/** @deprecated Use `LegacyBuildCreativeResponse`. */
|
|
72
|
+
export type BuildCreativeResponse = never;
|
|
73
|
+
/** @deprecated Use `LegacyPreviewCreativeRequest`. */
|
|
74
|
+
export type PreviewCreativeRequest = never;
|
|
75
|
+
/** @deprecated Use `LegacyPreviewCreativeResponse`. */
|
|
76
|
+
export type PreviewCreativeResponse = never;
|
|
77
|
+
/** @deprecated Use `LegacyBuildCreativePayload`. */
|
|
78
|
+
export type BuildCreativePayload = never;
|
|
79
|
+
/** @deprecated Use `LegacyBuildCreativeMultiPayload`. */
|
|
80
|
+
export type BuildCreativeMultiPayload = never;
|
|
81
|
+
/** @deprecated Use `LegacyPreviewCreativePayload`. */
|
|
82
|
+
export type PreviewCreativePayload = never;
|
|
83
|
+
/** @deprecated Use `LegacyListCreativeFormatsRequest`. */
|
|
84
|
+
export type ListCreativeFormatsRequest = never;
|
|
85
|
+
/** @deprecated Use `LegacyListCreativeFormatsResponse`. */
|
|
86
|
+
export type ListCreativeFormatsResponse = never;
|
|
87
|
+
/** @deprecated Use `LegacyListCreativeFormatsPayload`. */
|
|
88
|
+
export type ListCreativeFormatsPayload = never;
|
|
89
|
+
/** @deprecated Use `LegacyListCreativeFormatsResponsePayload`. */
|
|
90
|
+
export type ListCreativeFormatsResponsePayload = never;
|
|
91
|
+
/** @deprecated Use `LegacyListCreativeFormatsServerPayload`. */
|
|
92
|
+
export type ListCreativeFormatsServerPayload = never;
|
|
93
|
+
/** @deprecated Use the explicit legacy creative-agent migration types. */
|
|
94
|
+
export type CreativeManifest = never;
|
|
95
|
+
export type { ManageCreativeAssetsRequest as LegacyManageCreativeAssetsRequest, ManageCreativeAssetsResponse as LegacyManageCreativeAssetsResponse, CreateMediaBuyAsyncResponseData as LegacyCreateMediaBuyAsyncResponseData, GetProductsAsyncResponseData as LegacyGetProductsAsyncResponseData, UpdateMediaBuyAsyncResponseData as LegacyUpdateMediaBuyAsyncResponseData, SyncCreativesAsyncResponseData as LegacySyncCreativesAsyncResponseData, } from './types/adcp.mjs';
|
|
96
|
+
/** @deprecated Use `LegacyManageCreativeAssetsRequest`. */
|
|
97
|
+
export type ManageCreativeAssetsRequest = never;
|
|
98
|
+
/** @deprecated Use `LegacyManageCreativeAssetsResponse`. */
|
|
99
|
+
export type ManageCreativeAssetsResponse = never;
|
|
100
|
+
/** @deprecated Use `LegacyCreateMediaBuyAsyncResponseData`. */
|
|
101
|
+
export type CreateMediaBuyAsyncResponseData = never;
|
|
102
|
+
/** @deprecated Use `LegacyGetProductsAsyncResponseData`. */
|
|
103
|
+
export type GetProductsAsyncResponseData = never;
|
|
104
|
+
/** @deprecated Use `LegacyUpdateMediaBuyAsyncResponseData`. */
|
|
105
|
+
export type UpdateMediaBuyAsyncResponseData = never;
|
|
106
|
+
/** @deprecated Use `LegacySyncCreativesAsyncResponseData`. */
|
|
107
|
+
export type SyncCreativesAsyncResponseData = never;
|
|
108
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
109
|
+
export type ListContentStandardsRequest = never;
|
|
110
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
111
|
+
export type ListContentStandardsResponse = never;
|
|
112
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
113
|
+
export type GetContentStandardsRequest = never;
|
|
114
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
115
|
+
export type GetContentStandardsResponse = never;
|
|
116
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
117
|
+
export type CreateContentStandardsRequest = never;
|
|
118
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
119
|
+
export type CreateContentStandardsResponse = never;
|
|
120
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
121
|
+
export type UpdateContentStandardsRequest = never;
|
|
122
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
123
|
+
export type UpdateContentStandardsResponse = never;
|
|
124
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
125
|
+
export type CalibrateContentRequest = never;
|
|
126
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
127
|
+
export type CalibrateContentResponse = never;
|
|
128
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
129
|
+
export type ValidateContentDeliveryRequest = never;
|
|
130
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
131
|
+
export type ValidateContentDeliveryResponse = never;
|
|
132
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
133
|
+
export type GetCreativeFeaturesRequest = never;
|
|
134
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
135
|
+
export type GetCreativeFeaturesResponse = never;
|
|
136
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
137
|
+
export type ContentStandards = never;
|
|
138
|
+
/** @deprecated Use `LegacyArtifact` from the migration surface. */
|
|
139
|
+
export type Artifact = never;
|
|
140
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
141
|
+
export type GetRightsRequest = never;
|
|
142
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
143
|
+
export type GetRightsResponse = never;
|
|
144
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
145
|
+
export type AcquireRightsRequest = never;
|
|
146
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
147
|
+
export type AcquireRightsResponse = never;
|
|
148
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
149
|
+
export type UpdateRightsRequest = never;
|
|
150
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
151
|
+
export type UpdateRightsResponse = never;
|
|
58
152
|
export type { AccountStatus, CreativeStatus, DelegationAuthority, CatalogAction, CatalogItemStatus, MediaBuyStatus, CreativeBrief, } from './types/core.generated.mjs';
|
|
59
153
|
export type { BrandJson, AdagentsJson } from './types/wellknown-schemas.generated.mjs';
|
|
60
154
|
export { BrandJsonSchema, AdagentsJsonSchema } from './types/wellknown-schemas.generated.mjs';
|
|
61
155
|
export type { Error as TaskErrorDetail } from './types/core.generated.mjs';
|
|
62
156
|
export { STANDARD_ERROR_CODES, isStandardErrorCode, getErrorRecovery } from './types/error-codes.mjs';
|
|
63
157
|
export type { StandardErrorCode, ErrorRecovery } from './types/error-codes.mjs';
|
|
64
|
-
export { adcpError,
|
|
65
|
-
export type { AdcpErrorOptions, AdcpErrorResponse, McpToolResponse, ValidAction, CancelMediaBuyInput, AdcpTaskToolConfig, TaskStore, TaskMessageQueue, CreateTaskOptions, ToolTaskHandler, CreateTaskRequestHandlerExtra, TaskRequestHandlerExtra, CreateTaskResult, GetTaskResult, Task, ServeContext, ServeOptions, PgQueryable, PostgresTaskStoreOptions, TestControllerStore, TestControllerStoreFactory, TestControllerStoreOrFactory, ControllerScenario, SeedScenario, SeedFixtureCache, SessionContext, OnInstructionsError, MaybePromise,
|
|
158
|
+
export { adcpError, legacyCapabilitiesResponse, legacyProductsResponse, legacyMediaBuyResponse, legacyDeliveryResponse, legacyListAccountsResponse, legacyListCreativeFormatsResponse, legacyUpdateMediaBuyResponse, legacyGetMediaBuysResponse, legacyPerformanceFeedbackResponse, legacyBuildCreativeResponse, legacyBuildCreativeMultiResponse, legacyPreviewCreativeResponse, legacyCreativeDeliveryResponse, legacyListCreativesResponse, legacyListPropertyListsResponse, legacyListCollectionListsResponse, legacyListContentStandardsResponse, legacyGetPlanAuditLogsResponse, legacySyncCreativesResponse, legacyGetSignalsResponse, legacyActivateSignalResponse, legacyCancelMediaBuyResponse, legacyAcquireRightsResponse, legacyAcquireRightsAcquired, legacyAcquireRightsPendingApproval, legacyAcquireRightsRejected, legacySyncAccountsResponse, legacySyncGovernanceResponse, legacyReportUsageResponse, validActionsForStatus, MEDIA_BUY_TRANSITIONS, CREATIVE_ASSET_TRANSITIONS, isLegalMediaBuyTransition, isLegalCreativeTransition, assertMediaBuyTransition, assertCreativeTransition, getAccountMode, isSandboxOrMockAccount, assertSandboxAccount, taskToolResponse, registerAdcpTaskTool, createTaskCapableServer, InMemoryTaskStore, isTerminal, serve, UnknownHostError, hostname, resolveHost, verifyIntrospection, registerTestController, handleTestControllerRequest, TestControllerError, toMcpResponse, TOOL_INPUT_SHAPE, CONTROLLER_SCENARIOS, DISCOVERY_ARM_SCENARIOS, SEED_SCENARIOS, SESSION_ENTRY_CAP, enforceMapCap, createSeedFixtureCache, PostgresTaskStore, cleanupExpiredTasks, getMcpTasksMigration, MCP_TASKS_MIGRATION, ADCP_PRE_TRANSPORT, checkGovernance, governanceDeniedError, DEFAULT_REPORTING_CAPABILITIES, InMemoryStateStore, PostgresStateStore, getAdcpStateMigration, ADCP_STATE_MIGRATION, StateError, PatchConflictError, SESSION_KEY_FIELD, createSessionedStore, scopedStore, patchWithRetry, isPutIfMatchConflict, requireSessionKey, structuredSerialize, structuredDeserialize, createIdempotencyStore, memoryBackend, pgBackend, getIdempotencyMigration, IDEMPOTENCY_MIGRATION, cleanupExpiredIdempotency, redisBackend, createLazyBackend, hashPayload, getServeRequestContext, ADCP_SERVE_REQUEST_CONTEXT, createA2AAdapter, A2AInvocationError, MCP_APP_RESOURCE_MIME_TYPE, } from './server/index.mjs';
|
|
159
|
+
export type { AdcpErrorOptions, AdcpErrorResponse, McpToolResponse, ValidAction, CancelMediaBuyInput, AdcpTaskToolConfig, TaskStore, TaskMessageQueue, CreateTaskOptions, ToolTaskHandler, CreateTaskRequestHandlerExtra, TaskRequestHandlerExtra, CreateTaskResult, GetTaskResult, Task, ServeContext, ServeOptions, PgQueryable, PostgresTaskStoreOptions, TestControllerStore, TestControllerStoreFactory, TestControllerStoreOrFactory, ControllerScenario, SeedScenario, SeedFixtureCache, SessionContext, OnInstructionsError, MaybePromise, LegacyAdcpServerConfig, LegacyAdcpToolMap, AdcpServerToolName, AdcpCapabilitiesConfig, LegacyAdcpCustomToolConfig, McpAppUiMeta, McpAppMeta, AdcpMcpResourceDefinition, McpAppResourceCsp, McpAppResourcePermissions, McpAppResourceUiMeta, McpAppResourceMeta, McpAppResourceReadContext, AdcpLogger, LegacyHandlerContext, LegacyMediaBuyHandlers, LegacySignalsHandlers, LegacyCreativeHandlers, LegacyGovernanceHandlers, LegacyAccountHandlers, LegacyEventTrackingHandlers, LegacySponsoredIntelligenceHandlers, SignedRequestsConfig, AdcpPreTransport, AdcpServer, AdcpServerTransport, AdcpTestRequest, AdcpTestToolsCallRequest, AdcpTestResponse, CheckGovernanceOptions, GovernanceCallResult, GovernanceApproved, GovernanceDenied, GovernanceConditions, AdcpStateStore, ListOptions as StateListOptions, ListResult as StateListResult, PostgresStateStoreOptions, InMemoryStateStoreOptions, VersionedDocument, PutIfMatchResult, PatchWithRetryOptions, StateErrorCode, SessionKeyContext, IdempotencyStore, IdempotencyStoreConfig, IdempotencyBackend, IdempotencyCacheEntry, IdempotencyCheckResult, MemoryBackendOptions, PgBackendOptions, RedisBackendOptions, RedisBackendClient, RedisLikeClient, LazyBackendFactory, LazyBackendOptions, A2AAdapter, A2AAdapterOptions, A2AAgentCardOverrides, A2AMountOptions, ExpressAppLike, AccountMode, RequireCacheScopeWhenProducts, ServerPayload, GetProductsPayload, CreateMediaBuyPayload, UpdateMediaBuyPayload, GetMediaBuysPayload, GetMediaBuyDeliveryPayload, ListCreativesPayload, GetCreativeDeliveryPayload, LegacyGetProductsPayload, LegacyCreateMediaBuyPayload, LegacyUpdateMediaBuyPayload, LegacyGetMediaBuysPayload, LegacyGetMediaBuyDeliveryPayload, LegacyListCreativesPayload, LegacyGetCreativeDeliveryPayload, LegacyListCreativeFormatsPayload, LegacyListCreativeFormatsResponsePayload, LegacyListCreativeFormatsServerPayload, LegacyBuildCreativePayload, LegacyBuildCreativeMultiPayload, LegacyPreviewCreativePayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncCreativesErrorPayload, } from './server/index.mjs';
|
|
66
160
|
export { isRetryable, getRetryDelay } from './utils/retry.mjs';
|
|
67
161
|
export { decideRetry, BuyerRetryPolicy } from './utils/buyer-retry-policy.mjs';
|
|
68
162
|
export type { RetryDecision, RetryContext, RetryDecisionOverride } from './utils/buyer-retry-policy.mjs';
|
|
@@ -93,23 +187,23 @@ export declare const wireVersion: {
|
|
|
93
187
|
readonly normalize: typeof _normalize;
|
|
94
188
|
readonly validate: typeof _validate;
|
|
95
189
|
};
|
|
96
|
-
export {
|
|
190
|
+
export { getStandardFormatsLegacy, unwrapProtocolResponse, isAdcpError, isAdcpSuccess, isTerminalAdcpError, hasAdvisorySuccessPayload, getAuthoritativeMediaBuyStatus, isMediaBuyStatus, resolveTaskState, } from './utils/index.mjs';
|
|
97
191
|
export type { EffectiveTaskState, ResolvedTaskState, ResolveTaskStateOptions } from './utils/index.mjs';
|
|
98
192
|
export { injectLegacyEnvelopeStatus } from './utils/envelope-status-compat.mjs';
|
|
99
193
|
export { extractResult, type ToolCallResultLike } from './utils/index.mjs';
|
|
100
|
-
export { REQUEST_TIMEOUT, MAX_CONCURRENT,
|
|
101
|
-
export { batchPreviewProducts,
|
|
194
|
+
export { REQUEST_TIMEOUT, MAX_CONCURRENT, LEGACY_STANDARD_FORMATS } from './utils/index.mjs';
|
|
195
|
+
export { batchPreviewProducts, batchPreviewFormatsLegacy, clearPreviewCache, type PreviewResult, type LegacyPreviewResult, type BatchPreviewOptions, type PreviewCacheBackend, type PreviewCacheEntry, } from './utils/index.mjs';
|
|
102
196
|
export { detectProtocol, detectProtocolWithTimeout } from './utils/index.mjs';
|
|
103
197
|
export { A2A_CARD_PATHS, isAgentCardPath, isWellKnownAgentCardUrl, buildCardUrls, stripAgentCardPath } from './utils/index.mjs';
|
|
104
198
|
export { isCPAPricing } from './utils/index.mjs';
|
|
105
199
|
export { paginate, paginatePages, type PaginateOptions } from './utils/index.mjs';
|
|
106
|
-
export { getFormatAssets, getRequiredAssets, getOptionalAssets, getIndividualAssets, getRepeatableGroups, usesDeprecatedAssetsField, getAssetCount, hasAssets, } from './utils/format-assets.mjs';
|
|
200
|
+
export { getFormatAssets, getRequiredAssets, getOptionalAssets, getIndividualAssets, getRepeatableGroups, usesDeprecatedAssetsField, getAssetCount, hasAssets, type CanonicalFormatAssetSlot, type FormatAssetsInput, type IndividualFormatAssetSlot, type RepeatableFormatAssetGroup, } from './utils/format-assets.mjs';
|
|
107
201
|
export { Asset, imageAsset, videoAsset, audioAsset, textAsset, urlAsset, htmlAsset, javascriptAsset, cssAsset, markdownAsset, webhookAsset, } from './utils/asset-builders.mjs';
|
|
108
202
|
export { FormatAsset, imageAssetSlot, videoAssetSlot, audioAssetSlot, textAssetSlot, markdownAssetSlot, htmlAssetSlot, cssAssetSlot, javascriptAssetSlot, vastAssetSlot, daastAssetSlot, urlAssetSlot, webhookAssetSlot, briefAssetSlot, catalogAssetSlot, repeatableGroup, imageGroupAsset, videoGroupAsset, audioGroupAsset, textGroupAsset, markdownGroupAsset, htmlGroupAsset, cssGroupAsset, javascriptGroupAsset, vastGroupAsset, daastGroupAsset, urlGroupAsset, webhookGroupAsset, } from './utils/format-asset-slot-builders.mjs';
|
|
109
203
|
export { Render, urlRender, htmlRender, bothRender } from './utils/render-builders.mjs';
|
|
110
204
|
export { FormatRender, displayRender, parameterizedRender, templateRender, type DimensionsRender, type ParameterizedRender, type RenderItem, } from './utils/format-render-builders.mjs';
|
|
111
|
-
export { CanonicalFormat, type CanonicalFormatDeclaration, type
|
|
112
|
-
export {
|
|
205
|
+
export { CanonicalFormat, canonicalFormatDeclaration, type CanonicalFormatDeclaration, type CanonicalFormatDeclaration as Format, type CanonicalFormatDeclarationFields, type CanonicalFormatKind, type CanonicalFormatParams, type ProductCardDetailedFields, type ProductCardFields, } from './v2/projection/index.mjs';
|
|
206
|
+
export { toCanonicalOnlyProduct, toCanonicalOnlyResponse, packageRefsForFormatOptions, FormatOptionRefsLookupError, CreativeFormatCapabilityError, CreativeFormatProjectionError, type LegacyFormatConversionContext, type LegacyFormatConverter, legacyFormatConverterFromCatalogSnapshots, canonicalFormatLegacyResolverFromCatalogSnapshots, projectionAdaptersFromCatalogSnapshots, type ProjectionCatalogAdapters, type ProjectionCatalogSnapshot, type ProjectionCatalogSource, type CanonicalFormatLegacyResolver, type CanonicalFormatLegacyResolutionContext, type CanonicalOnlyProduct, type CanonicalCreativeAsset, type CanonicalCreativeAsset as CreativeAsset, type CanonicalCreateMediaBuyRequest, type CanonicalCreateMediaBuyRequest as CreateMediaBuyRequest, type CanonicalCreateMediaBuyResponse, type CanonicalCreateMediaBuyResponse as CreateMediaBuyResponse, type CanonicalCreativeResponse, type CanonicalCreativeFilters, type CanonicalCreativeFilters as CreativeFilters, type CanonicalGetCreativeDeliveryResponse, type CanonicalGetCreativeDeliveryResponse as GetCreativeDeliveryResponse, type CanonicalGetMediaBuyDeliveryResponse, type CanonicalGetMediaBuyDeliveryResponse as GetMediaBuyDeliveryResponse, type CanonicalGetMediaBuysResponse, type CanonicalGetMediaBuysResponse as GetMediaBuysResponse, type CanonicalGetProductsResponse as GetProductsResponse, type CanonicalGetProductsRequest, type CanonicalGetProductsRequest as GetProductsRequest, type CanonicalListCreativesRequest, type CanonicalListCreativesRequest as ListCreativesRequest, type CanonicalListCreativesResponse, type CanonicalListCreativesResponse as ListCreativesResponse, type CanonicalListedCreative, type CanonicalPackageRequest, type CanonicalPackageRequest as PackageRequest, type CanonicalPackageUpdate, type CanonicalPackageUpdate as PackageUpdate, type CanonicalPackage, type CanonicalPackage as Package, type CanonicalPlacement, type CanonicalPlacement as Placement, type CanonicalProduct, type CanonicalProduct as Product, type CanonicalProjectedCreative, type CanonicalSyncCreativesRequest, type CanonicalSyncCreativesRequest as SyncCreativesRequest, type CanonicalSyncCreativesResponse, type CanonicalSyncCreativesResponse as SyncCreativesResponse, type CanonicalUpdateMediaBuyRequest, type CanonicalUpdateMediaBuyRequest as UpdateMediaBuyRequest, type CanonicalUpdateMediaBuyResponse, type CanonicalUpdateMediaBuyResponse as UpdateMediaBuyResponse, type LegacyCreativeAsset, type CanonicalCreativeFormatSelectorContainer, type PackageFormatRefs, type ProjectionDiagnostic, type SyncCreativeFormatProjection, } from './v2/projection/index.mjs';
|
|
113
207
|
export { activationKey, segmentIdActivationKey, keyValueActivationKey } from './utils/activation-key-builders.mjs';
|
|
114
208
|
export { signalId, catalogSignalId, agentSignalId, getSignalId, getSignalIssuer } from './utils/signal-id-builders.mjs';
|
|
115
209
|
export { buildActivateSignalRequest, getSignalActivationId, getSignalPricingOptionIds, normalizeDiscoveredSignal, } from './utils/signal-discovery-helpers.mjs';
|
|
@@ -119,8 +213,8 @@ export { previewCreative, singlePreviewCreativeResponse, batchPreviewCreativeRes
|
|
|
119
213
|
export { mediaBuyDeliveryNotification, scheduledMediaBuyDeliveryNotification, finalMediaBuyDeliveryNotification, delayedMediaBuyDeliveryNotification, adjustedMediaBuyDeliveryNotification, windowUpdateMediaBuyDeliveryNotification, } from './utils/media-buy-delivery-notification-builders.mjs';
|
|
120
214
|
export { buildSyntheticCapabilities, buildSyntheticV3Capabilities, parseCapabilitiesResponse, supportsV3, supportsProtocol, supportsPropertyListFiltering, supportsContentStandards, supportsSyncCreatives, requiresOperatorAuth, requiresAccountForProducts, supportsSandbox, supportsExperimentalFeature, resolveFeature, listDeclaredFeatures, MEDIA_BUY_TOOLS, SIGNALS_TOOLS, GOVERNANCE_TOOLS, CREATIVE_TOOLS, EVENT_TRACKING_TOOLS, ACCOUNT_TOOLS, PROTOCOL_TOOLS, BRAND_RIGHTS_TOOLS, TASK_FEATURE_MAP, } from './utils/capabilities.mjs';
|
|
121
215
|
export type { AdcpCapabilities, AdcpMajorVersion, AdcpProtocol, AccountCapabilities, MediaBuyFeatures, ToolInfo, FeatureName, } from './utils/capabilities.mjs';
|
|
122
|
-
export { inlineCreativesForPackages } from './utils/creative-delivery.mjs';
|
|
123
|
-
export type { InlineCreativeAssignment, InlineCreativePackage, InlineCreativePackagePatch, InlineCreativesForPackagesOptions, } from './utils/creative-delivery.mjs';
|
|
216
|
+
export { inlineCreativesForPackages, inlineCreativesForPackagesLegacy } from './utils/creative-delivery.mjs';
|
|
217
|
+
export type { InlineCreativeAssignment, InlineCreativePackage, InlineCreativePackagePatch, InlineCreativesForPackagesOptions, InlineCreativesForPackagesLegacyOptions, LegacyInlineCreativePackage, } from './utils/creative-delivery.mjs';
|
|
124
218
|
export { adaptPackageRequestForV2, adaptCreateMediaBuyRequestForV2, adaptUpdateMediaBuyRequestForV2, normalizePackageResponse, normalizeMediaBuyResponse, usesV2CreativeIds, usesV3CreativeAssignments, getCreativeIds, getCreativeAssignments, } from './utils/creative-adapter.mjs';
|
|
125
219
|
export type { CreativeAssignment } from './utils/creative-adapter.mjs';
|
|
126
220
|
export { normalizeFormatRenders, normalizeFormatsResponse, getFormatRenders, getPrimaryRender, getCompanionRenders, isMultiRenderFormat, usesV2Dimensions, usesV3Renders, getFormatDimensions, } from './utils/format-renders.mjs';
|
|
@@ -132,8 +226,8 @@ export { getAdcpVersion, getLibraryVersion, isCompatibleWith, getCompatibleVersi
|
|
|
132
226
|
export type { AdcpVersion } from './version.mjs';
|
|
133
227
|
export { resolveAdcpVersion } from './utils/adcp-version-config.mjs';
|
|
134
228
|
export { getTracer, isTracingEnabled, injectTraceHeaders, withSpan, addSpanAttributes, recordSpanException, } from './observability/index.mjs';
|
|
135
|
-
export { Agent, AgentCollection } from './agents/index.generated.mjs';
|
|
136
|
-
export {
|
|
229
|
+
export { Agent as LegacyAgent, AgentCollection as LegacyAgentCollection } from './agents/index.generated.mjs';
|
|
230
|
+
export { LegacyContentStandardsAdapter, type LegacyIContentStandardsAdapter, type LegacyContentEvaluationResult, LegacyContentStandardsErrorCodes, isLegacyContentStandardsError, legacyDefaultContentStandardsAdapter, PropertyListAdapter, type IPropertyListAdapter, type ResolvedProperty, PropertyListErrorCodes, isPropertyListError, defaultPropertyListAdapter, SISessionManager, AISISessionManager, type ISISessionManager, type SISession, SIErrorCodes, defaultSISessionManager, GovernanceAdapter, defaultGovernanceAdapter, type IGovernanceAdapter, type GovernanceAdapterConfig, type GovernanceAdapterErrorCode, type CommittedCheckRequest, GovernanceAdapterErrorCodes, isGovernanceAdapterError, InMemoryImplicitAccountStore, defaultImplicitKeyFn, type ImplicitAccountStoreOptions, createOAuthPassthroughResolver, type OAuthPassthroughResolverOptions, createRosterAccountStore, type RosterAccountStoreOptions, createDerivedAccountStore, type DerivedAccountStoreOptions, } from './adapters/index.mjs';
|
|
137
231
|
import type { AgentConfig } from './types/index.mjs';
|
|
138
232
|
import { ADCPMultiAgentClient } from './core/ADCPMultiAgentClient.mjs';
|
|
139
233
|
/**
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ export { resolveInlinePublisherProperties, resolveSingularInline, detectInlineFe
|
|
|
14
14
|
export { fetchAgentAuthorizationsFromDirectory, type AgentAuthorizationsIterator, type FetchAgentAuthorizationsOptions, type DirectoryLookupPage, type DirectoryPublisherEntry, type DirectoryDiscoveryMethod, type DirectoryPublisherStatus, } from './discovery/agent-directory';
|
|
15
15
|
export { validateAdAgents, parseManagerDomain, type DiscoveryMethod, type AdAgentsValidationResult, type ValidateAdAgentsOptions, } from './discovery/validate-adagents';
|
|
16
16
|
export { SingleAgentClient, WebhookDispatchError, createSingleAgentClient, UnsupportedFeatureError, } from './core/SingleAgentClient';
|
|
17
|
-
export type { ClientProductPropertyPolicy, SingleAgentClientConfig, VerifyAndParseWebhookOptions, WebhookParseErrorCode, WebhookParseFailure, WebhookParseResult, WebhookParseSuccess, } from './core/SingleAgentClient';
|
|
18
|
-
export { AgentClient, type TaskResponseTypeMap, type AdcpTaskName, type InProcessAgentClientConfig, } from './core/AgentClient';
|
|
17
|
+
export type { ClientProductPropertyPolicy, CreativeDeliveryTaskOptions, SingleAgentClientConfig, SyncCreativesTaskOptions, VerifyAndParseWebhookOptions, WebhookParseErrorCode, WebhookParseFailure, WebhookParseResult, WebhookParseSuccess, } from './core/SingleAgentClient';
|
|
18
|
+
export { AgentClient, type CanonicalGetProductsResponse, type CanonicalProjectionTaskOptions, type TaskResponseTypeMap, type TaskRequestTypeMap, type TaskRequestFor, type AdcpTaskName, type InProcessAgentClientConfig, } from './core/AgentClient';
|
|
19
19
|
export { ADCPMultiAgentClient, createADCPMultiAgentClient } from './core/ADCPMultiAgentClient';
|
|
20
20
|
export { ConfigurationManager } from './core/ConfigurationManager';
|
|
21
|
-
export { CreativeAgentClient, createCreativeAgentClient, STANDARD_CREATIVE_AGENTS, type
|
|
21
|
+
export { CreativeAgentClient, createCreativeAgentClient, STANDARD_CREATIVE_AGENTS, type CreativeAgentListTaskOptions, type CreativeAgentClientConfig, type LegacyCreativeFormat, } from './core/CreativeAgentClient';
|
|
22
22
|
export { TaskExecutor } from './core/TaskExecutor';
|
|
23
23
|
export { match, attachMatch } from './core/match';
|
|
24
24
|
export type { MatchHandlers, PartialMatchHandlers } from './core/match';
|
|
@@ -53,16 +53,110 @@ export type { MutatingRequestInput } from './utils/idempotency';
|
|
|
53
53
|
export { canonicalize, canonicalJsonSha256 } from './utils/jcs';
|
|
54
54
|
export { rollupOptimizationMetricsFromProducts } from './utils/capability-rollups';
|
|
55
55
|
export * from './types';
|
|
56
|
-
export type { GetProductsRequest, GetProductsResponse, ListCreativeFormatsRequest, ListCreativeFormatsResponse, CreateMediaBuyRequest, CreateMediaBuyResponse, CreateMediaBuySuccess, CreateMediaBuyError, CreateMediaBuySubmitted, UpdateMediaBuyRequest, UpdateMediaBuyResponse, UpdateMediaBuySuccess, UpdateMediaBuyError, SyncCreativesRequest, SyncCreativesResponse, SyncCreativesSuccess, SyncCreativesError, SyncCreativesSubmitted, SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, ListCreativesRequest, ListCreativesResponse, CreativeFilters, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, GetSignalsRequest, GetSignalsResponse, ActivateSignalRequest, ActivateSignalResponse, ActivateSignalSuccess, ActivateSignalError, CpmPricing, PercentOfMediaPricing, FlatFeePricing, PerUnitPricing, CustomPricing, VendorPricing, VendorPricingOption, CPMPricingOption, VCPMPricingOption, CPCPricingOption, CPCVPricingOption, CPVPricingOption, CPPPricingOption, FlatRatePricingOption, TimeBasedPricingOption, CreatePropertyListRequest, CreatePropertyListResponse, UpdatePropertyListRequest, UpdatePropertyListResponse, GetPropertyListRequest, GetPropertyListResponse, ListPropertyListsRequest, ListPropertyListsResponse, DeletePropertyListRequest, DeletePropertyListResponse, PropertyList, PropertyListFilters, ListContentStandardsRequest, ListContentStandardsResponse, GetContentStandardsRequest, GetContentStandardsResponse, CreateContentStandardsRequest, CreateContentStandardsResponse, UpdateContentStandardsRequest, UpdateContentStandardsResponse, UpdateContentStandardsSuccess, UpdateContentStandardsError, CalibrateContentRequest, CalibrateContentResponse, ValidateContentDeliveryRequest, ValidateContentDeliveryResponse, ContentStandards, Artifact, SyncPlansRequest, SyncPlansResponse, SyncGovernanceRequest, SyncGovernanceResponse, SyncGovernanceSuccess, SyncGovernanceError, CheckGovernanceRequest, CheckGovernanceResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, PlannedDelivery, GovernancePhase, EscalationSeverity, PolicyEnforcementLevel, OutcomeType, GetCreativeFeaturesRequest, GetCreativeFeaturesResponse, SIGetOfferingRequest, SIGetOfferingResponse, SIInitiateSessionRequest, SIInitiateSessionResponse, SISendMessageRequest, SISendMessageResponse, SITerminateSessionRequest, SITerminateSessionResponse, SICapabilities, SIIdentity, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, CanceledBy, Format, Product, Proposal, ProductAllocation, PackageRequest, //
|
|
57
|
-
CreativeAsset, CreativePolicy, BrandReference, BrandID, AccountReference, CPAPricingOption, EventType, ActionSource, OptimizationGoal, ReachUnit, TargetingOverlay, OutcomeMeasurementDeprecated, OutcomeMeasurementDeprecated as OutcomeMeasurement, Duration, DeviceType, DigitalSourceType, FrequencyCap, GeographicBreakdownSupport, Catalog, CatalogType, FeedFormat, UpdateFrequency, ContentIDType, CatalogFieldMapping, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, Overlay, Placement, CreativeManifest, CreativeVariable, BuildCreativeRequest, BuildCreativeResponse, BuildCreativeSuccess, BuildCreativeMultiSuccess, BuildCreativeError, PreviewCreativeRequest, PreviewCreativeResponse, GetMediaBuysRequest, GetMediaBuysResponse, ImageAsset, VideoAsset, AudioAsset, TextAsset, URLAsset, HTMLAsset, VASTAsset, DAASTAsset, JavaScriptAsset, WebhookAsset, CSSAsset, MarkdownAsset, CatalogAsset, BriefAsset, ReferenceAsset, Provenance, PreviewOutputFormat, DisclosurePosition, EventCustomData, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse, Account, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, PaginationRequest, PaginationResponse, PackageUpdate, Package, Destination, SignalFilters, PricingOption, PriceGuidance, } from './types/tools.generated';
|
|
56
|
+
export type { GetProductsRequest as LegacyGetProductsRequest, GetProductsResponse as LegacyGetProductsResponse, ListCreativeFormatsRequest as LegacyListCreativeFormatsRequest, ListCreativeFormatsResponse as LegacyListCreativeFormatsResponse, CreateMediaBuyRequest as LegacyCreateMediaBuyRequest, CreateMediaBuyResponse as LegacyCreateMediaBuyResponse, CreateMediaBuySuccess as LegacyCreateMediaBuySuccess, CreateMediaBuyError as LegacyCreateMediaBuyError, CreateMediaBuySubmitted as LegacyCreateMediaBuySubmitted, UpdateMediaBuyRequest as LegacyUpdateMediaBuyRequest, UpdateMediaBuyResponse as LegacyUpdateMediaBuyResponse, UpdateMediaBuySuccess as LegacyUpdateMediaBuySuccess, UpdateMediaBuyError as LegacyUpdateMediaBuyError, SyncCreativesRequest as LegacySyncCreativesRequest, SyncCreativesResponse as LegacySyncCreativesResponse, SyncCreativesSuccess as LegacySyncCreativesSuccess, SyncCreativesError as LegacySyncCreativesError, SyncCreativesSubmitted as LegacySyncCreativesSubmitted, SyncAudiencesRequest, SyncAudiencesResponse, SyncAudiencesSuccess, SyncAudiencesError, ListCreativesRequest as LegacyListCreativesRequest, ListCreativesResponse as LegacyListCreativesResponse, CreativeFilters as LegacyCreativeFilters, GetMediaBuyDeliveryRequest, GetMediaBuyDeliveryResponse as LegacyGetMediaBuyDeliveryResponse, ProvidePerformanceFeedbackRequest, ProvidePerformanceFeedbackResponse, ProvidePerformanceFeedbackSuccess, ProvidePerformanceFeedbackError, GetSignalsRequest, GetSignalsResponse, ActivateSignalRequest, ActivateSignalResponse, ActivateSignalSuccess, ActivateSignalError, CpmPricing, PercentOfMediaPricing, FlatFeePricing, PerUnitPricing, CustomPricing, VendorPricing, VendorPricingOption, CPMPricingOption, VCPMPricingOption, CPCPricingOption, CPCVPricingOption, CPVPricingOption, CPPPricingOption, FlatRatePricingOption, TimeBasedPricingOption, CreatePropertyListRequest, CreatePropertyListResponse, UpdatePropertyListRequest, UpdatePropertyListResponse, GetPropertyListRequest, GetPropertyListResponse, ListPropertyListsRequest, ListPropertyListsResponse, DeletePropertyListRequest, DeletePropertyListResponse, PropertyList, PropertyListFilters, ListContentStandardsRequest as LegacyListContentStandardsRequest, ListContentStandardsResponse as LegacyListContentStandardsResponse, GetContentStandardsRequest as LegacyGetContentStandardsRequest, GetContentStandardsResponse as LegacyGetContentStandardsResponse, CreateContentStandardsRequest as LegacyCreateContentStandardsRequest, CreateContentStandardsResponse as LegacyCreateContentStandardsResponse, UpdateContentStandardsRequest as LegacyUpdateContentStandardsRequest, UpdateContentStandardsResponse as LegacyUpdateContentStandardsResponse, UpdateContentStandardsSuccess as LegacyUpdateContentStandardsSuccess, UpdateContentStandardsError as LegacyUpdateContentStandardsError, CalibrateContentRequest as LegacyCalibrateContentRequest, CalibrateContentResponse as LegacyCalibrateContentResponse, ValidateContentDeliveryRequest as LegacyValidateContentDeliveryRequest, ValidateContentDeliveryResponse as LegacyValidateContentDeliveryResponse, ContentStandards as LegacyContentStandards, Artifact as LegacyArtifact, SyncPlansRequest, SyncPlansResponse, SyncGovernanceRequest, SyncGovernanceResponse, SyncGovernanceSuccess, SyncGovernanceError, CheckGovernanceRequest, CheckGovernanceResponse, ReportPlanOutcomeRequest, ReportPlanOutcomeResponse, GetPlanAuditLogsRequest, GetPlanAuditLogsResponse, PlannedDelivery, GovernancePhase, EscalationSeverity, PolicyEnforcementLevel, OutcomeType, GetCreativeFeaturesRequest as LegacyGetCreativeFeaturesRequest, GetCreativeFeaturesResponse as LegacyGetCreativeFeaturesResponse, SIGetOfferingRequest, SIGetOfferingResponse, SIInitiateSessionRequest, SIInitiateSessionResponse, SISendMessageRequest, SISendMessageResponse, SITerminateSessionRequest, SITerminateSessionResponse, SICapabilities, SIIdentity, GetAdCPCapabilitiesRequest, GetAdCPCapabilitiesResponse, SyncEventSourcesRequest, SyncEventSourcesResponse, SyncEventSourcesSuccess, SyncEventSourcesError, LogEventRequest, LogEventResponse, LogEventSuccess, LogEventError, CanceledBy, Format as LegacyFormat, Product as LegacyProduct, Proposal, ProductAllocation, PackageRequest as LegacyPackageRequest, // Raw wire shape for migration/server tooling
|
|
57
|
+
CreativeAsset as LegacyCompatibleCreativeAsset, CreativePolicy, BrandReference, BrandID, AccountReference, CPAPricingOption, EventType, ActionSource, OptimizationGoal, ReachUnit, TargetingOverlay, OutcomeMeasurementDeprecated, OutcomeMeasurementDeprecated as OutcomeMeasurement, Duration, DeviceType, DigitalSourceType, FrequencyCap, GeographicBreakdownSupport, Catalog, CatalogType, FeedFormat, UpdateFrequency, ContentIDType, CatalogFieldMapping, SyncCatalogsRequest, SyncCatalogsResponse, SyncCatalogsSuccess, SyncCatalogsError, Overlay, Placement as LegacyPlacement, CreativeManifest as LegacyCreativeManifest, CreativeVariable, BuildCreativeRequest as LegacyBuildCreativeRequest, BuildCreativeResponse as LegacyBuildCreativeResponse, BuildCreativeSuccess as LegacyBuildCreativeSuccess, BuildCreativeMultiSuccess as LegacyBuildCreativeMultiSuccess, BuildCreativeError as LegacyBuildCreativeError, PreviewCreativeRequest as LegacyPreviewCreativeRequest, PreviewCreativeResponse as LegacyPreviewCreativeResponse, GetMediaBuysRequest, GetMediaBuysResponse as LegacyGetMediaBuysResponse, ImageAsset, VideoAsset, AudioAsset, TextAsset, URLAsset, HTMLAsset, VASTAsset, DAASTAsset, JavaScriptAsset, WebhookAsset, CSSAsset, MarkdownAsset, CatalogAsset, BriefAsset, ReferenceAsset, Provenance, PreviewOutputFormat, DisclosurePosition, EventCustomData, GetCreativeDeliveryRequest, GetCreativeDeliveryResponse as LegacyGetCreativeDeliveryResponse, Account, ListAccountsRequest, ListAccountsResponse, SyncAccountsRequest, SyncAccountsResponse, SyncAccountsSuccess, SyncAccountsError, GetAccountFinancialsRequest, GetAccountFinancialsResponse, GetAccountFinancialsSuccess, GetAccountFinancialsError, PaginationRequest, PaginationResponse, PackageUpdate as LegacyPackageUpdate, Package as LegacyPackage, Destination, SignalFilters, PricingOption, PriceGuidance, } from './types/tools.generated';
|
|
58
|
+
export type { GetMediaBuyArtifactsRequest as LegacyGetMediaBuyArtifactsRequest, GetMediaBuyArtifactsResponse as LegacyGetMediaBuyArtifactsResponse, } from './types/tools.generated';
|
|
59
|
+
export type { GetRightsRequest as LegacyGetRightsRequest, GetRightsResponse as LegacyGetRightsResponse, AcquireRightsRequest as LegacyAcquireRightsRequest, AcquireRightsResponse as LegacyAcquireRightsResponse, UpdateRightsRequest as LegacyUpdateRightsRequest, UpdateRightsResponse as LegacyUpdateRightsResponse, } from './types/core.generated';
|
|
60
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
61
|
+
export type GetMediaBuyArtifactsRequest = never;
|
|
62
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
63
|
+
export type GetMediaBuyArtifactsResponse = never;
|
|
64
|
+
export type { FormatReferenceStructuredObject as LegacyFormatReferenceStructuredObject, FormatReferenceStructuredObject as LegacyFormatID, } from './types/core.generated';
|
|
65
|
+
/** @deprecated Legacy creative routing identity is available as `LegacyFormatReferenceStructuredObject`. */
|
|
66
|
+
export type FormatReferenceStructuredObject = never;
|
|
67
|
+
/** @deprecated Legacy creative routing identity is available as `LegacyFormatID`. */
|
|
68
|
+
export type FormatID = never;
|
|
69
|
+
/** @deprecated Use `LegacyBuildCreativeRequest`; canonical build support awaits a canonical protocol request. */
|
|
70
|
+
export type BuildCreativeRequest = never;
|
|
71
|
+
/** @deprecated Use `LegacyBuildCreativeResponse`. */
|
|
72
|
+
export type BuildCreativeResponse = never;
|
|
73
|
+
/** @deprecated Use `LegacyPreviewCreativeRequest`. */
|
|
74
|
+
export type PreviewCreativeRequest = never;
|
|
75
|
+
/** @deprecated Use `LegacyPreviewCreativeResponse`. */
|
|
76
|
+
export type PreviewCreativeResponse = never;
|
|
77
|
+
/** @deprecated Use `LegacyBuildCreativePayload`. */
|
|
78
|
+
export type BuildCreativePayload = never;
|
|
79
|
+
/** @deprecated Use `LegacyBuildCreativeMultiPayload`. */
|
|
80
|
+
export type BuildCreativeMultiPayload = never;
|
|
81
|
+
/** @deprecated Use `LegacyPreviewCreativePayload`. */
|
|
82
|
+
export type PreviewCreativePayload = never;
|
|
83
|
+
/** @deprecated Use `LegacyListCreativeFormatsRequest`. */
|
|
84
|
+
export type ListCreativeFormatsRequest = never;
|
|
85
|
+
/** @deprecated Use `LegacyListCreativeFormatsResponse`. */
|
|
86
|
+
export type ListCreativeFormatsResponse = never;
|
|
87
|
+
/** @deprecated Use `LegacyListCreativeFormatsPayload`. */
|
|
88
|
+
export type ListCreativeFormatsPayload = never;
|
|
89
|
+
/** @deprecated Use `LegacyListCreativeFormatsResponsePayload`. */
|
|
90
|
+
export type ListCreativeFormatsResponsePayload = never;
|
|
91
|
+
/** @deprecated Use `LegacyListCreativeFormatsServerPayload`. */
|
|
92
|
+
export type ListCreativeFormatsServerPayload = never;
|
|
93
|
+
/** @deprecated Use the explicit legacy creative-agent migration types. */
|
|
94
|
+
export type CreativeManifest = never;
|
|
95
|
+
export type { ManageCreativeAssetsRequest as LegacyManageCreativeAssetsRequest, ManageCreativeAssetsResponse as LegacyManageCreativeAssetsResponse, CreateMediaBuyAsyncResponseData as LegacyCreateMediaBuyAsyncResponseData, GetProductsAsyncResponseData as LegacyGetProductsAsyncResponseData, UpdateMediaBuyAsyncResponseData as LegacyUpdateMediaBuyAsyncResponseData, SyncCreativesAsyncResponseData as LegacySyncCreativesAsyncResponseData, } from './types/adcp';
|
|
96
|
+
/** @deprecated Use `LegacyManageCreativeAssetsRequest`. */
|
|
97
|
+
export type ManageCreativeAssetsRequest = never;
|
|
98
|
+
/** @deprecated Use `LegacyManageCreativeAssetsResponse`. */
|
|
99
|
+
export type ManageCreativeAssetsResponse = never;
|
|
100
|
+
/** @deprecated Use `LegacyCreateMediaBuyAsyncResponseData`. */
|
|
101
|
+
export type CreateMediaBuyAsyncResponseData = never;
|
|
102
|
+
/** @deprecated Use `LegacyGetProductsAsyncResponseData`. */
|
|
103
|
+
export type GetProductsAsyncResponseData = never;
|
|
104
|
+
/** @deprecated Use `LegacyUpdateMediaBuyAsyncResponseData`. */
|
|
105
|
+
export type UpdateMediaBuyAsyncResponseData = never;
|
|
106
|
+
/** @deprecated Use `LegacySyncCreativesAsyncResponseData`. */
|
|
107
|
+
export type SyncCreativesAsyncResponseData = never;
|
|
108
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
109
|
+
export type ListContentStandardsRequest = never;
|
|
110
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
111
|
+
export type ListContentStandardsResponse = never;
|
|
112
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
113
|
+
export type GetContentStandardsRequest = never;
|
|
114
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
115
|
+
export type GetContentStandardsResponse = never;
|
|
116
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
117
|
+
export type CreateContentStandardsRequest = never;
|
|
118
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
119
|
+
export type CreateContentStandardsResponse = never;
|
|
120
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
121
|
+
export type UpdateContentStandardsRequest = never;
|
|
122
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
123
|
+
export type UpdateContentStandardsResponse = never;
|
|
124
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
125
|
+
export type CalibrateContentRequest = never;
|
|
126
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
127
|
+
export type CalibrateContentResponse = never;
|
|
128
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
129
|
+
export type ValidateContentDeliveryRequest = never;
|
|
130
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
131
|
+
export type ValidateContentDeliveryResponse = never;
|
|
132
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
133
|
+
export type GetCreativeFeaturesRequest = never;
|
|
134
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
135
|
+
export type GetCreativeFeaturesResponse = never;
|
|
136
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
137
|
+
export type ContentStandards = never;
|
|
138
|
+
/** @deprecated Use `LegacyArtifact` from the migration surface. */
|
|
139
|
+
export type Artifact = never;
|
|
140
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
141
|
+
export type GetRightsRequest = never;
|
|
142
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
143
|
+
export type GetRightsResponse = never;
|
|
144
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
145
|
+
export type AcquireRightsRequest = never;
|
|
146
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
147
|
+
export type AcquireRightsResponse = never;
|
|
148
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
149
|
+
export type UpdateRightsRequest = never;
|
|
150
|
+
/** @deprecated Use the corresponding explicit `Legacy*` migration type. */
|
|
151
|
+
export type UpdateRightsResponse = never;
|
|
58
152
|
export type { AccountStatus, CreativeStatus, DelegationAuthority, CatalogAction, CatalogItemStatus, MediaBuyStatus, CreativeBrief, } from './types/core.generated';
|
|
59
153
|
export type { BrandJson, AdagentsJson } from './types/wellknown-schemas.generated';
|
|
60
154
|
export { BrandJsonSchema, AdagentsJsonSchema } from './types/wellknown-schemas.generated';
|
|
61
155
|
export type { Error as TaskErrorDetail } from './types/core.generated';
|
|
62
156
|
export { STANDARD_ERROR_CODES, isStandardErrorCode, getErrorRecovery } from './types/error-codes';
|
|
63
157
|
export type { StandardErrorCode, ErrorRecovery } from './types/error-codes';
|
|
64
|
-
export { adcpError,
|
|
65
|
-
export type { AdcpErrorOptions, AdcpErrorResponse, McpToolResponse, ValidAction, CancelMediaBuyInput, AdcpTaskToolConfig, TaskStore, TaskMessageQueue, CreateTaskOptions, ToolTaskHandler, CreateTaskRequestHandlerExtra, TaskRequestHandlerExtra, CreateTaskResult, GetTaskResult, Task, ServeContext, ServeOptions, PgQueryable, PostgresTaskStoreOptions, TestControllerStore, TestControllerStoreFactory, TestControllerStoreOrFactory, ControllerScenario, SeedScenario, SeedFixtureCache, SessionContext, OnInstructionsError, MaybePromise,
|
|
158
|
+
export { adcpError, legacyCapabilitiesResponse, legacyProductsResponse, legacyMediaBuyResponse, legacyDeliveryResponse, legacyListAccountsResponse, legacyListCreativeFormatsResponse, legacyUpdateMediaBuyResponse, legacyGetMediaBuysResponse, legacyPerformanceFeedbackResponse, legacyBuildCreativeResponse, legacyBuildCreativeMultiResponse, legacyPreviewCreativeResponse, legacyCreativeDeliveryResponse, legacyListCreativesResponse, legacyListPropertyListsResponse, legacyListCollectionListsResponse, legacyListContentStandardsResponse, legacyGetPlanAuditLogsResponse, legacySyncCreativesResponse, legacyGetSignalsResponse, legacyActivateSignalResponse, legacyCancelMediaBuyResponse, legacyAcquireRightsResponse, legacyAcquireRightsAcquired, legacyAcquireRightsPendingApproval, legacyAcquireRightsRejected, legacySyncAccountsResponse, legacySyncGovernanceResponse, legacyReportUsageResponse, validActionsForStatus, MEDIA_BUY_TRANSITIONS, CREATIVE_ASSET_TRANSITIONS, isLegalMediaBuyTransition, isLegalCreativeTransition, assertMediaBuyTransition, assertCreativeTransition, getAccountMode, isSandboxOrMockAccount, assertSandboxAccount, taskToolResponse, registerAdcpTaskTool, createTaskCapableServer, InMemoryTaskStore, isTerminal, serve, UnknownHostError, hostname, resolveHost, verifyIntrospection, registerTestController, handleTestControllerRequest, TestControllerError, toMcpResponse, TOOL_INPUT_SHAPE, CONTROLLER_SCENARIOS, DISCOVERY_ARM_SCENARIOS, SEED_SCENARIOS, SESSION_ENTRY_CAP, enforceMapCap, createSeedFixtureCache, PostgresTaskStore, cleanupExpiredTasks, getMcpTasksMigration, MCP_TASKS_MIGRATION, ADCP_PRE_TRANSPORT, checkGovernance, governanceDeniedError, DEFAULT_REPORTING_CAPABILITIES, InMemoryStateStore, PostgresStateStore, getAdcpStateMigration, ADCP_STATE_MIGRATION, StateError, PatchConflictError, SESSION_KEY_FIELD, createSessionedStore, scopedStore, patchWithRetry, isPutIfMatchConflict, requireSessionKey, structuredSerialize, structuredDeserialize, createIdempotencyStore, memoryBackend, pgBackend, getIdempotencyMigration, IDEMPOTENCY_MIGRATION, cleanupExpiredIdempotency, redisBackend, createLazyBackend, hashPayload, getServeRequestContext, ADCP_SERVE_REQUEST_CONTEXT, createA2AAdapter, A2AInvocationError, MCP_APP_RESOURCE_MIME_TYPE, } from './server';
|
|
159
|
+
export type { AdcpErrorOptions, AdcpErrorResponse, McpToolResponse, ValidAction, CancelMediaBuyInput, AdcpTaskToolConfig, TaskStore, TaskMessageQueue, CreateTaskOptions, ToolTaskHandler, CreateTaskRequestHandlerExtra, TaskRequestHandlerExtra, CreateTaskResult, GetTaskResult, Task, ServeContext, ServeOptions, PgQueryable, PostgresTaskStoreOptions, TestControllerStore, TestControllerStoreFactory, TestControllerStoreOrFactory, ControllerScenario, SeedScenario, SeedFixtureCache, SessionContext, OnInstructionsError, MaybePromise, LegacyAdcpServerConfig, LegacyAdcpToolMap, AdcpServerToolName, AdcpCapabilitiesConfig, LegacyAdcpCustomToolConfig, McpAppUiMeta, McpAppMeta, AdcpMcpResourceDefinition, McpAppResourceCsp, McpAppResourcePermissions, McpAppResourceUiMeta, McpAppResourceMeta, McpAppResourceReadContext, AdcpLogger, LegacyHandlerContext, LegacyMediaBuyHandlers, LegacySignalsHandlers, LegacyCreativeHandlers, LegacyGovernanceHandlers, LegacyAccountHandlers, LegacyEventTrackingHandlers, LegacySponsoredIntelligenceHandlers, SignedRequestsConfig, AdcpPreTransport, AdcpServer, AdcpServerTransport, AdcpTestRequest, AdcpTestToolsCallRequest, AdcpTestResponse, CheckGovernanceOptions, GovernanceCallResult, GovernanceApproved, GovernanceDenied, GovernanceConditions, AdcpStateStore, ListOptions as StateListOptions, ListResult as StateListResult, PostgresStateStoreOptions, InMemoryStateStoreOptions, VersionedDocument, PutIfMatchResult, PatchWithRetryOptions, StateErrorCode, SessionKeyContext, IdempotencyStore, IdempotencyStoreConfig, IdempotencyBackend, IdempotencyCacheEntry, IdempotencyCheckResult, MemoryBackendOptions, PgBackendOptions, RedisBackendOptions, RedisBackendClient, RedisLikeClient, LazyBackendFactory, LazyBackendOptions, A2AAdapter, A2AAdapterOptions, A2AAgentCardOverrides, A2AMountOptions, ExpressAppLike, AccountMode, RequireCacheScopeWhenProducts, ServerPayload, GetProductsPayload, CreateMediaBuyPayload, UpdateMediaBuyPayload, GetMediaBuysPayload, GetMediaBuyDeliveryPayload, ListCreativesPayload, GetCreativeDeliveryPayload, LegacyGetProductsPayload, LegacyCreateMediaBuyPayload, LegacyUpdateMediaBuyPayload, LegacyGetMediaBuysPayload, LegacyGetMediaBuyDeliveryPayload, LegacyListCreativesPayload, LegacyGetCreativeDeliveryPayload, LegacyListCreativeFormatsPayload, LegacyListCreativeFormatsResponsePayload, LegacyListCreativeFormatsServerPayload, LegacyBuildCreativePayload, LegacyBuildCreativeMultiPayload, LegacyPreviewCreativePayload, SyncCreativesPayload, SyncCreativesSuccessPayload, SyncCreativesErrorPayload, } from './server';
|
|
66
160
|
export { isRetryable, getRetryDelay } from './utils/retry';
|
|
67
161
|
export { decideRetry, BuyerRetryPolicy } from './utils/buyer-retry-policy';
|
|
68
162
|
export type { RetryDecision, RetryContext, RetryDecisionOverride } from './utils/buyer-retry-policy';
|
|
@@ -93,23 +187,23 @@ export declare const wireVersion: {
|
|
|
93
187
|
readonly normalize: typeof _normalize;
|
|
94
188
|
readonly validate: typeof _validate;
|
|
95
189
|
};
|
|
96
|
-
export {
|
|
190
|
+
export { getStandardFormatsLegacy, unwrapProtocolResponse, isAdcpError, isAdcpSuccess, isTerminalAdcpError, hasAdvisorySuccessPayload, getAuthoritativeMediaBuyStatus, isMediaBuyStatus, resolveTaskState, } from './utils';
|
|
97
191
|
export type { EffectiveTaskState, ResolvedTaskState, ResolveTaskStateOptions } from './utils';
|
|
98
192
|
export { injectLegacyEnvelopeStatus } from './utils/envelope-status-compat';
|
|
99
193
|
export { extractResult, type ToolCallResultLike } from './utils';
|
|
100
|
-
export { REQUEST_TIMEOUT, MAX_CONCURRENT,
|
|
101
|
-
export { batchPreviewProducts,
|
|
194
|
+
export { REQUEST_TIMEOUT, MAX_CONCURRENT, LEGACY_STANDARD_FORMATS } from './utils';
|
|
195
|
+
export { batchPreviewProducts, batchPreviewFormatsLegacy, clearPreviewCache, type PreviewResult, type LegacyPreviewResult, type BatchPreviewOptions, type PreviewCacheBackend, type PreviewCacheEntry, } from './utils';
|
|
102
196
|
export { detectProtocol, detectProtocolWithTimeout } from './utils';
|
|
103
197
|
export { A2A_CARD_PATHS, isAgentCardPath, isWellKnownAgentCardUrl, buildCardUrls, stripAgentCardPath } from './utils';
|
|
104
198
|
export { isCPAPricing } from './utils';
|
|
105
199
|
export { paginate, paginatePages, type PaginateOptions } from './utils';
|
|
106
|
-
export { getFormatAssets, getRequiredAssets, getOptionalAssets, getIndividualAssets, getRepeatableGroups, usesDeprecatedAssetsField, getAssetCount, hasAssets, } from './utils/format-assets';
|
|
200
|
+
export { getFormatAssets, getRequiredAssets, getOptionalAssets, getIndividualAssets, getRepeatableGroups, usesDeprecatedAssetsField, getAssetCount, hasAssets, type CanonicalFormatAssetSlot, type FormatAssetsInput, type IndividualFormatAssetSlot, type RepeatableFormatAssetGroup, } from './utils/format-assets';
|
|
107
201
|
export { Asset, imageAsset, videoAsset, audioAsset, textAsset, urlAsset, htmlAsset, javascriptAsset, cssAsset, markdownAsset, webhookAsset, } from './utils/asset-builders';
|
|
108
202
|
export { FormatAsset, imageAssetSlot, videoAssetSlot, audioAssetSlot, textAssetSlot, markdownAssetSlot, htmlAssetSlot, cssAssetSlot, javascriptAssetSlot, vastAssetSlot, daastAssetSlot, urlAssetSlot, webhookAssetSlot, briefAssetSlot, catalogAssetSlot, repeatableGroup, imageGroupAsset, videoGroupAsset, audioGroupAsset, textGroupAsset, markdownGroupAsset, htmlGroupAsset, cssGroupAsset, javascriptGroupAsset, vastGroupAsset, daastGroupAsset, urlGroupAsset, webhookGroupAsset, } from './utils/format-asset-slot-builders';
|
|
109
203
|
export { Render, urlRender, htmlRender, bothRender } from './utils/render-builders';
|
|
110
204
|
export { FormatRender, displayRender, parameterizedRender, templateRender, type DimensionsRender, type ParameterizedRender, type RenderItem, } from './utils/format-render-builders';
|
|
111
|
-
export { CanonicalFormat, type CanonicalFormatDeclaration, type
|
|
112
|
-
export {
|
|
205
|
+
export { CanonicalFormat, canonicalFormatDeclaration, type CanonicalFormatDeclaration, type CanonicalFormatDeclaration as Format, type CanonicalFormatDeclarationFields, type CanonicalFormatKind, type CanonicalFormatParams, type ProductCardDetailedFields, type ProductCardFields, } from './v2/projection';
|
|
206
|
+
export { toCanonicalOnlyProduct, toCanonicalOnlyResponse, packageRefsForFormatOptions, FormatOptionRefsLookupError, CreativeFormatCapabilityError, CreativeFormatProjectionError, type LegacyFormatConversionContext, type LegacyFormatConverter, legacyFormatConverterFromCatalogSnapshots, canonicalFormatLegacyResolverFromCatalogSnapshots, projectionAdaptersFromCatalogSnapshots, type ProjectionCatalogAdapters, type ProjectionCatalogSnapshot, type ProjectionCatalogSource, type CanonicalFormatLegacyResolver, type CanonicalFormatLegacyResolutionContext, type CanonicalOnlyProduct, type CanonicalCreativeAsset, type CanonicalCreativeAsset as CreativeAsset, type CanonicalCreateMediaBuyRequest, type CanonicalCreateMediaBuyRequest as CreateMediaBuyRequest, type CanonicalCreateMediaBuyResponse, type CanonicalCreateMediaBuyResponse as CreateMediaBuyResponse, type CanonicalCreativeResponse, type CanonicalCreativeFilters, type CanonicalCreativeFilters as CreativeFilters, type CanonicalGetCreativeDeliveryResponse, type CanonicalGetCreativeDeliveryResponse as GetCreativeDeliveryResponse, type CanonicalGetMediaBuyDeliveryResponse, type CanonicalGetMediaBuyDeliveryResponse as GetMediaBuyDeliveryResponse, type CanonicalGetMediaBuysResponse, type CanonicalGetMediaBuysResponse as GetMediaBuysResponse, type CanonicalGetProductsResponse as GetProductsResponse, type CanonicalGetProductsRequest, type CanonicalGetProductsRequest as GetProductsRequest, type CanonicalListCreativesRequest, type CanonicalListCreativesRequest as ListCreativesRequest, type CanonicalListCreativesResponse, type CanonicalListCreativesResponse as ListCreativesResponse, type CanonicalListedCreative, type CanonicalPackageRequest, type CanonicalPackageRequest as PackageRequest, type CanonicalPackageUpdate, type CanonicalPackageUpdate as PackageUpdate, type CanonicalPackage, type CanonicalPackage as Package, type CanonicalPlacement, type CanonicalPlacement as Placement, type CanonicalProduct, type CanonicalProduct as Product, type CanonicalProjectedCreative, type CanonicalSyncCreativesRequest, type CanonicalSyncCreativesRequest as SyncCreativesRequest, type CanonicalSyncCreativesResponse, type CanonicalSyncCreativesResponse as SyncCreativesResponse, type CanonicalUpdateMediaBuyRequest, type CanonicalUpdateMediaBuyRequest as UpdateMediaBuyRequest, type CanonicalUpdateMediaBuyResponse, type CanonicalUpdateMediaBuyResponse as UpdateMediaBuyResponse, type LegacyCreativeAsset, type CanonicalCreativeFormatSelectorContainer, type PackageFormatRefs, type ProjectionDiagnostic, type SyncCreativeFormatProjection, } from './v2/projection';
|
|
113
207
|
export { activationKey, segmentIdActivationKey, keyValueActivationKey } from './utils/activation-key-builders';
|
|
114
208
|
export { signalId, catalogSignalId, agentSignalId, getSignalId, getSignalIssuer } from './utils/signal-id-builders';
|
|
115
209
|
export { buildActivateSignalRequest, getSignalActivationId, getSignalPricingOptionIds, normalizeDiscoveredSignal, } from './utils/signal-discovery-helpers';
|
|
@@ -119,8 +213,8 @@ export { previewCreative, singlePreviewCreativeResponse, batchPreviewCreativeRes
|
|
|
119
213
|
export { mediaBuyDeliveryNotification, scheduledMediaBuyDeliveryNotification, finalMediaBuyDeliveryNotification, delayedMediaBuyDeliveryNotification, adjustedMediaBuyDeliveryNotification, windowUpdateMediaBuyDeliveryNotification, } from './utils/media-buy-delivery-notification-builders';
|
|
120
214
|
export { buildSyntheticCapabilities, buildSyntheticV3Capabilities, parseCapabilitiesResponse, supportsV3, supportsProtocol, supportsPropertyListFiltering, supportsContentStandards, supportsSyncCreatives, requiresOperatorAuth, requiresAccountForProducts, supportsSandbox, supportsExperimentalFeature, resolveFeature, listDeclaredFeatures, MEDIA_BUY_TOOLS, SIGNALS_TOOLS, GOVERNANCE_TOOLS, CREATIVE_TOOLS, EVENT_TRACKING_TOOLS, ACCOUNT_TOOLS, PROTOCOL_TOOLS, BRAND_RIGHTS_TOOLS, TASK_FEATURE_MAP, } from './utils/capabilities';
|
|
121
215
|
export type { AdcpCapabilities, AdcpMajorVersion, AdcpProtocol, AccountCapabilities, MediaBuyFeatures, ToolInfo, FeatureName, } from './utils/capabilities';
|
|
122
|
-
export { inlineCreativesForPackages } from './utils/creative-delivery';
|
|
123
|
-
export type { InlineCreativeAssignment, InlineCreativePackage, InlineCreativePackagePatch, InlineCreativesForPackagesOptions, } from './utils/creative-delivery';
|
|
216
|
+
export { inlineCreativesForPackages, inlineCreativesForPackagesLegacy } from './utils/creative-delivery';
|
|
217
|
+
export type { InlineCreativeAssignment, InlineCreativePackage, InlineCreativePackagePatch, InlineCreativesForPackagesOptions, InlineCreativesForPackagesLegacyOptions, LegacyInlineCreativePackage, } from './utils/creative-delivery';
|
|
124
218
|
export { adaptPackageRequestForV2, adaptCreateMediaBuyRequestForV2, adaptUpdateMediaBuyRequestForV2, normalizePackageResponse, normalizeMediaBuyResponse, usesV2CreativeIds, usesV3CreativeAssignments, getCreativeIds, getCreativeAssignments, } from './utils/creative-adapter';
|
|
125
219
|
export type { CreativeAssignment } from './utils/creative-adapter';
|
|
126
220
|
export { normalizeFormatRenders, normalizeFormatsResponse, getFormatRenders, getPrimaryRender, getCompanionRenders, isMultiRenderFormat, usesV2Dimensions, usesV3Renders, getFormatDimensions, } from './utils/format-renders';
|
|
@@ -132,8 +226,8 @@ export { getAdcpVersion, getLibraryVersion, isCompatibleWith, getCompatibleVersi
|
|
|
132
226
|
export type { AdcpVersion } from './version';
|
|
133
227
|
export { resolveAdcpVersion } from './utils/adcp-version-config';
|
|
134
228
|
export { getTracer, isTracingEnabled, injectTraceHeaders, withSpan, addSpanAttributes, recordSpanException, } from './observability';
|
|
135
|
-
export { Agent, AgentCollection } from './agents/index.generated';
|
|
136
|
-
export {
|
|
229
|
+
export { Agent as LegacyAgent, AgentCollection as LegacyAgentCollection } from './agents/index.generated';
|
|
230
|
+
export { LegacyContentStandardsAdapter, type LegacyIContentStandardsAdapter, type LegacyContentEvaluationResult, LegacyContentStandardsErrorCodes, isLegacyContentStandardsError, legacyDefaultContentStandardsAdapter, PropertyListAdapter, type IPropertyListAdapter, type ResolvedProperty, PropertyListErrorCodes, isPropertyListError, defaultPropertyListAdapter, SISessionManager, AISISessionManager, type ISISessionManager, type SISession, SIErrorCodes, defaultSISessionManager, GovernanceAdapter, defaultGovernanceAdapter, type IGovernanceAdapter, type GovernanceAdapterConfig, type GovernanceAdapterErrorCode, type CommittedCheckRequest, GovernanceAdapterErrorCodes, isGovernanceAdapterError, InMemoryImplicitAccountStore, defaultImplicitKeyFn, type ImplicitAccountStoreOptions, createOAuthPassthroughResolver, type OAuthPassthroughResolverOptions, createRosterAccountStore, type RosterAccountStoreOptions, createDerivedAccountStore, type DerivedAccountStoreOptions, } from './adapters';
|
|
137
231
|
import type { AgentConfig } from './types';
|
|
138
232
|
import { ADCPMultiAgentClient } from './core/ADCPMultiAgentClient';
|
|
139
233
|
/**
|