@adcp/sdk 16.0.0-beta.7 → 16.0.0-beta.9
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/AGENTS.md +3 -3
- package/README.md +20 -0
- package/bin/adcp.js +10 -13
- package/dist/lib/conformance/index.d.mts +2 -0
- package/dist/lib/conformance/index.d.ts +2 -0
- package/dist/lib/conformance/index.js +3 -0
- package/dist/lib/conformance/index.mjs +2 -0
- package/dist/lib/conformance/property-lists.d.mts +14 -0
- package/dist/lib/conformance/property-lists.d.ts +14 -0
- package/dist/lib/conformance/property-lists.js +45 -0
- package/dist/lib/conformance/property-lists.mjs +21 -0
- package/dist/lib/conformance/runConformance.js +20 -1
- package/dist/lib/conformance/runConformance.mjs +20 -1
- package/dist/lib/conformance/types.d.mts +3 -0
- package/dist/lib/conformance/types.d.ts +3 -0
- package/dist/lib/core/AgentClient.d.mts +8 -5
- package/dist/lib/core/AgentClient.d.ts +8 -5
- package/dist/lib/core/AgentClient.js +9 -4
- package/dist/lib/core/AgentClient.mjs +9 -4
- package/dist/lib/core/SingleAgentClient.d.mts +32 -115
- package/dist/lib/core/SingleAgentClient.d.ts +32 -115
- package/dist/lib/core/SingleAgentClient.js +379 -273
- package/dist/lib/core/SingleAgentClient.mjs +387 -275
- package/dist/lib/core/TaskExecutor.d.mts +1 -16
- package/dist/lib/core/TaskExecutor.d.ts +1 -16
- package/dist/lib/core/TaskExecutor.js +34 -51
- package/dist/lib/core/TaskExecutor.mjs +12 -29
- package/dist/lib/core/product-cache.d.mts +3 -1
- package/dist/lib/core/product-cache.d.ts +3 -1
- package/dist/lib/core/product-cache.js +2 -1
- package/dist/lib/core/product-cache.mjs +2 -1
- package/dist/lib/errors/index.d.mts +2 -8
- package/dist/lib/errors/index.d.ts +2 -8
- package/dist/lib/errors/index.js +4 -4
- package/dist/lib/errors/index.mjs +4 -4
- package/dist/lib/identifiers.d.mts +53 -0
- package/dist/lib/identifiers.d.ts +53 -0
- package/dist/lib/identifiers.js +212 -0
- package/dist/lib/identifiers.mjs +163 -0
- package/dist/lib/index.d.mts +7 -5
- package/dist/lib/index.d.ts +7 -5
- package/dist/lib/index.js +2 -14
- package/dist/lib/index.mjs +1 -14
- package/dist/lib/media-buy/compatibility.d.mts +1 -1
- package/dist/lib/media-buy/compatibility.d.ts +1 -1
- package/dist/lib/media-buy/compatibility.js +26 -45
- package/dist/lib/media-buy/compatibility.mjs +26 -45
- package/dist/lib/media-buy/index.d.mts +1 -1
- package/dist/lib/media-buy/index.d.ts +1 -1
- package/dist/lib/media-buy/legacy-purchase-continuation.d.mts +2 -2
- package/dist/lib/media-buy/legacy-purchase-continuation.d.ts +2 -2
- package/dist/lib/media-buy/property-policy.d.mts +15 -1
- package/dist/lib/media-buy/property-policy.d.ts +15 -1
- package/dist/lib/media-buy/property-policy.js +135 -3
- package/dist/lib/media-buy/property-policy.mjs +134 -3
- package/dist/lib/protocols/index.js +14 -22
- package/dist/lib/protocols/index.mjs +5 -13
- package/dist/lib/registry/index.d.mts +12 -0
- package/dist/lib/registry/index.d.ts +12 -0
- package/dist/lib/registry/index.js +159 -5
- package/dist/lib/registry/index.mjs +156 -4
- package/dist/lib/registry/types.d.mts +26 -2
- package/dist/lib/registry/types.d.ts +26 -2
- package/dist/lib/registry/types.generated.d.mts +51 -11
- package/dist/lib/registry/types.generated.d.ts +51 -11
- package/dist/lib/reporting/source/conformance.d.mts +8 -8
- package/dist/lib/reporting/source/conformance.d.ts +8 -8
- package/dist/lib/reporting/source/manifest.d.mts +27 -27
- package/dist/lib/reporting/source/manifest.d.ts +27 -27
- package/dist/lib/server/create-adcp-server.js +6 -0
- package/dist/lib/server/create-adcp-server.mjs +6 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.mts +4 -4
- package/dist/lib/server/decisioning/specialisms/lists.d.ts +4 -4
- package/dist/lib/server/index.d.mts +3 -0
- package/dist/lib/server/index.d.ts +3 -0
- package/dist/lib/server/index.js +8 -1
- package/dist/lib/server/index.mjs +4 -0
- package/dist/lib/server/property-lists.d.mts +36 -0
- package/dist/lib/server/property-lists.d.ts +36 -0
- package/dist/lib/server/property-lists.js +154 -0
- package/dist/lib/server/property-lists.mjs +129 -0
- package/dist/lib/server/targeting-helpers.d.mts +2 -0
- package/dist/lib/server/targeting-helpers.d.ts +2 -0
- package/dist/lib/server/targeting-helpers.js +28 -1
- package/dist/lib/server/targeting-helpers.mjs +18 -1
- package/dist/lib/signing/parser.js +2 -2
- package/dist/lib/signing/parser.mjs +2 -2
- package/dist/lib/signing/server.d.mts +1 -1
- package/dist/lib/signing/server.d.ts +1 -1
- package/dist/lib/signing/server.mjs +5 -1
- package/dist/lib/signing/webhook-verifier.d.mts +11 -0
- package/dist/lib/signing/webhook-verifier.d.ts +11 -0
- package/dist/lib/signing/webhook-verifier.js +11 -3
- package/dist/lib/signing/webhook-verifier.mjs +11 -3
- package/dist/lib/supply-path/verify.js +12 -2
- package/dist/lib/supply-path/verify.mjs +2 -2
- package/dist/lib/testing/compliance/comply.js +0 -8
- package/dist/lib/testing/compliance/comply.mjs +0 -8
- package/dist/lib/testing/compliance/storyboard-tracks.js +11 -0
- package/dist/lib/testing/compliance/storyboard-tracks.mjs +11 -0
- package/dist/lib/testing/index.d.mts +2 -0
- package/dist/lib/testing/index.d.ts +2 -0
- package/dist/lib/testing/index.js +5 -0
- package/dist/lib/testing/index.mjs +3 -0
- package/dist/lib/testing/scenarios/capabilities.d.mts +2 -2
- package/dist/lib/testing/scenarios/capabilities.d.ts +2 -2
- package/dist/lib/testing/scenarios/capabilities.js +8 -41
- package/dist/lib/testing/scenarios/capabilities.mjs +9 -42
- package/dist/lib/testing/storyboard/creative-build-probe.d.mts +34 -0
- package/dist/lib/testing/storyboard/creative-build-probe.d.ts +34 -0
- package/dist/lib/testing/storyboard/creative-build-probe.js +395 -0
- package/dist/lib/testing/storyboard/creative-build-probe.mjs +373 -0
- package/dist/lib/testing/storyboard/index.d.mts +2 -0
- package/dist/lib/testing/storyboard/index.d.ts +2 -0
- package/dist/lib/testing/storyboard/index.js +5 -0
- package/dist/lib/testing/storyboard/index.mjs +3 -0
- package/dist/lib/testing/storyboard/loader.js +12 -0
- package/dist/lib/testing/storyboard/loader.mjs +12 -0
- package/dist/lib/testing/storyboard/property-list-reference.d.mts +15 -0
- package/dist/lib/testing/storyboard/property-list-reference.d.ts +15 -0
- package/dist/lib/testing/storyboard/property-list-reference.js +514 -0
- package/dist/lib/testing/storyboard/property-list-reference.mjs +487 -0
- package/dist/lib/testing/storyboard/runner.js +318 -58
- package/dist/lib/testing/storyboard/runner.mjs +322 -58
- package/dist/lib/testing/storyboard/types.d.mts +38 -16
- package/dist/lib/testing/storyboard/types.d.ts +38 -16
- package/dist/lib/testing/storyboard/types.js +1 -0
- package/dist/lib/testing/storyboard/types.mjs +1 -0
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/testing/storyboard/validations.js +64 -0
- package/dist/lib/testing/storyboard/validations.mjs +67 -1
- package/dist/lib/testing/types.d.mts +15 -1
- package/dist/lib/testing/types.d.ts +15 -1
- package/dist/lib/types/schemas.generated.d.ts +65 -65
- package/dist/lib/types/wellknown-schemas.generated.d.mts +21 -21
- package/dist/lib/types/wellknown-schemas.generated.d.ts +21 -21
- package/dist/lib/utils/adcp-version-config.js +6 -0
- package/dist/lib/utils/adcp-version-config.mjs +6 -0
- package/dist/lib/utils/capabilities.d.mts +7 -9
- package/dist/lib/utils/capabilities.d.ts +7 -9
- package/dist/lib/utils/capabilities.js +14 -28
- package/dist/lib/utils/capabilities.mjs +14 -27
- package/dist/lib/utils/creative-adapter.d.mts +15 -113
- package/dist/lib/utils/creative-adapter.d.ts +15 -113
- package/dist/lib/utils/creative-adapter.js +7 -106
- package/dist/lib/utils/creative-adapter.mjs +7 -102
- package/dist/lib/utils/format-renders.d.mts +20 -80
- package/dist/lib/utils/format-renders.d.ts +20 -80
- package/dist/lib/utils/format-renders.js +7 -67
- package/dist/lib/utils/format-renders.mjs +7 -66
- package/dist/lib/utils/index.d.mts +1 -2
- package/dist/lib/utils/index.d.ts +1 -2
- package/dist/lib/utils/index.js +0 -7
- package/dist/lib/utils/index.mjs +0 -6
- package/dist/lib/utils/preview-normalizer.d.mts +31 -80
- package/dist/lib/utils/preview-normalizer.d.ts +31 -80
- package/dist/lib/utils/preview-normalizer.js +5 -50
- package/dist/lib/utils/preview-normalizer.mjs +5 -49
- package/dist/lib/utils/pricing-adapter.d.mts +2 -36
- package/dist/lib/utils/pricing-adapter.d.ts +2 -36
- package/dist/lib/utils/pricing-adapter.js +0 -105
- package/dist/lib/utils/pricing-adapter.mjs +0 -100
- package/dist/lib/utils/request-normalizer.d.mts +1 -2
- package/dist/lib/utils/request-normalizer.d.ts +1 -2
- package/dist/lib/v2/projection/creative-delivery.d.mts +2 -0
- package/dist/lib/v2/projection/creative-delivery.d.ts +2 -0
- package/dist/lib/v2/projection/creative-delivery.js +7 -0
- package/dist/lib/v2/projection/creative-delivery.mjs +6 -0
- package/dist/lib/v2/projection/legacy-metadata.d.mts +12 -0
- package/dist/lib/v2/projection/legacy-metadata.d.ts +12 -0
- package/dist/lib/v2/projection/legacy-metadata.js +41 -1
- package/dist/lib/v2/projection/legacy-metadata.mjs +37 -1
- package/dist/lib/v2/projection/legacy-normalization.d.mts +1 -1
- package/dist/lib/v2/projection/legacy-normalization.d.ts +1 -1
- package/dist/lib/v2/projection/v1-to-v2.js +13 -0
- package/dist/lib/v2/projection/v1-to-v2.mjs +14 -0
- package/dist/lib/validation/client-hooks.d.mts +1 -4
- package/dist/lib/validation/client-hooks.d.ts +1 -4
- package/dist/lib/validation/get-products-request.d.mts +1 -1
- package/dist/lib/validation/get-products-request.d.ts +1 -1
- package/dist/lib/validation/schema-loader.js +6 -0
- package/dist/lib/validation/schema-loader.mjs +6 -0
- package/dist/lib/validation/schema-validator.js +1 -26
- package/dist/lib/validation/schema-validator.mjs +1 -26
- package/dist/lib/version.d.mts +5 -5
- package/dist/lib/version.d.ts +5 -5
- package/dist/lib/version.js +3 -5
- package/dist/lib/version.mjs +3 -5
- package/docs/TYPE-SUMMARY.md +2 -2
- package/docs/development/PROTOCOL_DIFFERENCES.md +1 -1
- package/docs/guides/CONFORMANCE.md +25 -0
- package/docs/guides/CREATIVE-BUILD-PROBE.md +156 -0
- package/docs/guides/CREATIVE-DELIVERY.md +45 -6
- package/docs/guides/MEDIA-BUY-3.2-COMPATIBILITY.md +15 -18
- package/docs/guides/PROPERTY-LISTS.md +264 -0
- package/docs/guides/SIGNING-GUIDE.md +25 -0
- package/docs/guides/VALIDATE-YOUR-AGENT.md +5 -0
- package/docs/llms.txt +2 -2
- package/docs/migration-13-to-14.md +20 -16
- package/docs/migration-14.x-rc-worksheet.md +5 -5
- package/docs/migration-4.x-to-5.x.md +12 -7
- package/docs/migration-drop-adcp-2.md +25 -0
- package/package.json +3 -18
- package/skills/call-adcp-agent/SKILL.md +23 -25
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/get_products.d.mts +0 -8
- package/dist/lib/adapters/legacy/v2-5/get_products.d.ts +0 -8
- package/dist/lib/adapters/legacy/v2-5/get_products.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/get_products.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/index.d.mts +0 -34
- package/dist/lib/adapters/legacy/v2-5/index.d.ts +0 -34
- package/dist/lib/adapters/legacy/v2-5/index.js +0 -50
- package/dist/lib/adapters/legacy/v2-5/index.mjs +0 -25
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.d.mts +0 -8
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.d.ts +0 -8
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/preview_creative.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/preview_creative.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/preview_creative.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/preview_creative.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.mts +0 -11
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.ts +0 -11
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.js +0 -32
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.mjs +0 -8
- package/dist/lib/adapters/legacy/v2-5/types.d.mts +0 -39
- package/dist/lib/adapters/legacy/v2-5/types.d.ts +0 -39
- package/dist/lib/adapters/legacy/v2-5/types.js +0 -16
- package/dist/lib/adapters/legacy/v2-5/types.mjs +0 -0
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.js +0 -35
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.mjs +0 -11
- package/dist/lib/schemas-data/v2.5/_provenance.json +0 -8
- package/dist/lib/schemas-data/v2.5/adagents.json +0 -494
- package/dist/lib/schemas-data/v2.5/core/activation-key.json +0 -50
- package/dist/lib/schemas-data/v2.5/core/assets/audio-asset.json +0 -32
- package/dist/lib/schemas-data/v2.5/core/assets/css-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/daast-asset.json +0 -87
- package/dist/lib/schemas-data/v2.5/core/assets/html-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/image-asset.json +0 -38
- package/dist/lib/schemas-data/v2.5/core/assets/javascript-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/markdown-asset.json +0 -31
- package/dist/lib/schemas-data/v2.5/core/assets/text-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/url-asset.json +0 -26
- package/dist/lib/schemas-data/v2.5/core/assets/vast-asset.json +0 -87
- package/dist/lib/schemas-data/v2.5/core/assets/video-asset.json +0 -44
- package/dist/lib/schemas-data/v2.5/core/assets/webhook-asset.json +0 -71
- package/dist/lib/schemas-data/v2.5/core/async-response-data.json +0 -88
- package/dist/lib/schemas-data/v2.5/core/brand-manifest-ref.json +0 -33
- package/dist/lib/schemas-data/v2.5/core/brand-manifest.json +0 -409
- package/dist/lib/schemas-data/v2.5/core/context.json +0 -8
- package/dist/lib/schemas-data/v2.5/core/creative-asset.json +0 -125
- package/dist/lib/schemas-data/v2.5/core/creative-assignment.json +0 -31
- package/dist/lib/schemas-data/v2.5/core/creative-filters.json +0 -111
- package/dist/lib/schemas-data/v2.5/core/creative-manifest.json +0 -72
- package/dist/lib/schemas-data/v2.5/core/creative-policy.json +0 -27
- package/dist/lib/schemas-data/v2.5/core/delivery-metrics.json +0 -171
- package/dist/lib/schemas-data/v2.5/core/deployment.json +0 -93
- package/dist/lib/schemas-data/v2.5/core/destination.json +0 -53
- package/dist/lib/schemas-data/v2.5/core/error.json +0 -40
- package/dist/lib/schemas-data/v2.5/core/ext.json +0 -8
- package/dist/lib/schemas-data/v2.5/core/format-id.json +0 -47
- package/dist/lib/schemas-data/v2.5/core/format.json +0 -324
- package/dist/lib/schemas-data/v2.5/core/frequency-cap.json +0 -18
- package/dist/lib/schemas-data/v2.5/core/mcp-webhook-payload.json +0 -152
- package/dist/lib/schemas-data/v2.5/core/measurement.json +0 -48
- package/dist/lib/schemas-data/v2.5/core/media-buy.json +0 -62
- package/dist/lib/schemas-data/v2.5/core/package.json +0 -72
- package/dist/lib/schemas-data/v2.5/core/performance-feedback.json +0 -90
- package/dist/lib/schemas-data/v2.5/core/placement.json +0 -34
- package/dist/lib/schemas-data/v2.5/core/pricing-option.json +0 -35
- package/dist/lib/schemas-data/v2.5/core/product-filters.json +0 -102
- package/dist/lib/schemas-data/v2.5/core/product.json +0 -153
- package/dist/lib/schemas-data/v2.5/core/promoted-offerings.json +0 -115
- package/dist/lib/schemas-data/v2.5/core/promoted-products.json +0 -67
- package/dist/lib/schemas-data/v2.5/core/property-id.json +0 -14
- package/dist/lib/schemas-data/v2.5/core/property-tag.json +0 -16
- package/dist/lib/schemas-data/v2.5/core/property.json +0 -62
- package/dist/lib/schemas-data/v2.5/core/protocol-envelope.json +0 -146
- package/dist/lib/schemas-data/v2.5/core/publisher-property-selector.json +0 -92
- package/dist/lib/schemas-data/v2.5/core/push-notification-config.json +0 -48
- package/dist/lib/schemas-data/v2.5/core/reporting-capabilities.json +0 -71
- package/dist/lib/schemas-data/v2.5/core/response.json +0 -24
- package/dist/lib/schemas-data/v2.5/core/signal-filters.json +0 -35
- package/dist/lib/schemas-data/v2.5/core/start-timing.json +0 -18
- package/dist/lib/schemas-data/v2.5/core/sub-asset.json +0 -79
- package/dist/lib/schemas-data/v2.5/core/targeting.json +0 -50
- package/dist/lib/schemas-data/v2.5/core/tasks-get-request.json +0 -43
- package/dist/lib/schemas-data/v2.5/core/tasks-get-response.json +0 -166
- package/dist/lib/schemas-data/v2.5/core/tasks-list-request.json +0 -192
- package/dist/lib/schemas-data/v2.5/core/tasks-list-response.json +0 -183
- package/dist/lib/schemas-data/v2.5/creative/asset-types/index.json +0 -101
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-request.json +0 -73
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-response.json +0 -61
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-request.json +0 -164
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-response.json +0 -245
- package/dist/lib/schemas-data/v2.5/creative/preview-render.json +0 -225
- package/dist/lib/schemas-data/v2.5/enums/adcp-domain.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/asset-content-type.json +0 -22
- package/dist/lib/schemas-data/v2.5/enums/auth-scheme.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/available-metric.json +0 -18
- package/dist/lib/schemas-data/v2.5/enums/channels.json +0 -18
- package/dist/lib/schemas-data/v2.5/enums/co-branding-requirement.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/creative-action.json +0 -14
- package/dist/lib/schemas-data/v2.5/enums/creative-agent-capability.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/creative-sort-field.json +0 -15
- package/dist/lib/schemas-data/v2.5/enums/creative-status.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/daast-tracking-event.json +0 -20
- package/dist/lib/schemas-data/v2.5/enums/daast-version.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/delivery-type.json +0 -15
- package/dist/lib/schemas-data/v2.5/enums/dimension-unit.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/feed-format.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/feedback-source.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/format-category.json +0 -16
- package/dist/lib/schemas-data/v2.5/enums/format-id-parameter.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/frequency-cap-scope.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/history-entry-type.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/http-method.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/identifier-types.json +0 -34
- package/dist/lib/schemas-data/v2.5/enums/javascript-module-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/landing-page-requirement.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/markdown-flavor.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/media-buy-status.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/metric-type.json +0 -17
- package/dist/lib/schemas-data/v2.5/enums/notification-type.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/pacing.json +0 -17
- package/dist/lib/schemas-data/v2.5/enums/preview-output-format.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/pricing-model.json +0 -25
- package/dist/lib/schemas-data/v2.5/enums/property-type.json +0 -16
- package/dist/lib/schemas-data/v2.5/enums/publisher-identifier-types.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/reporting-frequency.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/signal-catalog-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/sort-direction.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/standard-format-ids.json +0 -103
- package/dist/lib/schemas-data/v2.5/enums/task-status.json +0 -29
- package/dist/lib/schemas-data/v2.5/enums/task-type.json +0 -27
- package/dist/lib/schemas-data/v2.5/enums/update-frequency.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/url-asset-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/validation-mode.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/vast-tracking-event.json +0 -25
- package/dist/lib/schemas-data/v2.5/enums/vast-version.json +0 -14
- package/dist/lib/schemas-data/v2.5/enums/webhook-response-type.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/webhook-security-method.json +0 -12
- package/dist/lib/schemas-data/v2.5/index.json +0 -604
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-request.json +0 -31
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-response.json +0 -65
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-input-required.json +0 -31
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-working.json +0 -36
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-request.json +0 -126
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-response.json +0 -97
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-request.json +0 -54
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-response.json +0 -285
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-input-required.json +0 -38
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-submitted.json +0 -21
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-working.json +0 -34
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-request.json +0 -28
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-response.json +0 -33
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-request.json +0 -26
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-response.json +0 -70
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-request.json +0 -58
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-response.json +0 -61
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-request.json +0 -137
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-response.json +0 -437
- package/dist/lib/schemas-data/v2.5/media-buy/package-request.json +0 -80
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-request.json +0 -88
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-response.json +0 -66
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-input-required.json +0 -25
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-working.json +0 -46
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-request.json +0 -178
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-response.json +0 -149
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-input-required.json +0 -24
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-working.json +0 -36
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-request.json +0 -129
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-response.json +0 -99
- package/dist/lib/schemas-data/v2.5/pricing-options/cpc-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpcv-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-auction-option.json +0 -81
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-fixed-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpp-option.json +0 -73
- package/dist/lib/schemas-data/v2.5/pricing-options/cpv-option.json +0 -88
- package/dist/lib/schemas-data/v2.5/pricing-options/flat-rate-option.json +0 -93
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-auction-option.json +0 -81
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-fixed-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/protocols/adcp-extension.json +0 -33
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-request.json +0 -32
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-response.json +0 -68
- package/dist/lib/schemas-data/v2.5/signals/get-signals-request.json +0 -59
- package/dist/lib/schemas-data/v2.5/signals/get-signals-response.json +0 -100
- package/dist/lib/types/v2-5/index.d.mts +0 -1
- package/dist/lib/types/v2-5/index.d.ts +0 -1
- package/dist/lib/types/v2-5/index.js +0 -22
- package/dist/lib/types/v2-5/index.mjs +0 -1
- package/dist/lib/types/v2-5/tools.generated.d.mts +0 -3568
- package/dist/lib/types/v2-5/tools.generated.d.ts +0 -3568
- package/dist/lib/types/v2-5/tools.generated.js +0 -16
- package/dist/lib/types/v2-5/tools.generated.mjs +0 -0
- package/dist/lib/utils/sync-creatives-adapter.d.mts +0 -33
- package/dist/lib/utils/sync-creatives-adapter.d.ts +0 -33
- package/dist/lib/utils/sync-creatives-adapter.js +0 -83
- package/dist/lib/utils/sync-creatives-adapter.mjs +0 -59
|
@@ -608,10 +608,10 @@ export declare const BrandJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
608
608
|
type: z.ZodEnum<{
|
|
609
609
|
website: "website";
|
|
610
610
|
podcast: "podcast";
|
|
611
|
+
dooh: "dooh";
|
|
611
612
|
linear_tv: "linear_tv";
|
|
612
613
|
radio: "radio";
|
|
613
614
|
streaming_audio: "streaming_audio";
|
|
614
|
-
dooh: "dooh";
|
|
615
615
|
mobile_app: "mobile_app";
|
|
616
616
|
ctv_app: "ctv_app";
|
|
617
617
|
desktop_app: "desktop_app";
|
|
@@ -1772,10 +1772,10 @@ export declare const BrandJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1772
1772
|
type: z.ZodEnum<{
|
|
1773
1773
|
website: "website";
|
|
1774
1774
|
podcast: "podcast";
|
|
1775
|
+
dooh: "dooh";
|
|
1775
1776
|
linear_tv: "linear_tv";
|
|
1776
1777
|
radio: "radio";
|
|
1777
1778
|
streaming_audio: "streaming_audio";
|
|
1778
|
-
dooh: "dooh";
|
|
1779
1779
|
mobile_app: "mobile_app";
|
|
1780
1780
|
ctv_app: "ctv_app";
|
|
1781
1781
|
desktop_app: "desktop_app";
|
|
@@ -2593,10 +2593,10 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2593
2593
|
property_type: z.ZodEnum<{
|
|
2594
2594
|
website: "website";
|
|
2595
2595
|
podcast: "podcast";
|
|
2596
|
+
dooh: "dooh";
|
|
2596
2597
|
linear_tv: "linear_tv";
|
|
2597
2598
|
radio: "radio";
|
|
2598
2599
|
streaming_audio: "streaming_audio";
|
|
2599
|
-
dooh: "dooh";
|
|
2600
2600
|
mobile_app: "mobile_app";
|
|
2601
2601
|
ctv_app: "ctv_app";
|
|
2602
2602
|
desktop_app: "desktop_app";
|
|
@@ -2634,15 +2634,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2634
2634
|
email: "email";
|
|
2635
2635
|
gaming: "gaming";
|
|
2636
2636
|
podcast: "podcast";
|
|
2637
|
+
ctv: "ctv";
|
|
2638
|
+
dooh: "dooh";
|
|
2639
|
+
search: "search";
|
|
2637
2640
|
display: "display";
|
|
2638
2641
|
olv: "olv";
|
|
2639
2642
|
social: "social";
|
|
2640
|
-
search: "search";
|
|
2641
|
-
ctv: "ctv";
|
|
2642
2643
|
linear_tv: "linear_tv";
|
|
2643
2644
|
radio: "radio";
|
|
2644
2645
|
streaming_audio: "streaming_audio";
|
|
2645
|
-
dooh: "dooh";
|
|
2646
2646
|
ooh: "ooh";
|
|
2647
2647
|
print: "print";
|
|
2648
2648
|
cinema: "cinema";
|
|
@@ -2682,6 +2682,7 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2682
2682
|
content_rating: z.ZodOptional<z.ZodObject<{
|
|
2683
2683
|
system: z.ZodEnum<{
|
|
2684
2684
|
podcast: "podcast";
|
|
2685
|
+
custom: "custom";
|
|
2685
2686
|
tv_parental: "tv_parental";
|
|
2686
2687
|
mpaa: "mpaa";
|
|
2687
2688
|
esrb: "esrb";
|
|
@@ -2691,7 +2692,6 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2691
2692
|
chvrs: "chvrs";
|
|
2692
2693
|
csa: "csa";
|
|
2693
2694
|
pegi: "pegi";
|
|
2694
|
-
custom: "custom";
|
|
2695
2695
|
}>;
|
|
2696
2696
|
rating: z.ZodString;
|
|
2697
2697
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
@@ -2821,15 +2821,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2821
2821
|
email: "email";
|
|
2822
2822
|
gaming: "gaming";
|
|
2823
2823
|
podcast: "podcast";
|
|
2824
|
+
ctv: "ctv";
|
|
2825
|
+
dooh: "dooh";
|
|
2826
|
+
search: "search";
|
|
2824
2827
|
display: "display";
|
|
2825
2828
|
olv: "olv";
|
|
2826
2829
|
social: "social";
|
|
2827
|
-
search: "search";
|
|
2828
|
-
ctv: "ctv";
|
|
2829
2830
|
linear_tv: "linear_tv";
|
|
2830
2831
|
radio: "radio";
|
|
2831
2832
|
streaming_audio: "streaming_audio";
|
|
2832
|
-
dooh: "dooh";
|
|
2833
2833
|
ooh: "ooh";
|
|
2834
2834
|
print: "print";
|
|
2835
2835
|
cinema: "cinema";
|
|
@@ -3503,15 +3503,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3503
3503
|
email: "email";
|
|
3504
3504
|
gaming: "gaming";
|
|
3505
3505
|
podcast: "podcast";
|
|
3506
|
+
ctv: "ctv";
|
|
3507
|
+
dooh: "dooh";
|
|
3508
|
+
search: "search";
|
|
3506
3509
|
display: "display";
|
|
3507
3510
|
olv: "olv";
|
|
3508
3511
|
social: "social";
|
|
3509
|
-
search: "search";
|
|
3510
|
-
ctv: "ctv";
|
|
3511
3512
|
linear_tv: "linear_tv";
|
|
3512
3513
|
radio: "radio";
|
|
3513
3514
|
streaming_audio: "streaming_audio";
|
|
3514
|
-
dooh: "dooh";
|
|
3515
3515
|
ooh: "ooh";
|
|
3516
3516
|
print: "print";
|
|
3517
3517
|
cinema: "cinema";
|
|
@@ -5514,9 +5514,9 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
5514
5514
|
height: z.ZodNumber;
|
|
5515
5515
|
}, z.core.$strict>>;
|
|
5516
5516
|
motion: z.ZodOptional<z.ZodEnum<{
|
|
5517
|
+
static: "static";
|
|
5517
5518
|
full_motion: "full_motion";
|
|
5518
5519
|
partial_motion: "partial_motion";
|
|
5519
|
-
static: "static";
|
|
5520
5520
|
}>>;
|
|
5521
5521
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
5522
5522
|
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -6165,15 +6165,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
6165
6165
|
email: "email";
|
|
6166
6166
|
gaming: "gaming";
|
|
6167
6167
|
podcast: "podcast";
|
|
6168
|
+
ctv: "ctv";
|
|
6169
|
+
dooh: "dooh";
|
|
6170
|
+
search: "search";
|
|
6168
6171
|
display: "display";
|
|
6169
6172
|
olv: "olv";
|
|
6170
6173
|
social: "social";
|
|
6171
|
-
search: "search";
|
|
6172
|
-
ctv: "ctv";
|
|
6173
6174
|
linear_tv: "linear_tv";
|
|
6174
6175
|
radio: "radio";
|
|
6175
6176
|
streaming_audio: "streaming_audio";
|
|
6176
|
-
dooh: "dooh";
|
|
6177
6177
|
ooh: "ooh";
|
|
6178
6178
|
print: "print";
|
|
6179
6179
|
cinema: "cinema";
|
|
@@ -8229,10 +8229,10 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
8229
8229
|
property_type: z.ZodEnum<{
|
|
8230
8230
|
website: "website";
|
|
8231
8231
|
podcast: "podcast";
|
|
8232
|
+
dooh: "dooh";
|
|
8232
8233
|
linear_tv: "linear_tv";
|
|
8233
8234
|
radio: "radio";
|
|
8234
8235
|
streaming_audio: "streaming_audio";
|
|
8235
|
-
dooh: "dooh";
|
|
8236
8236
|
mobile_app: "mobile_app";
|
|
8237
8237
|
ctv_app: "ctv_app";
|
|
8238
8238
|
desktop_app: "desktop_app";
|
|
@@ -8270,15 +8270,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
8270
8270
|
email: "email";
|
|
8271
8271
|
gaming: "gaming";
|
|
8272
8272
|
podcast: "podcast";
|
|
8273
|
+
ctv: "ctv";
|
|
8274
|
+
dooh: "dooh";
|
|
8275
|
+
search: "search";
|
|
8273
8276
|
display: "display";
|
|
8274
8277
|
olv: "olv";
|
|
8275
8278
|
social: "social";
|
|
8276
|
-
search: "search";
|
|
8277
|
-
ctv: "ctv";
|
|
8278
8279
|
linear_tv: "linear_tv";
|
|
8279
8280
|
radio: "radio";
|
|
8280
8281
|
streaming_audio: "streaming_audio";
|
|
8281
|
-
dooh: "dooh";
|
|
8282
8282
|
ooh: "ooh";
|
|
8283
8283
|
print: "print";
|
|
8284
8284
|
cinema: "cinema";
|
|
@@ -608,10 +608,10 @@ export declare const BrandJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
608
608
|
type: z.ZodEnum<{
|
|
609
609
|
website: "website";
|
|
610
610
|
podcast: "podcast";
|
|
611
|
+
dooh: "dooh";
|
|
611
612
|
linear_tv: "linear_tv";
|
|
612
613
|
radio: "radio";
|
|
613
614
|
streaming_audio: "streaming_audio";
|
|
614
|
-
dooh: "dooh";
|
|
615
615
|
mobile_app: "mobile_app";
|
|
616
616
|
ctv_app: "ctv_app";
|
|
617
617
|
desktop_app: "desktop_app";
|
|
@@ -1772,10 +1772,10 @@ export declare const BrandJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1772
1772
|
type: z.ZodEnum<{
|
|
1773
1773
|
website: "website";
|
|
1774
1774
|
podcast: "podcast";
|
|
1775
|
+
dooh: "dooh";
|
|
1775
1776
|
linear_tv: "linear_tv";
|
|
1776
1777
|
radio: "radio";
|
|
1777
1778
|
streaming_audio: "streaming_audio";
|
|
1778
|
-
dooh: "dooh";
|
|
1779
1779
|
mobile_app: "mobile_app";
|
|
1780
1780
|
ctv_app: "ctv_app";
|
|
1781
1781
|
desktop_app: "desktop_app";
|
|
@@ -2593,10 +2593,10 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2593
2593
|
property_type: z.ZodEnum<{
|
|
2594
2594
|
website: "website";
|
|
2595
2595
|
podcast: "podcast";
|
|
2596
|
+
dooh: "dooh";
|
|
2596
2597
|
linear_tv: "linear_tv";
|
|
2597
2598
|
radio: "radio";
|
|
2598
2599
|
streaming_audio: "streaming_audio";
|
|
2599
|
-
dooh: "dooh";
|
|
2600
2600
|
mobile_app: "mobile_app";
|
|
2601
2601
|
ctv_app: "ctv_app";
|
|
2602
2602
|
desktop_app: "desktop_app";
|
|
@@ -2634,15 +2634,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2634
2634
|
email: "email";
|
|
2635
2635
|
gaming: "gaming";
|
|
2636
2636
|
podcast: "podcast";
|
|
2637
|
+
ctv: "ctv";
|
|
2638
|
+
dooh: "dooh";
|
|
2639
|
+
search: "search";
|
|
2637
2640
|
display: "display";
|
|
2638
2641
|
olv: "olv";
|
|
2639
2642
|
social: "social";
|
|
2640
|
-
search: "search";
|
|
2641
|
-
ctv: "ctv";
|
|
2642
2643
|
linear_tv: "linear_tv";
|
|
2643
2644
|
radio: "radio";
|
|
2644
2645
|
streaming_audio: "streaming_audio";
|
|
2645
|
-
dooh: "dooh";
|
|
2646
2646
|
ooh: "ooh";
|
|
2647
2647
|
print: "print";
|
|
2648
2648
|
cinema: "cinema";
|
|
@@ -2682,6 +2682,7 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2682
2682
|
content_rating: z.ZodOptional<z.ZodObject<{
|
|
2683
2683
|
system: z.ZodEnum<{
|
|
2684
2684
|
podcast: "podcast";
|
|
2685
|
+
custom: "custom";
|
|
2685
2686
|
tv_parental: "tv_parental";
|
|
2686
2687
|
mpaa: "mpaa";
|
|
2687
2688
|
esrb: "esrb";
|
|
@@ -2691,7 +2692,6 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2691
2692
|
chvrs: "chvrs";
|
|
2692
2693
|
csa: "csa";
|
|
2693
2694
|
pegi: "pegi";
|
|
2694
|
-
custom: "custom";
|
|
2695
2695
|
}>;
|
|
2696
2696
|
rating: z.ZodString;
|
|
2697
2697
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
@@ -2821,15 +2821,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2821
2821
|
email: "email";
|
|
2822
2822
|
gaming: "gaming";
|
|
2823
2823
|
podcast: "podcast";
|
|
2824
|
+
ctv: "ctv";
|
|
2825
|
+
dooh: "dooh";
|
|
2826
|
+
search: "search";
|
|
2824
2827
|
display: "display";
|
|
2825
2828
|
olv: "olv";
|
|
2826
2829
|
social: "social";
|
|
2827
|
-
search: "search";
|
|
2828
|
-
ctv: "ctv";
|
|
2829
2830
|
linear_tv: "linear_tv";
|
|
2830
2831
|
radio: "radio";
|
|
2831
2832
|
streaming_audio: "streaming_audio";
|
|
2832
|
-
dooh: "dooh";
|
|
2833
2833
|
ooh: "ooh";
|
|
2834
2834
|
print: "print";
|
|
2835
2835
|
cinema: "cinema";
|
|
@@ -3503,15 +3503,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3503
3503
|
email: "email";
|
|
3504
3504
|
gaming: "gaming";
|
|
3505
3505
|
podcast: "podcast";
|
|
3506
|
+
ctv: "ctv";
|
|
3507
|
+
dooh: "dooh";
|
|
3508
|
+
search: "search";
|
|
3506
3509
|
display: "display";
|
|
3507
3510
|
olv: "olv";
|
|
3508
3511
|
social: "social";
|
|
3509
|
-
search: "search";
|
|
3510
|
-
ctv: "ctv";
|
|
3511
3512
|
linear_tv: "linear_tv";
|
|
3512
3513
|
radio: "radio";
|
|
3513
3514
|
streaming_audio: "streaming_audio";
|
|
3514
|
-
dooh: "dooh";
|
|
3515
3515
|
ooh: "ooh";
|
|
3516
3516
|
print: "print";
|
|
3517
3517
|
cinema: "cinema";
|
|
@@ -5514,9 +5514,9 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
5514
5514
|
height: z.ZodNumber;
|
|
5515
5515
|
}, z.core.$strict>>;
|
|
5516
5516
|
motion: z.ZodOptional<z.ZodEnum<{
|
|
5517
|
+
static: "static";
|
|
5517
5518
|
full_motion: "full_motion";
|
|
5518
5519
|
partial_motion: "partial_motion";
|
|
5519
|
-
static: "static";
|
|
5520
5520
|
}>>;
|
|
5521
5521
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
5522
5522
|
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -6165,15 +6165,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
6165
6165
|
email: "email";
|
|
6166
6166
|
gaming: "gaming";
|
|
6167
6167
|
podcast: "podcast";
|
|
6168
|
+
ctv: "ctv";
|
|
6169
|
+
dooh: "dooh";
|
|
6170
|
+
search: "search";
|
|
6168
6171
|
display: "display";
|
|
6169
6172
|
olv: "olv";
|
|
6170
6173
|
social: "social";
|
|
6171
|
-
search: "search";
|
|
6172
|
-
ctv: "ctv";
|
|
6173
6174
|
linear_tv: "linear_tv";
|
|
6174
6175
|
radio: "radio";
|
|
6175
6176
|
streaming_audio: "streaming_audio";
|
|
6176
|
-
dooh: "dooh";
|
|
6177
6177
|
ooh: "ooh";
|
|
6178
6178
|
print: "print";
|
|
6179
6179
|
cinema: "cinema";
|
|
@@ -8229,10 +8229,10 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
8229
8229
|
property_type: z.ZodEnum<{
|
|
8230
8230
|
website: "website";
|
|
8231
8231
|
podcast: "podcast";
|
|
8232
|
+
dooh: "dooh";
|
|
8232
8233
|
linear_tv: "linear_tv";
|
|
8233
8234
|
radio: "radio";
|
|
8234
8235
|
streaming_audio: "streaming_audio";
|
|
8235
|
-
dooh: "dooh";
|
|
8236
8236
|
mobile_app: "mobile_app";
|
|
8237
8237
|
ctv_app: "ctv_app";
|
|
8238
8238
|
desktop_app: "desktop_app";
|
|
@@ -8270,15 +8270,15 @@ export declare const AdagentsJsonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
8270
8270
|
email: "email";
|
|
8271
8271
|
gaming: "gaming";
|
|
8272
8272
|
podcast: "podcast";
|
|
8273
|
+
ctv: "ctv";
|
|
8274
|
+
dooh: "dooh";
|
|
8275
|
+
search: "search";
|
|
8273
8276
|
display: "display";
|
|
8274
8277
|
olv: "olv";
|
|
8275
8278
|
social: "social";
|
|
8276
|
-
search: "search";
|
|
8277
|
-
ctv: "ctv";
|
|
8278
8279
|
linear_tv: "linear_tv";
|
|
8279
8280
|
radio: "radio";
|
|
8280
8281
|
streaming_audio: "streaming_audio";
|
|
8281
|
-
dooh: "dooh";
|
|
8282
8282
|
ooh: "ooh";
|
|
8283
8283
|
print: "print";
|
|
8284
8284
|
cinema: "cinema";
|
|
@@ -61,6 +61,12 @@ function resolveAdcpVersion(adcpVersion, optionName = "adcpVersion") {
|
|
|
61
61
|
);
|
|
62
62
|
}
|
|
63
63
|
const major = (0, import_version.parseAdcpMajorVersion)(adcpVersion);
|
|
64
|
+
if (Number.isFinite(major) && major < 3) {
|
|
65
|
+
throw new import_errors.ConfigurationError(
|
|
66
|
+
"AdCP 2 reached end of life on 2026-08-01 and is no longer supported. Use AdCP 3 or pin an older SDK release.",
|
|
67
|
+
optionName
|
|
68
|
+
);
|
|
69
|
+
}
|
|
64
70
|
if (!Number.isFinite(major)) {
|
|
65
71
|
throw new import_errors.ConfigurationError(
|
|
66
72
|
`${optionName} ${JSON.stringify(adcpVersion)} is not a valid AdCP version. Expected a semver string (e.g. '3.0.1', '3.1.0-beta.1') or a legacy alias. Currently bundled: ${listBundledAdcpVersions().join(", ")}.`,
|
|
@@ -27,6 +27,12 @@ function resolveAdcpVersion(adcpVersion, optionName = "adcpVersion") {
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
const major = parseAdcpMajorVersion(adcpVersion);
|
|
30
|
+
if (Number.isFinite(major) && major < 3) {
|
|
31
|
+
throw new ConfigurationError(
|
|
32
|
+
"AdCP 2 reached end of life on 2026-08-01 and is no longer supported. Use AdCP 3 or pin an older SDK release.",
|
|
33
|
+
optionName
|
|
34
|
+
);
|
|
35
|
+
}
|
|
30
36
|
if (!Number.isFinite(major)) {
|
|
31
37
|
throw new ConfigurationError(
|
|
32
38
|
`${optionName} ${JSON.stringify(adcpVersion)} is not a valid AdCP version. Expected a semver string (e.g. '3.0.1', '3.1.0-beta.1') or a legacy alias. Currently bundled: ${listBundledAdcpVersions().join(", ")}.`,
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* AdCP Capabilities utilities
|
|
3
3
|
*
|
|
4
4
|
* Provides types and helpers for working with agent capabilities,
|
|
5
|
-
* including synthetic
|
|
6
|
-
* the get_adcp_capabilities tool.
|
|
5
|
+
* including conservative synthetic v3 evidence when advertised discovery fails.
|
|
7
6
|
*/
|
|
8
7
|
import type { GetAdCPCapabilitiesResponse } from '../types/index.mjs';
|
|
9
8
|
export type BuyingMode = 'brief' | 'wholesale' | 'refine';
|
|
@@ -13,10 +12,8 @@ export declare const IDEMPOTENCY_REPLAY_TTL_SECONDS_MIN = 3600;
|
|
|
13
12
|
export declare const IDEMPOTENCY_REPLAY_TTL_SECONDS_MAX = 604800;
|
|
14
13
|
export declare function isValidIdempotencyReplayTtlSeconds(value: unknown): value is number;
|
|
15
14
|
export declare function assertValidIdempotencyReplayTtlSeconds(value: unknown): asserts value is number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
export type AdcpMajorVersion = 2 | 3;
|
|
15
|
+
/** Observed major version, including unsupported past or future declarations. */
|
|
16
|
+
export type AdcpMajorVersion = number;
|
|
20
17
|
/**
|
|
21
18
|
* Supported AdCP protocols/domains
|
|
22
19
|
*/
|
|
@@ -135,13 +132,15 @@ export type IdempotencyCapabilities = {
|
|
|
135
132
|
replayTtlSeconds?: never;
|
|
136
133
|
};
|
|
137
134
|
/**
|
|
138
|
-
* Normalized
|
|
135
|
+
* Normalized capability evidence. Retired v2 declarations are retained for rejection.
|
|
139
136
|
*/
|
|
140
137
|
export interface AdcpCapabilities {
|
|
141
138
|
/** Detected version ('v2' or 'v3') */
|
|
142
139
|
version: 'v2' | 'v3';
|
|
143
140
|
/**
|
|
144
|
-
* Array of supported major versions (e.g., [2] or [2, 3])
|
|
141
|
+
* Array of supported major versions (e.g., [2] or [2, 3]), derived from
|
|
142
|
+
* supportedVersions when available, otherwise the legacy major_versions
|
|
143
|
+
* declaration. Capability responses without either declaration default to [3].
|
|
145
144
|
* @deprecated Use {@link supportedVersions} for release-precision negotiation.
|
|
146
145
|
* Removed in AdCP 4.0 per spec PR `adcontextprotocol/adcp#3493`. Continues
|
|
147
146
|
* to be emitted alongside the new field through 3.x.
|
|
@@ -270,7 +269,6 @@ export declare const PROTOCOL_TOOLS: readonly ["get_adcp_capabilities", "get_pri
|
|
|
270
269
|
* or partial tool registration could produce false positives.
|
|
271
270
|
*/
|
|
272
271
|
export declare function augmentCapabilitiesFromTools(capabilities: AdcpCapabilities, tools: ToolInfo[]): AdcpCapabilities;
|
|
273
|
-
export declare function buildSyntheticCapabilities(tools: ToolInfo[]): AdcpCapabilities;
|
|
274
272
|
/**
|
|
275
273
|
* Build synthetic v3 capabilities when the agent advertises
|
|
276
274
|
* `get_adcp_capabilities` (a v3-only tool) but the call itself failed —
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* AdCP Capabilities utilities
|
|
3
3
|
*
|
|
4
4
|
* Provides types and helpers for working with agent capabilities,
|
|
5
|
-
* including synthetic
|
|
6
|
-
* the get_adcp_capabilities tool.
|
|
5
|
+
* including conservative synthetic v3 evidence when advertised discovery fails.
|
|
7
6
|
*/
|
|
8
7
|
import type { GetAdCPCapabilitiesResponse } from '../types';
|
|
9
8
|
export type BuyingMode = 'brief' | 'wholesale' | 'refine';
|
|
@@ -13,10 +12,8 @@ export declare const IDEMPOTENCY_REPLAY_TTL_SECONDS_MIN = 3600;
|
|
|
13
12
|
export declare const IDEMPOTENCY_REPLAY_TTL_SECONDS_MAX = 604800;
|
|
14
13
|
export declare function isValidIdempotencyReplayTtlSeconds(value: unknown): value is number;
|
|
15
14
|
export declare function assertValidIdempotencyReplayTtlSeconds(value: unknown): asserts value is number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
export type AdcpMajorVersion = 2 | 3;
|
|
15
|
+
/** Observed major version, including unsupported past or future declarations. */
|
|
16
|
+
export type AdcpMajorVersion = number;
|
|
20
17
|
/**
|
|
21
18
|
* Supported AdCP protocols/domains
|
|
22
19
|
*/
|
|
@@ -135,13 +132,15 @@ export type IdempotencyCapabilities = {
|
|
|
135
132
|
replayTtlSeconds?: never;
|
|
136
133
|
};
|
|
137
134
|
/**
|
|
138
|
-
* Normalized
|
|
135
|
+
* Normalized capability evidence. Retired v2 declarations are retained for rejection.
|
|
139
136
|
*/
|
|
140
137
|
export interface AdcpCapabilities {
|
|
141
138
|
/** Detected version ('v2' or 'v3') */
|
|
142
139
|
version: 'v2' | 'v3';
|
|
143
140
|
/**
|
|
144
|
-
* Array of supported major versions (e.g., [2] or [2, 3])
|
|
141
|
+
* Array of supported major versions (e.g., [2] or [2, 3]), derived from
|
|
142
|
+
* supportedVersions when available, otherwise the legacy major_versions
|
|
143
|
+
* declaration. Capability responses without either declaration default to [3].
|
|
145
144
|
* @deprecated Use {@link supportedVersions} for release-precision negotiation.
|
|
146
145
|
* Removed in AdCP 4.0 per spec PR `adcontextprotocol/adcp#3493`. Continues
|
|
147
146
|
* to be emitted alongside the new field through 3.x.
|
|
@@ -270,7 +269,6 @@ export declare const PROTOCOL_TOOLS: readonly ["get_adcp_capabilities", "get_pri
|
|
|
270
269
|
* or partial tool registration could produce false positives.
|
|
271
270
|
*/
|
|
272
271
|
export declare function augmentCapabilitiesFromTools(capabilities: AdcpCapabilities, tools: ToolInfo[]): AdcpCapabilities;
|
|
273
|
-
export declare function buildSyntheticCapabilities(tools: ToolInfo[]): AdcpCapabilities;
|
|
274
272
|
/**
|
|
275
273
|
* Build synthetic v3 capabilities when the agent advertises
|
|
276
274
|
* `get_adcp_capabilities` (a v3-only tool) but the call itself failed —
|
|
@@ -35,7 +35,6 @@ __export(capabilities_exports, {
|
|
|
35
35
|
TRUSTED_MATCH_TOOLS: () => TRUSTED_MATCH_TOOLS,
|
|
36
36
|
assertValidIdempotencyReplayTtlSeconds: () => assertValidIdempotencyReplayTtlSeconds,
|
|
37
37
|
augmentCapabilitiesFromTools: () => augmentCapabilitiesFromTools,
|
|
38
|
-
buildSyntheticCapabilities: () => buildSyntheticCapabilities,
|
|
39
38
|
buildSyntheticV3Capabilities: () => buildSyntheticV3Capabilities,
|
|
40
39
|
isValidIdempotencyReplayTtlSeconds: () => isValidIdempotencyReplayTtlSeconds,
|
|
41
40
|
listDeclaredFeatures: () => listDeclaredFeatures,
|
|
@@ -215,30 +214,6 @@ function augmentCapabilitiesFromTools(capabilities, tools) {
|
|
|
215
214
|
protocols: [...withLifecycleTools.protocols, "compliance_testing"]
|
|
216
215
|
};
|
|
217
216
|
}
|
|
218
|
-
function buildSyntheticCapabilities(tools) {
|
|
219
|
-
const toolNames = new Set(tools.map((t) => t.name));
|
|
220
|
-
const protocols = detectProtocolsFromTools(toolNames);
|
|
221
|
-
const features = {
|
|
222
|
-
// Tool lists do not declare package-scoped inline creative upload support.
|
|
223
|
-
inlineCreativeManagement: false,
|
|
224
|
-
// Property list filtering is v3 only
|
|
225
|
-
propertyListFiltering: false,
|
|
226
|
-
// Content standards is v3 only
|
|
227
|
-
contentStandards: false,
|
|
228
|
-
// Conversion tracking if event tracking tools are available
|
|
229
|
-
conversionTracking: EVENT_TRACKING_TOOLS.some((t) => toolNames.has(t)),
|
|
230
|
-
// Audience targeting if sync_audiences is available
|
|
231
|
-
audienceTargeting: toolNames.has("sync_audiences")
|
|
232
|
-
};
|
|
233
|
-
return {
|
|
234
|
-
version: "v2",
|
|
235
|
-
majorVersions: [2],
|
|
236
|
-
protocols,
|
|
237
|
-
features,
|
|
238
|
-
extensions: [],
|
|
239
|
-
_synthetic: true
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
217
|
function buildSyntheticV3Capabilities(tools) {
|
|
243
218
|
const toolNames = new Set(tools.map((t) => t.name));
|
|
244
219
|
const protocols = detectProtocolsFromTools(toolNames);
|
|
@@ -287,11 +262,23 @@ function hasContentStandardsSupport(capabilities) {
|
|
|
287
262
|
return capabilities.features.contentStandards === true || declaresSpecialism(capabilities.specialisms, "content-standards");
|
|
288
263
|
}
|
|
289
264
|
function parseCapabilitiesResponse(response) {
|
|
290
|
-
const majorVersions = response.adcp?.major_versions ?? [2];
|
|
291
|
-
const highestVersion = Math.max(...majorVersions);
|
|
292
265
|
const specialisms = Array.isArray(response.specialisms) ? response.specialisms.filter((s) => typeof s === "string") : void 0;
|
|
293
266
|
const declaresContentStandardsSpecialism = declaresSpecialism(specialisms, "content-standards");
|
|
294
267
|
const supportedVersions = Array.isArray(response.adcp?.supported_versions) ? response.adcp.supported_versions.filter((v) => typeof v === "string") : void 0;
|
|
268
|
+
const releaseMajors = [
|
|
269
|
+
...new Set(
|
|
270
|
+
(supportedVersions ?? []).flatMap((version) => {
|
|
271
|
+
const match = /^(\d+)\.\d+(?:\.\d+)?(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.exec(version);
|
|
272
|
+
const major = match ? Number(match[1]) : NaN;
|
|
273
|
+
return Number.isSafeInteger(major) && major > 0 ? [major] : [];
|
|
274
|
+
})
|
|
275
|
+
)
|
|
276
|
+
];
|
|
277
|
+
const declaredMajors = Array.isArray(response.adcp?.major_versions) ? response.adcp.major_versions.filter(
|
|
278
|
+
(major) => typeof major === "number" && Number.isSafeInteger(major) && major > 0
|
|
279
|
+
) : [];
|
|
280
|
+
const majorVersions = releaseMajors.length ? releaseMajors : declaredMajors.length ? declaredMajors : [3];
|
|
281
|
+
const highestVersion = Math.max(...majorVersions);
|
|
295
282
|
const buildVersion = typeof response.adcp?.build_version === "string" ? response.adcp.build_version : void 0;
|
|
296
283
|
const servedVersion = typeof response.adcp_version === "string" ? response.adcp_version : void 0;
|
|
297
284
|
const wireProtocols = response.supported_protocols ?? [];
|
|
@@ -573,7 +560,6 @@ function listDeclaredFeatures(capabilities) {
|
|
|
573
560
|
TRUSTED_MATCH_TOOLS,
|
|
574
561
|
assertValidIdempotencyReplayTtlSeconds,
|
|
575
562
|
augmentCapabilitiesFromTools,
|
|
576
|
-
buildSyntheticCapabilities,
|
|
577
563
|
buildSyntheticV3Capabilities,
|
|
578
564
|
isValidIdempotencyReplayTtlSeconds,
|
|
579
565
|
listDeclaredFeatures,
|
|
@@ -159,30 +159,6 @@ function augmentCapabilitiesFromTools(capabilities, tools) {
|
|
|
159
159
|
protocols: [...withLifecycleTools.protocols, "compliance_testing"]
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
|
-
function buildSyntheticCapabilities(tools) {
|
|
163
|
-
const toolNames = new Set(tools.map((t) => t.name));
|
|
164
|
-
const protocols = detectProtocolsFromTools(toolNames);
|
|
165
|
-
const features = {
|
|
166
|
-
// Tool lists do not declare package-scoped inline creative upload support.
|
|
167
|
-
inlineCreativeManagement: false,
|
|
168
|
-
// Property list filtering is v3 only
|
|
169
|
-
propertyListFiltering: false,
|
|
170
|
-
// Content standards is v3 only
|
|
171
|
-
contentStandards: false,
|
|
172
|
-
// Conversion tracking if event tracking tools are available
|
|
173
|
-
conversionTracking: EVENT_TRACKING_TOOLS.some((t) => toolNames.has(t)),
|
|
174
|
-
// Audience targeting if sync_audiences is available
|
|
175
|
-
audienceTargeting: toolNames.has("sync_audiences")
|
|
176
|
-
};
|
|
177
|
-
return {
|
|
178
|
-
version: "v2",
|
|
179
|
-
majorVersions: [2],
|
|
180
|
-
protocols,
|
|
181
|
-
features,
|
|
182
|
-
extensions: [],
|
|
183
|
-
_synthetic: true
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
162
|
function buildSyntheticV3Capabilities(tools) {
|
|
187
163
|
const toolNames = new Set(tools.map((t) => t.name));
|
|
188
164
|
const protocols = detectProtocolsFromTools(toolNames);
|
|
@@ -231,11 +207,23 @@ function hasContentStandardsSupport(capabilities) {
|
|
|
231
207
|
return capabilities.features.contentStandards === true || declaresSpecialism(capabilities.specialisms, "content-standards");
|
|
232
208
|
}
|
|
233
209
|
function parseCapabilitiesResponse(response) {
|
|
234
|
-
const majorVersions = response.adcp?.major_versions ?? [2];
|
|
235
|
-
const highestVersion = Math.max(...majorVersions);
|
|
236
210
|
const specialisms = Array.isArray(response.specialisms) ? response.specialisms.filter((s) => typeof s === "string") : void 0;
|
|
237
211
|
const declaresContentStandardsSpecialism = declaresSpecialism(specialisms, "content-standards");
|
|
238
212
|
const supportedVersions = Array.isArray(response.adcp?.supported_versions) ? response.adcp.supported_versions.filter((v) => typeof v === "string") : void 0;
|
|
213
|
+
const releaseMajors = [
|
|
214
|
+
...new Set(
|
|
215
|
+
(supportedVersions ?? []).flatMap((version) => {
|
|
216
|
+
const match = /^(\d+)\.\d+(?:\.\d+)?(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.exec(version);
|
|
217
|
+
const major = match ? Number(match[1]) : NaN;
|
|
218
|
+
return Number.isSafeInteger(major) && major > 0 ? [major] : [];
|
|
219
|
+
})
|
|
220
|
+
)
|
|
221
|
+
];
|
|
222
|
+
const declaredMajors = Array.isArray(response.adcp?.major_versions) ? response.adcp.major_versions.filter(
|
|
223
|
+
(major) => typeof major === "number" && Number.isSafeInteger(major) && major > 0
|
|
224
|
+
) : [];
|
|
225
|
+
const majorVersions = releaseMajors.length ? releaseMajors : declaredMajors.length ? declaredMajors : [3];
|
|
226
|
+
const highestVersion = Math.max(...majorVersions);
|
|
239
227
|
const buildVersion = typeof response.adcp?.build_version === "string" ? response.adcp.build_version : void 0;
|
|
240
228
|
const servedVersion = typeof response.adcp_version === "string" ? response.adcp_version : void 0;
|
|
241
229
|
const wireProtocols = response.supported_protocols ?? [];
|
|
@@ -516,7 +504,6 @@ export {
|
|
|
516
504
|
TRUSTED_MATCH_TOOLS,
|
|
517
505
|
assertValidIdempotencyReplayTtlSeconds,
|
|
518
506
|
augmentCapabilitiesFromTools,
|
|
519
|
-
buildSyntheticCapabilities,
|
|
520
507
|
buildSyntheticV3Capabilities,
|
|
521
508
|
isValidIdempotencyReplayTtlSeconds,
|
|
522
509
|
listDeclaredFeatures,
|